/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
D | ButtonDispatcher.java | 40 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/core/java/android/inputmethodservice/navigationbar/ |
D | ButtonDispatcher.java | 38 private final ArrayList<View> mViews = new ArrayList<>(); field in ButtonDispatcher 75 mViews.clear(); in clear() 79 mViews.add(view); in addView() 128 final int numViews = mViews.size(); in setImageDrawable() 130 if (mViews.get(i) instanceof ButtonInterface) { in setImageDrawable() 131 ((ButtonInterface) mViews.get(i)).setImageDrawable(mImageDrawable); in setImageDrawable() 146 final int numViews = mViews.size(); in setVisibility() 148 mViews.get(i).setVisibility(mVisibility); in setVisibility() 191 final int numViews = mViews.size(); in setAlpha() 193 mViews.get(i).setAlpha(mAlpha); in setAlpha() [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/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/ |
D | StackAnimationControllerTest.java | 88 assertEquals(200, mViews.get(0).getTranslationX(), .1f); in testMoveFirstBubbleWithStackFollowing() 89 assertEquals(100, mViews.get(0).getTranslationY(), .1f); in testMoveFirstBubbleWithStackFollowing() 90 assertEquals(0, mViews.get(1).getTranslationX(), .1f); in testMoveFirstBubbleWithStackFollowing() 91 assertEquals(0, mViews.get(1).getTranslationY(), .1f); in testMoveFirstBubbleWithStackFollowing() 103 assertEquals(1000, mViews.get(0).getTranslationX(), .1f); in testMoveFirstBubbleWithStackFollowing() 104 assertEquals(500, mViews.get(0).getTranslationY(), .1f); in testMoveFirstBubbleWithStackFollowing() 105 assertEquals(200 + -mStackOffset, mViews.get(1).getTranslationX(), .1f); in testMoveFirstBubbleWithStackFollowing() 106 assertEquals(100, mViews.get(1).getTranslationY(), .1f); in testMoveFirstBubbleWithStackFollowing() 131 assertEquals(0f, mViews.get(0).getTranslationX(), 1f); in testFlingSideways() 132 assertEquals(0f, mViews.get(0).getTranslationY(), 1f); in testFlingSideways() [all …]
|
D | PhysicsAnimationLayoutTest.java | 87 for (View mView : mViews) { in testHierarchyChanges() 93 mLayout.removeView(mViews.get(1)); in testHierarchyChanges() 94 mLayout.removeView(mViews.get(2)); in testHierarchyChanges() 96 eq(mViews.get(1)), eq(1), any()); in testHierarchyChanges() 98 eq(mViews.get(2)), eq(1), any()); in testHierarchyChanges() 322 assertTrue(mViews.get(0).getTranslationX() < 1000); in testCancelAllAnimations() 323 assertTrue(mViews.get(0).getTranslationY() < 1000); in testCancelAllAnimations() 324 assertTrue(mViews.get(0).getZ() < 10000); in testCancelAllAnimations() 392 assertEquals(7, mViews.get(0).getTranslationX(), .01f); 393 assertEquals(100, mViews.get(0).getTranslationY(), .01f); [all …]
|
D | ExpandedAnimationControllerTest.java | 137 mLayout.removeView(mViews.get(0)); in testOnChildRemoved() 138 mLayout.removeView(mViews.get(3)); in testOnChildRemoved() 150 mExpandedController.dragBubbleOut(mViews.get(0), 1, 1); in testDragBubbleOutDoesntNPE()
|
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 | 88 private List<CustomSurfaceView> mViews = new ArrayList<CustomSurfaceView>(); field in SurfaceCompositionMeasuringActivity 130 new Measurement(mViews.size() + 1, 0.0f), pixelFormat); in measureCompositionScore() 345 mViews.add(view); in onCreate() 425 double fps = mViews.get(0).measureFPS(mRefreshRate * 0.8, mRefreshRate * 0.999); in measureFPS() 434 for (int i = 0; i < mViews.size(); ++i) { in waitForSurfacesConfigured() 435 CustomSurfaceView view = mViews.get(i); in waitForSurfacesConfigured() 451 for (int i = 0; i < mViews.size(); ++i) { in validateSurfacesNotChanged() 452 CustomSurfaceView view = mViews.get(i); in validateSurfacesNotChanged() 458 for (int i = 0; i < mViews.size(); ++i) { in configureSurfaces() 459 CustomSurfaceView view = mViews.get(i); in configureSurfaces() [all …]
|
/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/core/java/android/view/ |
D | WindowManagerGlobal.java | 144 private final ArrayList<View> mViews = new ArrayList<View>(); field in WindowManagerGlobal 288 View viewj = mViews.get(j); in getRootViews() 313 return new ArrayList<>(mViews); in getWindowViews() 319 final int numViews = mViews.size(); in getWindowView() 321 final View view = mViews.get(i); in getWindowView() 406 final int count = mViews.size(); in addView() 409 panelParentView = mViews.get(i); in addView() 436 mViews.add(view); in addView() 444 final int viewIndex = (index >= 0) ? index : (mViews.size() - 1); in addView() 516 int count = mViews.size(); in closeAllExceptView() [all …]
|
D | ViewRootImpl.java | 10478 private final ArrayList<View> mViews = new ArrayList<View>(); field in ViewRootImpl.TrackballAxis.InvalidateOnAnimationRunnable 10486 mViews.add(view); in addView() 10506 mViews.remove(view); in removeView() 10516 if (mPosted && mViews.isEmpty() && mViewRects.isEmpty()) { in removeView() 10530 viewCount = mViews.size(); in run() 10532 mTempViews = mViews.toArray(mTempViews != null in run() 10534 mViews.clear(); in run()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardPINView.java | 60 private View[][] mViews; field in KeyguardPINView 151 View key = mViews[row][column]; in updateMargins() 247 mViews = new View[][]{ in onFinishInflate() 326 for (int i = 0; i < mViews.length; i++) { in animate() 327 View[] row = mViews[i]; in animate() 334 (progress - 0.075f * i) / (1f - 0.075f * mViews.length), in animate()
|
/frameworks/base/core/java/android/view/translation/ |
D | UiTranslationController.java | 86 private final ArrayMap<AutofillId, WeakReference<View>> mViews; field in UiTranslationController 103 mViews = new ArrayMap<>(); in UiTranslationController() 166 mViews.clear(); in updateUiTranslationState() 183 mViews.clear(); in onActivityDestroyed() 230 final int viewSize = mViews.size(); in dump() 234 final AutofillId autofillId = mViews.keyAt(i); in dump() 235 final View view = mViews.valueAt(i).get(); in dump() 286 final WeakReference<View> viewRef = mViews.get(autofillId); in dumpViewInfo() 362 final WeakReference<View> viewRef = mViews.get(autofillId); in onVirtualViewTranslationCompleted() 428 final WeakReference<View> viewRef = mViews.get(autofillId); in onTranslationCompleted() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/ |
D | ComplicationLayoutEngine.java | 490 private final ArrayList<ViewEntry> mViews = new ArrayList<>(); field in ComplicationLayoutEngine.DirectionGroup 505 return mViews.isEmpty() ? null : mViews.get(0); in getHead() 513 mViews.add(entry); in add() 516 Collections.sort(mViews); in add() 517 Collections.reverse(mViews); in add() 529 mViews.remove(entry); in removeEntry() 566 Iterator<ViewEntry> it = mViews.iterator(); in updateViews() 576 return mViews; in getViews()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | FlashNotificationsControllerTest.java | 105 private final Set<View> mViews = new HashSet<>(); field in FlashNotificationsControllerTest 153 mViews.add(view); in setUp() 158 final boolean isAnyViewAdded = !mViews.isEmpty(); in setUp() 159 mViews.remove(view); in setUp() 160 if (isAnyViewAdded && mViews.isEmpty()) mScreenFlashCount++; in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSAnimator.java | 784 private final List<View> mViews = new ArrayList<>(); field in QSAnimator.HeightExpansionAnimator 795 final int viewCount = mViews.size(); 798 View v = mViews.get(i); 825 mViews.add(v); in addView() 837 final int viewsCount = mViews.size(); in resetViewsHeights() 839 View v = mViews.get(i); in resetViewsHeights()
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetHostView.java | 680 private final RemoteViews mViews; field in AppWidgetHostView.ViewApplyListener 688 mViews = views; in ViewApplyListener() 699 mLastInflatedRemoteViewsId = mViews.computeUniqueId(mLastInflatedRemoteViews); in onViewApplied() 708 mLastExecutionSignal = mViews.applyAsync(mContext, in onError() 711 new ViewApplyListener(mViews, mLayoutId, false), in onError()
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViews.java | 1365 for (RemoteViews views : rca.mItems.mViews) { 7344 private final RemoteViews[] mViews; 7353 mViews = views; 7389 mViews = new RemoteViews[length]; 7400 mViews[0] = new RemoteViews(in); 7401 mHierarchyRootData = mViews[0].getHierarchyRootData(); 7406 mViews[i] = new RemoteViews( 7416 for (RemoteViews view : mViews) { 7448 if (!attached && mViews.length > 0 && !mViews[0].mIsRoot) { 7452 mViews[0].mIsRoot = true; [all …]
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 9667 Landroid/appwidget/AppWidgetHost;->mViews:Landroid/util/SparseArray; 9674 Landroid/appwidget/AppWidgetHostView$ViewApplyListener;->mViews:Landroid/widget/RemoteViews; 63780 Landroid/view/ViewRootImpl$InvalidateOnAnimationRunnable;->mViews:Ljava/util/ArrayList;
|