Searched refs:mMagnificationController (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MagnificationControllerTest.java | 97 MagnificationController mMagnificationController; field in MagnificationControllerTest 111 mMagnificationController = new MagnificationController(mMockControllerCtx, new Object()); in setUp() 133 assertTrue(mMagnificationController.isRegistered(DISPLAY_0)); in testRegister_WindowManagerAndContextRegisterListeners() 134 assertTrue(mMagnificationController.isRegistered(DISPLAY_1)); in testRegister_WindowManagerAndContextRegisterListeners() 135 assertFalse(mMagnificationController.isRegistered(INVALID_DISPLAY)); in testRegister_WindowManagerAndContextRegisterListeners() 142 mMagnificationController.unregister(DISPLAY_0); in testRegister_WindowManagerAndContextUnregisterListeners() 144 mMagnificationController.unregister(DISPLAY_1); in testRegister_WindowManagerAndContextUnregisterListeners() 148 assertFalse(mMagnificationController.isRegistered(DISPLAY_0)); in testRegister_WindowManagerAndContextUnregisterListeners() 149 assertFalse(mMagnificationController.isRegistered(DISPLAY_1)); in testRegister_WindowManagerAndContextUnregisterListeners() 168 mMagnificationController.getMagnificationRegion(displayId, initialMagRegion); in initialState_noMagnificationAndMagnificationRegionReadFromWindowManager() [all …]
|
D | MagnificationGestureHandlerTest.java | 113 MagnificationController mMagnificationController; field in MagnificationGestureHandlerTest 134 mMagnificationController = new MagnificationController(mockController, new Object()) { in setUp() 143 mMagnificationController.register(DISPLAY_0); in setUp() 153 mMagnificationController.unregister(DISPLAY_0); in tearDown() 160 mContext, mMagnificationController, in newInstance() 536 return mMgh.mMagnificationController.isMagnifying(DISPLAY_0);
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MagnificationGestureHandler.java | 124 @VisibleForTesting final MagnificationController mMagnificationController; field in MagnificationGestureHandler 179 mMagnificationController = magnificationController; in MagnificationGestureHandler() 259 mMagnificationController.resetAllIfNeeded( in onDestroy() 266 boolean wasMagnifying = mMagnificationController.resetIfNeeded(mDisplayId, in notifyShortcutTriggered() 413 mMagnificationController.persistScale(); in persistScaleAndTransitionTo() 428 mMagnificationController.offsetMagnifiedRegion(mDisplayId, distanceX, in onScroll() 445 final float initialScale = mMagnificationController.getScale(mDisplayId); in onScale() 467 mMagnificationController.setScale(mDisplayId, scale, pivotX, pivotY, false, in onScale() 527 if (mMagnificationController.magnificationRegionContains( in onMotionEvent() 529 mMagnificationController.setCenter(mDisplayId, eventX, eventY, in onMotionEvent() [all …]
|
D | AccessibilityManagerService.java | 224 private MagnificationController mMagnificationController; field in AccessibilityManagerService 2216 && mMagnificationController != null) { in updateMagnificationLocked() 2217 mMagnificationController.unregisterAll(); in updateMagnificationLocked() 2240 } else if (mMagnificationController != null) { in updateMagnificationLocked() 2241 mMagnificationController.unregister(displayId); in updateMagnificationLocked() 2791 if (mMagnificationController == null) { in getMagnificationController() 2792 mMagnificationController = new MagnificationController(mContext, this, mLock); in getMagnificationController() 2793 mMagnificationController.setUserId(mCurrentUserId); in getMagnificationController() 2795 return mMagnificationController; in getMagnificationController() 3939 if (mMagnificationController != null) { in onDisplayRemoved() [all …]
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 85 Landroid/accessibilityservice/AccessibilityService;->mMagnificationController:Landroid/accessibilit…
|