Home
last modified time | relevance | path

Searched defs:distance (Results 1 – 25 of 62) sorted by relevance

123

/frameworks/base/graphics/java/android/graphics/
DPathMeasure.java86 public boolean getPosTan(float distance, float pos[], float tan[]) { in getPosTan()
107 public boolean getMatrix(float distance, Matrix matrix, int flags) { in getMatrix()
163 …private static native boolean native_getPosTan(long native_instance, float distance, float pos[], … in native_getPosTan()
164 …private static native boolean native_getMatrix(long native_instance, float distance, long native_m… in native_getMatrix()
/frameworks/base/core/java/android/transition/
DSidePropagation.java108 float distance = distance(sceneRoot, viewCenterX, viewCenterY, epicenterX, epicenterY, in getStartDelay() local
121 private int distance(View sceneRoot, int viewX, int viewY, int epicenterX, int epicenterY, in distance() method in SidePropagation
133 int distance = 0; in distance() local
DCircularPropagation.java88 double distance = distance(viewCenterX, viewCenterY, epicenterX, epicenterY); in getStartDelay() local
100 private static double distance(float x1, float y1, float x2, float y2) { in distance() method in CircularPropagation
DPatternPathMotion.java120 float distance = (float) Math.hypot(dx, dy); in setPatternPath() local
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DGestureUtils.java23 int timeout, int distance) { in eventsWithinTimeAndDistanceSlop()
34 public static double distance(MotionEvent first, MotionEvent second) { in distance() method in GestureUtils
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dqpisf_2s.c66 Word32 i, k, temp, min_err, distance; in Qpisf_2s_46b() local
156 Word32 temp, min_err, distance; in Qpisf_2s_36b() local
448 Word32 * distance /* output: error of quantization */ in Sub_VQ()
/frameworks/base/core/java/android/gesture/
DInstanceLearner.java54 double distance; in classify() local
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
DListOfTouchablesTest.java78 int distance = TouchUtils.dragViewToY(this, lastChild, in testLongScroll() local
DListTouchBottomGravityManyTest.java147 int distance = TouchUtils.dragViewBy(this, firstChild, in testLongScroll() local
DListTouchManyTest.java186 int distance = TouchUtils.dragViewToY(this, lastChild, in testLongScroll() local
/frameworks/layoutlib/bridge/src/android/graphics/
DPathMeasure_Delegate.java80 /*package*/ static boolean native_getPosTan(long native_instance, float distance, float pos[], in native_getPosTan()
88 /*package*/ static boolean native_getMatrix(long native_instance, float distance, long in native_getMatrix()
DRadialGradient_Delegate.java184 float distance = (float) Math.hypot(_x, _y); in getRaster() local
/frameworks/base/services/core/java/com/android/server/location/
DLocationFudger.java326 private static double metersToDegreesLatitude(double distance) { in metersToDegreesLatitude()
333 private static double metersToDegreesLongitude(double distance, double lat) { in metersToDegreesLongitude()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DGlTextureViewActivity.java54 int distance = Math.max(mTextureView.getWidth(), mTextureView.getHeight()); in onSurfaceTextureAvailable() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNearestTouchFrame.java107 private int distance(View v, MotionEvent event) { in distance() method in NearestTouchFrame
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DAccelerationClassifier.java81 float distance = previousPoint.dist(point); in addPoint() local
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
DGridTouchVerticalSpacingTest.java94 int distance = TouchUtils.dragViewToY(this, lastChild, Gravity.TOP | Gravity.LEFT, in testLongScroll() local
DGridTouchVerticalSpacingStackFromBottomTest.java109 int distance = TouchUtils.dragViewBy(this, firstChild, in testLongScroll() local
/frameworks/base/core/java/com/android/internal/policy/
DPipSnapAlgorithm.java168 int distance = (int) (0 - Math.pow(isLandscape ? velX : velY, 2)) in getEdgeIntersect() local
221 float distance = distanceToPoint(snapTarget, stackBounds.left, stackBounds.top); in findClosestSnapBounds() local
379 float distance = distanceToPoint(p, x, y); in findClosestPoint() local
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityGestureDetectorTest.java135 float distance = (float) Math.hypot(deltaX, deltaY); in fillPath() local
/frameworks/wilhelm/src/itf/
DI3DLocation.cpp43 SLmillidegree azimuth, SLmillidegree elevation, SLmillimeter distance) in I3DLocation_SetLocationSpherical()
/frameworks/base/core/java/com/android/internal/ml/clustering/
DKMeans.java107 double distance = Math.sqrt(sqDistance(mean.mCentroid, compareTo.mCentroid)); in score() local
/frameworks/base/location/tests/locationtests/src/android/location/
DLocationTest.java158 float distance; in testDistanceTo() local
/frameworks/base/core/java/android/widget/
DOverScroller.java688 void startScroll(int start, int distance, int duration) { in startScroll()
865 float distance = velocitySquared / (2.0f * Math.abs(mDeceleration)); in onEdgeReached() local
926 double distance = 0.0; in update() local
/frameworks/base/core/java/com/android/internal/widget/
DLinearSmoothScroller.java114 final int distance = (int) Math.sqrt(dx * dx + dy * dy); in onTargetFound() local

123