Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentsAnimationControllerTest.java583 final WindowToken navToken = mDefaultDisplay.getDisplayPolicy().getNavigationBar().mToken; in testRestoreNavBarWhenEnteringRecents_expectAnimation() local
584 final SurfaceControl.Transaction transaction = navToken.getPendingTransaction(); in testRestoreNavBarWhenEnteringRecents_expectAnimation()
588 verify(transaction).reparent(navToken.getSurfaceControl(), activity.getSurfaceControl()); in testRestoreNavBarWhenEnteringRecents_expectAnimation()
589 verify(transaction).setLayer(navToken.getSurfaceControl(), Integer.MAX_VALUE); in testRestoreNavBarWhenEnteringRecents_expectAnimation()
596 verify(transaction).setLayer(navToken.getSurfaceControl(), 0); in testRestoreNavBarWhenEnteringRecents_expectAnimation()
598 assertTrue(navToken.isAnimating(ANIMATION_TYPE_TOKEN_TRANSFORM)); in testRestoreNavBarWhenEnteringRecents_expectAnimation()
608 final WindowToken navToken = mDefaultDisplay.getDisplayPolicy().getNavigationBar().mToken; in testRestoreNavBarWhenBackToApp_expectNoAnimation() local
609 final SurfaceControl.Transaction transaction = navToken.getPendingTransaction(); in testRestoreNavBarWhenBackToApp_expectNoAnimation()
613 verify(transaction).reparent(navToken.getSurfaceControl(), activity.getSurfaceControl()); in testRestoreNavBarWhenBackToApp_expectNoAnimation()
614 verify(transaction).setLayer(navToken.getSurfaceControl(), Integer.MAX_VALUE); in testRestoreNavBarWhenBackToApp_expectNoAnimation()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DRecentsAnimationController.java649 final WindowToken navToken = navWindow.mToken; in restoreNavigationBarFromApp() local
650 if (navToken == null) { in restoreNavigationBarFromApp()
654 final WindowContainer parent = navToken.getParent(); in restoreNavigationBarFromApp()
655 t.setLayer(navToken.getSurfaceControl(), navToken.getLastLayer()); in restoreNavigationBarFromApp()
663 t.reparent(navToken.getSurfaceControl(), parent.getSurfaceControl()); in restoreNavigationBarFromApp()
DTransition.java2271 final WindowToken navToken = navWindow.mToken; in legacyRestoreNavigationBarFromApp() local
2272 if (navToken == null) return; in legacyRestoreNavigationBarFromApp()
2274 final WindowContainer parent = navToken.getParent(); in legacyRestoreNavigationBarFromApp()
2275 t.setLayer(navToken.getSurfaceControl(), navToken.getLastLayer()); in legacyRestoreNavigationBarFromApp()
2293 t.reparent(navToken.getSurfaceControl(), parent.getSurfaceControl()); in legacyRestoreNavigationBarFromApp()