/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
|
D | View.java | 14100 final int actionButton = event.getActionButton(); in dispatchGenericMotionEventInternal() local 14104 && (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY in dispatchGenericMotionEventInternal() 14105 || actionButton == MotionEvent.BUTTON_SECONDARY)) { in dispatchGenericMotionEventInternal() 14117 if (mInContextButtonPress && (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY in dispatchGenericMotionEventInternal() 14118 || actionButton == MotionEvent.BUTTON_SECONDARY)) { in dispatchGenericMotionEventInternal()
|
/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 | 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() 363 event.actionButton = getActionButton(args.actionButton); in notifyMotionArgsToHalMotionEvent()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | Entry.cpp | 162 int32_t actionButton, int32_t flags, int32_t metaState, in MotionEntry() argument 173 actionButton(actionButton), in MotionEntry() 205 actionButton, flags, metaState, buttonState, in appendDescription()
|
D | Entry.h | 123 int32_t actionButton; member 137 int32_t displayId, uint32_t policyFlags, int32_t action, int32_t actionButton,
|
D | InputDispatcher.cpp | 133 static bool isValidMotionAction(int32_t action, int32_t actionButton, int32_t pointerCount) { in isValidMotionAction() argument 152 return actionButton != 0; in isValidMotionAction() 158 static bool validateMotionEvent(int32_t action, int32_t actionButton, size_t pointerCount, in validateMotionEvent() argument 160 if (!isValidMotionAction(action, actionButton, pointerCount)) { in validateMotionEvent() 972 entry->policyFlags, entry->action, entry->actionButton, entry->flags, entry->metaState, in logOutboundMotionDetails() 2229 motionEntry->actionButton, in startDispatchCycleLocked() 2572 action, originalMotionEntry->actionButton, originalMotionEntry->flags, in splitMotionEvent() 2726 args->action, args->actionButton, args->flags, args->metaState, args->buttonState, in notifyMotion() 2745 if (!validateMotionEvent(args->action, args->actionButton, args->pointerCount, in notifyMotion() 2769 args->actionButton, args->flags, args->edgeFlags, args->metaState, in notifyMotion() [all …]
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CursorInputMapper.cpp | 396 int32_t actionButton = BitSet32::valueForBit(released.clearFirstMarkedBit()); in sync() local 397 buttonState &= ~actionButton; in sync() 400 AMOTION_EVENT_ACTION_BUTTON_RELEASE, actionButton, 0, in sync() 421 int32_t actionButton = BitSet32::valueForBit(pressed.clearFirstMarkedBit()); in sync() local 422 buttonState |= actionButton; in sync() 425 AMOTION_EVENT_ACTION_BUTTON_PRESS, actionButton, 0, in sync()
|
D | TouchInputMapper.cpp | 2011 int32_t actionButton = BitSet32::valueForBit(releasedButtons.clearFirstMarkedBit()); in dispatchButtonRelease() local 2012 buttonState &= ~actionButton; in dispatchButtonRelease() 2014 actionButton, 0, metaState, buttonState, 0, in dispatchButtonRelease() 2029 int32_t actionButton = BitSet32::valueForBit(pressedButtons.clearFirstMarkedBit()); in dispatchButtonPress() local 2030 buttonState |= actionButton; in dispatchButtonPress() 2031 dispatchMotion(when, policyFlags, mSource, AMOTION_EVENT_ACTION_BUTTON_PRESS, actionButton, in dispatchButtonPress() 3573 int32_t action, int32_t actionButton, int32_t flags, in dispatchMotion() argument 3616 policyFlags, action, actionButton, flags, metaState, buttonState, in dispatchMotion()
|
D | TouchInputMapper.h | 813 int32_t actionButton, int32_t flags, int32_t metaState, int32_t buttonState,
|
/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/ |
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/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/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()
|