/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 | 790 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()
|
D | MotionEvent.java | 1598 private static native void nativeSetActionButton(long nativePtr, int actionButton); in nativeSetActionButton() argument
|
/frameworks/native/services/inputflinger/ |
D | InputListener.cpp | 92 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 ==()
|
D | InputDispatcher.cpp | 183 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 …]
|
D | InputReader.cpp | 2845 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 …]
|
D | InputDispatcher.h | 565 int32_t actionButton; member 580 int32_t action, int32_t actionButton, int32_t flags,
|
D | InputReader.h | 1635 int32_t action, int32_t actionButton,
|
/frameworks/native/services/inputflinger/include/ |
D | InputListener.h | 101 int32_t actionButton; member 129 int32_t action, int32_t actionButton, int32_t flags,
|
/frameworks/native/libs/input/tests/ |
D | StructLayout_test.cpp | 56 CHECK_OFFSET(InputMessage::Body::Motion, actionButton, 32); in TestInputMessageAlignment()
|
D | InputPublisherAndConsumer_test.cpp | 139 constexpr int32_t actionButton = 0; in PublishAndConsumeMotionEvent() local 171 status = mPublisher->publishMotionEvent(seq, deviceId, source, displayId, action, actionButton, in PublishAndConsumeMotionEvent()
|
/frameworks/native/libs/input/ |
D | InputTransport.cpp | 173 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()
|
D | Input.cpp | 243 int32_t actionButton, in initialize() argument 260 mActionButton = actionButton; in initialize()
|
/frameworks/native/include/input/ |
D | InputTransport.h | 104 int32_t actionButton; member 270 int32_t actionButton,
|
D | Input.h | 608 int32_t actionButton,
|
/frameworks/base/core/java/android/widget/ |
D | AbsListView.java | 4308 int actionButton = event.getActionButton(); in onGenericMotionEvent() local 4309 if ((actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY in onGenericMotionEvent() 4310 || actionButton == MotionEvent.BUTTON_SECONDARY) in onGenericMotionEvent()
|