Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
H A DMagnificationControllerTest.java124 private FullScreenMagnificationController mScreenMagnificationController; field in MagnificationControllerTest
206 mScreenMagnificationController.register(TEST_DISPLAY); in setUp()
236 verify(mScreenMagnificationController, never()).reset(anyInt(), in transitionToWindowMode_notMagnifying_doNothing()
252 verify(mScreenMagnificationController).reset(eq(TEST_DISPLAY), in transitionToWindowMode_fullScreenMagnifying_disableFullScreenAndEnableWindow()
270 verify(mScreenMagnificationController).reset(eq(TEST_DISPLAY), in transitionToWindowModeFailedByReset_fullScreenMagnifying_notifyTransitionFailed()
334 verify(mScreenMagnificationController).setScaleAndCenter(TEST_DISPLAY, in transitionToFullScreenMode_windowMagnifying_disableWindowAndEnableFullScreen()
575 verify(mScreenMagnificationController).resetAllIfNeeded(false); in updateUserIdIfNeeded_AllModulesAvailable_disableMagnificationAndChangeUserId()
656 mScreenMagnificationController.setScaleAndCenter(TEST_DISPLAY, in onFullScreenMagnificationChanged_fullScreenEnabled_notifyMagnificationChanged()
736 verify(mScreenMagnificationController).reset(eq(TEST_DISPLAY), in transitionMagnificationMode_fullScreenEnabled_notifyTargetMagnificationChanged()
904 mScreenMagnificationController.setScaleAndCenter(TEST_DISPLAY, in onWindowModeActivated_fullScreenIsActivatedByExternal_fullScreenIsDisabled()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DMagnificationProcessorTest.java501 private final FullScreenMagnificationController mScreenMagnificationController; field in MagnificationProcessorTest.FullScreenMagnificationControllerStub
510 mScreenMagnificationController = screenMagnificationController; in FullScreenMagnificationControllerStub()
514 doAnswer(invocation -> mScale).when(mScreenMagnificationController).getScale( in stubMethods()
516 doAnswer(invocation -> mCenterX).when(mScreenMagnificationController).getCenterX( in stubMethods()
518 doAnswer(invocation -> mCenterY).when(mScreenMagnificationController).getCenterY( in stubMethods()
522 doAnswer(invocation -> mIsActivated).when(mScreenMagnificationController).isActivated( in stubMethods()
533 mScreenMagnificationController).setScaleAndCenter(eq(TEST_DISPLAY), anyFloat(), in stubMethods()
541 mScreenMagnificationController).reset(eq(TEST_DISPLAY), anyBoolean()); in stubMethods()
548 mScreenMagnificationController).register(eq(TEST_DISPLAY)); in stubMethods()
555 mScreenMagnificationController).unregister(eq(TEST_DISPLAY)); in stubMethods()
[all …]