Home
last modified time | relevance | path

Searched refs:getCenterY (Results 1 – 8 of 8) 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.java346 public float getCenterY() { in getCenterY() method in MagnificationController
551 getScale(), getCenterX(), getCenterY()); in onMagnificationChangedLocked()
601 centerY = getCenterY(); in updateMagnificationSpecLocked()
DAccessibilityManagerService.java3572 return magnificationController.getCenterY(); in getMagnificationCenterY()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DGridWidgetTest.java369 private static int getCenterY(View v) { in getCenterY() method in GridWidgetTest
2749 int top1 = getCenterY(mGridView.getLayoutManager().findViewByPosition(10)); in testSetSelectionWithDeltaInGrid()
2755 int top2 = getCenterY(mGridView.getLayoutManager().findViewByPosition(20)); in testSetSelectionWithDeltaInGrid()
2760 int top3 = getCenterY(mGridView.getLayoutManager().findViewByPosition(20)); in testSetSelectionWithDeltaInGrid()
2767 int top4 = getCenterY(mGridView.getLayoutManager().findViewByPosition(lastVisiblePos + 1)); in testSetSelectionWithDeltaInGrid()
2775 int top5 = getCenterY(mGridView.getLayoutManager().findViewByPosition(firstVisiblePos - 1)); in testSetSelectionWithDeltaInGrid()
2780 int top6 = getCenterY(mGridView.getLayoutManager().findViewByPosition(100)); in testSetSelectionWithDeltaInGrid()
2792 int top7 = getCenterY(mGridView.getLayoutManager().findViewByPosition(200)); in testSetSelectionWithDeltaInGrid()
2797 int top8 = getCenterY(mGridView.getLayoutManager().findViewByPosition(10)); in testSetSelectionWithDeltaInGrid()
2854 int top1 = getCenterY(mGridView.getLayoutManager().findViewByPosition(10)); in testSetSelectionWithDeltaInGrid1()
[all …]
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java954 public float getCenterY() { in getCenterY() method in AccessibilityService.MagnificationController
/frameworks/base/api/
Dcurrent.txt2796 method public float getCenterY();
Dtest-current.txt2796 method public float getCenterY();
Dsystem-current.txt2935 method public float getCenterY();