OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mGestureDetector
(Results
1 - 25
of
66
) sorted by null
1
2
3
/cts/tests/tests/view/src/android/view/cts/
GestureDetectorTest.java
50
private GestureDetector
mGestureDetector
;
65
mGestureDetector
= mActivity.getGestureDetector();
97
mGestureDetector
.setIsLongpressEnabled(true);
98
assertTrue(
mGestureDetector
.isLongpressEnabled());
99
mGestureDetector
.setIsLongpressEnabled(false);
100
assertFalse(
mGestureDetector
.isLongpressEnabled());
105
mGestureDetector
.setContextClickListener(null);
106
mGestureDetector
.onGenericMotionEvent(mButtonPressPrimaryMotionEvent);
109
mGestureDetector
.setContextClickListener(mListener);
110
mGestureDetector
.onGenericMotionEvent(mButtonPressPrimaryMotionEvent)
[
all
...]
GestureDetectorCtsActivity.java
36
private GestureDetector
mGestureDetector
;
58
mGestureDetector
= new GestureDetector(this, mOnGestureListener, mHandler);
59
mGestureDetector
.setOnDoubleTapListener(mOnGestureListener);
60
mGestureDetector
.setContextClickListener(mOnGestureListener);
84
return
mGestureDetector
;
94
mGestureDetector
.onTouchEvent(event);
99
mGestureDetector
.onGenericMotionEvent(event);
/developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/
ScrollableCustomVirtualView.java
33
private GestureDetector
mGestureDetector
;
52
mGestureDetector
= new GestureDetector(context, this);
64
return
mGestureDetector
.onTouchEvent(event);
/developers/build/prebuilts/gradle/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
FixedAspectSurfaceView.java
43
private GestureDetector
mGestureDetector
;
76
mGestureDetector
= null;
78
mGestureDetector
= new GestureDetector(context, listener);
150
return
mGestureDetector
!= null &&
mGestureDetector
.onTouchEvent(event);
/developers/build/prebuilts/gradle/WatchViewStub/Wearable/src/main/java/com/example/android/google/wearable/watchviewstub/
MainActivity.java
35
private GestureDetectorCompat
mGestureDetector
;
53
mGestureDetector
= new GestureDetectorCompat(this, new LongPressListener());
76
return
mGestureDetector
.onTouchEvent(event) || super.dispatchTouchEvent(event);
/developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/view/autofillable/
ScrollableCustomVirtualView.java
33
private GestureDetector
mGestureDetector
;
52
mGestureDetector
= new GestureDetector(context, this);
64
return
mGestureDetector
.onTouchEvent(event);
/developers/samples/android/media/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
FixedAspectSurfaceView.java
43
private GestureDetector
mGestureDetector
;
76
mGestureDetector
= null;
78
mGestureDetector
= new GestureDetector(context, listener);
150
return
mGestureDetector
!= null &&
mGestureDetector
.onTouchEvent(event);
/developers/samples/android/wearable/wear/WatchViewStub/Wearable/src/main/java/com/example/android/google/wearable/watchviewstub/
MainActivity.java
35
private GestureDetectorCompat
mGestureDetector
;
53
mGestureDetector
= new GestureDetectorCompat(this, new LongPressListener());
76
return
mGestureDetector
.onTouchEvent(event) || super.dispatchTouchEvent(event);
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
FixedAspectSurfaceView.java
45
private GestureDetector
mGestureDetector
;
78
mGestureDetector
= null;
80
mGestureDetector
= new GestureDetector(context, listener);
151
if (
mGestureDetector
!= null) {
152
return
mGestureDetector
.onTouchEvent(event);
/development/samples/browseable/WatchViewStub/src/com.example.android.google.wearable.watchviewstub/
MainActivity.java
35
private GestureDetectorCompat
mGestureDetector
;
53
mGestureDetector
= new GestureDetectorCompat(this, new LongPressListener());
76
return
mGestureDetector
.onTouchEvent(event) || super.dispatchTouchEvent(event);
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
FixedAspectSurfaceView.java
46
private GestureDetector
mGestureDetector
;
79
mGestureDetector
= null;
81
mGestureDetector
= new GestureDetector(context, listener);
152
if (
mGestureDetector
!= null) {
153
return
mGestureDetector
.onTouchEvent(event);
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
FixedAspectSurfaceView.java
46
private GestureDetector
mGestureDetector
;
79
mGestureDetector
= null;
81
mGestureDetector
= new GestureDetector(context, listener);
152
if (
mGestureDetector
!= null) {
153
return
mGestureDetector
.onTouchEvent(event);
/packages/apps/ExactCalculator/src/com/android/calculator2/
CalculatorPadViewPager.java
156
private final GestureDetector
mGestureDetector
;
167
mGestureDetector
= new GestureDetector(context, mGestureWatcher);
168
mGestureDetector
.setIsLongpressEnabled(false);
245
mGestureDetector
.onTouchEvent(ev);
/packages/apps/Camera2/src/com/android/camera/ui/
FilmstripGestureRecognizer.java
48
private final GestureDetector
mGestureDetector
;
54
mGestureDetector
= new GestureDetector(context, new MyGestureListener(),
56
mGestureDetector
.setOnDoubleTapListener(new MyDoubleTapListener());
62
final boolean gestureProcessed =
mGestureDetector
.onTouchEvent(event);
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
MessageScrollView.java
85
private GestureDetector
mGestureDetector
;
117
mGestureDetector
= new GestureDetector(c, new GestureDetector.SimpleOnGestureListener());
118
mGestureDetector
.setOnDoubleTapListener(this);
155
mGestureDetector
.onTouchEvent(ev);
/developers/build/prebuilts/gradle/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/
MainActivity.java
43
private GestureDetectorCompat
mGestureDetector
;
54
mGestureDetector
= new GestureDetectorCompat(this, new LongPressListener());
59
return
mGestureDetector
.onTouchEvent(event) || super.dispatchTouchEvent(event);
/developers/samples/android/wearable/wear/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/
MainActivity.java
43
private GestureDetectorCompat
mGestureDetector
;
54
mGestureDetector
= new GestureDetectorCompat(this, new LongPressListener());
59
return
mGestureDetector
.onTouchEvent(event) || super.dispatchTouchEvent(event);
/development/samples/browseable/SkeletonWearableApp/src/com.example.android.google.wearable.app/
MainActivity.java
43
private GestureDetectorCompat
mGestureDetector
;
54
mGestureDetector
= new GestureDetectorCompat(this, new LongPressListener());
59
return
mGestureDetector
.onTouchEvent(event) || super.dispatchTouchEvent(event);
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
NotificationShadeActivity.java
40
private GestureDetector
mGestureDetector
;
97
mGestureDetector
= new GestureDetector(getContext(), mGestureListener);
152
return
mGestureDetector
.onTouchEvent(ev);
/packages/apps/Camera2/src/com/android/camera/
ShutterButton.java
44
private final GestureDetector
mGestureDetector
;
83
mGestureDetector
= new GestureDetector(context, new LongPressGestureListener());
84
mGestureDetector
.setIsLongpressEnabled(true);
116
mGestureDetector
.onTouchEvent(m);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
GestureRecognizer.java
43
private final GestureDetector
mGestureDetector
;
50
mGestureDetector
= new GestureDetector(context, new MyGestureListener(),
58
mGestureDetector
.onTouchEvent(event);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
AccessibilityGestureDetector.java
148
protected GestureDetector
mGestureDetector
; // Double-tap detector. Visible for test.
253
if (
mGestureDetector
== null) {
254
mGestureDetector
= new GestureDetector(mContext, this);
255
mGestureDetector
.setOnDoubleTapListener(this);
379
boolean handled =
mGestureDetector
.onTouchEvent(newEvent);
389
return
mGestureDetector
.onTouchEvent(event);
397
mGestureDetector
.onTouchEvent(MotionEvent.obtain(0L, 0L, MotionEvent.ACTION_CANCEL,
/developers/build/prebuilts/gradle/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/ui/
AttractionsActivity.java
65
private GestureDetectorCompat
mGestureDetector
;
129
mGestureDetector
= new GestureDetectorCompat(this, new LongPressListener());
143
return
mGestureDetector
.onTouchEvent(event) || super.dispatchTouchEvent(event);
148
return
mGestureDetector
.onTouchEvent(event) || super.onTouchEvent(event);
/developers/samples/android/wearable/wear/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/ui/
AttractionsActivity.java
65
private GestureDetectorCompat
mGestureDetector
;
129
mGestureDetector
= new GestureDetectorCompat(this, new LongPressListener());
143
return
mGestureDetector
.onTouchEvent(event) || super.dispatchTouchEvent(event);
148
return
mGestureDetector
.onTouchEvent(event) || super.onTouchEvent(event);
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/ui/
AttractionsActivity.java
65
private GestureDetectorCompat
mGestureDetector
;
129
mGestureDetector
= new GestureDetectorCompat(this, new LongPressListener());
143
return
mGestureDetector
.onTouchEvent(event) || super.dispatchTouchEvent(event);
148
return
mGestureDetector
.onTouchEvent(event) || super.onTouchEvent(event);
Completed in 1776 milliseconds
1
2
3