/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | MagnificationProcessor.java | 84 .setCenterX(fullScreenMagnificationController.getCenterX(displayId)) in getMagnificationConfig() 92 .setCenterX(magnificationConnectionManager.getCenterX(displayId)) in getMagnificationConfig() 131 config.getCenterX(), config.getCenterY(), in setMagnificationConfig() 139 displayId, config.getScale(), config.getCenterX(), config.getCenterY(), in setMagnificationConfig() 200 public float getCenterX(int displayId, boolean canControlMagnification) { in getCenterX() method in MagnificationProcessor 204 return mController.getFullScreenMagnificationController().getCenterX(displayId); in getCenterX()
|
D | MagnificationController.java | 326 final PointF magnificationCenter = new PointF(config.getCenterX(), config.getCenterY()); in transitionMagnificationConfigMode() 328 final float centerX = Float.isNaN(config.getCenterX()) in transitionMagnificationConfigMode() 330 : config.getCenterX(); in transitionMagnificationConfigMode() 852 mTempPoint.set(mMagnificationConnectionManager.getCenterX(displayId), in getCurrentMagnificationCenterLocked() 859 mTempPoint.set(mFullScreenMagnificationController.getCenterX(displayId), in getCurrentMagnificationCenterLocked() 948 .setCenterX(screenMagnificationController.getCenterX(mDisplayId)) in onResult()
|
D | FullScreenMagnificationController.java | 291 float getCenterX() { in getCenterX() method in FullScreenMagnificationController.DisplayMagnification 481 final float centerX = getCenterX(); in onMagnificationChangedLocked() 727 getCenterX(), in refreshThumbnail() 780 centerX = getCenterX(); in updateMagnificationSpecLocked() 1288 public float getCenterX(int displayId) { in getCenterX() method in FullScreenMagnificationController 1294 return display.getCenterX(); in getCenterX()
|
D | MagnificationConnectionManager.java | 868 public float getCenterX(int displayId) { in getCenterX() method in MagnificationConnectionManager 874 return magnifier.getCenterX(); in getCenterX() 1278 float getCenterX() { in getCenterX() method in MagnificationConnectionManager.WindowMagnifier
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MagnificationProcessorTest.java | 118 float centerX = mMagnificationProcessor.getCenterX( in getCenterX_canControlFullscreenMagnification_returnCenterX() 131 float centerX = mMagnificationProcessor.getMagnificationConfig(TEST_DISPLAY).getCenterX(); in getCenterX_controlWindowMagnification_returnCenterX() 229 final float result = mMagnificationProcessor.getCenterX( in getMagnificationCenterX_fullscreenModeNotRegistered_shouldRegisterThenUnregister() 483 config.getCenterX(), config.getCenterY(), false, SERVICE_ID); in setMagnificationActivated() 488 displayId, config.getScale(), config.getCenterX(), config.getCenterY()); in setMagnificationActivated() 496 assertEquals(expected.getCenterX(), actual.getCenterX(), 0); in assertConfigEquals() 516 doAnswer(invocation -> mCenterX).when(mScreenMagnificationController).getCenterX( in stubMethods() 586 doAnswer(invocation -> mCenterX).when(mMagnificationConnectionManager).getCenterX( in stubMethods()
|
D | AbstractAccessibilityServiceConnectionTest.java | 640 when(mMockMagnificationProcessor.getCenterX(displayId, /* canControlMagnification= */ in getMagnificationCenterX_serviceNotBelongCurrentUser_returnZero()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | MagnificationConfig.java | 131 public float getCenterX() { in getCenterX() method in MagnificationConfig 154 stringBuilder.append("centerX: ").append(getCenterX()); in toString()
|
D | AccessibilityService.java | 1622 public float getCenterX() { in getCenterX() 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 | 278 mMagnificationConnectionManager.getCenterX(TEST_DISPLAY), 0); in transitionToWindowMode_fullScreenMagnifying_disableFullScreenAndEnableWindow() 323 mMagnificationConnectionManager.getCenterX(TEST_DISPLAY), 0); in transitionToWindowMode_disablingWindowMode_enablingWindowWithFormerCenter() 397 assertEquals(MAGNIFIED_CENTER_X, mScreenMagnificationController.getCenterX(TEST_DISPLAY), in transitionToFullScreenMode_disablingFullScreen_enableFullScreenWithFormerCenter() 436 mMagnificationConnectionManager.getCenterX(TEST_DISPLAY), 0); in configTransitionToWindowMode_fullScreenMagnifying_disableFullScreenAndEnableWindow() 530 assertEquals(MAGNIFIED_CENTER_X, mScreenMagnificationController.getCenterX(TEST_DISPLAY), in configTransitionToFullScreen_userSettingsDisablingFullScreen_enableFullScreen() 671 assertEquals(actualRect.exactCenterX(), actualConfig.getCenterX(), 0); in enableWindowMode_notifyMagnificationChanged() 683 config.getScale(), config.getCenterX(), config.getCenterY(), in onFullScreenMagnificationChanged_fullScreenEnabled_notifyMagnificationChanged() 694 assertEquals(config.getCenterX(), actualConfig.getCenterX(), 0); in onFullScreenMagnificationChanged_fullScreenEnabled_notifyMagnificationChanged() 750 assertEquals(config.getCenterX(), actualConfig.getCenterX(), 0); in transitionConfigMode_windowEnabled_notifyTargetMagnificationChanged() 794 assertEquals(config.getCenterX(), actualConfig.getCenterX(), 0); in transitionConfigMode_fullScreenEnabled_notifyTargetMagnificationChanged()
|
D | FullScreenMagnificationControllerTest.java | 261 mFullScreenMagnificationController.getCenterX(displayId), 0.0f); in initialState_noMagnificationAndMagnificationRegionReadFromWindowManager() 292 mFullScreenMagnificationController.getCenterX(displayId); in notRegistered_publicMethodsShouldBeBenign() 334 assertEquals(center.x, mFullScreenMagnificationController.getCenterX(displayId), 0.0); 362 assertEquals(newCenter.x, mFullScreenMagnificationController.getCenterX(displayId), 0.5); 413 assertEquals(newCenter.x, mFullScreenMagnificationController.getCenterX(displayId), 0.0); 439 assertEquals(newCenter.x, mFullScreenMagnificationController.getCenterX(displayId), 0.5); 515 assertEquals(newCenter.x, mFullScreenMagnificationController.getCenterX(displayId), 0.5); 527 mFullScreenMagnificationController.getCenterX(displayId), 0.5); 552 assertEquals(newCenter.x, mFullScreenMagnificationController.getCenterX(displayId), 0.5); 565 assertEquals(newCenter.x, mFullScreenMagnificationController.getCenterX(displayId), 0.5); [all …]
|
D | MagnificationConnectionManagerTest.java | 657 assertTrue(Float.isNaN(mMagnificationConnectionManager.getCenterX(TEST_DISPLAY))); in requestConnectionToNull_expectedGetterResults() 735 assertEquals(mMagnificationConnectionManager.getCenterX(TEST_DISPLAY), 100f); in centerGetter_enabledOnTestDisplay_expectedValues() 746 assertEquals(mMagnificationConnectionManager.getCenterX(TEST_DISPLAY), 100f); in centerGetter_enabledOnTestDisplayWindowAtCenter_expectedValues() 760 assertEquals(mMagnificationConnectionManager.getCenterX(TEST_DISPLAY), 100f); in centerGetter_enabledOnTestDisplayWindowAtLeftTop_expectedValues() 776 assertTrue(Float.isNaN(mMagnificationConnectionManager.getCenterX(TEST_DISPLAY))); in magnifierGetters_disabled_expectedValues()
|
D | FullScreenMagnificationGestureHandlerTest.java | 925 mFullScreenMagnificationController.getCenterX(DISPLAY_0), in testSingleFingerOverscrollAtLeftEdge_isWatch_expectedOverscrollState() 949 mFullScreenMagnificationController.getCenterX(DISPLAY_0), in testSingleFingerOverscrollAtRightEdge_isWatch_expectedOverscrollState() 973 mFullScreenMagnificationController.getCenterX(DISPLAY_0), in testSingleFingerOverscrollAtTopEdge_isWatch_expectedOverscrollState() 995 mFullScreenMagnificationController.getCenterX(DISPLAY_0), in testSingleFingerScrollAtEdge_isWatch_noOverscroll() 1019 mFullScreenMagnificationController.getCenterX(DISPLAY_0), in testSingleFingerHorizontalScrollAtEdge_isWatch_vibrate() 1043 mFullScreenMagnificationController.getCenterX(DISPLAY_0), in testSingleFingerVerticalScrollAtEdge_isWatch_doNotVibrate()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | WindowMagnificationAnimationControllerTest.java | 242 mCurrentCenterX.set(mController.getCenterX()); in enableWindowMagnification_enabling_expectedValuesAndInvokeCallback() 297 mCurrentCenterX.set(mController.getCenterX()); in enableWindowMagnificationScaleOne_enabledAndWindowlessFlagOn_AnimationAndCallbackTrue() 339 mCurrentCenterX.set(mController.getCenterX()); in enableWindowMagnificationScaleOne_enabledAndWindowlessFlagOff_AnimationAndCallbackTrue() 375 mCurrentCenterX.set(mController.getCenterX()); in enableWindowMagnificationWithScaleLessThanOne_enabled_AnimationAndInvokeCallback() 463 mCurrentCenterX.set(mController.getCenterX()); in enableWindowMagnification_disabling_expectedValuesAndInvokeCallback() 548 mCurrentCenterX.set(mController.getCenterX()); in enableWindowMagnification_enabled_expectedValuesAndInvokeCallback() 777 mCurrentCenterX.set(mController.getCenterX()); in deleteWindowMagnification_enabling_expectedValuesAndInvokeCallback() 936 assertEquals(expectedCenterX, mController.getCenterX(), 0f); in verifyFinalSpec()
|
D | WindowMagnificationControllerWindowlessMagnifierTest.java | 346 assertEquals(mWindowMagnificationController.getCenterX(), in moveWindowMagnifier_enabled_notifySourceBoundsChanged() 474 assertEquals(mWindowMagnificationController.getCenterX(), in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback() 478 assertEquals(mWindowMagnificationController.getCenterX(), targetCenterX, 0); in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback() 515 assertEquals(mWindowMagnificationController.getCenterX(), in moveWindowMagnifierToPositionMultipleTimes_expectedValuesAndInvokeCallback() 519 assertEquals(mWindowMagnificationController.getCenterX(), centerX + 40, 0); in moveWindowMagnifierToPositionMultipleTimes_expectedValuesAndInvokeCallback() 562 magnifiedCenter.set(mWindowMagnificationController.getCenterX(), in onOrientationChanged_enabled_updateDisplayRotationAndCenterStayAtSamePosition() 576 final PointF actualCenter = new PointF(mWindowMagnificationController.getCenterX(), in onOrientationChanged_enabled_updateDisplayRotationAndCenterStayAtSamePosition() 621 mWindowMagnificationController.getCenterX() / testWindowBounds.width(), in onScreenSizeAndDensityChanged_enabledAtTheCenterOfScreen_keepSameWindowSizeRatio() 1440 magnificationCenterX.set((int) mWindowMagnificationController.getCenterX()); in setWindowCenterOutOfScreen_enabled_magnificationCenterIsInsideTheScreen()
|
D | WindowMagnificationControllerTest.java | 335 assertEquals(mWindowMagnificationController.getCenterX(), in moveWindowMagnifier_enabled_notifySourceBoundsChanged() 458 assertEquals(mWindowMagnificationController.getCenterX(), in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback() 462 assertEquals(mWindowMagnificationController.getCenterX(), targetCenterX, 0); in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback() 498 assertEquals(mWindowMagnificationController.getCenterX(), in moveWindowMagnifierToPositionMultipleTimes_expectedValuesAndInvokeCallback() 502 assertEquals(mWindowMagnificationController.getCenterX(), centerX + 40, 0); in moveWindowMagnifierToPositionMultipleTimes_expectedValuesAndInvokeCallback() 545 magnifiedCenter.set(mWindowMagnificationController.getCenterX(), in onOrientationChanged_enabled_updateDisplayRotationAndCenterStayAtSamePosition() 559 final PointF actualCenter = new PointF(mWindowMagnificationController.getCenterX(), in onOrientationChanged_enabled_updateDisplayRotationAndCenterStayAtSamePosition() 604 mWindowMagnificationController.getCenterX() / testWindowBounds.width(), in onScreenSizeAndDensityChanged_enabledAtTheCenterOfScreen_keepSameWindowSizeRatio() 1419 magnificationCenterX.set((int) mWindowMagnificationController.getCenterX()); in setWindowCenterOutOfScreen_enabled_magnificationCenterIsInsideTheScreen()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | WindowMagnificationAnimationController.java | 206 final float currentCenterX = mController.getCenterX(); in setupEnableAnimationSpecs()
|
D | WindowMagnificationController.java | 596 final float newCenterX = (getCenterX()) * mWindowBounds.width() / oldWindowBounds.width(); in handleScreenSizeChanged() 1515 float getCenterX() { in getCenterX() method in WindowMagnificationController
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AbstractAccessibilityServiceConnection.java | 1259 return magnificationProcessor.getCenterX(displayId, in getMagnificationCenterX()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ExpandableNotificationRow.java | 2501 setTranslationX(params.getCenterX() - absoluteCenterX);
|
/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 | 3481 method @Deprecated public float getCenterX(); 3675 method public float getCenterX();
|