Home
last modified time | relevance | path

Searched refs:mFullScreenMagnificationController (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DFullScreenMagnificationControllerTest.java145 FullScreenMagnificationController mFullScreenMagnificationController; field in FullScreenMagnificationControllerTest
183 mFullScreenMagnificationController = in setUp()
218 assertTrue(mFullScreenMagnificationController.isRegistered(DISPLAY_0)); in testRegister_WindowManagerAndContextRegisterListeners()
219 assertTrue(mFullScreenMagnificationController.isRegistered(DISPLAY_1)); in testRegister_WindowManagerAndContextRegisterListeners()
220 assertFalse(mFullScreenMagnificationController.isRegistered(INVALID_DISPLAY)); in testRegister_WindowManagerAndContextRegisterListeners()
227 mFullScreenMagnificationController.unregister(DISPLAY_0); in testRegister_WindowManagerAndContextUnregisterListeners()
229 mFullScreenMagnificationController.unregister(DISPLAY_1); in testRegister_WindowManagerAndContextUnregisterListeners()
233 assertFalse(mFullScreenMagnificationController.isRegistered(DISPLAY_0)); in testRegister_WindowManagerAndContextUnregisterListeners()
234 assertFalse(mFullScreenMagnificationController.isRegistered(DISPLAY_1)); in testRegister_WindowManagerAndContextUnregisterListeners()
256 mFullScreenMagnificationController.getMagnificationRegion(displayId, initialMagRegion); in initialState_noMagnificationAndMagnificationRegionReadFromWindowManager()
[all …]
DFullScreenMagnificationGestureHandlerTest.java182 FullScreenMagnificationController mFullScreenMagnificationController; field in FullScreenMagnificationGestureHandlerTest
237 mFullScreenMagnificationController = in setUp()
261 mFullScreenMagnificationController.register(DISPLAY_0); in setUp()
262 mFullScreenMagnificationController.setAlwaysOnMagnificationEnabled(true); in setUp()
275 mFullScreenMagnificationController.unregister(DISPLAY_0); in tearDown()
292 mFullScreenMagnificationController, in newInstance()
421 mFullScreenMagnificationController.setAlwaysOnMagnificationEnabled(false); in testRelease_zoomedWithPersistedScaleTmpAndAlwaysOnNotEnabled_shouldInIdle()
430 mFullScreenMagnificationController.setAlwaysOnMagnificationEnabled(true); in testRelease_zoomedWithPersistedScaleTmpAndAlwaysOnEnabled_shouldInActivated()
698 mFullScreenMagnificationController.reset(DISPLAY_0, /* animate= */ false); in testMagnifierDeactivates_shortcutTriggeredState_returnToIdleState()
874 mFullScreenMagnificationController.setCenter( in testSingleFingerOverscrollAtLeftEdge_isNotWatch_transitionToDelegatingState()
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DFullScreenMagnificationGestureHandler.java137 @VisibleForTesting final FullScreenMagnificationController mFullScreenMagnificationController; field in FullScreenMagnificationGestureHandler
250 mFullScreenMagnificationController = fullScreenMagnificationController; in FullScreenMagnificationGestureHandler()
283 mFullScreenMagnificationController.addInfoChangedCallback( in FullScreenMagnificationGestureHandler()
378 mFullScreenMagnificationController.resetIfNeeded( in onDestroy()
380 mFullScreenMagnificationController.removeInfoChangedCallback( in onDestroy()
387 final boolean isActivated = mFullScreenMagnificationController.isActivated(mDisplayId); in handleShortcutTriggered()
559 mFullScreenMagnificationController.getScale(mDisplayId); in checkShouldDetectPassPersistedScale()
561 mFullScreenMagnificationController.getPersistedScale(mDisplayId); in checkShouldDetectPassPersistedScale()
573 mFullScreenMagnificationController.persistScale(mDisplayId); in persistScaleAndTransitionTo()
583 mFullScreenMagnificationController.getPersistedScale(mDisplayId); in setScaleAndClearIfNeeded()
[all …]
DMagnificationController.java99 private FullScreenMagnificationController mFullScreenMagnificationController; field in MagnificationController
171 mFullScreenMagnificationController = fullScreenMagnificationController; in MagnificationController()
555 final boolean fullScreenActivated = mFullScreenMagnificationController != null in shouldNotifyMagnificationChange()
556 && mFullScreenMagnificationController.isActivated(displayId); in shouldNotifyMagnificationChange()
613 scale = mFullScreenMagnificationController.getLastActivatedScale(displayId); in onFullScreenMagnificationActivationState()
687 fullMagnificationController = mFullScreenMagnificationController; in updateUserIdIfNeeded()
711 if (mFullScreenMagnificationController != null) { in onDisplayRemoved()
712 mFullScreenMagnificationController.onDisplayRemoved(displayId); in onDisplayRemoved()
794 if (mFullScreenMagnificationController == null) { in getFullScreenMagnificationController()
795 mFullScreenMagnificationController = new FullScreenMagnificationController( in getFullScreenMagnificationController()
[all …]