Home
last modified time | relevance | path

Searched refs:mViews (Results 1 – 7 of 7) sorted by relevance

/packages/apps/TV/src/com/android/tv/util/
DViewCache.java27 private static final SparseArray<ArrayList<View>> mViews = new SparseArray(); field in ViewCache
43 return mViews.size() == 0; in isEmpty()
48 ArrayList<View> views = mViews.get(resId); in putView()
51 mViews.put(resId, views); in putView()
60 ArrayList<View> views = mViews.get(resId); in putView()
63 mViews.put(resId, views); in putView()
73 ArrayList<View> views = mViews.get(resId); in getView()
77 mViews.remove(resId); in getView()
96 mViews.clear(); in clear()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/userpicker/
DUserPickerItemSpacingDecorationTest.java54 private ArrayList<View> mViews; field in UserPickerItemSpacingDecorationTest
71 mViews = new ArrayList<>(Arrays.asList(mMockView0, mMockView1, mMockView2, mMockView3)); in setUp()
72 for (int i = 0; i < mViews.size(); i++) { in setUp()
73 View view = mViews.get(i); in setUp()
86 for (int i = 0; i < mViews.size(); i++) { in testHasBottomSpacing()
88 mSpacingDecoration.getItemOffsets(rect, mViews.get(i), mMockRecyclerView, in testHasBottomSpacing()
97 for (View view : mViews) { in testHasEqualHorizontalSpacing()
108 for (int i = 1; i < mViews.size(); i++) { in testAllElementsHaveCorrectHorizontalSpacing()
115 mSpacingDecoration.getItemOffsets(rect1, mViews.get(i - 1), mMockRecyclerView, in testAllElementsHaveCorrectHorizontalSpacing()
117 mSpacingDecoration.getItemOffsets(rect2, mViews.get(i), mMockRecyclerView, in testAllElementsHaveCorrectHorizontalSpacing()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DViewCache.java47 result = (T) entry.mViews[entry.mCurrentSize]; in getView()
48 entry.mViews[entry.mCurrentSize] = null; in getView()
65 entry.mViews[entry.mCurrentSize] = view; in recycleView()
73 final View[] mViews; field in ViewCache.CacheEntry
79 mViews = new View[maxSize]; in CacheEntry()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DLauncherWidgetHolder.java77 protected final SparseArray<LauncherAppWidgetHostView> mViews = new SparseArray<>(); field in LauncherWidgetHolder
130 for (int i = mViews.size() - 1; i >= 0; i--) { in updateDeferredView()
131 LauncherAppWidgetHostView view = mViews.valueAt(i); in updateDeferredView()
166 mViews.remove(appWidgetId); in deleteAppWidgetId()
240 LauncherAppWidgetHostView view = mViews.get(widgetId); in getConfigurationActivityOptions()
339 mViews.put(appWidgetId, view); in createView()
358 if (isRealWidget && mViews.get(view.getAppWidgetId()) != view) { in attachViewToHostAndGetAttachedView()
360 mViews.put(view.getAppWidgetId(), view); in attachViewToHostAndGetAttachedView()
422 LauncherAppWidgetHostView view = mViews.get(appWidgetId); in createViewInternal()
449 mViews.clear(); in clearViews()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DCrossFadeHelper.java37 private final List<View> mViews; field in CrossFadeHelper
48 for (View view : mViews) {
55 mViews = new ArrayList<>(viewsToAnimate); in CrossFadeHelper()
104 mViews.clear(); in cleanup()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DQuickstepWidgetHolder.java116 AppWidgetHostView view = mViews.get(widgetId); in updateDeferredView()
135 AppWidgetHostView view = mViews.get(widgetId); in onWidgetUpdate()
262 mViews.clear(); in clearViews()
273 mViews.clear(); in clearWidgetViews()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java179 List<View>[] mViews; field in ScrollAdapterView.RecycledViews
190 if (mViews == null || typeCount != mViews.length) { in updateAdapter()
191 mViews = new List[typeCount]; in updateAdapter()
193 mViews[i] = new ArrayList<>(); in updateAdapter()
204 if (mViews != null && type >=0 && type < mViews.length in recycleView()
205 && mViews[type].size() < mMaxRecycledViews) { in recycleView()
206 mViews[type].add(child); in recycleView()
211 if (mViews != null && type >= 0 && type < mViews.length) { in getView()
212 List<View> array = mViews[type]; in getView()