Home
last modified time | relevance | path

Searched refs:GestureDetector (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DCaptionsToggleImageButton.java22 import android.view.GestureDetector;
40 private GestureDetector mGestureDetector;
41 private GestureDetector.SimpleOnGestureListener mGestureListener =
42 new GestureDetector.SimpleOnGestureListener() {
112 this.mGestureDetector = new GestureDetector(getContext(), mGestureListener, handler); in setOnConfirmedTapListener()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DFixedAspectSurfaceView.java22 import android.view.GestureDetector;
46 private GestureDetector mGestureDetector;
77 public void setGestureListener(Context context, GestureDetector.OnGestureListener listener) { in setGestureListener()
81 mGestureDetector = new GestureDetector(context, listener); in setGestureListener()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DFixedAspectSurfaceView.java22 import android.view.GestureDetector;
46 private GestureDetector mGestureDetector;
77 public void setGestureListener(Context context, GestureDetector.OnGestureListener listener) { in setGestureListener()
81 mGestureDetector = new GestureDetector(context, listener); in setGestureListener()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DNotificationShadeActivity.java23 import android.view.GestureDetector;
40 private GestureDetector mGestureDetector;
57 private GestureDetector.OnGestureListener mGestureListener =
58 new GestureDetector.SimpleOnGestureListener() {
97 mGestureDetector = new GestureDetector(getContext(), mGestureListener); in FakeNotificationStackView()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DPanningScalingHandler.java28 import android.view.GestureDetector;
40 GestureDetector.SimpleOnGestureListener
53 private final GestureDetector mScrollGestureDetector;
74 mScrollGestureDetector = new GestureDetector(context, this, Handler.getMain()); in PanningScalingHandler()
DFullScreenMagnificationGestureHandler.java52 import android.view.GestureDetector;
53 import android.view.GestureDetector.SimpleOnGestureListener;
308 private final GestureDetector mScrollGestureDetector;
322 mScrollGestureDetector = new GestureDetector(context, this, Handler.getMain()); in PanningScalingState()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DDividerView.java24 import android.view.GestureDetector;
58 private GestureDetector mDoubleTapDetector;
94 mDoubleTapDetector = new GestureDetector(getContext(), new DoubleTapListener()); in onFinishInflate()
222 private class DoubleTapListener extends GestureDetector.SimpleOnGestureListener {
/frameworks/base/core/java/android/view/
DScaleGestureDetector.java169 private GestureDetector mGestureDetector;
401 GestureDetector.SimpleOnGestureListener gestureListener = in setQuickScaleEnabled()
402 new GestureDetector.SimpleOnGestureListener() { in setQuickScaleEnabled()
412 mGestureDetector = new GestureDetector(mContext, gestureListener, mHandler); in setQuickScaleEnabled()
DGestureDetector.java55 public class GestureDetector { class
234 private static final String TAG = GestureDetector.class.getSimpleName();
358 public GestureDetector(OnGestureListener listener, Handler handler) { in GestureDetector() method in GestureDetector
376 public GestureDetector(OnGestureListener listener) { in GestureDetector() method in GestureDetector
395 public GestureDetector(@UiContext Context context, OnGestureListener listener) { in GestureDetector() method in GestureDetector
414 public GestureDetector(@UiContext Context context, OnGestureListener listener, in GestureDetector() method in GestureDetector
445 public GestureDetector(@UiContext Context context, OnGestureListener listener, Handler handler, in GestureDetector() method in GestureDetector
DTEST_MAPPING22 "file_patterns": ["(/|^)ViewConfiguration.java", "(/|^)GestureDetector.java"]
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java25 import android.view.GestureDetector;
84 private GestureDetector mGestureDetector;
235 mGestureDetector = new GestureDetector(mContext, mOnGestureListener); in createWindow()
366 private final GestureDetector.OnGestureListener mOnGestureListener =
367 new GestureDetector.SimpleOnGestureListener() {
/frameworks/base/core/java/com/android/internal/widget/
DDecorCaptionView.java22 import android.view.GestureDetector;
72 GestureDetector.OnGestureListener {
96 private GestureDetector mGestureDetector;
119 mGestureDetector = new GestureDetector(context, this); in init()
/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java30 import android.view.GestureDetector;
65 private GestureDetector mGestureDetector;
139 mGestureDetector = new GestureDetector(mContext, new FlingGestureDetector(), mHandler) { in systemReady()
301 private final class FlingGestureDetector extends GestureDetector.SimpleOnGestureListener {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationShadeWindowViewController.java30 import android.view.GestureDetector;
93 private GestureDetector mGestureDetector;
191 GestureDetector.SimpleOnGestureListener gestureListener = in setupExpandedStatusBar()
192 new GestureDetector.SimpleOnGestureListener() { in setupExpandedStatusBar()
213 mGestureDetector = new GestureDetector(mView.getContext(), gestureListener); in setupExpandedStatusBar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DToggleRangeBehavior.kt33 import android.view.GestureDetector in <lambda>()
34 import android.view.GestureDetector.SimpleOnGestureListener in <lambda>()
73 val gestureDetector = GestureDetector(context, gestureListener) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DLockIconViewController.java35 import android.view.GestureDetector;
36 import android.view.GestureDetector.SimpleOnGestureListener;
473 private final GestureDetector mGestureDetector =
474 new GestureDetector(new SimpleOnGestureListener() {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsDialogLiteTest.java42 import android.view.GestureDetector;
217 GestureDetector.SimpleOnGestureListener gestureListener = spy(dialog.mGestureListener); in testSingleTap_logAndDismiss()
238 GestureDetector.SimpleOnGestureListener gestureListener = spy(dialog.mGestureListener); in testSwipeDownLockscreen_logAndOpenQS()
262 GestureDetector.SimpleOnGestureListener gestureListener = spy(dialog.mGestureListener); in testSwipeDown_logAndOpenNotificationShade()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DSeekBarViewModel.kt23 import android.view.GestureDetector
289 ) : View.OnTouchListener, GestureDetector.OnGestureListener {
DMediaCarouselScrollHandler.kt21 import android.view.GestureDetector
153 private val gestureListener = object : GestureDetector.SimpleOnGestureListener() {
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotView.java64 import android.view.GestureDetector;
164 private GestureDetector mSwipeDetector;
209 mSwipeDetector = new GestureDetector(mContext, in ScreenshotView()
210 new GestureDetector.SimpleOnGestureListener() { in ScreenshotView()
1101 private final GestureDetector mGestureDetector;
1110 GestureDetector.OnGestureListener gestureListener = new SwipeDismissGestureListener(); in SwipeDismissHandler()
1111 mGestureDetector = new GestureDetector(mContext, gestureListener); in SwipeDismissHandler()
1144 class SwipeDismissGestureListener extends GestureDetector.SimpleOnGestureListener {
/frameworks/base/core/java/android/widget/
DGallery.java30 import android.view.GestureDetector;
65 public class Gallery extends AbsSpinner implements GestureDetector.OnGestureListener {
110 private GestureDetector mGestureDetector;
252 mGestureDetector = new GestureDetector(getContext(), this); in onAttachedToWindow()
DCalendarViewLegacyDelegate.java33 import android.view.GestureDetector;
1017 private GestureDetector mGestureDetector;
1027 … mGestureDetector = new GestureDetector(mContext, new WeeksAdapter.CalendarGestureListener()); in WeeksAdapter()
1150 class CalendarGestureListener extends GestureDetector.SimpleOnGestureListener {
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java36 import android.view.GestureDetector;
211 private GestureDetector mGestureDetector;
404 …mGestureDetector = new GestureDetector(getContext(), new GestureDetector.SimpleOnGestureListener()… in initGestureDetector()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java27 import android.view.GestureDetector;
295 GestureDetector mGestureDetector;
496 mGestureDetector = new GestureDetector(mRecyclerView.getContext(), in initGestureDetector()
2237 private class ItemTouchHelperGestureListener extends GestureDetector.SimpleOnGestureListener {
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialogLite.java77 import android.view.GestureDetector;
2123 private GestureDetector mGestureDetector;
2129 protected GestureDetector.SimpleOnGestureListener mGestureListener =
2130 new GestureDetector.SimpleOnGestureListener() {
2192 mGestureDetector = new GestureDetector(mContext, mGestureListener);

12