Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerFragment.java595 final ViewTreeObserver viewTreeObserver = toView.getViewTreeObserver(); in animateToView() local
596 viewTreeObserver.addOnPreDrawListener(new ViewTreeObserver.OnPreDrawListener() { in animateToView()
599 if (viewTreeObserver.isAlive()) { in animateToView()
600 viewTreeObserver.removeOnPreDrawListener(this); in animateToView()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DMasterClearTest.java429 final ViewTreeObserver viewTreeObserver = mock(ViewTreeObserver.class); in testOnGlobalLayout_shouldNotRemoveListener() local
433 when(mScrollView.getViewTreeObserver()).thenReturn(viewTreeObserver); in testOnGlobalLayout_shouldNotRemoveListener()
437 verify(viewTreeObserver, never()).removeOnGlobalLayoutListener(mMasterClear); 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()