Home
last modified time | relevance | path

Searched refs:actionButton (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/services/tests/servicestests/res/raw/
Da11y_three_finger_swipe_down_gesture.log2 MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=500.0, y[0]=696.0, toolType[0]=TOOL…
3 MotionEvent { action=ACTION_POINTER_DOWN(1), actionButton=0, id[0]=0, x[0]=500.0, y[0]=696.0, toolT…
4 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=500.0, y[0]=696.0, toolType[0]=TOOL…
5 MotionEvent { action=ACTION_POINTER_DOWN(2), actionButton=0, id[0]=0, x[0]=500.0, y[0]=696.0, toolT…
6 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=500.0, y[0]=696.0, toolType[0]=TOOL…
7 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=503.0, y[0]=699.0, toolType[0]=TOOL…
8 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=521.0, y[0]=728.0, toolType[0]=TOOL…
9 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=535.0, y[0]=765.0, toolType[0]=TOOL…
10 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=545.0, y[0]=795.0, toolType[0]=TOOL…
11 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=555.0, y[0]=832.0, toolType[0]=TOOL…
[all …]
Da11y_touch_explore_gesture.log2 MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=825.0, y[0]=2028.0, toolType[0]=TOO…
3 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=825.0, y[0]=2028.0, toolType[0]=TOO…
4 MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=825.0, y[0]=2028.0, toolType[0]=TOOL_…
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintErrorFragment.java72 Button actionButton = (Button) view.findViewById(R.id.action_button); in onViewCreated() local
77 actionButton.setVisibility(View.VISIBLE); in onViewCreated()
78 actionButton.setText(R.string.print_error_retry); in onViewCreated()
82 actionButton.setVisibility(View.GONE); in onViewCreated()
86 actionButton.setOnClickListener(new OnClickListener() { in onViewCreated()
/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java478 final int actionButton = event.getActionButton(); in onGenericMotionEvent() local
501 if ((mButtonsPressed & actionButton) != 0) { in onGenericMotionEvent()
503 actionButton + ", but it has already been pressed and " + in onGenericMotionEvent()
507 mButtonsPressed |= actionButton; in onGenericMotionEvent()
512 if (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY && in onGenericMotionEvent()
515 } else if (actionButton == MotionEvent.BUTTON_STYLUS_SECONDARY && in onGenericMotionEvent()
529 if ((mButtonsPressed & actionButton) != actionButton) { in onGenericMotionEvent()
531 actionButton + ", but it was either never pressed or has " + in onGenericMotionEvent()
535 mButtonsPressed &= ~actionButton; in onGenericMotionEvent()
540 if (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY && in onGenericMotionEvent()
[all …]
DGestureDetector.java808 final int actionButton = ev.getActionButton(); in onGenericMotionEvent() local
812 && (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY in onGenericMotionEvent()
813 || actionButton == MotionEvent.BUTTON_SECONDARY)) { in onGenericMotionEvent()
824 if (mInContextClick && (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY in onGenericMotionEvent()
825 || actionButton == MotionEvent.BUTTON_SECONDARY)) { in onGenericMotionEvent()
DMotionEvent.java1633 private static native void nativeSetActionButton(long nativePtr, int actionButton); in nativeSetActionButton() argument
DView.java14683 final int actionButton = event.getActionButton(); in dispatchGenericMotionEventInternal() local
14687 && (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY in dispatchGenericMotionEventInternal()
14688 || actionButton == MotionEvent.BUTTON_SECONDARY)) { in dispatchGenericMotionEventInternal()
14700 if (mInContextButtonPress && (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY in dispatchGenericMotionEventInternal()
14701 || actionButton == MotionEvent.BUTTON_SECONDARY)) { in dispatchGenericMotionEventInternal()
/frameworks/native/services/inputflinger/
DInputListener.cpp100 int32_t displayId, uint32_t policyFlags, int32_t action, int32_t actionButton, in NotifyMotionArgs() argument
112 actionButton(actionButton), in NotifyMotionArgs()
139 actionButton(other.actionButton), in NotifyMotionArgs()
167 actionButton == rhs.actionButton && flags == rhs.flags && metaState == rhs.metaState && in operator ==()
DInputClassifierConverter.cpp88 static common::V1_0::Button getActionButton(int32_t actionButton) { in getActionButton() argument
105 return static_cast<common::V1_0::Button>(actionButton); in getActionButton()
364 event.actionButton = getActionButton(args.actionButton); in notifyMotionArgsToHalMotionEvent()
/frameworks/native/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp417 int32_t actionButton = BitSet32::valueForBit(released.clearFirstMarkedBit()); in sync() local
418 buttonState &= ~actionButton; in sync()
421 AMOTION_EVENT_ACTION_BUTTON_RELEASE, actionButton, 0, in sync()
442 int32_t actionButton = BitSet32::valueForBit(pressed.clearFirstMarkedBit()); in sync() local
443 buttonState |= actionButton; in sync()
446 AMOTION_EVENT_ACTION_BUTTON_PRESS, actionButton, 0, in sync()
DTouchInputMapper.cpp2040 int32_t actionButton = BitSet32::valueForBit(releasedButtons.clearFirstMarkedBit()); in dispatchButtonRelease() local
2041 buttonState &= ~actionButton; in dispatchButtonRelease()
2043 actionButton, 0, metaState, buttonState, 0, in dispatchButtonRelease()
2057 int32_t actionButton = BitSet32::valueForBit(pressedButtons.clearFirstMarkedBit()); in dispatchButtonPress() local
2058 buttonState |= actionButton; in dispatchButtonPress()
2060 actionButton, 0, metaState, buttonState, 0, in dispatchButtonPress()
3602 uint32_t source, int32_t action, int32_t actionButton, in dispatchMotion() argument
3656 policyFlags, action, actionButton, flags, metaState, buttonState, in dispatchMotion()
DTouchInputMapper.h775 int32_t action, int32_t actionButton, int32_t flags, int32_t metaState,
/frameworks/native/services/inputflinger/dispatcher/
DEntry.cpp198 int32_t actionButton, int32_t flags, int32_t metaState, in MotionEntry() argument
209 actionButton(actionButton), in MotionEntry()
244 MotionEvent::actionToString(action).c_str(), actionButton, flags, metaState, in getDescription()
DEntry.h164 int32_t actionButton; member
180 uint32_t policyFlags, int32_t action, int32_t actionButton, int32_t flags,
DInputDispatcher.cpp171 static bool isValidMotionAction(int32_t action, int32_t actionButton, int32_t pointerCount) { in isValidMotionAction() argument
190 return actionButton != 0; in isValidMotionAction()
200 static bool validateMotionEvent(int32_t action, int32_t actionButton, size_t pointerCount, in validateMotionEvent() argument
202 if (!isValidMotionAction(action, actionButton, pointerCount)) { in validateMotionEvent()
372 motionEntry.action, motionEntry.actionButton, in createDispatchEntry()
1649 entry.action, entry.actionButton, entry.flags, entry.metaState, entry.buttonState, in logOutboundMotionDetails()
3152 motionEntry.actionButton, in startDispatchCycleLocked()
3663 originalMotionEntry.actionButton, in splitMotionEvent()
3825 args->policyFlags, args->action, args->actionButton, args->flags, args->metaState, in notifyMotion()
3845 if (!validateMotionEvent(args->action, args->actionButton, args->pointerCount, in notifyMotion()
[all …]
/frameworks/native/services/inputflinger/include/
DInputListener.h102 int32_t actionButton; member
132 int32_t actionButton, int32_t flags, int32_t metaState, int32_t buttonState,
/frameworks/native/include/input/
DInputTransport.h121 int32_t actionButton; member
354 int32_t actionButton, int32_t flags, int32_t edgeFlags,
DInput.h767 std::array<uint8_t, 32> hmac, int32_t action, int32_t actionButton,
/frameworks/native/libs/input/
DInputTransport.cpp216 msg->body.motion.actionButton = body.motion.actionButton; in getSanitizedCopy()
533 std::array<uint8_t, 32> hmac, int32_t action, int32_t actionButton, int32_t flags, in publishMotionEvent() argument
554 mChannel->getName().c_str(), seq, deviceId, source, displayId, action, actionButton, in publishMotionEvent()
580 msg.body.motion.actionButton = actionButton; in publishMotionEvent()
1359 msg->body.motion.actionButton, msg->body.motion.flags, in initializeMotionEvent()
DInput.cpp408 std::array<uint8_t, 32> hmac, int32_t action, int32_t actionButton, in initialize() argument
419 mActionButton = actionButton; in initialize()
/frameworks/native/libs/input/tests/
DStructLayout_test.cpp59 CHECK_OFFSET(InputMessage::Body::Motion, actionButton, 64); in TestInputMessageAlignment()
DInputPublisherAndConsumer_test.cpp151 constexpr int32_t actionButton = 0; in PublishAndConsumeMotionEvent() local
193 actionButton, flags, edgeFlags, metaState, buttonState, in PublishAndConsumeMotionEvent()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp1218 MotionEventBuilder& actionButton(int32_t actionButton) { in actionButton() argument
1219 mActionButton = actionButton; in actionButton()
1528 .actionButton(AMOTION_EVENT_BUTTON_PRIMARY) in TEST_F()
1541 .actionButton(AMOTION_EVENT_BUTTON_PRIMARY) in TEST_F()
1616 .actionButton(AMOTION_EVENT_BUTTON_PRIMARY) in TEST_F()
1629 .actionButton(AMOTION_EVENT_BUTTON_PRIMARY) in TEST_F()
/frameworks/base/core/java/android/widget/
DAbsListView.java4363 int actionButton = event.getActionButton(); in onGenericMotionEvent() local
4364 if ((actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY in onGenericMotionEvent()
4365 || actionButton == MotionEvent.BUTTON_SECONDARY) in onGenericMotionEvent()