Searched refs:angleBetween (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | Vector3Test.java | 78 assertTrue(nearlyEqual(unitXAxis.angleBetween(unitXAxis), 0.0f)); in testVector3AngleBetween() 79 assertTrue(nearlyEqual(unitYAxis.angleBetween(unitYAxis), 0.0f)); in testVector3AngleBetween() 80 assertTrue(nearlyEqual(unitZAxis.angleBetween(unitZAxis), 0.0f)); in testVector3AngleBetween() 83 assertTrue(nearlyEqual(unitXAxis.angleBetween(unitYAxis), 90.0f)); in testVector3AngleBetween() 84 assertTrue(nearlyEqual(unitXAxis.angleBetween(unitZAxis), 90.0f)); in testVector3AngleBetween() 85 assertTrue(nearlyEqual(unitYAxis.angleBetween(unitZAxis), 90.0f)); in testVector3AngleBetween() 88 assertTrue(nearlyEqual(unitXAxis.angleBetween(x1y1), 45.0f)); in testVector3AngleBetween() 89 assertTrue(nearlyEqual(unitYAxis.angleBetween(x1y1), 45.0f)); in testVector3AngleBetween() 92 assertTrue(nearlyEqual(xn1y1.angleBetween(unitXAxis), 135.0f)); in testVector3AngleBetween() 95 assertTrue(nearlyEqual(piOverSixUnitCircle.angleBetween(unitXAxis), 30.0f)); in testVector3AngleBetween() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/ |
D | DiagonalClassifier.java | 78 return angleBetween(angle, minAngle, maxAngle) in isFalseTouch() 79 || angleBetween(angle, minAngle + NINETY_DEG, maxAngle + NINETY_DEG) in isFalseTouch() 80 || angleBetween(angle, minAngle - NINETY_DEG, maxAngle - NINETY_DEG) in isFalseTouch() 81 || angleBetween(angle, minAngle + ONE_HUNDRED_EIGHTY_DEG, in isFalseTouch() 85 private boolean angleBetween(float angle, float min, float max) { in angleBetween() method in DiagonalClassifier
|
/frameworks/base/services/core/java/com/android/server/ |
D | AnyMotionDetector.java | 272 float angle = previousGravityVectorNormalized.angleBetween(currentGravityVectorNormalized); in getStationaryStatus() 398 public float angleBetween(Vector3 other) { in angleBetween() method in AnyMotionDetector.Vector3
|
/frameworks/base/services/ |
D | art-profile | 507 PLcom/android/server/AnyMotionDetector$Vector3;->angleBetween(Lcom/android/server/AnyMotionDetector…
|