Searched refs:percentageX (Results 1 – 2 of 2) sorted by relevance
46 final float percentageX = Float.parseFloat(sStringCommaSplitter.next()); in fromString() local48 return new Position(percentageX, percentageY); in fromString()55 Position(float percentageX, float percentageY) { in Position() argument56 update(percentageX, percentageY); in Position()70 public void update(@FloatRange(from = 0.0, to = 1.0) float percentageX, in update()72 mPercentageX = percentageX; in update()
811 private int transformToAlignment(@FloatRange(from = 0.0, to = 1.0) float percentageX) { in transformToAlignment()812 return (percentageX < 0.5f) ? Alignment.LEFT : Alignment.RIGHT; in transformToAlignment()816 final float percentageX = calculateCurrentPercentageX(); in transformCurrentPercentageXToEdge() local817 return (percentageX < 0.5) ? 0.0f : 1.0f; in transformCurrentPercentageXToEdge()