/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | MagnificationProcessor.java | 85 .setCenterY(fullScreenMagnificationController.getCenterY(displayId)); in getMagnificationConfig() 93 .setCenterY(magnificationConnectionManager.getCenterY(displayId)); in getMagnificationConfig() 131 config.getCenterX(), config.getCenterY(), in setMagnificationConfig() 139 displayId, config.getScale(), config.getCenterX(), config.getCenterY(), in setMagnificationConfig() 222 public float getCenterY(int displayId, boolean canControlMagnification) { in getCenterY() method in MagnificationProcessor 226 return mController.getFullScreenMagnificationController().getCenterY(displayId); in getCenterY()
|
D | MagnificationController.java | 326 final PointF magnificationCenter = new PointF(config.getCenterX(), config.getCenterY()); in transitionMagnificationConfigMode() 331 final float centerY = Float.isNaN(config.getCenterY()) in transitionMagnificationConfigMode() 333 : config.getCenterY(); in transitionMagnificationConfigMode() 853 mMagnificationConnectionManager.getCenterY(displayId)); in getCurrentMagnificationCenterLocked() 860 mFullScreenMagnificationController.getCenterY(displayId)); in getCurrentMagnificationCenterLocked() 949 .setCenterY(screenMagnificationController.getCenterY(mDisplayId)); in onResult()
|
D | FullScreenMagnificationController.java | 297 float getCenterY() { in getCenterY() method in FullScreenMagnificationController.DisplayMagnification 482 final float centerY = getCenterY(); in onMagnificationChangedLocked() 728 getCenterY() in refreshThumbnail() 783 centerY = getCenterY(); in updateMagnificationSpecLocked() 1411 public float getCenterY(int displayId) { in getCenterY() method in FullScreenMagnificationController 1417 return display.getCenterY(); in getCenterY()
|
D | MagnificationConnectionManager.java | 884 public float getCenterY(int displayId) { in getCenterY() method in MagnificationConnectionManager 890 return magnifier.getCenterY(); in getCenterY() 1283 float getCenterY() { in getCenterY() method in MagnificationConnectionManager.WindowMagnifier
|
D | FullScreenMagnificationGestureHandler.java | 2041 bounds.left, mFullScreenMagnificationController.getCenterY(mDisplayId)); in setPivotEdge() 2045 mFullScreenMagnificationController.getCenterY(mDisplayId)); in setPivotEdge()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MagnificationProcessorTest.java | 143 float centerY = mMagnificationProcessor.getCenterY( in getCenterY_canControlFullscreenMagnification_returnCenterY() 156 float centerY = mMagnificationProcessor.getMagnificationConfig(TEST_DISPLAY).getCenterY(); in getCenterY_controlWindowMagnification_returnCenterY() 243 final float result = mMagnificationProcessor.getCenterY( in getMagnificationCenterY_fullscreenModeNotRegistered_shouldRegisterThenUnregister() 483 config.getCenterX(), config.getCenterY(), false, SERVICE_ID); in setMagnificationActivated() 488 displayId, config.getScale(), config.getCenterX(), config.getCenterY()); in setMagnificationActivated() 497 assertEquals(expected.getCenterY(), actual.getCenterY(), 0); in assertConfigEquals() 518 doAnswer(invocation -> mCenterY).when(mScreenMagnificationController).getCenterY( in stubMethods() 588 doAnswer(invocation -> mCenterY).when(mMagnificationConnectionManager).getCenterY( in stubMethods()
|
D | AbstractAccessibilityServiceConnectionTest.java | 652 when(mMockMagnificationProcessor.getCenterY(displayId, /* canControlMagnification= */ in getMagnificationCenterY_serviceNotBelongCurrentUser_returnZero()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | MagnificationConfig.java | 140 public float getCenterY() { in getCenterY() method in MagnificationConfig 156 stringBuilder.append("centerY: ").append(getCenterY()); in toString()
|
D | AccessibilityService.java | 1659 public float getCenterY() { in getCenterY() method in AccessibilityService.MagnificationController 1984 config.getScale(), config.getCenterX(), config.getCenterY()); in onMagnificationChanged()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
D | MagnificationControllerTest.java | 280 mMagnificationConnectionManager.getCenterY(TEST_DISPLAY), 0); in transitionToWindowMode_fullScreenMagnifying_disableFullScreenAndEnableWindow() 325 mMagnificationConnectionManager.getCenterY(TEST_DISPLAY), 0); in transitionToWindowMode_disablingWindowMode_enablingWindowWithFormerCenter() 399 assertEquals(MAGNIFIED_CENTER_Y, mScreenMagnificationController.getCenterY(TEST_DISPLAY), in transitionToFullScreenMode_disablingFullScreen_enableFullScreenWithFormerCenter() 438 mMagnificationConnectionManager.getCenterY(TEST_DISPLAY), 0); in configTransitionToWindowMode_fullScreenMagnifying_disableFullScreenAndEnableWindow() 532 assertEquals(MAGNIFIED_CENTER_Y, mScreenMagnificationController.getCenterY(TEST_DISPLAY), in configTransitionToFullScreen_userSettingsDisablingFullScreen_enableFullScreen() 672 assertEquals(actualRect.exactCenterY(), actualConfig.getCenterY(), 0); in enableWindowMode_notifyMagnificationChanged() 683 config.getScale(), config.getCenterX(), config.getCenterY(), in onFullScreenMagnificationChanged_fullScreenEnabled_notifyMagnificationChanged() 695 assertEquals(config.getCenterY(), actualConfig.getCenterY(), 0); in onFullScreenMagnificationChanged_fullScreenEnabled_notifyMagnificationChanged() 751 assertEquals(config.getCenterY(), actualConfig.getCenterY(), 0); in transitionConfigMode_windowEnabled_notifyTargetMagnificationChanged() 795 assertEquals(config.getCenterY(), actualConfig.getCenterY(), 0); in transitionConfigMode_fullScreenEnabled_notifyTargetMagnificationChanged()
|
D | FullScreenMagnificationControllerTest.java | 263 mFullScreenMagnificationController.getCenterY(displayId), 0.0f); in initialState_noMagnificationAndMagnificationRegionReadFromWindowManager() 293 mFullScreenMagnificationController.getCenterY(displayId); in notRegistered_publicMethodsShouldBeBenign() 335 assertEquals(center.y, mFullScreenMagnificationController.getCenterY(displayId), 0.0); 363 assertEquals(newCenter.y, mFullScreenMagnificationController.getCenterY(displayId), 0.5); 414 assertEquals(newCenter.y, mFullScreenMagnificationController.getCenterY(displayId), 0.0); 440 assertEquals(newCenter.y, mFullScreenMagnificationController.getCenterY(displayId), 0.5); 516 assertEquals(newCenter.y, mFullScreenMagnificationController.getCenterY(displayId), 0.5); 529 mFullScreenMagnificationController.getCenterY(displayId), 0.5); 553 assertEquals(newCenter.y, mFullScreenMagnificationController.getCenterY(displayId), 0.5); 566 assertEquals(newCenter.y, mFullScreenMagnificationController.getCenterY(displayId), 0.5); [all …]
|
D | MagnificationConnectionManagerTest.java | 658 assertTrue(Float.isNaN(mMagnificationConnectionManager.getCenterY(TEST_DISPLAY))); in requestConnectionToNull_expectedGetterResults() 736 assertEquals(mMagnificationConnectionManager.getCenterY(TEST_DISPLAY), 200f); in centerGetter_enabledOnTestDisplay_expectedValues() 747 assertEquals(mMagnificationConnectionManager.getCenterY(TEST_DISPLAY), 200f); in centerGetter_enabledOnTestDisplayWindowAtCenter_expectedValues() 761 assertEquals(mMagnificationConnectionManager.getCenterY(TEST_DISPLAY), 200f); in centerGetter_enabledOnTestDisplayWindowAtLeftTop_expectedValues() 777 assertTrue(Float.isNaN(mMagnificationConnectionManager.getCenterY(TEST_DISPLAY))); in magnifierGetters_disabled_expectedValues()
|
D | FullScreenMagnificationGestureHandlerTest.java | 926 mFullScreenMagnificationController.getCenterY(DISPLAY_0)); in testSingleFingerOverscrollAtLeftEdge_isWatch_expectedOverscrollState() 950 mFullScreenMagnificationController.getCenterY(DISPLAY_0)); in testSingleFingerOverscrollAtRightEdge_isWatch_expectedOverscrollState() 974 mFullScreenMagnificationController.getCenterY(DISPLAY_0)); in testSingleFingerOverscrollAtTopEdge_isWatch_expectedOverscrollState() 996 mFullScreenMagnificationController.getCenterY(DISPLAY_0)); in testSingleFingerScrollAtEdge_isWatch_noOverscroll() 1020 mFullScreenMagnificationController.getCenterY(DISPLAY_0)); in testSingleFingerHorizontalScrollAtEdge_isWatch_vibrate() 1044 mFullScreenMagnificationController.getCenterY(DISPLAY_0)); in testSingleFingerVerticalScrollAtEdge_isWatch_doNotVibrate()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | WindowMagnificationAnimationControllerTest.java | 243 mCurrentCenterY.set(mController.getCenterY()); in enableWindowMagnification_enabling_expectedValuesAndInvokeCallback() 298 mCurrentCenterY.set(mController.getCenterY()); in enableWindowMagnificationScaleOne_enabledAndWindowlessFlagOn_AnimationAndCallbackTrue() 340 mCurrentCenterY.set(mController.getCenterY()); in enableWindowMagnificationScaleOne_enabledAndWindowlessFlagOff_AnimationAndCallbackTrue() 376 mCurrentCenterY.set(mController.getCenterY()); in enableWindowMagnificationWithScaleLessThanOne_enabled_AnimationAndInvokeCallback() 464 mCurrentCenterY.set(mController.getCenterY()); in enableWindowMagnification_disabling_expectedValuesAndInvokeCallback() 549 mCurrentCenterY.set(mController.getCenterY()); in enableWindowMagnification_enabled_expectedValuesAndInvokeCallback() 778 mCurrentCenterY.set(mController.getCenterY()); in deleteWindowMagnification_enabling_expectedValuesAndInvokeCallback() 937 assertEquals(expectedCenterY, mController.getCenterY(), 0f); in verifyFinalSpec()
|
D | WindowMagnificationControllerWindowlessMagnifierTest.java | 348 assertEquals(mWindowMagnificationController.getCenterY(), in moveWindowMagnifier_enabled_notifySourceBoundsChanged() 476 assertEquals(mWindowMagnificationController.getCenterY(), in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback() 479 assertEquals(mWindowMagnificationController.getCenterY(), targetCenterY, 0); in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback() 517 assertEquals(mWindowMagnificationController.getCenterY(), in moveWindowMagnifierToPositionMultipleTimes_expectedValuesAndInvokeCallback() 520 assertEquals(mWindowMagnificationController.getCenterY(), centerY + 40, 0); in moveWindowMagnifierToPositionMultipleTimes_expectedValuesAndInvokeCallback() 563 mWindowMagnificationController.getCenterY()); in onOrientationChanged_enabled_updateDisplayRotationAndCenterStayAtSamePosition() 577 mWindowMagnificationController.getCenterY()); in onOrientationChanged_enabled_updateDisplayRotationAndCenterStayAtSamePosition() 624 mWindowMagnificationController.getCenterY() / testWindowBounds.height(), in onScreenSizeAndDensityChanged_enabledAtTheCenterOfScreen_keepSameWindowSizeRatio() 1441 magnificationCenterY.set((int) mWindowMagnificationController.getCenterY()); in setWindowCenterOutOfScreen_enabled_magnificationCenterIsInsideTheScreen()
|
D | WindowMagnificationControllerTest.java | 337 assertEquals(mWindowMagnificationController.getCenterY(), in moveWindowMagnifier_enabled_notifySourceBoundsChanged() 460 assertEquals(mWindowMagnificationController.getCenterY(), in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback() 463 assertEquals(mWindowMagnificationController.getCenterY(), targetCenterY, 0); in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback() 500 assertEquals(mWindowMagnificationController.getCenterY(), in moveWindowMagnifierToPositionMultipleTimes_expectedValuesAndInvokeCallback() 503 assertEquals(mWindowMagnificationController.getCenterY(), centerY + 40, 0); in moveWindowMagnifierToPositionMultipleTimes_expectedValuesAndInvokeCallback() 546 mWindowMagnificationController.getCenterY()); in onOrientationChanged_enabled_updateDisplayRotationAndCenterStayAtSamePosition() 560 mWindowMagnificationController.getCenterY()); in onOrientationChanged_enabled_updateDisplayRotationAndCenterStayAtSamePosition() 607 mWindowMagnificationController.getCenterY() / testWindowBounds.height(), in onScreenSizeAndDensityChanged_enabledAtTheCenterOfScreen_keepSameWindowSizeRatio() 1420 magnificationCenterY.set((int) mWindowMagnificationController.getCenterY()); in setWindowCenterOutOfScreen_enabled_magnificationCenterIsInsideTheScreen()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | WindowMagnificationAnimationController.java | 207 final float currentCenterY = mController.getCenterY(); in setupEnableAnimationSpecs()
|
D | WindowMagnificationController.java | 597 final float newCenterY = (getCenterY()) * mWindowBounds.height() / oldWindowBounds.height(); in handleScreenSizeChanged() 1524 float getCenterY() { in getCenterY() method in WindowMagnificationController
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AbstractAccessibilityServiceConnection.java | 1281 return magnificationProcessor.getCenterY(displayId, in getMagnificationCenterY()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/frameworks/base/core/api/ |
D | current.txt | 3482 method @Deprecated public float getCenterY(); 3676 method public float getCenterY();
|