Home
last modified time | relevance | path

Searched refs:getPercentageX (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DPosition.java69 update(percentagePosition.getPercentageX(), percentagePosition.getPercentageY()); in update()
84 public float getPercentageX() { in getPercentageX() method in Position
DMenuViewAppearance.java173 + draggableBounds.width() * mPercentagePosition.getPercentageX(); in getMenuPosition()
294 return mPercentagePosition.getPercentageX() < 0.5f; in isMenuOnLeftSide()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DPositionTest.java43 assertThat(position.getPercentageX()).isEqualTo(expectedX); in fromString_correctFormat_expectedValues()
62 assertThat(position.getPercentageX()).isEqualTo(expectedX); in constructor()
DMenuViewTest.java135 assertThat(position.getPercentageX()).isEqualTo(percentageX); in onAnimationend_updatePositionForSharedPreference()