Home
last modified time | relevance | path

Searched refs:mRotationButton (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/
DRotationButtonController.java94 private RotationButton mRotationButton; field in RotationButtonController
192 mRotationButton = rotationButton; in setRotationButton()
193 mRotationButton.setRotationButtonController(this); in setRotationButton()
194 mRotationButton.setOnClickListener(this::onRotateSuggestionClick); in setRotationButton()
195 mRotationButton.setOnHoverListener(this::onRotateSuggestionHover); in setRotationButton()
196 mRotationButton.setUpdatesCallback(updatesCallback); in setRotationButton()
318 if (!visible && !mRotationButton.isVisible()) return; in setRotateSuggestionButtonState()
320 final View view = mRotationButton.getCurrentView(); in setRotateSuggestionButtonState()
323 final Drawable currentDrawable = mRotationButton.getImageDrawable(); in setRotateSuggestionButtonState()
352 mRotationButton.show(); in setRotateSuggestionButtonState()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/
DNavigationBarRotationContextTest.java57 private RotationButton mRotationButton; field in NavigationBarRotationContextTest
67 mRotationButton = mock(RotationButton.class); in setup()
77 mRotationButtonController.setRotationButton(mRotationButton, in setup()
89 doReturn(view).when(mRotationButton).getCurrentView(); in setup()
90 doReturn(true).when(mRotationButton).acceptRotationProposal(); in setup()