Searched refs:GestureUtils (Results 1 – 17 of 17) sorted by relevance
87 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()
161 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()
56 … distance = GestureUtils.minimumCosineDistance(sample.vector, vector, orientationType); in classify()58 distance = GestureUtils.squaredEuclideanDistance(sample.vector, vector); in classify()
296 GestureUtils.closeStream(inStream);325 GestureUtils.closeStream(outStream); in writeToParcel()326 GestureUtils.closeStream(byteStream); in writeToParcel()
267 if (closeStream) GestureUtils.closeStream(out); in save()302 if (closeStream) GestureUtils.closeStream(in); in load()
39 public final class GestureUtils { class44 private GestureUtils() { in GestureUtils() method in GestureUtils
650 GestureUtils.computeOrientedBoundingBox(mStrokeBuffer); in touchMove()
10 public final class GestureUtils { class15 private GestureUtils() { in GestureUtils() method in GestureUtils
21 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()
21 import static com.android.server.accessibility.gestures.GestureUtils.getActionIndex;
19 import static com.android.server.accessibility.gestures.GestureUtils.MM_PER_CM;
898 return GestureUtils.isDraggingGesture(firstPtrDownX, firstPtrDownY, secondPtrDownX, in isDraggingGesture()
28 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()
4865 PLcom/android/server/accessibility/gestures/GestureUtils;-><clinit>()V4866 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)Z4870 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;
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
10386 public final class GestureUtils {
14014 public final class GestureUtils {