Home
last modified time | relevance | path

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

/frameworks/support/wear/tests/src/android/support/wear/widget/util/
DArcSwipe.java92 private float[][] interpolate(float[] start, float[] end, int steps, boolean isClockwise) { in interpolate() argument
99 path.arcTo(mBounds, startAngle, getSweepAngle(startAngle, endAngle, isClockwise)); in interpolate()
119 boolean isClockwise) { in sendArcSwipe() argument
122 isClockwise); in sendArcSwipe()
169 float getSweepAngle(float startAngle, float endAngle, boolean isClockwise) { in getSweepAngle() argument
174 return isClockwise ? sweepAngle : (360 - sweepAngle); in getSweepAngle()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/
DSpotShadow.java374 if (!isClockwise(polygon, len)) { in makeClockwise()
379 private static boolean isClockwise(@NonNull float[] polygon, int len) { in isClockwise() method in SpotShadow