HomeSort by relevance Sort by last modified time
    Searched refs:MotionEvent (Results 176 - 200 of 779) sorted by null

1 2 3 4 5 6 78 91011>>

  /cts/tests/app/app/src/android/app/stubs/
TestDialog.java 25 import android.view.MotionEvent;
79 public MotionEvent touchEvent;
80 public MotionEvent trackballEvent;
81 public MotionEvent onTrackballEvent;
82 public MotionEvent onTouchEvent;
131 public boolean onTouchEvent(MotionEvent event) {
138 public boolean onTrackballEvent(MotionEvent event) {
309 public boolean dispatchTrackballEvent(MotionEvent ev) {
315 public boolean dispatchTouchEvent(MotionEvent ev) {
  /external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
TouchZoomExampleActivity.java 27 import android.view.MotionEvent;
125 public boolean onTouch(View arg0, MotionEvent event) {
126 switch (event.getAction() & MotionEvent.ACTION_MASK) {
127 case MotionEvent.ACTION_DOWN: // Start gesture
132 case MotionEvent.ACTION_UP:
133 case MotionEvent.ACTION_POINTER_UP:
136 case MotionEvent.ACTION_POINTER_DOWN: // second finger
143 case MotionEvent.ACTION_MOVE:
201 private float spacing(MotionEvent event) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
HumanInteractionClassifier.java 27 import android.view.MotionEvent;
49 private final ArrayDeque<MotionEvent> mBufferedEvents = new ArrayDeque<>();
118 public void onTouchEvent(MotionEvent event) {
128 // up, the last MotionEvent which was far enough from the finger is set as the final
129 // MotionEvent and sent to the Classifiers.
131 mBufferedEvents.add(MotionEvent.obtain(event));
141 if (action == MotionEvent.ACTION_UP) {
142 mBufferedEvents.getFirst().setAction(MotionEvent.ACTION_UP);
151 private void addTouchEvent(MotionEvent event) {
183 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL)
    [all...]
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
PhotoTouchListener.java 21 import android.view.MotionEvent;
67 private float getAngle(View target, MotionEvent ev) {
122 public boolean onTouch(View target, MotionEvent ev) {
133 case MotionEvent.ACTION_DOWN:
140 case MotionEvent.ACTION_POINTER_DOWN:
147 case MotionEvent.ACTION_POINTER_UP:
160 case MotionEvent.ACTION_MOVE: {
199 case MotionEvent.ACTION_UP: {
233 case MotionEvent.ACTION_CANCEL:
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
ExpandHelper.java 27 import android.view.MotionEvent;
254 public boolean onInterceptTouchEvent(MotionEvent ev) {
260 if (DEBUG_SCALE) Log.d(TAG, "intercept: act=" + MotionEvent.actionToString(action) +
281 if ((action == MotionEvent.ACTION_MOVE) && 0 != (mExpansionStyle & BLINDS)) {
285 switch (action & MotionEvent.ACTION_MASK) {
286 case MotionEvent.ACTION_MOVE: {
313 case MotionEvent.ACTION_DOWN:
326 case MotionEvent.ACTION_CANCEL:
327 case MotionEvent.ACTION_UP:
339 private void trackVelocity(MotionEvent event)
    [all...]
  /frameworks/native/libs/input/
Input.cpp 213 // --- MotionEvent ---
215 void MotionEvent::initialize(
252 void MotionEvent::copyFrom(const MotionEvent* other, bool keepHistory) {
281 void MotionEvent::addSample(
288 const PointerCoords* MotionEvent::getRawPointerCoords(size_t pointerIndex) const {
292 float MotionEvent::getRawAxisValue(int32_t axis, size_t pointerIndex) const {
296 float MotionEvent::getAxisValue(int32_t axis, size_t pointerIndex) const {
307 const PointerCoords* MotionEvent::getHistoricalRawPointerCoords(
312 float MotionEvent::getHistoricalRawAxisValue(int32_t axis, size_t pointerIndex
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
AbsActionBarView.java 22 import android.view.MotionEvent;
105 public boolean onTouchEvent(MotionEvent ev) {
112 if (action == MotionEvent.ACTION_DOWN) {
118 if (action == MotionEvent.ACTION_DOWN && !handled) {
123 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) {
131 public boolean onHoverEvent(MotionEvent ev) {
136 if (action == MotionEvent.ACTION_HOVER_ENTER) {
142 if (action == MotionEvent.ACTION_HOVER_ENTER && !handled) {
147 if (action == MotionEvent.ACTION_HOVER_EXI
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
ConversationListSwipeHelper.java 27 import android.view.MotionEvent;
84 public boolean onInterceptTouchEvent(final RecyclerView recyclerView, final MotionEvent event) {
94 case MotionEvent.ACTION_DOWN:
116 case MotionEvent.ACTION_MOVE:
159 case MotionEvent.ACTION_UP:
160 case MotionEvent.ACTION_CANCEL:
172 public void onTouchEvent(final RecyclerView recyclerView, final MotionEvent event) {
181 case MotionEvent.ACTION_OUTSIDE:
182 case MotionEvent.ACTION_MOVE:
187 case MotionEvent.ACTION_UP
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/
CubePresentation.java 23 import android.view.MotionEvent;
54 public boolean onTouch(View view, MotionEvent event) {
  /developers/build/prebuilts/gradle/BasicGestureDetect/Application/src/main/java/com/example/android/basicgesturedetect/
BasicGestureDetectFragment.java 24 import android.view.MotionEvent;
59 public boolean onTouch(View view, MotionEvent motionEvent) {
60 gd.onTouchEvent(motionEvent);
  /developers/build/prebuilts/gradle/BasicMultitouch/Application/src/main/java/com/example/android/basicmultitouch/
TouchDisplayView.java 26 import android.view.MotionEvent;
33 * use of {@link #onTouchEvent(android.view.MotionEvent)} and {@link android.view.MotionEvent}s to keep
133 public boolean onTouchEvent(MotionEvent event) {
139 * applying the MotionEvent.ACTION_MASK. Alternatively a call to
142 switch (action & MotionEvent.ACTION_MASK) {
144 case MotionEvent.ACTION_DOWN: {
148 * Only one touch event is stored in the MotionEvent. Extract
150 * within the MotionEvent object.
170 case MotionEvent.ACTION_POINTER_DOWN:
    [all...]
  /developers/samples/android/input/gestures/BasicGestureDetect/Application/src/main/java/com/example/android/basicgesturedetect/
BasicGestureDetectFragment.java 24 import android.view.MotionEvent;
59 public boolean onTouch(View view, MotionEvent motionEvent) {
60 gd.onTouchEvent(motionEvent);
  /developers/samples/android/input/multitouch/BasicMultitouch/Application/src/main/java/com/example/android/basicmultitouch/
TouchDisplayView.java 26 import android.view.MotionEvent;
33 * use of {@link #onTouchEvent(android.view.MotionEvent)} and {@link android.view.MotionEvent}s to keep
133 public boolean onTouchEvent(MotionEvent event) {
139 * applying the MotionEvent.ACTION_MASK. Alternatively a call to
142 switch (action & MotionEvent.ACTION_MASK) {
144 case MotionEvent.ACTION_DOWN: {
148 * Only one touch event is stored in the MotionEvent. Extract
150 * within the MotionEvent object.
170 case MotionEvent.ACTION_POINTER_DOWN:
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
StaticPointerIconButton.java 23 import android.view.MotionEvent;
49 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) {
SystemPointerIconButton.java 21 import android.view.MotionEvent;
45 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) {
  /development/samples/CrossCompatibility/src/com/example/android/touchexample/
TouchExampleView.java 22 import android.view.MotionEvent;
50 public boolean onTouchEvent(MotionEvent ev) {
  /development/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/
BasicGestureDetectFragment.java 24 import android.view.MotionEvent;
59 public boolean onTouch(View view, MotionEvent motionEvent) {
60 gd.onTouchEvent(motionEvent);
  /development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/
TouchDisplayView.java 26 import android.view.MotionEvent;
33 * use of {@link #onTouchEvent(android.view.MotionEvent)} and {@link android.view.MotionEvent}s to keep
133 public boolean onTouchEvent(MotionEvent event) {
139 * applying the MotionEvent.ACTION_MASK. Alternatively a call to
142 switch (action & MotionEvent.ACTION_MASK) {
144 case MotionEvent.ACTION_DOWN: {
148 * Only one touch event is stored in the MotionEvent. Extract
150 * within the MotionEvent object.
170 case MotionEvent.ACTION_POINTER_DOWN:
    [all...]
  /external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
AndroidInputThreePlus.java 22 import android.view.MotionEvent;
46 public boolean onGenericMotion (View view, MotionEvent event) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
ForcedResizableInfoActivity.java 24 import android.view.MotionEvent;
69 public boolean onTouch(View v, MotionEvent event) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DragDownHelper.java 24 import android.view.MotionEvent;
71 public boolean onInterceptTouchEvent(MotionEvent event) {
76 case MotionEvent.ACTION_DOWN:
84 case MotionEvent.ACTION_MOVE:
101 public boolean onTouchEvent(MotionEvent event) {
109 case MotionEvent.ACTION_MOVE:
129 case MotionEvent.ACTION_UP:
143 case MotionEvent.ACTION_CANCEL:
  /frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
PreviewNavInflater.java 19 import android.view.MotionEvent;
38 public boolean onInterceptTouchEvent(MotionEvent ev) {
  /frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
DemoPresentation.java 28 import android.view.MotionEvent;
80 public boolean onTouchEvent(MotionEvent event) {
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
PathOffsetActivity.java 26 import android.view.MotionEvent;
62 public boolean onTouchEvent(MotionEvent event) {
  /frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-common/SRC/
DriverView.java.template 23 import android.view.MotionEvent;

Completed in 678 milliseconds

1 2 3 4 5 6 78 91011>>