/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PrintErrorFragment.java | 72 Button actionButton = (Button) view.findViewById(R.id.action_button); 77 actionButton.setVisibility(View.VISIBLE); 78 actionButton.setText(R.string.print_error_retry); 82 actionButton.setVisibility(View.GONE); 86 actionButton.setOnClickListener(new OnClickListener() {
|
/frameworks/base/core/java/android/view/ |
H A D | InputEventConsistencyVerifier.java | 474 final int actionButton = event.getActionButton(); 497 if ((mButtonsPressed & actionButton) != 0) { 499 actionButton + ", but it has already been pressed and " + 503 mButtonsPressed |= actionButton; 508 if (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY && 511 } else if (actionButton == MotionEvent.BUTTON_STYLUS_SECONDARY && 525 if ((mButtonsPressed & actionButton) != actionButton) { 527 actionButton + ", but it was either never pressed or has " + 531 mButtonsPressed &= ~actionButton; [all...] |
H A D | GestureDetector.java | 695 final int actionButton = ev.getActionButton(); 699 && (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY 700 || actionButton == MotionEvent.BUTTON_SECONDARY)) { 711 if (mInContextClick && (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY 712 || actionButton == MotionEvent.BUTTON_SECONDARY)) {
|
H A D | MotionEvent.java | 1467 private static native void nativeSetActionButton(long nativePtr, int actionButton); argument 3158 msg.append(", actionButton=").append(buttonStateToString(getActionButton()));
|
H A D | View.java | 10053 final int actionButton = event.getActionButton(); 10057 && (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY 10058 || actionButton == MotionEvent.BUTTON_SECONDARY)) { 10070 if (mInContextButtonPress && (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY 10071 || actionButton == MotionEvent.BUTTON_SECONDARY)) {
|
/frameworks/native/services/inputflinger/ |
H A D | InputListener.cpp | 71 int32_t action, int32_t actionButton, int32_t flags, int32_t metaState, 76 action(action), actionButton(actionButton), 89 action(other.action), actionButton(other.actionButton), flags(other.flags), 69 NotifyMotionArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t actionButton, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, int32_t displayId, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, float xPrecision, float yPrecision, nsecs_t downTime) argument
|
H A D | InputListener.h | 87 int32_t actionButton; member in struct:android::NotifyMotionArgs 103 int32_t action, int32_t actionButton, int32_t flags,
|
H A D | InputDispatcher.cpp | 122 static bool isValidMotionAction(int32_t action, int32_t actionButton, int32_t pointerCount) { argument 141 return actionButton != 0; 147 static bool validateMotionEvent(int32_t action, int32_t actionButton, size_t pointerCount, argument 149 if (! isValidMotionAction(action, actionButton, pointerCount)) { 891 "action=0x%x, actionButton=0x%x, flags=0x%x, " 896 entry->action, entry->actionButton, entry->flags, 2029 dispatchEntry->resolvedAction, motionEntry->actionButton, 2353 originalMotionEntry->actionButton, 2488 "action=0x%x, actionButton=0x%x, flags=0x%x, metaState=0x%x, buttonState=0x%x," 2491 args->action, args->actionButton, arg 2647 int32_t actionButton = motionEvent->getActionButton(); local 3966 MotionEntry(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t actionButton, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, float xPrecision, float yPrecision, nsecs_t downTime, int32_t displayId, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, float xOffset, float yOffset) argument [all...] |
H A D | InputDispatcher.h | 513 int32_t actionButton; member in struct:android::InputDispatcher::MotionEntry 528 int32_t action, int32_t actionButton, int32_t flags,
|
H A D | InputReader.cpp | 2690 int32_t actionButton = BitSet32::valueForBit(released.clearFirstMarkedBit()); local 2691 buttonState &= ~actionButton; 2693 AMOTION_EVENT_ACTION_BUTTON_RELEASE, actionButton, 0, 2711 int32_t actionButton = BitSet32::valueForBit(pressed.clearFirstMarkedBit()); local 2712 buttonState |= actionButton; 2714 AMOTION_EVENT_ACTION_BUTTON_PRESS, actionButton, 0, 4626 int32_t actionButton = BitSet32::valueForBit(releasedButtons.clearFirstMarkedBit()); local 4627 buttonState &= ~actionButton; 4629 AMOTION_EVENT_ACTION_BUTTON_RELEASE, actionButton, 4644 int32_t actionButton local 6202 dispatchMotion(nsecs_t when, uint32_t policyFlags, uint32_t source, int32_t action, int32_t actionButton, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, const PointerProperties* properties, const PointerCoords* coords, const uint32_t* idToIndex, BitSet32 idBits, int32_t changedId, float xPrecision, float yPrecision, nsecs_t downTime) argument [all...] |
H A D | InputReader.h | 1868 int32_t action, int32_t actionButton,
|
/frameworks/native/libs/input/tests/ |
H A D | StructLayout_test.cpp | 54 CHECK_OFFSET(InputMessage::Body::Motion, actionButton, 28);
|
H A D | InputPublisherAndConsumer_test.cpp | 136 const int32_t actionButton = 0; local 167 status = mPublisher->publishMotionEvent(seq, deviceId, source, action, actionButton,
|
/frameworks/native/include/input/ |
H A D | InputTransport.h | 87 int32_t actionButton; member in struct:android::InputMessage::Body::Motion 236 int32_t actionButton,
|
H A D | Input.h | 560 int32_t actionButton,
|
/frameworks/native/libs/input/ |
H A D | InputTransport.cpp | 290 int32_t actionButton, 306 "action=0x%x, actionButton=0x%08x, flags=0x%x, edgeFlags=0x%x, " 311 deviceId, source, action, actionButton, flags, edgeFlags, metaState, buttonState, 332 msg.body.motion.actionButton = actionButton; 927 msg->body.motion.actionButton, 285 publishMotionEvent( uint32_t seq, int32_t deviceId, int32_t source, int32_t action, int32_t actionButton, int32_t flags, int32_t edgeFlags, int32_t metaState, int32_t buttonState, float xOffset, float yOffset, float xPrecision, float yPrecision, nsecs_t downTime, nsecs_t eventTime, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument
|
H A D | Input.cpp | 219 int32_t actionButton, 235 mActionButton = actionButton; 215 initialize( int32_t deviceId, int32_t source, int32_t action, int32_t actionButton, int32_t flags, int32_t edgeFlags, int32_t metaState, int32_t buttonState, float xOffset, float yOffset, float xPrecision, float yPrecision, nsecs_t downTime, nsecs_t eventTime, size_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument
|
/frameworks/base/core/java/android/widget/ |
H A D | AbsListView.java | 4224 int actionButton = event.getActionButton(); 4225 if ((actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY 4226 || actionButton == MotionEvent.BUTTON_SECONDARY)
|