Home
last modified time | relevance | path

Searched refs:GestureUtils (Results 1 – 14 of 14) 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/
DGestureUtils.java9 final class GestureUtils { class
11 private GestureUtils() { in GestureUtils() method in GestureUtils
DMagnificationGestureHandler.java646 && GestureUtils.isMultiTap(mLastDownEvent, event, mMultiTapTimeSlop, in onMotionEvent()
684 final double distance = GestureUtils.computeDistance(mLastDownEvent, in onMotionEvent()
707 if (!GestureUtils.isTap(mLastDownEvent, event, mTapTimeSlop, in onMotionEvent()
712 if (mLastTapUpEvent != null && !GestureUtils.isMultiTap( in onMotionEvent()
DTouchExplorer.java1074 return GestureUtils.isDraggingGesture(firstPtrDownX, firstPtrDownY, secondPtrDownX, in isDraggingGesture()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt10386 public final class GestureUtils {
/frameworks/base/api/
Dcurrent.txt12497 public final class GestureUtils {
Dtest-current.txt12586 public final class GestureUtils {
Dsystem-current.txt13229 public final class GestureUtils {