Searched refs:mModeSwitchesController (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | ModeSwitchesControllerTest.java | 49 private ModeSwitchesController mModeSwitchesController; field in ModeSwitchesControllerTest 59 mModeSwitchesController = new ModeSwitchesController(mSupplier); in setUp() 60 mModeSwitchesController.setClickListenerDelegate(mListener); in setUp() 61 mModeSwitch = Mockito.spy(new MagnificationModeSwitch(mContext, mModeSwitchesController)); in setUp() 67 mModeSwitchesController.removeButton(Display.DEFAULT_DISPLAY); in tearDown() 72 mModeSwitchesController.showButton(Display.DEFAULT_DISPLAY, in testShowButton() 80 mModeSwitchesController.showButton(Display.DEFAULT_DISPLAY, in testRemoveButton() 83 mModeSwitchesController.removeButton(Display.DEFAULT_DISPLAY); in testRemoveButton() 90 mModeSwitchesController.showButton(Display.DEFAULT_DISPLAY, in testControllerOnConfigurationChanged_notifyShowingButton() 92 mModeSwitchesController.onConfigurationChanged(ActivityInfo.CONFIG_DENSITY); in testControllerOnConfigurationChanged_notifyShowingButton() [all …]
|
D | IMagnificationConnectionTest.java | 92 private ModeSwitchesController mModeSwitchesController; field in IMagnificationConnectionTest 124 mModeSwitchesController, mSysUiState, mOverviewProxyService, mSecureSettings, in setUp() 206 verify(mModeSwitchesController).showButton(TEST_DISPLAY, in showMagnificationButton_flagOff_directlyShowButton() 227 verify(mModeSwitchesController).showButton(TEST_DISPLAY, in showMagnificationButton_flagOn_delayedShowButton() 248 verify(mModeSwitchesController, never()).showButton(TEST_DISPLAY, in showMagnificationButton_settingsPanelShowing_doNotShowButton() 257 verify(mModeSwitchesController).removeButton(TEST_DISPLAY); in removeMagnificationButton() 278 verify(mModeSwitchesController, never()).showButton(TEST_DISPLAY, in removeMagnificationButton_delayingShowButton_doNotShowButtonAfterTimeout()
|
D | MagnificationTest.java | 76 private ModeSwitchesController mModeSwitchesController; field in MagnificationTest 129 mCommandQueue, mModeSwitchesController, in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | Magnification.java | 80 private final ModeSwitchesController mModeSwitchesController; field in Magnification 254 mModeSwitchesController = modeSwitchesController; in Magnification() 267 mModeSwitchesController.setClickListenerDelegate( in Magnification() 410 mModeSwitchesController.showButton(displayId, magnificationMode); in showMagnificationButtonInternal() 418 mModeSwitchesController.removeButton(displayId); in removeMagnificationButton()
|