Home
last modified time | relevance | path

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

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