Home
last modified time | relevance | path

Searched refs:mRotationButtonController (Results 1 – 5 of 5) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/
H A DNavigationBarRotationContextTest.java56 private RotationButtonController mRotationButtonController; field in NavigationBarRotationContextTest
68 mRotationButtonController = new RotationButtonController(mContext, in setup()
77 mRotationButtonController.setRotationButton(mRotationButton, in setup()
88 mRotationButtonController = spy(mRotationButtonController); in setup()
97 verify(mRotationButtonController, times(1)).setRotateSuggestionButtonState( in testOnInvalidRotationProposal()
105 verify(mRotationButtonController, times(1)).setRotateSuggestionButtonState( in testOnSameRotationProposal()
112 mRotationButtonController.onBehaviorChanged(Display.DEFAULT_DISPLAY, in testOnRotationProposalShowButtonShowNav()
115 verify(mRotationButtonController, times(0)).setRotateSuggestionButtonState( in testOnRotationProposalShowButtonShowNav()
117 verify(mRotationButtonController, times(0)).setRotateSuggestionButtonState( in testOnRotationProposalShowButtonShowNav()
123 verify(mRotationButtonController, times(0)).setRotateSuggestionButtonState( in testOnRotationProposalShowButtonShowNav()
[all …]
H A DNavigationBarTest.java155 RotationButtonController mRotationButtonController; field in NavigationBarTest
236 .thenReturn(mRotationButtonController); in setup()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
H A DRotationContextButton.java31 private RotationButtonController mRotationButtonController; field in RotationContextButton
43 mRotationButtonController = rotationButtonController; in setRotationButtonController()
69 return KeyButtonDrawable.create(mRotationButtonController.getContext(), in getNewDrawable()
70 lightIconColor, darkIconColor, mRotationButtonController.getIconResId(), in getNewDrawable()
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/
H A DFloatingRotationButton.java81 private RotationButtonController mRotationButtonController; field in FloatingRotationButton
135 mRotationButtonController = rotationButtonController; in setRotationButtonController()
136 updateIcon(mRotationButtonController.getLightIconColor(), in setRotationButtonController()
137 mRotationButtonController.getDarkIconColor()); in setRotationButtonController()
198 .getDrawable(mRotationButtonController.getIconResId()); in updateIcon()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
H A DNavigationBarView.java155 private RotationButtonController mRotationButtonController; field in NavigationBarView
362 mRotationButtonController.setBgExecutor(bgExecutor); in setBackgroundExecutor()
405 return mRotationButtonController; in getRotationButtonController()
485 mRotationButtonController.setRotationButton(mFloatingRotationButton, in updateRotationButton()
490 mRotationButtonController.setRotationButton(mRotationContextButton, in updateRotationButton()
562 mRotationButtonController.onNavigationBarWindowVisibilityChange(visible); in setWindowVisible()
566 mRotationButtonController.onBehaviorChanged(mDisplayTracker.getDefaultDisplayId(), in setBehavior()
844 mRotationButtonController.onNavigationModeChanged(mNavBarMode); in setNavBarMode()
1099 if (mRotationButtonController != null) { in onAttachedToWindow()
1112 if (mRotationButtonController != null) { in onDetachedFromWindow()
[all …]