Home
last modified time | relevance | path

Searched refs:viewTreeObserver (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DRunQueue.java32 public ViewTreeObserver viewTreeObserver; field in RunQueue
62 viewTreeObserver = view.getViewTreeObserver(); in onCreate()
63 viewTreeObserver.addOnGlobalLayoutListener(this); in onCreate()
DRunQueueTest.java58 assertFalse("The view tree observer is still alive", activity.viewTreeObserver.isAlive()); in testTreeObserverKilled()
/frameworks/base/tests/ActivityViewTest/src/com/google/android/test/activityview/
DActivityViewTestActivity.java51 ViewTreeObserver viewTreeObserver = mRoot.getViewTreeObserver(); in onCreate() local
52 if (viewTreeObserver.isAlive()) { in onCreate()
53 viewTreeObserver.addOnGlobalLayoutListener(this::updateDimensionTexts); in onCreate()
/frameworks/base/core/java/android/widget/
DActivityChooserView.java424 ViewTreeObserver viewTreeObserver = getViewTreeObserver(); in dismissPopup() local
425 if (viewTreeObserver.isAlive()) { in dismissPopup()
426 viewTreeObserver.removeOnGlobalLayoutListener(mOnGlobalLayoutListener); in dismissPopup()
458 ViewTreeObserver viewTreeObserver = getViewTreeObserver(); in onDetachedFromWindow() local
459 if (viewTreeObserver.isAlive()) { in onDetachedFromWindow()
460 viewTreeObserver.removeOnGlobalLayoutListener(mOnGlobalLayoutListener); in onDetachedFromWindow()
/frameworks/base/core/java/android/app/
DEnterTransitionCoordinator.java83 final ViewTreeObserver viewTreeObserver = decorView.getViewTreeObserver(); in EnterTransitionCoordinator() local
84 viewTreeObserver.addOnPreDrawListener( in EnterTransitionCoordinator()
89 if (viewTreeObserver.isAlive()) { in EnterTransitionCoordinator()
90 viewTreeObserver.removeOnPreDrawListener(this); in EnterTransitionCoordinator()
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java1161 ViewTreeObserver viewTreeObserver = mPopupWindow.getContentView() in setTouchableSurfaceInsetsComputer() local
1164 viewTreeObserver.removeOnComputeInternalInsetsListener(mInsetsComputer); in setTouchableSurfaceInsetsComputer()
1165 viewTreeObserver.addOnComputeInternalInsetsListener(mInsetsComputer); in setTouchableSurfaceInsetsComputer()