Home
last modified time | relevance | path

Searched refs:percentageY (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DPosition.java48 final float percentageY = Float.parseFloat(sStringCommaSplitter.next()); in fromString() local
49 return new Position(percentageX, percentageY); in fromString()
56 Position(float percentageX, float percentageY) { in Position() argument
57 update(percentageX, percentageY); in Position()
79 @FloatRange(from = 0.0, to = 1.0) float percentageY) { in update()
81 mPercentageY = percentageY; in update()
DMenuAnimationController.java441 final float percentageY = position.y < 0 || draggableBounds.height() == 0 in constrainPositionAndUpdate()
448 mMenuView.persistPositionAndUpdateEdge(new Position(percentageX, percentageY)); in constrainPositionAndUpdate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DMenuViewTest.java128 final float percentageY = 0.5f; in onAnimationend_updatePositionForSharedPreference() local
130 mMenuView.persistPositionAndUpdateEdge(new Position(percentageX, percentageY)); in onAnimationend_updatePositionForSharedPreference()
136 assertThat(position.getPercentageY()).isEqualTo(percentageY); in onAnimationend_updatePositionForSharedPreference()