/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/ |
D | DragDetectorTest.kt | 99 val newX = X + SLOP - 1 in testMoveInSlop_touch_passesDownAndUp() constant 101 dragDetector.onMotionEvent(createMotionEvent(MotionEvent.ACTION_MOVE, newX, Y))) in testMoveInSlop_touch_passesDownAndUp() 106 assertTrue(dragDetector.onMotionEvent(createMotionEvent(MotionEvent.ACTION_UP, newX, Y))) in testMoveInSlop_touch_passesDownAndUp() 108 return@argThat it.action == MotionEvent.ACTION_UP && it.x == newX && it.y == Y && in testMoveInSlop_touch_passesDownAndUp() 126 val newX = X + SLOP - 1 in testMoveInSlop_mouse_passesDownMoveAndUp() constant 128 createMotionEvent(MotionEvent.ACTION_MOVE, newX, Y, isTouch = false))) in testMoveInSlop_mouse_passesDownMoveAndUp() 130 return@argThat it.action == MotionEvent.ACTION_MOVE && it.x == newX && it.y == Y && in testMoveInSlop_mouse_passesDownMoveAndUp() 135 createMotionEvent(MotionEvent.ACTION_UP, newX, Y, isTouch = false))) in testMoveInSlop_mouse_passesDownMoveAndUp() 137 return@argThat it.action == MotionEvent.ACTION_UP && it.x == newX && it.y == Y && in testMoveInSlop_mouse_passesDownMoveAndUp() 154 val newX = X + SLOP + 1 in testMoveBeyondSlop_passesDownMoveAndUp() constant [all …]
|
D | DragPositioningCallbackUtilityTest.kt | 100 val newX = STARTING_BOUNDS.right.toFloat() - 5 in <lambda>() constant 102 val delta = DragPositioningCallbackUtility.calculateDelta(newX, newY, startingPoint) in <lambda>() 120 val newX = STARTING_BOUNDS.right.toFloat() - 95 in <lambda>() constant 122 val delta = DragPositioningCallbackUtility.calculateDelta(newX, newY, startingPoint) in <lambda>() 140 val newX = STARTING_BOUNDS.right.toFloat() - 5 in <lambda>() constant 142 val delta = DragPositioningCallbackUtility.calculateDelta(newX, newY, startingPoint) in <lambda>() 160 val newX = STARTING_BOUNDS.right.toFloat() - 80 in <lambda>() constant 162 val delta = DragPositioningCallbackUtility.calculateDelta(newX, newY, startingPoint) in <lambda>() 178 val newX = STARTING_BOUNDS.right.toFloat() - 105 in <lambda>() constant 181 val delta = DragPositioningCallbackUtility.calculateDelta(newX, newY, startingPoint) in <lambda>() [all …]
|
D | FluidResizeTaskPositionerTest.kt | 248 val newX = STARTING_BOUNDS.left.toFloat() + 10 in <lambda>() constant 251 newX, in <lambda>() 255 taskPositioner.onDragPositioningEnd(newX, newY) in <lambda>() 282 val newX = STARTING_BOUNDS.right.toFloat() + 10 in <lambda>() constant 285 newX, in <lambda>() 289 taskPositioner.onDragPositioningEnd(newX, newY) in <lambda>() 316 val newX = STARTING_BOUNDS.right.toFloat() - 5 in <lambda>() constant 319 newX, in <lambda>() 323 taskPositioner.onDragPositioningEnd(newX, newY) in <lambda>() 346 val newX = STARTING_BOUNDS.right.toFloat() - 95 in <lambda>() constant [all …]
|
D | VeiledResizeTaskPositionerTest.kt | 293 val newX = STARTING_BOUNDS.left.toFloat() + 5 in <lambda>() constant 296 newX, in <lambda>() 300 taskPositioner.onDragPositioningEnd(newX, newY) in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DragInputEventReceiver.java | 66 final float newX = motionEvent.getRawX(); in onInputEvent() local 85 Slog.d(TAG_WM, "Button no longer pressed; dropping at " + newX + "," in onInputEvent() 93 Slog.d(TAG_WM, "Got UP on move channel; dropping at " + newX + "," + newY); in onInputEvent() 105 mDragDropController.handleMotionEvent(!mMuteInput /* keepHandling */, newX, newY); in onInputEvent()
|
D | TaskPositioner.java | 126 final float newX = motionEvent.getRawX(); in onInputEvent() local 132 Slog.w(TAG, "ACTION_DOWN @ {" + newX + ", " + newY + "}"); in onInputEvent() 139 Slog.w(TAG, "ACTION_MOVE @ {" + newX + ", " + newY + "}"); in onInputEvent() 142 mDragEnded = notifyMoveLocked(newX, newY); in onInputEvent() 157 Slog.w(TAG, "ACTION_UP @ {" + newX + ", " + newY + "}"); in onInputEvent() 165 Slog.w(TAG, "ACTION_CANCEL @ {" + newX + ", " + newY + "}"); in onInputEvent()
|
D | DragDropController.java | 467 void handleMotionEvent(boolean keepHandling, float newX, float newY) { in handleMotionEvent() argument 476 mDragState.updateDragSurfaceLocked(keepHandling, newX, newY); in handleMotionEvent()
|
/frameworks/native/services/inputflinger/ |
D | InputReaderBase.cpp | 123 float newX, newY; in applyTo() local 124 newX = x * x_scale + y * x_ymix + x_offset; in applyTo() 127 x = newX; in applyTo()
|
/frameworks/base/libs/input/ |
D | TouchSpotController.cpp | 42 void TouchSpotController::Spot::updateSprite(const SpriteIcon* icon, float newX, float newY, in updateSprite() argument 47 sprite->setPosition(newX, newY); in updateSprite() 50 x = newX; in updateSprite()
|
/frameworks/base/core/java/android/view/ |
D | IWindow.aidl | 92 void moved(int newX, int newY); in moved() argument
|
D | ViewRootImpl.java | 9978 public void dispatchMoved(int newX, int newY) { in dispatchMoved() argument 9979 if (DEBUG_LAYOUT) Log.v(mTag, "Window moved " + this + ": newX=" + newX + " newY=" + newY); in dispatchMoved() 9981 PointF point = new PointF(newX, newY); in dispatchMoved() 9983 newX = (int) (point.x + 0.5); in dispatchMoved() 9986 Message msg = mHandler.obtainMessage(MSG_WINDOW_MOVED, newX, newY); in dispatchMoved() 11494 public void moved(int newX, int newY) { in moved() argument 11497 viewAncestor.dispatchMoved(newX, newY); in moved()
|
D | View.java | 17815 final int newX = Math.round((range - extent) in handleScrollBarDragging() local 17817 if (newX != getScrollX()) { in handleScrollBarDragging() 17819 setScrollX(newX); in handleScrollBarDragging()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TestIWindow.java | 60 public void moved(int newX, int newY) throws RemoteException { in moved() argument
|
/frameworks/base/core/java/com/android/internal/view/ |
D | BaseIWindow.java | 81 public void moved(int newX, int newY) { in moved() argument
|
/frameworks/base/core/java/android/widget/ |
D | Scroller.java | 541 public void setFinalX(int newX) { in setFinalX() argument 542 mFinalX = newX; in setFinalX()
|
D | OverScroller.java | 266 public void setFinalX(int newX) { in setFinalX() argument 267 mScrollerX.setFinalPosition(newX); in setFinalX()
|
D | StackView.java | 724 float newX = ev.getX(pointerIndex); 726 float deltaX = newX - mInitialX;
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipAccessibilityInteractionConnection.java | 145 int newX = arguments.getInt( in performAccessibilityAction() local 151 mTmpBounds.offsetTo(newX, newY); in performAccessibilityAction()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | HeadsUpTouchHelper.java | 207 void startExpand(float newX, float newY, boolean startTracking, float expandedHeight);
|
/frameworks/base/graphics/java/android/graphics/ |
D | Matrix44.java | 426 float newX = x * mBackingArray[0] + y * mBackingArray[1] in translate() local 435 mBackingArray[3] = newX; in translate()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | EditorTouchStateTest.java | 278 float newX = event1.getX() + touchSlop + 1; in testUpdate_drag() local 281 MotionEvent event3 = moveEvent(event3Time, event3Time, newX, newY); in testUpdate_drag()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | SystemWindows.java | 365 public void moved(int newX, int newY) {} in moved() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | QuickSettingsControllerImpl.java | 1727 final float newX = event.getX(newIndex); in onTouch() local 1731 mInitialTouchX = newX; in onTouch()
|
D | NotificationPanelViewController.java | 3801 private void startExpandMotion(float newX, float newY, boolean startTracking, 3809 mInitialExpandX = newX; 5257 final float newX = event.getX(newIndex); 5260 startExpandMotion(newX, newY, true /* startTracking */, mExpandedHeight);
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 485 public void moved(int newX, int newY) { 486 Message msg = mCaller.obtainMessageII(MSG_WINDOW_MOVED, newX, newY);
|