/packages/inputmethods/LatinIME/native/jni/tests/suggest/core/layout/ |
D | geometry_utils_test.cpp | 47 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/ |
D | PreviewOverlay.java | 274 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/ |
D | PhotoTouchListener.java | 67 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/ |
D | proximity_info_state_utils.cpp | 110 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()
|
D | geometry_utils.h | 33 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/ |
D | FilterTinyPlanetRepresentation.java | 65 public float getAngle() { in getAngle() method in FilterTinyPlanetRepresentation
|
D | ImageFilterTinyPlanet.java | 105 outputSize, mParameters.getZoom() / 100f, mParameters.getAngle()); in apply()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/ |
D | Point.java | 78 public float getAngle(Point a, Point b) { in getAngle() method in Point
|
D | SpeedAnglesClassifier.java | 120 lastThreePoints.get(1).getAngle(lastThreePoints.get(0), lastThreePoints.get(2)); in addPoint()
|
D | AnglesClassifier.java | 133 lastThreePoints.get(1).getAngle(lastThreePoints.get(0), lastThreePoints.get(2)); in addPoint()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageTinyPlanet.java | 121 mStartAngle = mTinyPlanetRep.getAngle(); in onTouchEvent()
|