/frameworks/base/core/tests/coretests/src/android/view/ |
D | VelocityTest.java | 54 drag(vt, 100, 200, 100, 200, 10, t, 300); in testClear() 69 drag(vt, 100, 200, 100, 200, 15, t, 400, new AccelerateInterpolator()); in testDragAcceleration() 80 drag(vt, 100, 200, 100, 200, 15, t, 400, new DecelerateInterpolator()); in testDragDeceleration() 93 drag(vt, 100, 200, 200, 200, 15, t, 400); in testDragLinearHorizontal() 106 drag(vt, 200, 200, 100, 200, 15, t, 400); in testDragLinearVertical() 123 drag(vt, 100, 200, 100, 200, 2, t, 100); in testDragWith2Points() 139 drag(vt, 100, 200, 100, 200, 10, t, 400); // 10 steps over 400ms in testStabilityInNbPoints() 144 drag(vt, 100, 200, 100, 200, 20, t, 400); // 20 steps over 400ms in testStabilityInNbPoints() 161 drag(vt, 100, 200, 100, 200, 10, t, 400); in testStabilityInTime() 166 drag(vt, 100, 200, 100, 200, 10, t + 3600*1000, 400); // on hour later in testStabilityInTime() [all …]
|
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/ |
D | MultiPointerDraggable.kt | 260 val drag = in detectDragGestures() constant 274 val drag = in detectDragGestures() constant 293 if (drag != null && overSlop == 0f) { in detectDragGestures() 294 val delta = (drag.position - consumablePointer.position).toFloat() in detectDragGestures() 298 drag in detectDragGestures() 301 if (drag != null) { in detectDragGestures() 310 val controller = onDragStart(drag.position, overSlop, pressed.size) in detectDragGestures() 314 onDrag(controller, drag, overSlop) in detectDragGestures() 317 drag( in detectDragGestures() 318 initialPointerId = drag.id, in detectDragGestures() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/brightness/ui/viewmodel/ |
D | BrightnessSliderViewModel.kt | 65 suspend fun onDrag(drag: Drag) { in onDrag() 66 when (drag) { in onDrag() 67 is Drag.Dragging -> screenBrightnessInteractor.setTemporaryBrightness(drag.brightness) in onDrag() 68 is Drag.Stopped -> screenBrightnessInteractor.setBrightness(drag.brightness) in onDrag()
|
/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 76 drag(test, x, x, fromY, toY, 4); in dragQuarterScreenDown() 105 drag(test, x, x, fromY, toY, 4); in dragQuarterScreenUp() 255 drag(test, x, x, fromY, toY, stepCount); in dragViewToBottom() 498 drag(test, x, x, fromY, toY, stepCount); in dragViewToTop() 593 drag(test, fromX, fromX + deltaX, fromY, fromY + deltaY, distance); in dragViewBy() 645 drag(test, fromX, toX, fromY, toY, distance); in dragViewTo() 692 drag(test, fromX, toX, fromY, fromY, deltaX); in dragViewToX() 739 drag(test, fromX, fromX, fromY, toY, deltaY); in dragViewToY() 760 public static void drag(ActivityInstrumentationTestCase test, float fromX, float toX, in drag() method in TouchUtils 762 drag((InstrumentationTestCase) test, fromX, toX, fromY, toY, stepCount); in drag() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/brightness/ui/viewmodel/ |
D | BrightnessSliderViewModelTest.kt | 127 val drag = Drag.Dragging(GammaBrightness(newBrightness)) in dragging_temporaryBrightnessSet_currentBrightnessDoesntChange() constant 129 underTest.onDrag(drag) in dragging_temporaryBrightnessSet_currentBrightnessDoesntChange() 145 val drag = Drag.Stopped(GammaBrightness(newBrightness)) in draggingStopped_currentBrightnessChanges() constant 147 underTest.onDrag(drag) in draggingStopped_currentBrightnessChanges()
|
/frameworks/native/libs/input/ |
D | InputTransport.cpp | 167 return sizeof(Header) + body.drag.size(); in size() 306 msg->body.drag.eventId = body.drag.eventId; in getSanitizedCopy() 307 msg->body.drag.x = body.drag.x; in getSanitizedCopy() 308 msg->body.drag.y = body.drag.y; in getSanitizedCopy() 309 msg->body.drag.isExiting = body.drag.isExiting; in getSanitizedCopy() 708 msg.body.drag.eventId = eventId; in publishDragEvent() 709 msg.body.drag.isExiting = isExiting; in publishDragEvent() 710 msg.body.drag.x = x; in publishDragEvent() 711 msg.body.drag.y = y; in publishDragEvent()
|
D | InputConsumer.cpp | 99 event.initialize(msg.body.drag.eventId, msg.body.drag.x, msg.body.drag.y, in initializeDragEvent() 100 msg.body.drag.isExiting); in initializeDragEvent() 914 msg.body.drag.x, msg.body.drag.y, in dump() 915 toString(msg.body.drag.isExiting)); in dump()
|
D | InputConsumerNoResampling.cpp | 71 event->initialize(msg.body.drag.eventId, msg.body.drag.x, msg.body.drag.y, in createDragEvent() 72 msg.body.drag.isExiting); in createDragEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | ControlActionCoordinator.kt | 60 fun drag(cvh: ControlViewHolder, isEdge: Boolean) method
|
D | ControlActionCoordinatorImpl.kt | 123 override fun drag(cvh: ControlViewHolder, isEdge: Boolean) { in <lambda>() method in com.android.systemui.controls.ui.ControlActionCoordinatorImpl 133 controlsMetricsLogger.drag(cvh, isLocked) in <lambda>()
|
D | ToggleRangeBehavior.kt | 238 cvh.controlActionCoordinator.drag(cvh, isEdge) in <lambda>()
|
/frameworks/base/tests/FlickerTests/test-apps/app-helpers/src/com/android/server/wm/flicker/helpers/ |
D | DesktopModeAppHelper.kt | 89 device.drag(startX, startY, startX, endY, 100) in <lambda>() 150 device.drag(startX, startY, endX, endY, 100) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ExpandHelper.java | 215 float drag = mSGD.getFocusY() - mInitialTouchFocusY; in updateExpansion() local 216 drag *= USE_DRAG ? 1f : 0f; in updateExpansion() 217 drag *= mGravity == Gravity.BOTTOM ? -1f : 1f; in updateExpansion() 218 float pull = Math.abs(drag) + Math.abs(span) + 1f; in updateExpansion() 219 float hand = drag * Math.abs(drag) / pull + span * Math.abs(span) / pull; in updateExpansion()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ |
D | ControlsMetricsLogger.kt | 40 fun drag(cvh: ControlViewHolder, isLocked: Boolean) { in drag() method
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/ |
D | ControlActionCoordinatorImplTest.kt | 199 coordinator.drag(cvh, true) in drag_isEdge_performsSegmentTickHaptics() 209 coordinator.drag(cvh, false) in drag_isNotEdge_performsFrequentTickHaptics()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/bubble/src/com/android/wm/shell/flicker/bubble/ |
D | DragToDismissBubbleScreenTest.kt | 67 showBubble?.run { drag(dist, 1000) } ?: error("Show bubble not found") in <lambda>()
|
/frameworks/base/core/proto/android/os/ |
D | statsdata.proto | 30 // in AOSP because it would drag with it atoms.proto, which is enormous and awkward.
|
/frameworks/libs/native_bridge_support/android_api/vdso/ |
D | Android.bp | 42 // Make sure we do not drag any dependencies for vdso library (-Wl,--exclude-libs,ALL)
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | InteractionController.java | 436 public boolean swipe(int downX, int downY, int upX, int upY, int steps, boolean drag) { 451 if (drag) 463 if (drag)
|
D | UiDevice.java | 451 public boolean drag(int startX, int startY, int endX, int endY, int steps) { in drag() method in UiDevice
|
/frameworks/base/packages/SystemUI/aconfig/ |
D | accessibility.aconfig | 40 description: "adds a second drag button to allow the user edit the shortcut."
|
/frameworks/base/core/java/android/window/flags/ |
D | lse_desktop_experience.aconfig | 43 description: "Enables edge drag resizing for all input sources"
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/utils/ |
D | SplitScreenUtils.kt | 315 dividerBar.drag(Point(displayBounds.width() * 1 / 3, displayBounds.height() * 2 / 3), 200) in <lambda>() 333 dividerBar.drag( in <lambda>()
|
/frameworks/native/include/input/ |
D | InputTransport.h | 202 } drag; member
|
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/material/ |
D | Swipeable.kt | 212 draggableState.drag { in snapInternalToOffset() 218 draggableState.drag { in animateInternalToOffset()
|