Searched refs:resetIfNeeded (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MagnificationController.java | 260 final Message m = PooledLambda.obtainMessage(MagnificationController::resetIfNeeded, in onRotationChanged() 267 final Message m = PooledLambda.obtainMessage(MagnificationController::resetIfNeeded, in onUserContextChanged() 1037 resetIfNeeded(mDisplays.keyAt(i), connectionId); in resetAllIfNeeded() 1049 boolean resetIfNeeded(int displayId, boolean animate) { in resetIfNeeded() method in MagnificationController 1067 boolean resetIfNeeded(int displayId, int connectionId) { in resetIfNeeded() method in MagnificationController 1098 resetIfNeeded(mDisplays.keyAt(i), animate); in resetAllIfNeeded()
|
D | MagnificationGestureHandler.java | 266 boolean wasMagnifying = mMagnificationController.resetIfNeeded(mDisplayId, in notifyShortcutTriggered()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MagnificationControllerTest.java | 583 assertFalse(mMagnificationController.resetIfNeeded(displayId, SERVICE_ID_1)); 585 assertTrue(mMagnificationController.resetIfNeeded(displayId, SERVICE_ID_2)); 627 assertTrue(mMagnificationController.resetIfNeeded(displayId, false)); 631 assertFalse(mMagnificationController.resetIfNeeded(displayId, false));
|