Searched refs:getAngle (Results 1 - 7 of 7) sorted by relevance

/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/util/
H A DArcSwipeTest.java65 assertEquals(0, mArcSwipeUnderTest.getAngle(200, 0), 0.0f);
66 assertEquals(90, mArcSwipeUnderTest.getAngle(400, 200), 0.0f);
67 assertEquals(180, mArcSwipeUnderTest.getAngle(200, 400), 0.0f);
68 assertEquals(270, mArcSwipeUnderTest.getAngle(0, 200), 0.0f);
H A DArcSwipe.java94 float startAngle = getAngle(start[0], start[1]);
95 float endAngle = getAngle(end[0], end[1]);
158 float getAngle(double x, double y) { method in class:ArcSwipe
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DPoint.java66 public float getAngle(Point a, Point b) { method in class:Point
H A DAnglesClassifier.java137 float angle = mLastThreePoints.get(1).getAngle(mLastThreePoints.get(0),
H A DSpeedAnglesClassifier.java126 float angle = mLastThreePoints.get(1).getAngle(mLastThreePoints.get(0),
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
H A DBasicGLRenderer.java86 public float getAngle() { method in class:BasicGLRenderer
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/
H A DScrollManagerTest.java159 float angle = getAngle(fromX, fromY, TEST_WIDTH, TEST_HEIGHT);
193 private static float getAngle(double x, double y, double viewWidth, double viewHeight) { method in class:ScrollManagerTest

Completed in 119 milliseconds