/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 | 474 final int actionButton = event.getActionButton(); in onGenericMotionEvent() local 497 if ((mButtonsPressed & actionButton) != 0) { in onGenericMotionEvent() 499 actionButton + ", but it has already been pressed and " + in onGenericMotionEvent() 503 mButtonsPressed |= actionButton; in onGenericMotionEvent() 508 if (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY && in onGenericMotionEvent() 511 } else if (actionButton == MotionEvent.BUTTON_STYLUS_SECONDARY && in onGenericMotionEvent() 525 if ((mButtonsPressed & actionButton) != actionButton) { in onGenericMotionEvent() 527 actionButton + ", but it was either never pressed or has " + in onGenericMotionEvent() 531 mButtonsPressed &= ~actionButton; in onGenericMotionEvent() 536 if (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY && in onGenericMotionEvent() [all …]
|
D | GestureDetector.java | 695 final int actionButton = ev.getActionButton(); in onGenericMotionEvent() local 699 && (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY in onGenericMotionEvent() 700 || actionButton == MotionEvent.BUTTON_SECONDARY)) { in onGenericMotionEvent() 711 if (mInContextClick && (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY in onGenericMotionEvent() 712 || actionButton == MotionEvent.BUTTON_SECONDARY)) { in onGenericMotionEvent()
|
D | MotionEvent.java | 1467 private static native void nativeSetActionButton(long nativePtr, int actionButton); in nativeSetActionButton() argument
|
D | View.java | 10139 final int actionButton = event.getActionButton(); in dispatchGenericMotionEventInternal() local 10143 && (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY in dispatchGenericMotionEventInternal() 10144 || actionButton == MotionEvent.BUTTON_SECONDARY)) { in dispatchGenericMotionEventInternal() 10156 if (mInContextButtonPress && (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY in dispatchGenericMotionEventInternal() 10157 || actionButton == MotionEvent.BUTTON_SECONDARY)) { in dispatchGenericMotionEventInternal()
|
/frameworks/native/services/inputflinger/ |
D | InputListener.cpp | 71 int32_t action, int32_t actionButton, int32_t flags, int32_t metaState, in NotifyMotionArgs() argument 76 action(action), actionButton(actionButton), in NotifyMotionArgs() 89 action(other.action), actionButton(other.actionButton), flags(other.flags), in NotifyMotionArgs()
|
D | InputListener.h | 87 int32_t actionButton; member 103 int32_t action, int32_t actionButton, int32_t flags,
|
D | InputDispatcher.cpp | 122 static bool isValidMotionAction(int32_t action, int32_t actionButton, int32_t pointerCount) { in isValidMotionAction() argument 141 return actionButton != 0; in isValidMotionAction() 147 static bool validateMotionEvent(int32_t action, int32_t actionButton, size_t pointerCount, in validateMotionEvent() argument 149 if (! isValidMotionAction(action, actionButton, pointerCount)) { in validateMotionEvent() 896 entry->action, entry->actionButton, entry->flags, in logOutboundMotionDetailsLocked() 2029 dispatchEntry->resolvedAction, motionEntry->actionButton, in startDispatchCycleLocked() 2353 originalMotionEntry->actionButton, in splitMotionEvent() 2491 args->action, args->actionButton, args->flags, args->metaState, args->buttonState, in notifyMotion() 2511 if (!validateMotionEvent(args->action, args->actionButton, in notifyMotion() 2528 event.initialize(args->deviceId, args->source, args->action, args->actionButton, in notifyMotion() [all …]
|
D | InputDispatcher.h | 513 int32_t actionButton; member 528 int32_t action, int32_t actionButton, int32_t flags,
|
D | InputReader.cpp | 2698 int32_t actionButton = BitSet32::valueForBit(released.clearFirstMarkedBit()); in sync() local 2699 buttonState &= ~actionButton; in sync() 2701 AMOTION_EVENT_ACTION_BUTTON_RELEASE, actionButton, 0, in sync() 2719 int32_t actionButton = BitSet32::valueForBit(pressed.clearFirstMarkedBit()); in sync() local 2720 buttonState |= actionButton; in sync() 2722 AMOTION_EVENT_ACTION_BUTTON_PRESS, actionButton, 0, in sync() 4634 int32_t actionButton = BitSet32::valueForBit(releasedButtons.clearFirstMarkedBit()); in dispatchButtonRelease() local 4635 buttonState &= ~actionButton; in dispatchButtonRelease() 4637 AMOTION_EVENT_ACTION_BUTTON_RELEASE, actionButton, in dispatchButtonRelease() 4652 int32_t actionButton = BitSet32::valueForBit(pressedButtons.clearFirstMarkedBit()); in dispatchButtonPress() local [all …]
|
D | InputReader.h | 1868 int32_t action, int32_t actionButton,
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/touch/ |
D | DragAndDropActivity.java | 85 viewHolder.actionButton.setVisibility(mLongPressDragEnabled ? View.GONE : View.VISIBLE); 108 vh.actionButton.setText(R.string.drag); 109 vh.actionButton.setOnTouchListener(new View.OnTouchListener() {
|
D | SwipeToDismissActivity.java | 99 viewHolder.actionButton.setVisibility(mPointerSwipeEnabled ? View.GONE : View.VISIBLE); in onBind() 149 vh.actionButton.setText(R.string.swipe); in onCreateViewHolder() 150 vh.actionButton.setOnTouchListener(new View.OnTouchListener() { in onCreateViewHolder()
|
D | ItemTouchHelperActivity.java | 231 public final Button actionButton; 241 actionButton = (Button) itemView.findViewById(R.id.action_button);
|
/frameworks/native/include/input/ |
D | InputTransport.h | 87 int32_t actionButton; member 236 int32_t actionButton,
|
D | Input.h | 560 int32_t actionButton,
|
/frameworks/native/libs/input/tests/ |
D | StructLayout_test.cpp | 54 CHECK_OFFSET(InputMessage::Body::Motion, actionButton, 28); in TestInputMessageAlignment()
|
D | InputPublisherAndConsumer_test.cpp | 136 const int32_t actionButton = 0; in PublishAndConsumeMotionEvent() local 167 status = mPublisher->publishMotionEvent(seq, deviceId, source, action, actionButton, in PublishAndConsumeMotionEvent()
|
/frameworks/native/libs/input/ |
D | InputTransport.cpp | 290 int32_t actionButton, in publishMotionEvent() argument 311 deviceId, source, action, actionButton, flags, edgeFlags, metaState, buttonState, in publishMotionEvent() 332 msg.body.motion.actionButton = actionButton; in publishMotionEvent() 927 msg->body.motion.actionButton, in initializeMotionEvent()
|
D | Input.cpp | 219 int32_t actionButton, in initialize() argument 235 mActionButton = actionButton; in initialize()
|
/frameworks/base/core/java/android/widget/ |
D | AbsListView.java | 4219 int actionButton = event.getActionButton(); in onGenericMotionEvent() local 4220 if ((actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY in onGenericMotionEvent() 4221 || actionButton == MotionEvent.BUTTON_SECONDARY) in onGenericMotionEvent()
|