Home
last modified time | relevance | path

Searched refs:getCenterY (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DWindowMagnificationAnimationControllerTest.java161 mCurrentCenterY.set(mController.getCenterY()); in enableWindowMagnification_enabling_expectedValuesAndInvokeCallback()
212 mCurrentCenterY.set(mController.getCenterY()); in enableWindowMagnification_disabling_expectedValuesAndInvokeCallback()
269 mCurrentCenterY.set(mController.getCenterY()); in enableWindowMagnification_enabled_expectedValuesAndInvokeCallback()
346 mCurrentCenterY.set(mController.getCenterY()); in deleteWindowMagnification_enabling_expectedValuesAndInvokeCallback()
411 assertEquals(expectedCenterY, mController.getCenterY(), 0f); in verifyFinalSpec()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DFullScreenMagnificationControllerTest.java186 mFullScreenMagnificationController.getCenterY(displayId), 0.0f); in initialState_noMagnificationAndMagnificationRegionReadFromWindowManager()
215 mFullScreenMagnificationController.getCenterY(displayId); in notRegistered_publicMethodsShouldBeBenign()
242 assertEquals(center.y, mFullScreenMagnificationController.getCenterY(displayId), 0.0);
270 assertEquals(newCenter.y, mFullScreenMagnificationController.getCenterY(displayId), 0.5);
321 assertEquals(newCenter.y, mFullScreenMagnificationController.getCenterY(displayId), 0.0);
346 assertEquals(newCenter.y, mFullScreenMagnificationController.getCenterY(displayId), 0.5);
421 assertEquals(newCenter.y, mFullScreenMagnificationController.getCenterY(displayId), 0.5);
434 mFullScreenMagnificationController.getCenterY(displayId), 0.5);
458 assertEquals(newCenter.y, mFullScreenMagnificationController.getCenterY(displayId), 0.5);
471 assertEquals(newCenter.y, mFullScreenMagnificationController.getCenterY(displayId), 0.5);
[all …]
DMagnificationControllerTest.java162 assertEquals(MAGNIFIED_CENTER_Y, mWindowMagnificationManager.getCenterY(TEST_DISPLAY), 0); in transitionToWindowMode_fullScreenMagnifying_disableFullScreenAndEnableWindow()
180 assertEquals(MAGNIFIED_CENTER_Y, mWindowMagnificationManager.getCenterY(TEST_DISPLAY), 0); in transitionToWindowMode_disablingWindowMode_enablingWindowWithFormerCenter()
252 assertEquals(MAGNIFIED_CENTER_Y, mScreenMagnificationController.getCenterY(TEST_DISPLAY), in transitionToFullScreenMode_disablingFullScreen_enableFullScreenWithFormerCenter()
660 doAnswer(invocation -> mCenterY).when(mScreenMagnificationController).getCenterY( in stubMethods()
DWindowMagnificationManagerTest.java393 assertEquals(mWindowMagnificationManager.getCenterY(TEST_DISPLAY), 200f); in centerGetter_enabledOnTestDisplay_expectedValues()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DWindowMagnificationManager.java477 float getCenterY(int displayId) { in getCenterY() method in WindowMagnificationManager
483 return magnifier.getCenterY(); in getCenterY()
684 float getCenterY() { in getCenterY() method in WindowMagnificationManager.WindowMagnifier
DFullScreenMagnificationController.java216 float getCenterY() { in getCenterY() method in FullScreenMagnificationController.DisplayMagnification
356 getScale(), getCenterX(), getCenterY()); in onMagnificationChangedLocked()
532 centerY = getCenterY(); in updateMagnificationSpecLocked()
892 public float getCenterY(int displayId) { in getCenterY() method in FullScreenMagnificationController
898 return display.getCenterY(); in getCenterY()
DMagnificationController.java429 mWindowMagnificationMgr.getCenterY(displayId)); in getCurrentMagnificationBoundsCenterLocked()
436 mFullScreenMagnificationController.getCenterY(displayId)); in getCurrentMagnificationBoundsCenterLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnificationAnimationController.java135 final float currentCenterY = mController.getCenterY(); in setupEnableAnimationSpecs()
DWindowMagnificationController.java711 float getCenterY() { in getCenterY() method in WindowMagnificationController
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAbstractAccessibilityServiceConnectionTest.java637 when(mMockFullScreenMagnificationController.getCenterY(displayId)).thenReturn(centerY); in getMagnificationCenterY_notRegistered_shouldRegisterThenUnregister()
650 when(mMockFullScreenMagnificationController.getCenterY(displayId)).thenReturn(centerY); in getMagnificationCenterY_serviceNotBelongCurrentUser_returnZero()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java1408 public float getCenterY() { in getCenterY() method in AccessibilityService.MagnificationController
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAbstractAccessibilityServiceConnection.java1013 return magnificationController.getCenterY(displayId); in getMagnificationCenterY()
/frameworks/base/core/api/
Dcurrent.txt3100 method public float getCenterY();
/frameworks/base/services/
Dart-profile4731 …/accessibility/magnification/FullScreenMagnificationController$DisplayMagnification;->getCenterY()F
4770 HPLcom/android/server/accessibility/magnification/FullScreenMagnificationController;->getCenterY(I)F