/frameworks/base/core/java/android/gesture/ |
D | Instance.java | 17 package android.gesture; 72 …static Instance createInstance(int sequenceType, int orientationType, Gesture gesture, String labe… in createInstance() argument 76 pts = temporalSampler(orientationType, gesture); in createInstance() 77 instance = new Instance(gesture.getID(), pts, label); in createInstance() 80 pts = spatialSampler(gesture); in createInstance() 81 instance = new Instance(gesture.getID(), pts, label); in createInstance() 86 private static float[] spatialSampler(Gesture gesture) { in spatialSampler() argument 87 return GestureUtils.spatialSampling(gesture, PATCH_SAMPLE_SIZE, false); in spatialSampler() 90 private static float[] temporalSampler(int orientationType, Gesture gesture) { in temporalSampler() argument 91 float[] pts = GestureUtils.temporalSampling(gesture.getStrokes().get(0), in temporalSampler()
|
D | GestureLibrary.java | 18 package android.gesture; 63 public ArrayList<Prediction> recognize(Gesture gesture) { in recognize() argument 64 return mStore.recognize(gesture); in recognize() 67 public void addGesture(String entryName, Gesture gesture) { in addGesture() argument 68 mStore.addGesture(entryName, gesture); in addGesture() 71 public void removeGesture(String entryName, Gesture gesture) { in removeGesture() argument 72 mStore.removeGesture(entryName, gesture); in removeGesture()
|
D | GestureStore.java | 17 package android.gesture; 34 import static android.gesture.GestureConstants.LOG_TAG; 136 public ArrayList<Prediction> recognize(Gesture gesture) { in recognize() argument 138 mOrientationStyle, gesture, null); in recognize() 148 public void addGesture(String entryName, Gesture gesture) { in addGesture() argument 157 gestures.add(gesture); in addGesture() 159 Instance.createInstance(mSequenceType, mOrientationStyle, gesture, entryName)); in addGesture() 170 public void removeGesture(String entryName, Gesture gesture) { in removeGesture() argument 176 gestures.remove(gesture); in removeGesture() 183 mClassifier.removeInstance(gesture.getID()); in removeGesture() [all …]
|
D | Gesture.java | 17 package android.gesture; 65 Gesture gesture = new Gesture(); in clone() local 66 gesture.mBoundingBox.set(mBoundingBox.left, mBoundingBox.top, in clone() 71 gesture.mStrokes.add((GestureStroke)stroke.clone()); in clone() 73 return gesture; in clone() 269 final Gesture gesture = new Gesture(); in deserialize() local 272 gesture.mGestureID = in.readLong(); in deserialize() 277 gesture.addStroke(GestureStroke.deserialize(in)); in deserialize() 280 return gesture; in deserialize() 285 Gesture gesture = null; [all …]
|
D | GestureUtils.java | 17 package android.gesture; 27 import static android.gesture.GestureConstants.*; 73 public static float[] spatialSampling(Gesture gesture, int bitmapSize) { in spatialSampling() argument 74 return spatialSampling(gesture, bitmapSize, false); in spatialSampling() 90 public static float[] spatialSampling(Gesture gesture, int bitmapSize, in spatialSampling() argument 96 RectF rect = gesture.getBoundingBox(); in spatialSampling() 134 final ArrayList<GestureStroke> strokes = gesture.getStrokes(); in spatialSampling()
|
D | GestureLibraries.java | 17 package android.gesture; 21 import static android.gesture.GestureConstants.*;
|
D | GestureConstants.java | 17 package android.gesture;
|
D | Prediction.java | 17 package android.gesture;
|
D | GesturePoint.java | 17 package android.gesture;
|
D | Learner.java | 17 package android.gesture;
|
D | OrientedBoundingBox.java | 17 package android.gesture;
|
D | GestureOverlayView.java | 17 package android.gesture; 288 public void setGesture(Gesture gesture) { in setGesture() argument 294 mCurrentGesture = gesture; in setGesture() 802 void onGesturePerformed(GestureOverlayView overlay, Gesture gesture); in onGesturePerformed() argument
|
D | InstanceLearner.java | 17 package android.gesture;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | LockscreenGestureLogger.java | 50 public void write(int gesture, int length, int velocity) { in write() argument 51 mMetricsLogger.write(mLogMaker.setCategory(gesture) in write() 56 EventLogTags.writeSysuiLockscreenGesture(safeLookup(gesture), length, velocity); in write() 74 private int safeLookup(int gesture) { in safeLookup() argument 75 Integer value = mLegacyMap.get(gesture); in safeLookup()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | FingerprintGestureController.java | 149 public void onGesture(int gesture) { in onGesture() argument 159 handler.post(() -> callback.onGestureDetected(gesture)); in onGesture() 161 callback.onGestureDetected(gesture); in onGesture() 183 public void onGestureDetected(int gesture) {} in onGestureDetected() argument
|
D | IAccessibilityServiceClient.aidl | 38 void onGesture(int gesture); in onGesture() argument 52 void onFingerprintGesture(int gesture); in onFingerprintGesture() argument
|
D | AccessibilityService.java | 392 void onFingerprintGesture(int gesture); in onFingerprintGesture() argument 732 public final boolean dispatchGesture(@NonNull GestureDescription gesture, in dispatchGesture() argument 742 MotionEventGenerator.getGestureStepsFromGestureDescription(gesture, 100); in dispatchGesture() 750 GestureResultCallbackInfo callbackInfo = new GestureResultCallbackInfo(gesture, in dispatchGesture() 820 private void onFingerprintGesture(int gesture) { in onFingerprintGesture() argument 821 getFingerprintGestureController().onGesture(gesture); in onFingerprintGesture() 1682 public void onFingerprintGesture(int gesture) { in onBind() argument 1683 AccessibilityService.this.onFingerprintGesture(gesture); in onBind() 1797 public void onFingerprintGesture(int gesture) { 1798 mCaller.sendMessage(mCaller.obtainMessageI(DO_ON_FINGERPRINT_GESTURE, gesture));
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityGestureDetector.java | 21 import android.gesture.Gesture; 22 import android.gesture.GesturePoint; 23 import android.gesture.GestureStore; 24 import android.gesture.GestureStroke; 25 import android.gesture.Prediction;
|
D | AccessibilityServiceConnection.java | 356 public void onFingerprintGesture(int gesture) { in onFingerprintGesture() argument 366 mServiceInterface.onFingerprintGesture(gesture); in onFingerprintGesture()
|
D | FingerprintGestureDispatcher.java | 223 void onFingerprintGesture(int gesture); in onFingerprintGesture() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipTouchHandler.java | 372 for (PipTouchGesture gesture : mGestures) { 373 gesture.onDown(mTouchState); 378 for (PipTouchGesture gesture : mGestures) { 379 if (gesture.onMove(mTouchState)) { 392 for (PipTouchGesture gesture : mGestures) { 393 if (gesture.onUp(mTouchState)) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | GestureDescriptionTest.java | 249 GestureDescription gesture = new GestureDescription.Builder().addStroke(stroke1).build(); in testGetGestureSteps_continuedStroke_hasNoEndPoint() local 251 .getGestureStepsFromGestureDescription(gesture, 10); in testGetGestureSteps_continuedStroke_hasNoEndPoint() 264 GestureDescription gesture = new GestureDescription.Builder().addStroke(stroke2).build(); in testGetGestureSteps_continuingStroke_hasNoStartPointAndHasContinuedId() local 266 .getGestureStepsFromGestureDescription(gesture, 10); in testGetGestureSteps_continuingStroke_hasNoStartPointAndHasContinuedId()
|
D | MotionEventInjectorTest.java | 720 List<GestureStep> gesture = new ArrayList<>(points.length); in createSimpleGestureFromPoints() local 730 gesture.add(new GestureStep(interval * i, 1, touchPoints)); in createSimpleGestureFromPoints() 732 return gesture; in createSimpleGestureFromPoints() 737 List<GestureStep> gesture = new ArrayList<>(list1.size()); in combineGestureSteps() local 750 gesture.add(new GestureStep(list1.get(i).timeSinceGestureStart, in combineGestureSteps() 753 return gesture; in combineGestureSteps()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/gesture/ |
D | ConsecutiveTapsGestureDetector.java | 17 package com.android.setupwizardlib.gesture;
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/gesture/ |
D | ConsecutiveTapsGestureDetectorTest.java | 17 package com.android.setupwizardlib.gesture;
|