summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/widget
diff options
context:
space:
mode:
authorVadim Tryshev <vadimt@google.com>2018-06-18 19:14:44 -0700
committerVadim Tryshev <vadimt@google.com>2018-07-20 14:43:05 -0700
commit2ce6a13f6096ed5e08b252e7e53255ef1027f65e (patch)
tree40030752744b5a3f170f1dea3cab149aa5c13ab7 /src/com/android/launcher3/widget
parent32f91ab991dd2a1c6c0054c86b8700f2b966fd36 (diff)
downloadandroid_packages_apps_Trebuchet-2ce6a13f6096ed5e08b252e7e53255ef1027f65e.tar.gz
android_packages_apps_Trebuchet-2ce6a13f6096ed5e08b252e7e53255ef1027f65e.tar.bz2
android_packages_apps_Trebuchet-2ce6a13f6096ed5e08b252e7e53255ef1027f65e.zip
Tapl library
The public API of the library has finalized; flakiness has been removed; code polished. Bug: 110103162 Test: TaplTests suite Change-Id: Ic156bbfeedb1cb9c4a48ef907f97e396e8e81936
Diffstat (limited to 'src/com/android/launcher3/widget')
-rw-r--r--src/com/android/launcher3/widget/WidgetsFullSheet.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/launcher3/widget/WidgetsFullSheet.java b/src/com/android/launcher3/widget/WidgetsFullSheet.java
index e94d81d75..b49322832 100644
--- a/src/com/android/launcher3/widget/WidgetsFullSheet.java
+++ b/src/com/android/launcher3/widget/WidgetsFullSheet.java
@@ -20,6 +20,7 @@ import android.animation.AnimatorListenerAdapter;
import android.animation.PropertyValuesHolder;
import android.content.Context;
import android.graphics.Rect;
+import android.support.annotation.VisibleForTesting;
import android.util.AttributeSet;
import android.util.Pair;
import android.view.LayoutInflater;
@@ -224,6 +225,11 @@ public class WidgetsFullSheet extends BaseWidgetSheet
return sheet;
}
+ @VisibleForTesting
+ public static WidgetsRecyclerView getWidgetsView(Launcher launcher) {
+ return launcher.findViewById(R.id.widgets_list_view);
+ }
+
@Override
protected int getElementsRowCount() {
return mAdapter.getItemCount();