/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
ButtonDispatcher.java | 31 private final ArrayList<View> mViews = new ArrayList<>(); 51 mViews.clear(); 55 mViews.add(view); 94 final int N = mViews.size(); 96 ((ButtonInterface) mViews.get(i)).setImageDrawable(mImageDrawable); 103 final int N = mViews.size(); 105 mViews.get(i).setVisibility(mVisibility); 111 final int N = mViews.size(); 113 ((ButtonInterface) mViews.get(i)).abortCurrentGesture(); 119 final int N = mViews.size() [all...] |
/packages/apps/TV/src/com/android/tv/util/ |
ViewCache.java | 15 private final static SparseArray<ArrayList<View>> mViews = new SparseArray(); 35 return mViews.size() == 0; 42 ArrayList<View> views = mViews.get(resId); 45 mViews.put(resId, views); 56 ArrayList<View> views = mViews.get(resId); 59 mViews.put(resId, views); 71 ArrayList<View> views = mViews.get(resId); 75 mViews.remove(resId); 98 mViews.clear();
|
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
ViewDumpParser.java | 12 private List<Map<Short,Object>> mViews; 17 mViews = new ArrayList<>(100); 33 mViews.add((Map<Short, Object>) o); 37 if (mViews.isEmpty()) { 42 mViews.get(0).put(windowLeftKey, windowLeftValue); 43 mViews.get(0).put(windowTopKey, windowTopValue); 47 Map<Short,Object> idMap = mViews.remove(mViews.size() - 1); 52 if (mViews.isEmpty()) { 56 Map<Short, Object> props = mViews.get(0) [all...] |
/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/ |
ExplodeUsage.java | 38 private final ArrayList<View> mViews = new ArrayList<>(); 58 if (mViews.isEmpty()) { 59 mViews.add(findViewById(R.id.view_1)); 60 mViews.add(findViewById(R.id.view_2)); 61 mViews.add(findViewById(R.id.view_3)); 62 mViews.add(findViewById(R.id.view_4)); 69 int vis = mViews.get(0).getVisibility() == View.VISIBLE ? View.GONE : View.VISIBLE; 70 for (View view : mViews) {
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
MultiRecyclerViewPrefetchTest.java | 44 private ArrayList<RecyclerView> mViews = new ArrayList<>(); 60 for (RecyclerView rv : mViews) { 70 mViews.clear(); 92 mViews.add(rv); 106 for (RecyclerView rv : mViews) { 165 mViews.get(0).mPrefetchRegistry.setPrefetchVector(0, 10); 166 mViews.get(1).mPrefetchRegistry.setPrefetchVector(0, -11); 167 mViews.get(2).mPrefetchRegistry.setPrefetchVector(0, 60); 172 CacheUtils.verifyCacheContainsPrefetchedPositions(mViews.get(0), 7); 173 CacheUtils.verifyCacheContainsPrefetchedPositions(mViews.get(1), 1) [all...] |
ChildHelperTest.java | 109 List<View> mViews = new ArrayList<>(); 115 return mViews.size(); 120 mViews.add(index, child); 125 return mViews.indexOf(view); 135 mViews.remove(index); 142 return mViews.remove(offset); 149 mViews.clear();
|
/frameworks/base/core/java/android/appwidget/ |
AppWidgetHost.java | 66 private final SparseArray<AppWidgetHostView> mViews = new SparseArray<>(); 192 synchronized (mViews) { 193 int N = mViews.size(); 196 idsToUpdate[i] = mViews.keyAt(i); 318 synchronized (mViews) { 319 mViews.remove(appWidgetId); 381 synchronized (mViews) { 382 mViews.put(appWidgetId, view); 414 synchronized (mViews) { 415 v = mViews.get(appWidgetId) [all...] |
AppWidgetHostView.java | 548 private final RemoteViews mViews; 553 mViews = views; 570 mLastExecutionSignal = mViews.applyAsync(mContext, 573 new ViewApplyListener(mViews, mLayoutId, false),
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
AppWidgetHostViewTest.java | 61 private RemoteViews mViews; 74 mViews = new RemoteViews(mPackage, R.layout.remote_views_test); 79 mHostView.updateAppWidget(mViews); 88 mHostView.updateAppWidget(mViews); 105 mHostView.updateAppWidget(mViews.clone()); 106 mHostView.updateAppWidget(mViews.clone());
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherAppWidgetHost.java | 47 private final SparseArray<LauncherAppWidgetHostView> mViews = new SparseArray<>(); 60 mViews.put(appWidgetId, view); 138 LauncherAppWidgetHostView view = mViews.get(appWidgetId); 165 mViews.remove(appWidgetId); 171 mViews.clear();
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
SurfaceCompositionMeasuringActivity.java | 89 private List<CustomSurfaceView> mViews = new ArrayList<CustomSurfaceView>(); 131 new Measurement(mViews.size() + 1, 0.0f), pixelFormat); 346 mViews.add(view); 426 double fps = mViews.get(0).measureFPS(mRefreshRate * 0.8, mRefreshRate * 0.999); 435 for (int i = 0; i < mViews.size(); ++i) { 436 CustomSurfaceView view = mViews.get(i); 452 for (int i = 0; i < mViews.size(); ++i) { 453 CustomSurfaceView view = mViews.get(i); 459 for (int i = 0; i < mViews.size(); ++i) { 460 CustomSurfaceView view = mViews.get(i) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
KeyguardPINView.java | 43 private View[][] mViews; 88 mViews = new View[][]{ 128 mAppearAnimationUtils.startAnimation2d(mViews, 147 disappearAnimationUtils.startAnimation2d(mViews,
|
/frameworks/base/core/java/android/view/ |
WindowManagerGlobal.java | 140 private final ArrayList<View> mViews = new ArrayList<View>(); 235 View viewj = mViews.get(j); 256 final int numViews = mViews.size(); 258 final View view = mViews.get(i); 338 final int count = mViews.size(); 341 panelParentView = mViews.get(i); 350 mViews.add(view); 428 int count = mViews.size(); 430 if ((view == null || mViews.get(i) != view) 455 imm.windowDismissed(mViews.get(index).getWindowToken()) [all...] |
ViewRootImpl.java | [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
StaggeredGridLayoutManager.java | 404 final View endView = span.mViews.get(span.mViews.size() - 1); 410 final View startView = span.mViews.get(0); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
GridLayoutConverter.java | 117 private List<View> mViews; 146 mViews = gridModel.getViews(); 180 for (View view : mViews) { 281 for (View view : mViews) { 337 for (View view : mViews) { 401 for (View view : mViews) { 619 private final List<View> mViews = new ArrayList<View>(); 642 return mViews; 662 for (View view : mViews) { 682 for (View view : mViews) { [all...] |
/frameworks/support/transition/tests/src/android/support/transition/ |
TransitionTest.java | 61 private View[] mViews = new View[3]; 280 transition.addTarget(mViews[0]); 281 transition.excludeTarget(mViews[0], true); 286 mViews[0].setTranslationX(3.f); 351 mViews[0] = rule.getActivity().findViewById(R.id.view0); 352 mViews[1] = rule.getActivity().findViewById(R.id.view1); 353 mViews[2] = rule.getActivity().findViewById(R.id.view2);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
ScrollAdapterView.java | 179 List<View>[] mViews; 190 if (mViews == null || typeCount != mViews.length) { 191 mViews = new List[typeCount]; 193 mViews[i] = new ArrayList<>(); 204 if (mViews != null && type >=0 && type < mViews.length 205 && mViews[type].size() < mMaxRecycledViews) { 206 mViews[type].add(child); 211 if (mViews != null && type >= 0 && type < mViews.length) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
ViewMetadataRepository.java | 430 private final List<ViewData> mViews = new ArrayList<ViewData>(); 442 mViews.add(view); 453 return mViews.iterator(); [all...] |
/prebuilts/sdk/current/support/v7/recyclerview/libs/ |
android-support-v7-recyclerview.jar | |
/prebuilts/sdk/current/support/v17/leanback/libs/ |
android-support-v17-leanback.jar | |
/external/robolectric/v3/runtime/ |
android-all-4.1.2_r1-robolectric-0.jar | |
android-all-4.2.2_r1.2-robolectric-0.jar | |
android-all-4.3_r2-robolectric-0.jar | |
/prebuilts/misc/common/robolectric/lib/ |
android-all-4.1.2_r1-robolectric-0.jar | |