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.getActionIndex;
89 final float pixelsPerCmX = displayMetrics.xdpi / GestureUtils.CM_PER_INCH; in MultiFingerSwipe()
90 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.java200 mEdgeSwipeHeightPixels = metrics.ydpi / GestureUtils.CM_PER_INCH * EDGE_SWIPE_HEIGHT_CM; in TouchExplorer()
1049 if (event.getPointerId(GestureUtils.getActionIndex(event)) == mDraggingPointerId) { in handleMotionEventStateDragging()
1173 return GestureUtils.isDraggingGesture(firstPtrDownX, firstPtrDownY, secondPtrDownX, in isDraggingGesture()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DSimpleSwipe.java19 import static com.android.server.accessibility.gestures.GestureUtils.distance;
DFullScreenMagnificationGestureHandler.java27 import static com.android.server.accessibility.gestures.GestureUtils.distance;
28 import static com.android.server.accessibility.gestures.GestureUtils.distanceClosestPointerToPoint;
74 import com.android.server.accessibility.gestures.GestureUtils;
1364 return GestureUtils.isMultiTap(first, second, mMultiTapMaxDelay, mMultiTapMaxDistance); in isMultiTap()
1571 GestureUtils.distance(mPreLastDown, mLastDown) > mMultiTapMaxDistance; in isTapOutOfDistanceSlop()
1578 && !GestureUtils.isTimedOut(mPreLastDown, mLastDown, mMultiTapMaxDelay)) { in isTapOutOfDistanceSlop()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt16034 Landroid/gesture/GestureUtils;-><init>()V
16035 Landroid/gesture/GestureUtils;->closeStream(Ljava/io/Closeable;)V
16036 Landroid/gesture/GestureUtils;->computeCentroid([F)[F
16037 Landroid/gesture/GestureUtils;->computeCoVariance([F)[[F
16038 Landroid/gesture/GestureUtils;->computeOrientation([[F)[F
16039 Landroid/gesture/GestureUtils;->computeOrientedBoundingBox([F[F)Landroid/gesture/OrientedBoundingBo…
16040 Landroid/gesture/GestureUtils;->computeStraightness([F)F
16041 Landroid/gesture/GestureUtils;->computeStraightness([FF)F
16042 Landroid/gesture/GestureUtils;->computeTotalLength([F)F
16043 Landroid/gesture/GestureUtils;->cosineDistance([F[F)F
[all …]
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt10386 public final class GestureUtils {
/frameworks/base/core/api/
Dcurrent.txt15432 public final class GestureUtils {