Home
last modified time | relevance | path

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

12

/aosp12/frameworks/base/services/tests/servicestests/res/raw/
H A Da11y_three_finger_swipe_down_gesture.log2 MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=500.0, y[0]=696.0, toolType[0]=TOOL…
3 MotionEvent { action=ACTION_POINTER_DOWN(1), actionButton=0, id[0]=0, x[0]=500.0, y[0]=696.0, toolT…
4 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=500.0, y[0]=696.0, toolType[0]=TOOL…
6 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=500.0, y[0]=696.0, toolType[0]=TOOL…
7 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=503.0, y[0]=699.0, toolType[0]=TOOL…
8 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=521.0, y[0]=728.0, toolType[0]=TOOL…
9 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=535.0, y[0]=765.0, toolType[0]=TOOL…
10 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=545.0, y[0]=795.0, toolType[0]=TOOL…
11 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=555.0, y[0]=832.0, toolType[0]=TOOL…
28 MotionEvent { action=ACTION_POINTER_UP(0), actionButton=0, id[0]=1, x[0]=826.0, y[0]=1493.0, toolTy…
[all …]
H A Da11y_touch_explore_gesture.log2 MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=825.0, y[0]=2028.0, toolType[0]=TOO…
3 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=825.0, y[0]=2028.0, toolType[0]=TOO…
4 MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=825.0, y[0]=2028.0, toolType[0]=TOOL_…
/aosp12/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A 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()
/aosp12/frameworks/base/core/java/android/view/
H A DInputEventConsistencyVerifier.java478 final int actionButton = event.getActionButton(); in onGenericMotionEvent() local
501 if ((mButtonsPressed & actionButton) != 0) { 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()
535 mButtonsPressed &= ~actionButton; in onGenericMotionEvent()
540 if (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY && in onGenericMotionEvent()
543 } else if (actionButton == MotionEvent.BUTTON_STYLUS_SECONDARY && in onGenericMotionEvent()
634 final int actionButton = event.getActionButton(); in ensureActionButtonIsNonZeroForThisAction() local
[all …]
H A DGestureDetector.java808 final int actionButton = ev.getActionButton(); in onGenericMotionEvent() local
812 && (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY in onGenericMotionEvent()
813 || actionButton == MotionEvent.BUTTON_SECONDARY)) { in onGenericMotionEvent()
824 if (mInContextClick && (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY in onGenericMotionEvent()
825 || actionButton == MotionEvent.BUTTON_SECONDARY)) { in onGenericMotionEvent()
/aosp12/frameworks/native/services/inputflinger/
H A DInputListener.cpp100 int32_t displayId, uint32_t policyFlags, int32_t action, int32_t actionButton, in NotifyMotionArgs() argument
112 actionButton(actionButton), in NotifyMotionArgs()
139 actionButton(other.actionButton), in NotifyMotionArgs()
167 actionButton == rhs.actionButton && flags == rhs.flags && metaState == rhs.metaState && in operator ==()
H A DInputClassifierConverter.cpp88 static common::V1_0::Button getActionButton(int32_t actionButton) { in getActionButton() argument
105 return static_cast<common::V1_0::Button>(actionButton); in getActionButton()
364 event.actionButton = getActionButton(args.actionButton); in notifyMotionArgsToHalMotionEvent()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
H A DEditorCurves.java64 public void setUtilityPanelUI(View actionButton, View editControl) { in setUtilityPanelUI() argument
65 super.setUtilityPanelUI(actionButton,editControl); in setUtilityPanelUI()
H A DEditor.java94 public void setUpEditorUI(View actionButton, View editControl, in setUpEditorUI() argument
100 setUtilityPanelUI(actionButton, editControl); in setUpEditorUI()
111 public void setUtilityPanelUI(View actionButton, View editControl) { in setUtilityPanelUI() argument
H A DEditorCrop.java148 public void setUtilityPanelUI(View actionButton, View editControl) { in setUtilityPanelUI() argument
149 super.setUtilityPanelUI(actionButton,editControl); in setUtilityPanelUI()
H A DEditorColorBorder.java188 public void setUtilityPanelUI(View actionButton, View editControl) { in setUtilityPanelUI() argument
190 super.setUtilityPanelUI(actionButton, editControl); in setUtilityPanelUI()
H A DParametricEditor.java167 public void setUtilityPanelUI(View actionButton, View editControl) { in setUtilityPanelUI() argument
168 mActionButton = actionButton; in setUtilityPanelUI()
H A DEditorDraw.java244 public void setUtilityPanelUI(View actionButton, View editControl) { in setUtilityPanelUI() argument
246 super.setUtilityPanelUI(actionButton, editControl); in setUtilityPanelUI()
/aosp12/frameworks/native/services/inputflinger/reader/mapper/
H A DCursorInputMapper.cpp417 int32_t actionButton = BitSet32::valueForBit(released.clearFirstMarkedBit()); in sync() local
418 buttonState &= ~actionButton; in sync()
421 AMOTION_EVENT_ACTION_BUTTON_RELEASE, actionButton, 0, in sync()
442 int32_t actionButton = BitSet32::valueForBit(pressed.clearFirstMarkedBit()); in sync() local
443 buttonState |= actionButton; in sync()
446 AMOTION_EVENT_ACTION_BUTTON_PRESS, actionButton, 0, in sync()
H A DTouchInputMapper.cpp2069 int32_t actionButton = BitSet32::valueForBit(releasedButtons.clearFirstMarkedBit()); in dispatchButtonRelease() local
2070 buttonState &= ~actionButton; in dispatchButtonRelease()
2072 actionButton, 0, metaState, buttonState, 0, in dispatchButtonRelease()
2086 int32_t actionButton = BitSet32::valueForBit(pressedButtons.clearFirstMarkedBit()); in dispatchButtonPress() local
2087 buttonState |= actionButton; in dispatchButtonPress()
2089 actionButton, 0, metaState, buttonState, 0, in dispatchButtonPress()
3631 uint32_t source, int32_t action, int32_t actionButton, in dispatchMotion() argument
3685 policyFlags, action, actionButton, flags, metaState, buttonState, in dispatchMotion()
/aosp12/frameworks/native/services/inputflinger/dispatcher/
H A DEntry.cpp198 int32_t actionButton, int32_t flags, int32_t metaState, in MotionEntry() argument
209 actionButton(actionButton), in MotionEntry()
244 MotionEvent::actionToString(action).c_str(), actionButton, flags, metaState, in getDescription()
H A DEntry.h164 int32_t actionButton; member
180 uint32_t policyFlags, int32_t action, int32_t actionButton, int32_t flags,
H A DInputDispatcher.cpp177 static bool isValidMotionAction(int32_t action, int32_t actionButton, int32_t pointerCount) { in isValidMotionAction() argument
196 return actionButton != 0; in isValidMotionAction()
206 static bool validateMotionEvent(int32_t action, int32_t actionButton, size_t pointerCount, in validateMotionEvent() argument
208 if (!isValidMotionAction(action, actionButton, pointerCount)) { in validateMotionEvent()
380 motionEntry.action, motionEntry.actionButton, in createDispatchEntry()
1675 entry.action, entry.actionButton, entry.flags, entry.metaState, entry.buttonState, in logOutboundMotionDetails()
3197 motionEntry.actionButton, in startDispatchCycleLocked()
3709 originalMotionEntry.actionButton, in splitMotionEvent()
3891 if (!validateMotionEvent(args->action, args->actionButton, args->pointerCount, in notifyMotion()
4122 int32_t actionButton = motionEvent.getActionButton(); in injectInputEvent() local
[all …]
/aosp12/frameworks/native/services/inputflinger/include/
H A DInputListener.h102 int32_t actionButton; member
132 int32_t actionButton, int32_t flags, int32_t metaState, int32_t buttonState,
/aosp12/hardware/interfaces/input/classifier/1.0/vts/functional/
H A DVtsHalInputClassifierV1_0TargetTest.cpp46 event.actionButton = Button::NONE; in getSimpleMotionEvent()
/aosp12/frameworks/native/libs/input/
H A DInputTransport.cpp216 msg->body.motion.actionButton = body.motion.actionButton; in getSanitizedCopy()
535 std::array<uint8_t, 32> hmac, int32_t action, int32_t actionButton, int32_t flags, in publishMotionEvent() argument
557 mChannel->getName().c_str(), seq, deviceId, source, displayId, action, actionButton, in publishMotionEvent()
583 msg.body.motion.actionButton = actionButton; in publishMotionEvent()
1363 msg->body.motion.actionButton, msg->body.motion.flags, in initializeMotionEvent()
H A DInput.cpp425 std::array<uint8_t, 32> hmac, int32_t action, int32_t actionButton, in initialize() argument
436 mActionButton = actionButton; in initialize()
/aosp12/frameworks/native/include/input/
H A DInputTransport.h121 int32_t actionButton; member
354 int32_t actionButton, int32_t flags, int32_t edgeFlags,
/aosp12/frameworks/native/libs/input/tests/
H A DStructLayout_test.cpp59 CHECK_OFFSET(InputMessage::Body::Motion, actionButton, 64); in TestInputMessageAlignment()
H A DInputPublisherAndConsumer_test.cpp152 constexpr int32_t actionButton = 0; in PublishAndConsumeMotionEvent() local
195 actionButton, flags, edgeFlags, metaState, buttonState, in PublishAndConsumeMotionEvent()

12