Searched refs:viewTreeObserver (Results 1 – 9 of 9) sorted by relevance
33 public ViewTreeObserver viewTreeObserver; field in RunQueue63 viewTreeObserver = view.getViewTreeObserver(); in onCreate()64 viewTreeObserver.addOnGlobalLayoutListener(this); in onCreate()
57 assertFalse("The view tree observer is still alive", activity.viewTreeObserver.isAlive()); in testTreeObserverKilled()
420 ViewTreeObserver viewTreeObserver = getViewTreeObserver(); in dismissPopup() local421 if (viewTreeObserver.isAlive()) { in dismissPopup()422 viewTreeObserver.removeOnGlobalLayoutListener(mOnGlobalLayoutListener); in dismissPopup()454 ViewTreeObserver viewTreeObserver = getViewTreeObserver(); in onDetachedFromWindow() local455 if (viewTreeObserver.isAlive()) { in onDetachedFromWindow()456 viewTreeObserver.removeOnGlobalLayoutListener(mOnGlobalLayoutListener); in onDetachedFromWindow()
412 ViewTreeObserver viewTreeObserver = getViewTreeObserver(); in dismissPopup() local413 if (viewTreeObserver.isAlive()) { in dismissPopup()414 viewTreeObserver.removeGlobalOnLayoutListener(mOnGlobalLayoutListener); in dismissPopup()446 ViewTreeObserver viewTreeObserver = getViewTreeObserver(); in onDetachedFromWindow() local447 if (viewTreeObserver.isAlive()) { in onDetachedFromWindow()448 viewTreeObserver.removeGlobalOnLayoutListener(mOnGlobalLayoutListener); in onDetachedFromWindow()
89 ViewTreeObserver viewTreeObserver = mNavigationBarView.getViewTreeObserver(); in onViewCreated() local90 viewTreeObserver.addOnPreDrawListener(this); in onViewCreated()
76 val vto = viewTreeObserver in doOnPreDraw()82 else -> viewTreeObserver.removeOnPreDrawListener(this) in doOnPreDraw()
82 final ViewTreeObserver viewTreeObserver = decorView.getViewTreeObserver(); in EnterTransitionCoordinator() local83 viewTreeObserver.addOnPreDrawListener( in EnterTransitionCoordinator()88 if (viewTreeObserver.isAlive()) { in EnterTransitionCoordinator()89 viewTreeObserver.removeOnPreDrawListener(this); in EnterTransitionCoordinator()
101 view.viewTreeObserver.dispatchOnPreDraw() in doOnPreDraw()105 view.viewTreeObserver.dispatchOnPreDraw() in doOnPreDraw()
1162 ViewTreeObserver viewTreeObserver = mPopupWindow.getContentView() in setTouchableSurfaceInsetsComputer() local1165 viewTreeObserver.removeOnComputeInternalInsetsListener(mInsetsComputer); in setTouchableSurfaceInsetsComputer()1166 viewTreeObserver.addOnComputeInternalInsetsListener(mInsetsComputer); in setTouchableSurfaceInsetsComputer()