/frameworks/base/services/tests/servicestests/res/raw/ |
D | a11y_three_finger_swipe_down_gesture.log | 2 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 …]
|
D | a11y_touch_explore_gesture.log | 2 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/ |
D | PrintErrorFragment.java | 72 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/ |
D | InputEventConsistencyVerifier.java | 478 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 …]
|
D | GestureDetector.java | 808 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()
|
D | MotionEvent.java | 1633 private static native void nativeSetActionButton(long nativePtr, int actionButton); in nativeSetActionButton() argument
|
D | View.java | 14683 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/ |
D | InputListener.cpp | 100 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 ==()
|
D | InputClassifierConverter.cpp | 88 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/ |
D | CursorInputMapper.cpp | 417 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()
|
D | TouchInputMapper.cpp | 2040 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()
|
D | TouchInputMapper.h | 775 int32_t action, int32_t actionButton, int32_t flags, int32_t metaState,
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | Entry.cpp | 198 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()
|
D | Entry.h | 164 int32_t actionButton; member 180 uint32_t policyFlags, int32_t action, int32_t actionButton, int32_t flags,
|
D | InputDispatcher.cpp | 171 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/ |
D | InputListener.h | 102 int32_t actionButton; member 132 int32_t actionButton, int32_t flags, int32_t metaState, int32_t buttonState,
|
/frameworks/native/include/input/ |
D | InputTransport.h | 121 int32_t actionButton; member 354 int32_t actionButton, int32_t flags, int32_t edgeFlags,
|
D | Input.h | 767 std::array<uint8_t, 32> hmac, int32_t action, int32_t actionButton,
|
/frameworks/native/libs/input/ |
D | InputTransport.cpp | 216 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()
|
D | Input.cpp | 408 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/ |
D | StructLayout_test.cpp | 59 CHECK_OFFSET(InputMessage::Body::Motion, actionButton, 64); in TestInputMessageAlignment()
|
D | InputPublisherAndConsumer_test.cpp | 151 constexpr int32_t actionButton = 0; in PublishAndConsumeMotionEvent() local 193 actionButton, flags, edgeFlags, metaState, buttonState, in PublishAndConsumeMotionEvent()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 1218 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/ |
D | AbsListView.java | 4363 int actionButton = event.getActionButton(); in onGenericMotionEvent() local 4364 if ((actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY in onGenericMotionEvent() 4365 || actionButton == MotionEvent.BUTTON_SECONDARY) in onGenericMotionEvent()
|