Home
last modified time | relevance | path

Searched refs:GestureUtils (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/gesture/
DInstance.java87 return GestureUtils.spatialSampling(gesture, PATCH_SAMPLE_SIZE, false); in spatialSampler()
91 float[] pts = GestureUtils.temporalSampling(gesture.getStrokes().get(0), in temporalSampler()
93 float[] center = GestureUtils.computeCentroid(pts); in temporalSampler()
107 GestureUtils.translate(pts, -center[0], -center[1]); in temporalSampler()
108 GestureUtils.rotate(pts, adjustment); in temporalSampler()
DGestureStroke.java161 final float[] pts = GestureUtils.temporalSampling(this, numSample); in toPath()
164 GestureUtils.translate(pts, -rect.left, -rect.top); in toPath()
169 GestureUtils.scale(pts, scale, scale); in toPath()
243 return GestureUtils.computeOrientedBoundingBox(points); in computeOrientedBoundingBox()
DInstanceLearner.java56 … distance = GestureUtils.minimumCosineDistance(sample.vector, vector, orientationType); in classify()
58 distance = GestureUtils.squaredEuclideanDistance(sample.vector, vector); in classify()
DGesture.java296 GestureUtils.closeStream(inStream);
325 GestureUtils.closeStream(outStream); in writeToParcel()
326 GestureUtils.closeStream(byteStream); in writeToParcel()
DGestureStore.java267 if (closeStream) GestureUtils.closeStream(out); in save()
302 if (closeStream) GestureUtils.closeStream(in); in load()
DGestureUtils.java39 public final class GestureUtils { class
44 private GestureUtils() { in GestureUtils() method in GestureUtils
DGestureOverlayView.java650 GestureUtils.computeOrientedBoundingBox(mStrokeBuffer); in touchMove()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DGestureUtils.java10 public final class GestureUtils { class
15 private GestureUtils() { in GestureUtils() method in GestureUtils
DMultiFingerSwipe.java21 import static com.android.server.accessibility.gestures.GestureUtils.MM_PER_CM;
22 import static com.android.server.accessibility.gestures.GestureUtils.getActionIndex;
100 final float pixelsPerCmX = displayMetrics.xdpi / GestureUtils.CM_PER_INCH; in MultiFingerSwipe()
101 final float pixelsPerCmY = displayMetrics.ydpi / GestureUtils.CM_PER_INCH; in MultiFingerSwipe()
DSecondFingerMultiTap.java21 import static com.android.server.accessibility.gestures.GestureUtils.getActionIndex;
DSwipe.java19 import static com.android.server.accessibility.gestures.GestureUtils.MM_PER_CM;
DTouchExplorer.java898 return GestureUtils.isDraggingGesture(firstPtrDownX, firstPtrDownY, secondPtrDownX, in isDraggingGesture()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DFullScreenMagnificationGestureHandler.java28 import static com.android.server.accessibility.gestures.GestureUtils.distance;
29 import static com.android.server.accessibility.gestures.GestureUtils.distanceClosestPointerToPoint;
61 import com.android.server.accessibility.gestures.GestureUtils;
814 return GestureUtils.isMultiTap(first, second, mMultiTapMaxDelay, mMultiTapMaxDistance); in isMultiTap()
1006 GestureUtils.distance(mPreLastDown, mLastDown) > mMultiTapMaxDistance; in isTapOutOfDistanceSlop()
1013 && !GestureUtils.isTimedOut(mPreLastDown, mLastDown, mMultiTapMaxDelay)) { in isTapOutOfDistanceSlop()
/frameworks/base/services/
Dart-profile4865 PLcom/android/server/accessibility/gestures/GestureUtils;-><clinit>()V
4866 HPLcom/android/server/accessibility/gestures/GestureUtils;->distance(Landroid/view/MotionEvent;Land…
4867 PLcom/android/server/accessibility/gestures/GestureUtils;->eventsWithinTimeAndDistanceSlop(Landroid…
4868 PLcom/android/server/accessibility/gestures/GestureUtils;->getActionIndex(Landroid/view/MotionEvent…
4869 PLcom/android/server/accessibility/gestures/GestureUtils;->isDraggingGesture(FFFFFFFFF)Z
4870 PLcom/android/server/accessibility/gestures/GestureUtils;->isMultiTap(Landroid/view/MotionEvent;Lan…
4871 PLcom/android/server/accessibility/gestures/GestureUtils;->isTimedOut(Landroid/view/MotionEvent;Lan…
41248 Lcom/android/server/accessibility/gestures/GestureUtils;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt10386 public final class GestureUtils {
/frameworks/base/api/
Dcurrent.txt14014 public final class GestureUtils {