Searched refs:navToken (Results 1 – 3 of 3) sorted by relevance
583 final WindowToken navToken = mDefaultDisplay.getDisplayPolicy().getNavigationBar().mToken; in testRestoreNavBarWhenEnteringRecents_expectAnimation() local584 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() local609 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 …]
649 final WindowToken navToken = navWindow.mToken; in restoreNavigationBarFromApp() local650 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()
2271 final WindowToken navToken = navWindow.mToken; in legacyRestoreNavigationBarFromApp() local2272 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()