/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 | GestureConstants.java | 17 package android.gesture;
|
D | Prediction.java | 17 package android.gesture;
|
D | GestureLibraries.java | 17 package android.gesture; 23 import static android.gesture.GestureConstants.*;
|
D | GesturePoint.java | 17 package android.gesture;
|
D | Learner.java | 17 package android.gesture;
|
D | OrientedBoundingBox.java | 17 package android.gesture;
|
D | InstanceLearner.java | 17 package android.gesture;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | LockscreenGestureLogger.java | 101 public void write(int gesture, int length, int velocity) { in write() argument 102 mMetricsLogger.write(new LogMaker(gesture) in write() 107 EventLogTags.writeSysuiLockscreenGesture(safeLookup(gesture), length, velocity); in write() 132 private int safeLookup(int gesture) { in safeLookup() argument 133 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 | AccessibilityService.java | 584 void onFingerprintGesture(int gesture); in onFingerprintGesture() argument 1075 public final boolean dispatchGesture(@NonNull GestureDescription gesture, in dispatchGesture() argument 1083 int sampleTimeMs = calculateGestureSampleTimeMs(gesture.getDisplayId()); in dispatchGesture() 1085 MotionEventGenerator.getGestureStepsFromGestureDescription(gesture, sampleTimeMs); in dispatchGesture() 1093 GestureResultCallbackInfo callbackInfo = new GestureResultCallbackInfo(gesture, in dispatchGesture() 1098 new ParceledListSlice<>(steps), gesture.getDisplayId()); in dispatchGesture() 1188 private void onFingerprintGesture(int gesture) { in onFingerprintGesture() argument 1189 getFingerprintGestureController().onGesture(gesture); in onFingerprintGesture() 2217 public void onFingerprintGesture(int gesture) { in onBind() argument 2218 AccessibilityService.this.onFingerprintGesture(gesture); in onBind() [all …]
|
D | IAccessibilityServiceClient.aidl | 53 void onFingerprintGesture(int gesture); in onFingerprintGesture() argument
|
/frameworks/base/packages/SystemUI/docs/ |
D | falsing.md | 36 * Once your feature is ready to respond to the gesture in a substantive manner, it queries 42 - Only query once per gesture, at the end. 44 4. The `FalsingManager` checks to see if anyone queried about the gesture. If not, mark it as 56 gestures are intentional or not. Any gesture that it is not explicitly queried about is treated as 69 target. Match the methods with the gesture you expect the device owner to use. 92 All the above rules are applied only after first confirming the gesture does 97 the gesture fails to validate as a simple tap. 122 heuristics will be applied to analyze the gesture, and the exact rules vary depending upon 128 observed gesture never happened. **This method must be called when the observed 130 later in a gesture will not work. [all …]
|
D | sos_gesture.md | 15 1. If the gesture is enabled (else do nothing) 16 2. If there is an app to handle the gesture (else do nothing) 23 Due to the nature of the gesture, we need the flow to work behind the lockscreen, and without disam…
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | MultiTapAndHold.java | 29 Context context, int taps, int gesture, GestureMatcher.StateChangeListener listener) { in MultiTapAndHold() argument 30 super(context, taps, gesture, listener); in MultiTapAndHold()
|
D | Swipe.java | 95 int gesture, in Swipe() argument 97 this(context, new int[] {direction}, gesture, listener); in Swipe() 104 int gesture, in Swipe() argument 106 this(context, new int[] {direction1, direction2}, gesture, listener); in Swipe() 112 int gesture, in Swipe() argument 114 super(gesture, new Handler(context.getMainLooper()), listener); in Swipe()
|
D | MultiTap.java | 44 public MultiTap(Context context, int taps, int gesture, in MultiTap() argument 46 super(gesture, new Handler(context.getMainLooper()), listener); in MultiTap()
|
D | SecondFingerMultiTap.java | 45 Context context, int taps, int gesture, GestureMatcher.StateChangeListener listener) { in SecondFingerMultiTap() argument 46 super(gesture, new Handler(context.getMainLooper()), listener); in SecondFingerMultiTap()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityServiceConnection.java | 387 public void onFingerprintGesture(int gesture) { in onFingerprintGesture() argument 399 String.valueOf(gesture)); in onFingerprintGesture() 401 mServiceInterface.onFingerprintGesture(gesture); in onFingerprintGesture()
|
/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()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/gesture/ |
D | ConsecutiveTapsGestureDetector.java | 17 package com.android.setupwizardlib.gesture;
|