Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DSmartSelectSprite.java489 final int centerRectangleIndex = rectangles.indexOf(centerRectangle); in generateDirections() local
491 for (int i = 0; i < centerRectangleIndex - 1; ++i) { in generateDirections()
496 result[centerRectangleIndex] = RoundedRectangleShape.ExpansionDirection.CENTER; in generateDirections()
497 } else if (centerRectangleIndex == 0) { in generateDirections()
498 result[centerRectangleIndex] = RoundedRectangleShape.ExpansionDirection.LEFT; in generateDirections()
499 } else if (centerRectangleIndex == rectangles.size() - 1) { in generateDirections()
500 result[centerRectangleIndex] = RoundedRectangleShape.ExpansionDirection.RIGHT; in generateDirections()
502 result[centerRectangleIndex] = RoundedRectangleShape.ExpansionDirection.CENTER; in generateDirections()
505 for (int i = centerRectangleIndex + 1; i < result.length; ++i) { in generateDirections()