Searched refs:percentageX (Results 1 – 3 of 3) sorted by relevance
47 final float percentageX = Float.parseFloat(sStringCommaSplitter.next()); in fromString() local49 return new Position(percentageX, percentageY); in fromString()56 Position(float percentageX, float percentageY) { in Position() argument57 update(percentageX, percentageY); in Position()78 public void update(@FloatRange(from = 0.0, to = 1.0) float percentageX, in update()80 mPercentageX = percentageX; in update()
438 final float percentageX = position.x < draggableBounds.centerX() in constrainPositionAndUpdate()448 mMenuView.persistPositionAndUpdateEdge(new Position(percentageX, percentageY)); in constrainPositionAndUpdate()
127 final float percentageX = 0.0f; in onAnimationend_updatePositionForSharedPreference() local130 mMenuView.persistPositionAndUpdateEdge(new Position(percentageX, percentageY)); in onAnimationend_updatePositionForSharedPreference()135 assertThat(position.getPercentageX()).isEqualTo(percentageX); in onAnimationend_updatePositionForSharedPreference()