Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/domain/interactor/
DBouncerActionButtonInteractorTest.kt105 val actionButton by collectLastValue(underTest.actionButton) in noTelephonyRadio_noButton() constant
106 assertThat(actionButton).isNull() in noTelephonyRadio_noButton()
114 val actionButton by collectLastValue(underTest.actionButton) in noTelecomManager_noButton() constant
115 assertThat(actionButton).isNull() in noTelecomManager_noButton()
122 val actionButton by collectLastValue(underTest.actionButton) in duringCall_returnToCallButton() constant
125 assertThat(actionButton).isNotNull() in duringCall_returnToCallButton()
126 assertThat(actionButton?.label).isEqualTo(MESSAGE_RETURN_TO_CALL) in duringCall_returnToCallButton()
127 assertThat(actionButton?.onClick).isNotNull() in duringCall_returnToCallButton()
128 assertThat(actionButton?.onLongClick).isNull() in duringCall_returnToCallButton()
130 actionButton?.onClick?.invoke() in duringCall_returnToCallButton()
[all …]
/frameworks/base/services/tests/servicestests/res/raw/
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…
5 MotionEvent { action=ACTION_POINTER_DOWN(2), actionButton=0, id[0]=0, x[0]=500.0, y[0]=696.0, toolT…
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…
[all …]
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_…
/frameworks/base/services/tests/servicestests/res/raw-watch/
Da11y_three_finger_swipe_down_gesture.log2 MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=150.0, y[0]=50.0, toolType[0]=TOOL_…
3 MotionEvent { action=ACTION_POINTER_DOWN(1), actionButton=0, id[0]=0, x[0]=150.0, y[0]=50.0, toolTy…
4 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=150.0, y[0]=50.0, toolType[0]=TOOL_…
5 MotionEvent { action=ACTION_POINTER_DOWN(2), actionButton=0, id[0]=0, x[0]=150.0, y[0]=696.0, toolT…
6 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=150.0, y[0]=50.0, toolType[0]=TOOL_…
7 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=150.0, y[0]=60.0, toolType[0]=TOOL_…
8 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=150.0, y[0]=70.0, toolType[0]=TOOL_…
9 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=150.0, y[0]=80.0, toolType[0]=TOOL_…
10 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=150.0, y[0]=90.0, toolType[0]=TOOL_…
11 MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=150.0, y[0]=100.0, toolType[0]=TOOL…
[all …]
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/button/
DActionButtons.kt71 for ((index, actionButton) in actionButtons.withIndex()) { in ActionButtons() method
73 ActionButton(actionButton) in ActionButtons()
79 private fun RowScope.ActionButton(actionButton: ActionButton) { in ActionButton()
81 onClick = actionButton.onClick, in ActionButton()
85 enabled = actionButton.enabled, in ActionButton()
88 interactionSource = remember(actionButton) { MutableInteractionSource() }, in ActionButton()
99 imageVector = actionButton.imageVector, in ActionButton()
110 text = actionButton.text, in ActionButton()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
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()
/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java478 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 …]
DGestureDetector.java846 final int actionButton = ev.getActionButton(); in onGenericMotionEvent() local
850 && (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY in onGenericMotionEvent()
851 || actionButton == MotionEvent.BUTTON_SECONDARY)) { in onGenericMotionEvent()
862 if (mInContextClick && (actionButton == MotionEvent.BUTTON_STYLUS_PRIMARY in onGenericMotionEvent()
863 || actionButton == MotionEvent.BUTTON_SECONDARY)) { in onGenericMotionEvent()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/scaffold/
DSuwScaffold.kt55 actionButton: BottomAppBarButton? = null, in <lambda>()
82 BottomBar(actionButton, dismissButton) in <lambda>()
98 BottomBar(actionButton, dismissButton) in <lambda>()
136 actionButton: BottomAppBarButton?, in BottomBar()
153 actionButton?.apply { in BottomBar()
/frameworks/native/services/inputflinger/
DNotifyArgs.cpp67 ui::LogicalDisplayId displayId, uint32_t policyFlags, int32_t action, int32_t actionButton, in NotifyMotionArgs() argument
80 actionButton(actionButton), in NotifyMotionArgs()
107 actionButton == rhs.actionButton && flags == rhs.flags && metaState == rhs.metaState && in operator ==()
DInputCommonConverter.cpp107 static common::Button getActionButton(int32_t actionButton) { in getActionButton() argument
129 return static_cast<common::Button>(actionButton); in getActionButton()
323 event.actionButton = getActionButton(args.actionButton); in notifyMotionArgsToHalMotionEvent()
351 args.actionButton, args.flags, args.edgeFlags, args.metaState, in toMotionEvent()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/bouncer/ui/viewmodel/
DBouncerViewModelKosmos.kt53 actionButton = bouncerActionButtonInteractor.actionButton, in <lambda>()
/frameworks/native/services/inputflinger/tests/
DNotifyArgs_test.cpp42 int32_t actionButton = AMOTION_EVENT_BUTTON_PRIMARY; in TEST() local
74 action, actionButton, flags, metaState, buttonState, classification, in TEST()
DTestEventMatchers.h749 MATCHER_P(WithActionButton, actionButton, "InputEvent with specified action button") {
750 *result_listener << "expected action button " << actionButton << ", but got "
751 << arg.actionButton;
752 return arg.actionButton == actionButton;
/frameworks/native/services/inputflinger/reader/mapper/gestures/
DGestureConverter.cpp256 uint32_t actionButton = gesturesButtonToMotionEventButton(button); in handleButtonsChange() local
257 newButtonState |= actionButton; in handleButtonsChange()
259 actionButton, newButtonState, in handleButtonsChange()
280 uint32_t actionButton = gesturesButtonToMotionEventButton(button); in handleButtonsChange() local
281 newButtonState &= ~actionButton; in handleButtonsChange()
283 actionButton, newButtonState, /* pointerCount= */ 1, in handleButtonsChange()
623 int32_t actionButton, int32_t buttonState, in makeMotionArgs() argument
634 /* actionButton= */ actionButton, in makeMotionArgs()
/frameworks/native/services/inputflinger/include/
DNotifyArgsBuilders.h68 MotionArgsBuilder& actionButton(int32_t actionButton) { in actionButton() argument
69 mActionButton = actionButton; in actionButton()
DNotifyArgs.h97 int32_t actionButton; member
127 int32_t action, int32_t actionButton, int32_t flags, int32_t metaState,
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/
DBouncerViewModel.kt83 actionButton: Flow<BouncerActionButtonModel?>, in <lambda>()
182 val actionButton: StateFlow<BouncerActionButtonModel?> = in <lambda>() constant
183 actionButton.stateIn( in <lambda>()
446 actionButton = actionButtonInteractor.actionButton, in viewModel()
/frameworks/native/include/input/
DInputEventBuilders.h90 MotionEventBuilder& actionButton(int32_t actionButton) { in actionButton() argument
91 mActionButton = actionButton; in actionButton()
/frameworks/native/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp336 int32_t actionButton = BitSet32::valueForBit(released.clearFirstMarkedBit()); in sync() local
337 buttonState &= ~actionButton; in sync()
340 AMOTION_EVENT_ACTION_BUTTON_RELEASE, actionButton, 0, in sync()
360 int32_t actionButton = BitSet32::valueForBit(pressed.clearFirstMarkedBit()); in sync() local
361 buttonState |= actionButton; in sync()
364 AMOTION_EVENT_ACTION_BUTTON_PRESS, actionButton, 0, in sync()
DCapturedTouchpadEventConverter.h56 int32_t actionButton = 0, int32_t flags = 0);
/frameworks/native/services/inputflinger/dispatcher/
DEntry.cpp191 int32_t actionButton, int32_t flags, int32_t metaState, in MotionEntry() argument
202 actionButton(actionButton), in MotionEntry()
231 actionButton, flags, metaState, buttonState, in getDescription()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/binder/
DScreenshotShelfViewBinder.kt208 val actionButton = in <lambda>() constant
210 actionsContainer.addView(actionButton, index) in <lambda>()
211 buttonViewBinder.bind(actionButton, action) in <lambda>()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/widget/scaffold/
DSuwScaffoldTest.kt66 actionButton = BottomAppBarButton(TEXT) {}, in suwScaffold_actionButtonDisplayed()
/frameworks/native/services/inputflinger/dispatcher/trace/
DInputTracingBackendInterface.h75 int32_t actionButton; member

12