Home
last modified time | relevance | path

Searched refs:viewFactory (Results 1 – 5 of 5) sorted by relevance

/aosp12/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
H A DViewInflationDuringSwipeUp.java153 SimpleViewsFactory viewFactory = new SimpleViewsFactory(); in testSwipeUp_with_list_widgets() local
154 viewFactory.viewCount = 1; in testSwipeUp_with_list_widgets()
156 args.putBinder(EXTRA_VALUE, viewFactory.toBinder()); in testSwipeUp_with_list_widgets()
167 verifyWidget(viewFactory.getLabel(0)); in testSwipeUp_with_list_widgets()
171 viewFactory.viewCount = 2; in testSwipeUp_with_list_widgets()
175 viewFactory.getLabel(1) in testSwipeUp_with_list_widgets()
/aosp12/frameworks/base/core/tests/coretests/src/android/util/
H A DScrollViewScenario.java252 for (ViewFactory viewFactory : params.mViewFactories) { in onCreate()
254 if (viewFactory.getHeightRatio() >= 0) { in onCreate()
255 height = (int) (viewFactory.getHeightRatio() * screenHeight); in onCreate()
259 mLinearLayout.addView(viewFactory.create(this), lp); in onCreate()
/aosp12/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DSuggestionsListAdapter.java35 public SuggestionsListAdapter(SuggestionViewFactory viewFactory) { in SuggestionsListAdapter() argument
36 super(viewFactory); in SuggestionsListAdapter()
H A DSuggestionsAdapterBase.java52 protected SuggestionsAdapterBase(SuggestionViewFactory viewFactory) { in SuggestionsAdapterBase() argument
53 mViewFactory = viewFactory; in SuggestionsAdapterBase()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/qsb/
H A DQsbContainerView.java330 public QsbWidgetHost(Context context, int hostId, WidgetViewFactory viewFactory, in QsbWidgetHost() argument
333 mViewFactory = viewFactory; in QsbWidgetHost()
337 public QsbWidgetHost(Context context, int hostId, WidgetViewFactory viewFactory) { in QsbWidgetHost() argument
338 this(context, hostId, viewFactory, null); in QsbWidgetHost()