Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/tests/suggest/core/layout/
Dgeometry_utils_test.cpp47 EXPECT_FLOAT_EQ(0.0f, GeometryUtils::getAngle(0, 0, 0, 0)); in TEST()
48 EXPECT_FLOAT_EQ(0.0f, GeometryUtils::getAngle(100, -10, 100, -10)); in TEST()
50 EXPECT_FLOAT_EQ(M_PI_F / 4.0f, GeometryUtils::getAngle(1, 1, 0, 0)); in TEST()
51 EXPECT_FLOAT_EQ(M_PI_F, GeometryUtils::getAngle(-1, 0, 0, 0)); in TEST()
53 EXPECT_FLOAT_EQ(GeometryUtils::getAngle(0, 0, -1, 0), GeometryUtils::getAngle(1, 0, 0, 0)); in TEST()
54 EXPECT_FLOAT_EQ(GeometryUtils::getAngle(1, 2, 3, 4), in TEST()
55 GeometryUtils::getAngle(100, 200, 300, 400)); in TEST()
73 EXPECT_EQ(0, GeometryUtils::getAngle(100, -10, 100, -10)); in TEST()
/packages/apps/Camera2/src/com/android/camera/ui/
DPreviewOverlay.java274 public float getAngle() { in getAngle() method in PreviewOverlay.ZoomGestureDetector
386 mFingerAngle = mScaleDetector.getAngle(); in onScale()
400 mFingerAngle = mScaleDetector.getAngle(); in onScaleBegin()
423 mFingerAngle = mScaleDetector.getAngle(); in showZoomUI()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTouchListener.java67 private float getAngle(View target, MotionEvent ev) { in getAngle() method in PhotoTouchListener
143 mInitialTouchA = getAngle(target, ev); in onTouch()
187 float a = getAngle(target, ev); in onTouch()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state_utils.cpp110 const float prevAngle = GeometryUtils::getAngle( in updateTouchPoints()
113 const float currentAngle = GeometryUtils::getAngle( in updateTouchPoints()
309 return GeometryUtils::getAngle(x1, y1, x2, y2); in getDirection()
384 const float angle1 = GeometryUtils::getAngle(x, y, sampledInputXs->back(), in getPointScore()
386 const float angle2 = GeometryUtils::getAngle(sampledInputXs->back(), sampledInputYs->back(), in getPointScore()
Dgeometry_utils.h33 static AK_FORCE_INLINE float getAngle(const int x1, const int y1, const int x2, const int y2) { in getAngle() function
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterTinyPlanetRepresentation.java65 public float getAngle() { in getAngle() method in FilterTinyPlanetRepresentation
DImageFilterTinyPlanet.java105 outputSize, mParameters.getZoom() / 100f, mParameters.getAngle()); in apply()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/
DPoint.java78 public float getAngle(Point a, Point b) { in getAngle() method in Point
DSpeedAnglesClassifier.java120 lastThreePoints.get(1).getAngle(lastThreePoints.get(0), lastThreePoints.get(2)); in addPoint()
DAnglesClassifier.java133 lastThreePoints.get(1).getAngle(lastThreePoints.get(0), lastThreePoints.get(2)); in addPoint()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageTinyPlanet.java121 mStartAngle = mTinyPlanetRep.getAngle(); in onTouchEvent()