Searched refs:BUTTON_PRIMARY (Results 1 - 12 of 12) sorted by relevance

/frameworks/support/v13/tests/java/android/support/v13/view/
H A DDragStartHelperTest.java179 sendMouseEvent(MotionEvent.ACTION_DOWN, MotionEvent.BUTTON_PRIMARY, mDragSource, 0, 0);
180 sendMouseEvent(MotionEvent.ACTION_UP, MotionEvent.BUTTON_PRIMARY, mDragSource, 0, 0);
194 sendMouseEvent(MotionEvent.ACTION_DOWN, MotionEvent.BUTTON_PRIMARY, mDragSource, 0, 0);
196 MotionEvent.BUTTON_PRIMARY | MotionEvent.BUTTON_SECONDARY, mDragSource, 0, 0);
197 sendMouseEvent(MotionEvent.ACTION_MOVE, MotionEvent.BUTTON_PRIMARY, mDragSource, 0, 0);
211 sendMouseEvent(MotionEvent.ACTION_DOWN, MotionEvent.BUTTON_PRIMARY, mDragSource, 0, 0);
212 sendMouseEvent(MotionEvent.ACTION_MOVE, MotionEvent.BUTTON_PRIMARY, mDragSource, 1, 2);
213 sendMouseEvent(MotionEvent.ACTION_MOVE, MotionEvent.BUTTON_PRIMARY, mDragSource, 3, 4);
214 sendMouseEvent(MotionEvent.ACTION_MOVE, MotionEvent.BUTTON_PRIMARY, mDragSource, 5, 6);
257 sendMouseEvent(MotionEvent.ACTION_DOWN, MotionEvent.BUTTON_PRIMARY, mDragSourc
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DMouseUiController.java37 @IntDef({MotionEvent.BUTTON_PRIMARY, MotionEvent.BUTTON_SECONDARY, MotionEvent.BUTTON_TERTIARY})
45 this(uiController, MotionEvent.BUTTON_PRIMARY);
H A DMouseClickAction.java90 this(tapper, coordinatesProvider, MotionEvent.BUTTON_PRIMARY);
H A DTextViewActions.java67 return mouseClickOnTextAtIndex(index, MotionEvent.BUTTON_PRIMARY);
/frameworks/support/v13/java/android/support/v13/view/
H A DDragStartHelper.java142 & MotionEvent.BUTTON_PRIMARY) == 0) {
/frameworks/support/compat/java/android/support/v4/view/
H A DMotionEventCompat.java450 * Synonym for {@link MotionEvent#BUTTON_PRIMARY}.
452 * @deprecated Use {@link MotionEvent#BUTTON_PRIMARY} directly.
455 public static final int BUTTON_PRIMARY = 1; field in class:MotionEventCompat
/frameworks/base/core/java/com/android/internal/widget/
H A DDecorCaptionView.java188 final boolean primaryButton = (e.getButtonState() & MotionEvent.BUTTON_PRIMARY) != 0;
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAutoclickController.java444 MotionEvent.BUTTON_PRIMARY, 1.0f, 1.0f, mLastMotionEvent.getDeviceId(), 0,
/frameworks/base/core/java/android/view/
H A DMotionEvent.java1292 public static final int BUTTON_PRIMARY = 1 << 0; field in class:MotionEvent
1350 "BUTTON_PRIMARY",
2397 * @see #BUTTON_PRIMARY
3346 * button state flags such as "0", "BUTTON_PRIMARY",
3347 * "BUTTON_PRIMARY|BUTTON_SECONDARY" or an equivalent numeric constant such as "0x10000000"
3398 * @see #BUTTON_PRIMARY
H A DViewGroup.java3126 && ev.isButtonPressed(MotionEvent.BUTTON_PRIMARY)
H A DView.java12811 || !event.isButtonPressed(MotionEvent.BUTTON_PRIMARY)) {
/frameworks/base/core/java/android/widget/
H A DEditor.java1336 ((mLastButtonState ^ event.getButtonState()) & MotionEvent.BUTTON_PRIMARY) != 0;
1343 && !event.isButtonPressed(MotionEvent.BUTTON_PRIMARY)) {

Completed in 349 milliseconds