/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ButtonDispatcher.java | 39 private final ArrayList<View> mViews = new ArrayList<>(); field in ButtonDispatcher 79 mViews.clear(); in clear() 83 mViews.add(view); in addView() 137 final int N = mViews.size(); in setImageDrawable() 139 if (mViews.get(i) instanceof ButtonInterface) { in setImageDrawable() 140 ((ButtonInterface) mViews.get(i)).setImageDrawable(mImageDrawable); in setImageDrawable() 155 final int N = mViews.size(); in setVisibility() 157 mViews.get(i).setVisibility(mVisibility); in setVisibility() 163 final int N = mViews.size(); in abortCurrentGesture() 165 if (mViews.get(i) instanceof ButtonInterface) { in abortCurrentGesture() [all …]
|
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
D | ViewDumpParser.java | 12 private List<Map<Short,Object>> mViews; field in ViewDumpParser 17 mViews = new ArrayList<>(100); in parse() 33 mViews.add((Map<Short, Object>) o); in parse() 37 if (mViews.isEmpty()) { in parse() 42 mViews.get(0).put(windowLeftKey, windowLeftValue); in parse() 43 mViews.get(0).put(windowTopKey, windowTopValue); in parse() 47 Map<Short,Object> idMap = mViews.remove(mViews.size() - 1); in parse() 52 if (mViews.isEmpty()) { in getFirstView() 56 Map<Short, Object> props = mViews.get(0); in getFirstView() 82 return mViews; in getViews()
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetHost.java | 71 private final SparseArray<AppWidgetHostView> mViews = new SparseArray<>(); field in AppWidgetHost 199 synchronized (mViews) { in startListening() 200 int N = mViews.size(); in startListening() 203 idsToUpdate[i] = mViews.keyAt(i); in startListening() 325 synchronized (mViews) { in deleteAppWidgetId() 326 mViews.remove(appWidgetId); in deleteAppWidgetId() 388 synchronized (mViews) { in createView() 389 mViews.put(appWidgetId, view); in createView() 421 synchronized (mViews) { in onProviderChanged() 422 v = mViews.get(appWidgetId); in onProviderChanged() [all …]
|
D | AppWidgetHostView.java | 510 private final RemoteViews mViews; field in AppWidgetHostView.ViewApplyListener 515 mViews = views; in ViewApplyListener() 532 mLastExecutionSignal = mViews.applyAsync(mContext, in onError() 535 new ViewApplyListener(mViews, mLayoutId, false), in onError()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/animation/ |
D | StackAnimationControllerTest.java | 72 assertEquals(200, mViews.get(0).getTranslationX(), .1f); in testMoveFirstBubbleWithStackFollowing() 73 assertEquals(100, mViews.get(0).getTranslationY(), .1f); in testMoveFirstBubbleWithStackFollowing() 74 assertEquals(0, mViews.get(1).getTranslationX(), .1f); in testMoveFirstBubbleWithStackFollowing() 75 assertEquals(0, mViews.get(1).getTranslationY(), .1f); in testMoveFirstBubbleWithStackFollowing() 87 assertEquals(1000, mViews.get(0).getTranslationX(), .1f); in testMoveFirstBubbleWithStackFollowing() 88 assertEquals(500, mViews.get(0).getTranslationY(), .1f); in testMoveFirstBubbleWithStackFollowing() 89 assertEquals(200 + -mStackOffset, mViews.get(1).getTranslationX(), .1f); in testMoveFirstBubbleWithStackFollowing() 90 assertEquals(100, mViews.get(1).getTranslationY(), .1f); in testMoveFirstBubbleWithStackFollowing() 115 assertEquals(0f, mViews.get(0).getTranslationX(), 1f); in testFlingSideways() 116 assertEquals(0f, mViews.get(0).getTranslationY(), 1f); in testFlingSideways() [all …]
|
D | PhysicsAnimationLayoutTest.java | 86 for (View mView : mViews) { in testHierarchyChanges() 92 mLayout.removeView(mViews.get(1)); in testHierarchyChanges() 93 mLayout.removeView(mViews.get(2)); in testHierarchyChanges() 95 eq(mViews.get(1)), eq(1), any()); in testHierarchyChanges() 97 eq(mViews.get(2)), eq(1), any()); in testHierarchyChanges() 316 assertTrue(mViews.get(0).getTranslationX() < 1000); in testCancelAllAnimations() 317 assertTrue(mViews.get(0).getTranslationY() < 1000); in testCancelAllAnimations() 385 assertEquals(7, mViews.get(0).getTranslationX(), .01f); 386 assertEquals(100, mViews.get(0).getTranslationY(), .01f); 398 assertEquals(100, mViews.get(0).getTranslationX(), .01f); [all …]
|
D | ExpandedAnimationControllerTest.java | 115 mLayout.removeView(mViews.get(0)); in testOnChildRemoved() 116 mLayout.removeView(mViews.get(3)); in testOnChildRemoved() 126 final View draggedBubble = mViews.get(0); in testBubbleDraggedNotDismissedSnapsBack() 144 final View draggedBubble = mViews.get(0); in testBubbleDismissed() 164 final View draggedOutView = mViews.get(0); in testMagnetToDismiss_dismiss() 173 mViews.get(0), 100 /* velX */, 100 /* velY */, 1000 /* destY */, after); in testMagnetToDismiss_dismiss() 176 assertEquals(1000, mViews.get(0).getTranslationY(), .1f); in testMagnetToDismiss_dismiss() 186 assertEquals(mBubblePaddingTop, mViews.get(1).getTranslationX(), 1f); in testMagnetToDismiss_dismiss() 194 final View draggedOutView = mViews.get(0); in testMagnetToDismiss_demagnetizeThenDrag() 206 assertEquals(1000, mViews.get(0).getTranslationY(), .1f); in testMagnetToDismiss_demagnetizeThenDrag()
|
D | PhysicsAnimationLayoutTestCase.java | 55 List<View> mViews = new ArrayList<>(); field in PhysicsAnimationLayoutTestCase 104 mViews.add(0, newView); in addOneMoreThanBubbleLimitBubbles()
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
D | SurfaceCompositionMeasuringActivity.java | 89 private List<CustomSurfaceView> mViews = new ArrayList<CustomSurfaceView>(); field in SurfaceCompositionMeasuringActivity 131 new Measurement(mViews.size() + 1, 0.0f), pixelFormat); in measureCompositionScore() 346 mViews.add(view); in onCreate() 426 double fps = mViews.get(0).measureFPS(mRefreshRate * 0.8, mRefreshRate * 0.999); in measureFPS() 435 for (int i = 0; i < mViews.size(); ++i) { in waitForSurfacesConfigured() 436 CustomSurfaceView view = mViews.get(i); in waitForSurfacesConfigured() 452 for (int i = 0; i < mViews.size(); ++i) { in validateSurfacesNotChanged() 453 CustomSurfaceView view = mViews.get(i); in validateSurfacesNotChanged() 459 for (int i = 0; i < mViews.size(); ++i) { in configureSurfaces() 460 CustomSurfaceView view = mViews.get(i); in configureSurfaces() [all …]
|
/frameworks/base/core/java/android/view/ |
D | WindowManagerGlobal.java | 149 private final ArrayList<View> mViews = new ArrayList<View>(); field in WindowManagerGlobal 255 View viewj = mViews.get(j); in getRootViews() 280 return new ArrayList<>(mViews); in getWindowViews() 286 final int numViews = mViews.size(); in getWindowView() 288 final View view = mViews.get(i); in getWindowView() 369 final int count = mViews.size(); in addView() 372 panelParentView = mViews.get(i); in addView() 381 mViews.add(view); in addView() 460 int count = mViews.size(); in closeAllExceptView() 462 if ((view == null || mViews.get(i) != view) in closeAllExceptView() [all …]
|
D | ViewRootImpl.java | 7843 private final ArrayList<View> mViews = new ArrayList<View>(); field in ViewRootImpl.TrackballAxis.InvalidateOnAnimationRunnable 7851 mViews.add(view); in addView() 7865 mViews.remove(view); in removeView() 7875 if (mPosted && mViews.isEmpty() && mViewRects.isEmpty()) { in removeView() 7889 viewCount = mViews.size(); in run() 7891 mTempViews = mViews.toArray(mTempViews != null in run() 7893 mViews.clear(); in run()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | AppWidgetHostViewTest.java | 62 private RemoteViews mViews; field in AppWidgetHostViewTest 75 mViews = new RemoteViews(mPackage, R.layout.remote_views_test); in setup() 80 mHostView.updateAppWidget(mViews); in syncInflation() 89 mHostView.updateAppWidget(mViews); in asyncInflation() 106 mHostView.updateAppWidget(mViews.clone()); in asyncInflation_cancelled() 107 mHostView.updateAppWidget(mViews.clone()); in asyncInflation_cancelled()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardPINView.java | 44 private View[][] mViews; field in KeyguardPINView 91 mViews = new View[][]{ in onFinishInflate() 140 mAppearAnimationUtils.startAnimation2d(mViews, in startAppearAnimation() 159 disappearAnimationUtils.startAnimation2d(mViews, in startDisappearAnimation()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 9748 Landroid/appwidget/AppWidgetHost;->mViews:Landroid/util/SparseArray; 9755 Landroid/appwidget/AppWidgetHostView$ViewApplyListener;->mViews:Landroid/widget/RemoteViews; 78852 Landroid/view/ViewRootImpl$InvalidateOnAnimationRunnable;->mViews:Ljava/util/ArrayList;
|