OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:MotionEvent
(Results
1 - 25
of
27
) sorted by null
1
2
/packages/apps/Launcher3/tests/src/com/android/launcher3/
QuickAddWidgetTest.java
12
import android.view.
MotionEvent
;
51
getInstrumentation().sendPointerSync(
MotionEvent
.obtain(SystemClock.uptimeMillis(),
52
SystemClock.uptimeMillis(),
MotionEvent
.ACTION_DOWN, center.x, center.y, 0));
54
getInstrumentation().sendPointerSync(
MotionEvent
.obtain(SystemClock.uptimeMillis(),
55
SystemClock.uptimeMillis(),
MotionEvent
.ACTION_UP, center.x, center.y, 0));
/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
...]
/frameworks/native/include/input/
Input.h
370
class
MotionEvent
: public InputEvent {
372
virtual ~
MotionEvent
() { }
575
void copyFrom(const
MotionEvent
* other, bool keepHistory);
639
virtual
MotionEvent
* createMotionEvent() = 0;
652
virtual
MotionEvent
* createMotionEvent() { return & mMotionEvent; }
656
MotionEvent
mMotionEvent;
668
virtual
MotionEvent
* createMotionEvent();
676
Vector<
MotionEvent
*> mMotionEventPool;
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
RecyclerViewBasicTest.java
34
import android.view.
MotionEvent
;
144
MotionEvent
.obtain(SystemClock.uptimeMillis(),
145
SystemClock.uptimeMillis(),
MotionEvent
.ACTION_DOWN, 10, 10, 0)));
153
assertFalse(mRecyclerView.onTouchEvent(
MotionEvent
.obtain(SystemClock.uptimeMillis(),
154
SystemClock.uptimeMillis(),
MotionEvent
.ACTION_DOWN, 10, 10, 0)));
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityGestureDispatchTest.java
28
import android.view.
MotionEvent
;
45
final List<
MotionEvent
> mMotionEvents = new ArrayList<>();
113
MotionEvent
clickDown = mMotionEvents.get(0);
114
MotionEvent
clickUp = mMotionEvents.get(1);
116
assertEquals(
MotionEvent
.ACTION_DOWN, clickDown.getActionMasked());
128
assertEquals(
MotionEvent
.ACTION_UP, clickUp.getActionMasked());
153
MotionEvent
clickDown = mMotionEvents.get(0);
154
MotionEvent
clickUp = mMotionEvents.get(1);
156
assertEquals(
MotionEvent
.ACTION_DOWN, clickDown.getActionMasked());
161
assertEquals(
MotionEvent
.ACTION_UP, clickUp.getActionMasked())
[
all
...]
/frameworks/base/core/java/android/view/
InputDevice.java
94
* A {@link
MotionEvent
} should be interpreted as absolute coordinates in
108
* A {@link
MotionEvent
} should be interpreted as relative movements in device-specific
120
* A {@link
MotionEvent
} should be interpreted as absolute coordinates in
130
* A {@link
MotionEvent
} should be interpreted as absolute joystick movements.
188
* by a stylus, examine the tool type returned by {@link
MotionEvent
#getToolType(int)}
193
* {@link
MotionEvent
#TOOL_TYPE_FINGER} and another pointer with tool type
194
* {@link
MotionEvent
#TOOL_TYPE_STYLUS}. So it is important to examine
196
* by {@link
MotionEvent
#getSource()}.
209
* {@link
MotionEvent
#getToolType(int)} for each individual pointer.
213
* {@link
MotionEvent
#TOOL_TYPE_FINGER} and another pointer with tool typ
[
all
...]
MotionEvent.java
56
* The
MotionEvent
class provides many methods to query the position and other properties of
92
* void printSamples(
MotionEvent
ev) {
112
* The interpretation of the contents of a
MotionEvent
varies significantly depending
168
public final class
MotionEvent
extends InputEvent implements Parcelable {
177
* a pointer id inside a {@link
MotionEvent
}.
257
* {@link View#onGenericMotionEvent(
MotionEvent
)} rather than
258
* {@link View#onTouchEvent(
MotionEvent
)}.
273
* {@link View#onGenericMotionEvent(
MotionEvent
)} rather than
274
* {@link View#onTouchEvent(
MotionEvent
)}.
286
* {@link View#onGenericMotionEvent(
MotionEvent
)} rather tha
[
all
...]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
TouchExplorer.java
25
import android.view.
MotionEvent
;
26
import android.view.
MotionEvent
.PointerCoords;
27
import android.view.
MotionEvent
.PointerProperties;
213
MotionEvent
event = mReceivedPointerTracker.getLastReceivedEvent();
219
private void clear(
MotionEvent
event, int policyFlags) {
265
public void onMotionEvent(
MotionEvent
event,
MotionEvent
rawEvent, int policyFlags) {
289
if (event.getActionMasked() ==
MotionEvent
.ACTION_CANCEL) {
361
public void onDoubleTapAndHold(
MotionEvent
event, int policyFlags) {
393
public boolean onDoubleTap(
MotionEvent
event, int policyFlags)
[
all
...]
/external/libgdx/backends/gdx-backend-android/libs/
android-4.4.jar
/external/robolectric/v1/lib/main/
android.jar
/prebuilts/sdk/14/
android.jar
/prebuilts/sdk/15/
android.jar
/prebuilts/sdk/17/
android.jar
/prebuilts/sdk/18/
android.jar
/prebuilts/sdk/19/
android.jar
/prebuilts/sdk/20/
android.jar
/prebuilts/sdk/current/
android.jar
/prebuilts/sdk/13/
android.jar
/prebuilts/sdk/9/
android.jar
/prebuilts/sdk/system_current/
android.jar
/prebuilts/sdk/4/
android.jar
/prebuilts/sdk/5/
android.jar
/prebuilts/sdk/6/
android.jar
/prebuilts/sdk/7/
android.jar
/prebuilts/tools/common/api-versions/android-1/
android.jar
Completed in 2344 milliseconds
1
2