Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/
DScreensaver.kt167 mContentView?.viewTreeObserver?.addOnPreDrawListener(mStartPositionUpdater) in startPositionUpdater()
174 mContentView?.viewTreeObserver?.removeOnPreDrawListener(mStartPositionUpdater) in stopPositionUpdater()
187 if (mContentView!!.viewTreeObserver.isAlive) { in onPreDraw()
192 mContentView?.viewTreeObserver?.removeOnPreDrawListener(mStartPositionUpdater) in onPreDraw()
DScreensaverActivity.kt188 mContentView.viewTreeObserver.addOnPreDrawListener(mStartPositionUpdater) in startPositionUpdater()
195 mContentView.viewTreeObserver.removeOnPreDrawListener(mStartPositionUpdater) in stopPositionUpdater()
208 if (mContentView.viewTreeObserver.isAlive) { in onPreDraw()
213 mContentView.viewTreeObserver.removeOnPreDrawListener(mStartPositionUpdater) in onPreDraw()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerFragment.kt494 val viewTreeObserver = toView!!.viewTreeObserver in animateToView() constant
495 viewTreeObserver.addOnPreDrawListener(object : OnPreDrawListener { in animateToView()
497 if (viewTreeObserver.isAlive) { in animateToView()
498 viewTreeObserver.removeOnPreDrawListener(this) in animateToView()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarHeadsUpNotificationManager.java337 ViewTreeObserver viewTreeObserver = in showHeadsUp() local
344 viewTreeObserver.addOnComputeInternalInsetsListener(onComputeInternalInsetsListener); in showHeadsUp()
347 viewTreeObserver.addOnGlobalLayoutListener( in showHeadsUp()
365 viewTreeObserver.addOnGlobalFocusChangeListener(onGlobalFocusChangeListener); in showHeadsUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DMainClearTest.java442 final ViewTreeObserver viewTreeObserver = mock(ViewTreeObserver.class); in testOnGlobalLayout_shouldNotRemoveListener() local
446 when(mScrollView.getViewTreeObserver()).thenReturn(viewTreeObserver); in testOnGlobalLayout_shouldNotRemoveListener()
450 verify(viewTreeObserver, never()).removeOnGlobalLayoutListener(mMainClear); in testOnGlobalLayout_shouldNotRemoveListener()
/packages/apps/Contacts/src/com/android/contacts/activities/
DActionBarAdapter.java446 final ViewTreeObserver viewTreeObserver = decorView.getViewTreeObserver(); in updateOverflowButtonColor() local
447 viewTreeObserver.addOnGlobalLayoutListener( in updateOverflowButtonColor()