Home
last modified time | relevance | path

Searched defs:dist (Results 1 – 14 of 14) sorted by relevance

/aosp14/frameworks/base/core/tests/coretests/src/android/text/
H A DLayoutBidiCursorPathTest.java99 final int dist = (bottom - top) / 4; in testGetCursorPath_whenShiftIsPressed() local
138 final int dist = (bottom - top) / 4; in testGetCursorPath_whenAltIsPressed() local
/aosp14/frameworks/base/cmds/idmap2/libidmap2/
H A DFileUtils.cpp58 std::uniform_int_distribution<int> dist(0, kCharLastIndex); in RandomStringForPath() local
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/bubble/
H A DDragToDismissBubbleScreenTest.kt62 val dist = Point((displaySize.widthPixels / 2), displaySize.heightPixels) regex
/aosp14/frameworks/base/libs/hwui/jni/
H A DPathMeasure.cpp91 …static jboolean getPosTan(JNIEnv* env, jobject clazz, jlong pairHandle, jfloat dist, jfloatArray p… in getPosTan()
110 static jboolean getMatrix(JNIEnv* env, jobject clazz, jlong pairHandle, jfloat dist, in getMatrix()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
H A DPipPinchResizingAlgorithm.java46 float dist = (float) Math.hypot(lastSecondPoint.x - lastPoint.x, in calculateBoundsAndAngle() local
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/
H A DSquigglyProgress.kt175 val dist = waveLength / 2f regex
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DPathInterpolatorBuilder.java89 float dist = (float) Math.sqrt(dx * dx + dy * dy); in initPath() local
/aosp14/frameworks/base/core/java/com/android/internal/ml/clustering/
H A DKMeans.java206 float dist = 0; in sqDistance() local
/aosp14/frameworks/base/core/java/android/util/
H A DMathUtils.java102 public static float dist(float x1, float y1, float x2, float y2) { in dist() method in MathUtils
108 public static float dist(float x1, float y1, float z1, float x2, float y2, float z2) { in dist() method in MathUtils
/aosp14/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java787 int dist = 0; in getKeyIndices() local
1550 float dist = pastX[i] - oldestX; in computeCurrentVelocity() local
/aosp14/frameworks/base/core/java/android/text/
H A DLayout.java1882 float dist = Math.abs(horizontal.get(low) - horiz); in getOffsetForHorizontal() local
1899 float dist = Math.abs(horizontal.get(here) - horiz); in getOffsetForHorizontal() local
1907 float dist = Math.abs(horizontal.get(max) - horiz); in getOffsetForHorizontal() local
2573 int dist = 0; in getCursorPath() local
/aosp14/frameworks/base/core/java/android/widget/
H A DRemoteViewsAdapter.java703 int dist = Math.abs(index-pos); in getFarthestPositionFrom() local
H A DCalendarViewLegacyDelegate.java991 int dist = child.getBottom() - mListScrollTopOffset; in run() local
/aosp14/frameworks/base/core/java/com/android/internal/widget/helper/
H A DItemTouchHelper.java796 final int dist = dx * dx + dy * dy; in findSwapTargets() local