Home
last modified time | relevance | path

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

/packages/modules/ExtServices/src/android/ext/services/notification/
DChannelImpressions.java44 private int mViews = 0; field in ChannelImpressions
57 mViews = in.readInt(); in ChannelImpressions()
72 return mViews; in getViews()
97 mViews += additionalImpressions.getViews(); in append()
104 mViews++; in incrementViews()
125 dest.writeInt(mViews); in writeToParcel()
156 if (mViews != that.mViews) return false; in equals()
163 result = 31 * result + mViews; in hashCode()
172 sb.append(", mViews=").append(mViews); in toString()
183 mViews = safeInt(parser, ATT_VIEWS, 0); in populateFromXml()
[all …]
/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/Launcher3/src/com/android/launcher3/
DLauncherAppWidgetHost.java55 private final SparseArray<LauncherAppWidgetHostView> mViews = new SparseArray<>(); field in LauncherAppWidgetHost
77 mViews.put(appWidgetId, view); in onCreateView()
100 for (int i = mViews.size() - 1; i >= 0; i--) { in startListening()
101 LauncherAppWidgetHostView view = mViews.valueAt(i); in startListening()
202 mViews.put(appWidgetId, view); in createView()
215 LauncherAppWidgetHostView view = mViews.get(appWidgetId); in createView()
254 mViews.remove(appWidgetId); in deleteAppWidgetId()
260 mViews.clear(); in clearViews()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DMinimizedControlBar.java46 private View[] mViews; field in MinimizedControlBar
75 mViews = new View[NUM_COLUMNS]; in init()
95 mViews = views; in setViews()
120 } else if (mViews != null && viewIndex < mViews.length) { in updateViewsLayout()
122 viewToUse = mViews[viewIndex]; in updateViewsLayout()
DControlBar.java83 private @Nullable View[] mViews; field in ControlBar
224 mViews = views; in setViews()
251 } else if (mExpandEnabled && i == expandCollapseIndex && mViews != null in updateViewsLayout()
252 && viewsIndex < mViews.length - 1) { in updateViewsLayout()
256 } else if (mViews != null && viewsIndex < mViews.length) { in updateViewsLayout()
259 viewToUse = mViews[viewsIndex]; in updateViewsLayout()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DViewCache.java44 T result = (T) entry.mViews[entry.mCurrentSize]; in getView()
45 entry.mViews[entry.mCurrentSize] = null; in getView()
55 entry.mViews[entry.mCurrentSize] = view; in recycleView()
63 final View[] mViews; field in ViewCache.CacheEntry
69 mViews = new View[maxSize]; in CacheEntry()
/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/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()