Home
last modified time | relevance | path

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

/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.java790 final int actionButton = ev.getActionButton(); in onGenericMotionEvent() local
794 && (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY in onGenericMotionEvent()
795 || actionButton == MotionEvent.BUTTON_SECONDARY)) { in onGenericMotionEvent()
806 if (mInContextClick && (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY in onGenericMotionEvent()
807 || actionButton == MotionEvent.BUTTON_SECONDARY)) { in onGenericMotionEvent()
DMotionEvent.java1598 private static native void nativeSetActionButton(long nativePtr, int actionButton); in nativeSetActionButton() argument
/frameworks/native/services/inputflinger/
DInputListener.cpp92 int32_t action, int32_t actionButton, int32_t flags, int32_t metaState, in NotifyMotionArgs() argument
100 action(action), actionButton(actionButton), in NotifyMotionArgs()
115 action(other.action), actionButton(other.actionButton), flags(other.flags), in NotifyMotionArgs()
136 && actionButton == rhs.actionButton in operator ==()
DInputDispatcher.cpp183 static bool isValidMotionAction(int32_t action, int32_t actionButton, int32_t pointerCount) { in isValidMotionAction() argument
202 return actionButton != 0; in isValidMotionAction()
208 static bool validateMotionEvent(int32_t action, int32_t actionButton, size_t pointerCount, in validateMotionEvent() argument
210 if (! isValidMotionAction(action, actionButton, pointerCount)) { in validateMotionEvent()
1023 entry->action, entry->actionButton, entry->flags, in logOutboundMotionDetails()
2261 dispatchEntry->resolvedAction, motionEntry->actionButton, in startDispatchCycleLocked()
2601 originalMotionEntry->actionButton, in splitMotionEvent()
2760 args->action, args->actionButton, args->flags, args->metaState, args->buttonState, in notifyMotion()
2780 if (!validateMotionEvent(args->action, args->actionButton, in notifyMotion()
2804 args->action, args->actionButton, in notifyMotion()
[all …]
DInputReader.cpp2845 int32_t actionButton = BitSet32::valueForBit(released.clearFirstMarkedBit()); in sync() local
2846 buttonState &= ~actionButton; in sync()
2849 AMOTION_EVENT_ACTION_BUTTON_RELEASE, actionButton, 0, in sync()
2868 int32_t actionButton = BitSet32::valueForBit(pressed.clearFirstMarkedBit()); in sync() local
2869 buttonState |= actionButton; in sync()
2872 actionButton, 0, metaState, buttonState, in sync()
4922 int32_t actionButton = BitSet32::valueForBit(releasedButtons.clearFirstMarkedBit()); in dispatchButtonRelease() local
4923 buttonState &= ~actionButton; in dispatchButtonRelease()
4925 AMOTION_EVENT_ACTION_BUTTON_RELEASE, actionButton, in dispatchButtonRelease()
4941 int32_t actionButton = BitSet32::valueForBit(pressedButtons.clearFirstMarkedBit()); in dispatchButtonPress() local
[all …]
DInputDispatcher.h565 int32_t actionButton; member
580 int32_t action, int32_t actionButton, int32_t flags,
DInputReader.h1635 int32_t action, int32_t actionButton,
/frameworks/native/services/inputflinger/include/
DInputListener.h101 int32_t actionButton; member
129 int32_t action, int32_t actionButton, int32_t flags,
/frameworks/native/libs/input/tests/
DStructLayout_test.cpp56 CHECK_OFFSET(InputMessage::Body::Motion, actionButton, 32); in TestInputMessageAlignment()
DInputPublisherAndConsumer_test.cpp139 constexpr int32_t actionButton = 0; in PublishAndConsumeMotionEvent() local
171 status = mPublisher->publishMotionEvent(seq, deviceId, source, displayId, action, actionButton, in PublishAndConsumeMotionEvent()
/frameworks/native/libs/input/
DInputTransport.cpp173 msg->body.motion.actionButton = body.motion.actionButton; in getSanitizedCopy()
473 int32_t actionButton, in publishMotionEvent() argument
502 deviceId, source, displayId, action, actionButton, flags, edgeFlags, metaState, in publishMotionEvent()
525 msg.body.motion.actionButton = actionButton; in publishMotionEvent()
1143 msg->body.motion.actionButton, in initializeMotionEvent()
DInput.cpp243 int32_t actionButton, in initialize() argument
260 mActionButton = actionButton; in initialize()
/frameworks/native/include/input/
DInputTransport.h104 int32_t actionButton; member
270 int32_t actionButton,
DInput.h608 int32_t actionButton,
/frameworks/base/core/java/android/widget/
DAbsListView.java4308 int actionButton = event.getActionButton(); in onGenericMotionEvent() local
4309 if ((actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY in onGenericMotionEvent()
4310 || actionButton == MotionEvent.BUTTON_SECONDARY) in onGenericMotionEvent()