/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 | 818 final int actionButton = ev.getActionButton(); in onGenericMotionEvent() local 822 && (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY in onGenericMotionEvent() 823 || actionButton == MotionEvent.BUTTON_SECONDARY)) { in onGenericMotionEvent() 834 if (mInContextClick && (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY in onGenericMotionEvent() 835 || actionButton == MotionEvent.BUTTON_SECONDARY)) { in onGenericMotionEvent()
|
D | MotionEvent.java | 1604 private static native void nativeSetActionButton(long nativePtr, int actionButton); in nativeSetActionButton() argument
|
D | View.java | 14452 final int actionButton = event.getActionButton(); 14456 && (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY 14457 || actionButton == MotionEvent.BUTTON_SECONDARY)) { 14469 if (mInContextButtonPress && (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY 14470 || actionButton == MotionEvent.BUTTON_SECONDARY)) {
|
/frameworks/native/services/inputflinger/ |
D | InputListener.cpp | 98 int32_t actionButton, int32_t flags, int32_t metaState, in NotifyMotionArgs() argument 112 actionButton(actionButton), in NotifyMotionArgs() 138 actionButton(other.actionButton), in NotifyMotionArgs() 164 action == rhs.action && actionButton == rhs.actionButton && flags == rhs.flags && 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/dispatcher/ |
D | Entry.cpp | 179 int32_t actionButton, int32_t flags, int32_t metaState, in MotionEntry() argument 191 actionButton(actionButton), in MotionEntry() 225 actionButton, flags, metaState, buttonState, in appendDescription()
|
D | Entry.h | 162 int32_t actionButton; member 178 uint32_t policyFlags, int32_t action, int32_t actionButton, int32_t flags,
|
D | InputDispatcher.cpp | 137 static bool isValidMotionAction(int32_t action, int32_t actionButton, int32_t pointerCount) { in isValidMotionAction() argument 156 return actionButton != 0; in isValidMotionAction() 162 static bool validateMotionEvent(int32_t action, int32_t actionButton, size_t pointerCount, in validateMotionEvent() argument 164 if (!isValidMotionAction(action, actionButton, pointerCount)) { in validateMotionEvent() 306 motionEntry.action, motionEntry.actionButton, motionEntry.flags, in createDispatchEntry() 1316 entry.action, entry.actionButton, entry.flags, entry.metaState, entry.buttonState, in logOutboundMotionDetails() 2542 motionEntry->actionButton, in startDispatchCycleLocked() 3003 originalMotionEntry.actionButton, originalMotionEntry.flags, in splitMotionEvent() 3160 args->policyFlags, args->action, args->actionButton, args->flags, args->metaState, in notifyMotion() 3180 if (!validateMotionEvent(args->action, args->actionButton, args->pointerCount, in notifyMotion() [all …]
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CursorInputMapper.cpp | 375 int32_t actionButton = BitSet32::valueForBit(released.clearFirstMarkedBit()); in sync() local 376 buttonState &= ~actionButton; in sync() 379 AMOTION_EVENT_ACTION_BUTTON_RELEASE, actionButton, 0, in sync() 400 int32_t actionButton = BitSet32::valueForBit(pressed.clearFirstMarkedBit()); in sync() local 401 buttonState |= actionButton; in sync() 404 AMOTION_EVENT_ACTION_BUTTON_PRESS, actionButton, 0, in sync()
|
D | TouchInputMapper.cpp | 1982 int32_t actionButton = BitSet32::valueForBit(releasedButtons.clearFirstMarkedBit()); in dispatchButtonRelease() local 1983 buttonState &= ~actionButton; in dispatchButtonRelease() 1985 actionButton, 0, metaState, buttonState, 0, in dispatchButtonRelease() 1999 int32_t actionButton = BitSet32::valueForBit(pressedButtons.clearFirstMarkedBit()); in dispatchButtonPress() local 2000 buttonState |= actionButton; in dispatchButtonPress() 2001 dispatchMotion(when, policyFlags, mSource, AMOTION_EVENT_ACTION_BUTTON_PRESS, actionButton, in dispatchButtonPress() 3532 int32_t action, int32_t actionButton, int32_t flags, in dispatchMotion() argument 3580 action, actionButton, flags, metaState, buttonState, in dispatchMotion()
|
D | TouchInputMapper.h | 746 int32_t actionButton, int32_t flags, int32_t metaState, int32_t buttonState,
|
/frameworks/native/services/inputflinger/include/ |
D | InputListener.h | 99 int32_t actionButton; member 127 int32_t displayId, uint32_t policyFlags, int32_t action, int32_t actionButton,
|
/frameworks/native/include/input/ |
D | InputTransport.h | 112 int32_t actionButton; member 296 int32_t actionButton, int32_t flags, int32_t edgeFlags,
|
D | Input.h | 686 std::array<uint8_t, 32> hmac, int32_t action, int32_t actionButton,
|
/frameworks/native/libs/input/ |
D | InputTransport.cpp | 188 msg->body.motion.actionButton = body.motion.actionButton; in getSanitizedCopy() 485 std::array<uint8_t, 32> hmac, int32_t action, int32_t actionButton, int32_t flags, in publishMotionEvent() argument 505 mChannel->getName().c_str(), seq, deviceId, source, displayId, action, actionButton, in publishMotionEvent() 531 msg.body.motion.actionButton = actionButton; in publishMotionEvent() 1188 msg->body.motion.actionButton, msg->body.motion.flags, in initializeMotionEvent()
|
D | Input.cpp | 321 std::array<uint8_t, 32> hmac, int32_t action, int32_t actionButton, in initialize() argument 331 mActionButton = actionButton; in initialize()
|
/frameworks/native/libs/input/tests/ |
D | StructLayout_test.cpp | 60 CHECK_OFFSET(InputMessage::Body::Motion, actionButton, 64); in TestInputMessageAlignment()
|
D | InputPublisherAndConsumer_test.cpp | 152 constexpr int32_t actionButton = 0; in PublishAndConsumeMotionEvent() local 189 actionButton, flags, edgeFlags, metaState, buttonState, in PublishAndConsumeMotionEvent()
|
/frameworks/base/core/java/android/widget/ |
D | AbsListView.java | 4289 int actionButton = event.getActionButton(); in onGenericMotionEvent() local 4290 if ((actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY in onGenericMotionEvent() 4291 || actionButton == MotionEvent.BUTTON_SECONDARY) in onGenericMotionEvent()
|