Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DSmartSelectSprite.java517 final int centerRectangleIndex = rectangles.indexOf(centerRectangle); in generateDirections() local
519 for (int i = 0; i < centerRectangleIndex - 1; ++i) { in generateDirections()
524 result[centerRectangleIndex] = RoundedRectangleShape.ExpansionDirection.CENTER; in generateDirections()
525 } else if (centerRectangleIndex == 0) { in generateDirections()
526 result[centerRectangleIndex] = RoundedRectangleShape.ExpansionDirection.LEFT; in generateDirections()
527 } else if (centerRectangleIndex == rectangles.size() - 1) { in generateDirections()
528 result[centerRectangleIndex] = RoundedRectangleShape.ExpansionDirection.RIGHT; in generateDirections()
530 result[centerRectangleIndex] = RoundedRectangleShape.ExpansionDirection.CENTER; in generateDirections()
533 for (int i = centerRectangleIndex + 1; i < result.length; ++i) { in generateDirections()