Home
last modified time | relevance | path

Searched refs:Drag (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/
DNotificationScrimNestedScrollConnectionTest.kt59 source = NestedScrollSource.Drag, in <lambda>()
74 source = NestedScrollSource.Drag, in <lambda>()
89 source = NestedScrollSource.Drag, in <lambda>()
106 source = NestedScrollSource.Drag, in <lambda>()
119 source = NestedScrollSource.Drag, in <lambda>()
131 source = NestedScrollSource.Drag, in <lambda>()
147 source = NestedScrollSource.Drag in <lambda>()
164 source = NestedScrollSource.Drag in <lambda>()
179 source = NestedScrollSource.Drag in <lambda>()
195 source = NestedScrollSource.Drag in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/nestedscroll/
DPriorityNestedScrollConnectionTest.kt73 source = NestedScrollSource.Drag in <lambda>()
83 scrollConnection.onPreScroll(available = Offset.Zero, source = NestedScrollSource.Drag) in <lambda>()
92 source = NestedScrollSource.Drag in <lambda>()
100 scrollConnection.onPreScroll(available = Offset.Zero, source = NestedScrollSource.Drag) in <lambda>()
118 source = NestedScrollSource.Drag in <lambda>()
133 source = NestedScrollSource.Drag in <lambda>()
144 scrollConnection.onPreScroll(available = offset1, source = NestedScrollSource.Drag) in <lambda>()
148 scrollConnection.onPreScroll(available = offset2, source = NestedScrollSource.Drag) in <lambda>()
158 scrollConnection.onPreScroll(available = Offset.Zero, source = NestedScrollSource.Drag) in <lambda>()
199 scrollConnection.onPreScroll(available = Offset.Zero, source = NestedScrollSource.Drag) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/brightness/ui/viewmodel/
DBrightnessSliderViewModel.kt65 suspend fun onDrag(drag: Drag) { in onDrag()
67 is Drag.Dragging -> screenBrightnessInteractor.setTemporaryBrightness(drag.brightness) in onDrag()
68 is Drag.Stopped -> screenBrightnessInteractor.setBrightness(drag.brightness) in onDrag()
86 sealed interface Drag { interface
88 @JvmInline value class Dragging(override val brightness: GammaBrightness) : Drag
89 @JvmInline value class Stopped(override val brightness: GammaBrightness) : Drag
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewActions.java194 DragAction.Drag.LONG_PRESS, in longPressAndDragOnText()
218 DragAction.Drag.LONG_PRESS, in longPressAndDragHandle()
258 DragAction.Drag.DOUBLE_TAP, in doubleTapAndDragHandle()
296 DragAction.Drag.DOUBLE_TAP, in doubleTapAndDragOnText()
318 DragAction.Drag.MOUSE_DOWN, in mouseDragOnText()
340 DragAction.Drag.MOUSE_DOUBLE_CLICK, in mouseDoubleClickAndDragOnText()
362 DragAction.Drag.MOUSE_LONG_CLICK, in mouseLongClickAndDragOnText()
384 DragAction.Drag.MOUSE_TRIPLE_CLICK, in mouseTripleClickAndDragOnText()
433 DragAction.Drag.TAP, in dragHandle()
454 DragAction.Drag.TAP, in dragOnText()
DDragAction.java60 public enum Drag implements Dragger { enum in DragAction
297 private static final String TAG = Drag.class.getSimpleName();
/frameworks/native/libs/input/tests/
DStructLayout_test.cpp93 CHECK_OFFSET(InputMessage::Body::Drag, eventId, 0); in TestInputMessageAlignment()
94 CHECK_OFFSET(InputMessage::Body::Drag, x, 4); in TestInputMessageAlignment()
95 CHECK_OFFSET(InputMessage::Body::Drag, y, 8); in TestInputMessageAlignment()
96 CHECK_OFFSET(InputMessage::Body::Drag, isExiting, 12); in TestInputMessageAlignment()
97 CHECK_OFFSET(InputMessage::Body::Drag, empty, 13); in TestInputMessageAlignment()
127 static_assert(sizeof(InputMessage::Body::Drag) == 16); in TestBodySize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/brightness/ui/compose/
DBrightnessSlider.kt38 import com.android.systemui.brightness.ui.viewmodel.Drag in <lambda>()
124 onDrag = { coroutineScope.launch { viewModel.onDrag(Drag.Dragging(GammaBrightness(it))) } }, in BrightnessSliderContainer()
125 onStop = { coroutineScope.launch { viewModel.onDrag(Drag.Stopped(GammaBrightness(it))) } }, in BrightnessSliderContainer()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/brightness/ui/viewmodel/
DBrightnessSliderViewModelTest.kt127 val drag = Drag.Dragging(GammaBrightness(newBrightness)) in dragging_temporaryBrightnessSet_currentBrightnessDoesntChange()
145 val drag = Drag.Stopped(GammaBrightness(newBrightness)) in draggingStopped_currentBrightnessChanges()
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DDraggableHandlerTest.kt224 source = NestedScrollSource.Drag, in NestedScrollConnection()
231 source = NestedScrollSource.Drag in NestedScrollConnection()
543 source = NestedScrollSource.Drag in <lambda>()
555 source = NestedScrollSource.Drag in <lambda>()
569 source = NestedScrollSource.Drag in <lambda>()
589 source = NestedScrollSource.Drag in <lambda>()
597 source = NestedScrollSource.Drag in <lambda>()
620 source = NestedScrollSource.Drag in preScrollAfterSceneTransition()
/frameworks/native/include/input/
DInputTransport.h194 struct Drag { struct
201 inline size_t size() const { return sizeof(Drag); } in size() argument
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/material/
DSwipeable.kt843 return if (delta < 0 && source == NestedScrollSource.Drag) { in onPreScroll()
855 return if (source == NestedScrollSource.Drag) { in onPostScroll()
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto2088 // QS -> Edit - Drag a tile out of the active tiles.
2094 // QS -> Edit - Drag a tile into the active tiles.
2100 // QS -> Edit - Drag a tile within the active tiles.