Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMagnificationControllerTest.java170 mMagnificationController.getCenterY(), 0.0f); in testInitialState_noMagnificationAndMagnificationRegionReadFromWindowManager()
189 mMagnificationController.getCenterY(); in testNotRegistered_publicMethodsShouldBeBenign()
207 assertEquals(center.y, mMagnificationController.getCenterY(), 0.0);
227 assertEquals(newCenter.y, mMagnificationController.getCenterY(), 0.5);
269 assertEquals(newCenter.y, mMagnificationController.getCenterY(), 0.0);
286 assertEquals(newCenter.y, mMagnificationController.getCenterY(), 0.5);
327 assertEquals(newCenter.y, mMagnificationController.getCenterY(), 0.5);
339 mMagnificationController.getCenterY(), 0.5);
355 assertEquals(newCenter.y, mMagnificationController.getCenterY(), 0.5);
367 assertEquals(newCenter.y, mMagnificationController.getCenterY(), 0.5);
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationController.java353 public float getCenterY() { in getCenterY() method in MagnificationController
568 getScale(), getCenterX(), getCenterY()); in onMagnificationChangedLocked()
618 centerY = getCenterY(); in updateMagnificationSpecLocked()
DAbstractAccessibilityServiceConnection.java831 return magnificationController.getCenterY(); in getMagnificationCenterY()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DGridWidgetTest.java374 private static int getCenterY(View v) { in getCenterY() method in GridWidgetTest
3149 int top1 = getCenterY(mGridView.getLayoutManager().findViewByPosition(10)); in testSetSelectionWithDeltaInGrid()
3155 int top2 = getCenterY(mGridView.getLayoutManager().findViewByPosition(20)); in testSetSelectionWithDeltaInGrid()
3160 int top3 = getCenterY(mGridView.getLayoutManager().findViewByPosition(20)); in testSetSelectionWithDeltaInGrid()
3167 int top4 = getCenterY(mGridView.getLayoutManager().findViewByPosition(lastVisiblePos + 1)); in testSetSelectionWithDeltaInGrid()
3175 int top5 = getCenterY(mGridView.getLayoutManager().findViewByPosition(firstVisiblePos - 1)); in testSetSelectionWithDeltaInGrid()
3180 int top6 = getCenterY(mGridView.getLayoutManager().findViewByPosition(100)); in testSetSelectionWithDeltaInGrid()
3192 int top7 = getCenterY(mGridView.getLayoutManager().findViewByPosition(200)); in testSetSelectionWithDeltaInGrid()
3197 int top8 = getCenterY(mGridView.getLayoutManager().findViewByPosition(10)); in testSetSelectionWithDeltaInGrid()
3254 int top1 = getCenterY(mGridView.getLayoutManager().findViewByPosition(10)); in testSetSelectionWithDeltaInGrid1()
[all …]
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java968 public float getCenterY() { in getCenterY() method in AccessibilityService.MagnificationController
/frameworks/base/config/
Dhiddenapi-public-dex.txt20 Landroid/accessibilityservice/AccessibilityService$MagnificationController;->getCenterY()F
/frameworks/base/api/
Dcurrent.txt2829 method public float getCenterY();