/aosp12/frameworks/base/services/core/java/com/android/server/wm/ |
H A 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()
|
H A D | TaskPositioner.java | 128 final float newX = motionEvent.getRawX(); in onInputEvent() local 134 Slog.w(TAG, "ACTION_DOWN @ {" + newX + ", " + newY + "}"); in onInputEvent() 140 Slog.w(TAG, "ACTION_MOVE @ {" + newX + ", " + newY + "}"); in onInputEvent() 143 mDragEnded = notifyMoveLocked(newX, newY); in onInputEvent() 157 Slog.w(TAG, "ACTION_UP @ {" + newX + ", " + newY + "}"); in onInputEvent() 164 Slog.w(TAG, "ACTION_CANCEL @ {" + newX + ", " + newY + "}"); in onInputEvent()
|
H A D | DragDropController.java | 292 void handleMotionEvent(boolean keepHandling, float newX, float newY) { in handleMotionEvent() argument 301 mDragState.updateDragSurfaceLocked(keepHandling, newX, newY); in handleMotionEvent()
|
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | MoveScreensaverRunnable.kt | 88 val newX = getRandomPoint(smallestDim - mSaverView.width.toFloat()) regex 91 mSaverView.x = newX 99 val newX = getRandomPoint(mContentView.width - mSaverView.width.toFloat()) regex 117 mSaverView.x = newX
|
/aosp12/packages/apps/DevCamera/src/com/android/devcamera/ |
H A D | PreviewOverlay.java | 211 float newX = (1 - r1.centerY()) * previewW; in onDraw() local 215 … RectF newR1 = new RectF(newX - dX * 0.5f, newY - dY * 0.5f, newX + dX * 0.5f, newY + dY * 0.5f); in onDraw() 228 newX = (1 - p[j].y) * previewW; in onDraw() 229 canvas.drawCircle(newX, newY, dP, mPaint); in onDraw()
|
/aosp12/frameworks/native/services/inputflinger/ |
H A D | InputReaderBase.cpp | 164 float newX, newY; in applyTo() local 165 newX = x * x_scale + y * x_ymix + x_offset; in applyTo() 168 x = newX; in applyTo()
|
/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
H A D | GestureBot.java | 74 int newX = startCoord.centerX() + (int) (diffX / TRAVELING_STEPS * i); in gestureSelectFiles() local 76 points[i + LONGPRESS_STEPS] = new Point(newX, newY); in gestureSelectFiles()
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | SlotView.java | 254 int newX = mScrollX; in render() local 256 if (oldX > 0 && newX == 0 || oldX < limit && newX == limit) { in render() 258 if (newX == limit) v = -v; in render()
|
/aosp12/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | Scroller.java | 480 public void setFinalX(int newX) { in setFinalX() argument 481 mFinalX = newX; in setFinalX()
|
H A D | OverScroller.java | 264 public void setFinalX(int newX) { in setFinalX() argument 265 mScrollerX.setFinalPosition(newX); in setFinalX()
|
/aosp12/frameworks/base/core/java/android/view/ |
H A D | IWindow.aidl | 99 void moved(int newX, int newY); in moved() argument
|
H A D | ViewRootImpl.java | 8465 public void dispatchMoved(int newX, int newY) { in dispatchMoved() argument 8466 if (DEBUG_LAYOUT) Log.v(mTag, "Window moved " + this + ": newX=" + newX + " newY=" + newY); in dispatchMoved() 8468 PointF point = new PointF(newX, newY); in dispatchMoved() 8470 newX = (int) (point.x + 0.5); in dispatchMoved() 8473 Message msg = mHandler.obtainMessage(MSG_WINDOW_MOVED, newX, newY); in dispatchMoved() 9846 public void moved(int newX, int newY) { in moved() argument 9849 viewAncestor.dispatchMoved(newX, newY); in moved()
|
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | TestIWindow.java | 65 public void moved(int newX, int newY) throws RemoteException { in moved() argument
|
/aosp12/frameworks/base/core/java/android/widget/ |
H A D | Scroller.java | 541 public void setFinalX(int newX) { in setFinalX() argument 542 mFinalX = newX; in setFinalX()
|
H A D | OverScroller.java | 266 public void setFinalX(int newX) { in setFinalX() argument 267 mScrollerX.setFinalPosition(newX); in setFinalX()
|
H A D | StackView.java | 724 float newX = ev.getX(pointerIndex); 726 float deltaX = newX - mInitialX;
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
H A D | PipAccessibilityInteractionConnection.java | 143 int newX = arguments.getInt( in performAccessibilityAction() local 149 mTmpBounds.offsetTo(newX, newY); in performAccessibilityAction()
|
/aosp12/frameworks/base/core/java/com/android/internal/view/ |
H A D | BaseIWindow.java | 86 public void moved(int newX, int newY) { in moved() argument
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PanelViewController.java | 361 protected void startExpandMotion(float newX, float newY, boolean startTracking, in startExpandMotion() argument 368 mInitialTouchX = newX; in startExpandMotion() 1321 final float newX = event.getX(newIndex); in onTouch() local 1324 startExpandMotion(newX, newY, true /* startTracking */, mExpandedHeight); in onTouch()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | AppWidgetResizeFrame.java | 551 int newX = sTmpRect.left; 581 lp.x = newX; 595 PropertyValuesHolder.ofInt(LAYOUT_X, lp.x, newX),
|
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/ |
H A 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()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
H A D | AccessibilityFloatingMenuView.java | 705 final int newX = (int) (((1 - value) * mCurrentLayoutParams.x) + (value * endX)); in onDragAnimationUpdate() local 708 mCurrentLayoutParams.x = newX; in onDragAnimationUpdate()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
H A D | SystemWindows.java | 354 public void moved(int newX, int newY) {} in moved() argument
|
/aosp12/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/ |
H A D | FlingUpDownMethod.java | 117 private static void moveTowardX(View view, float newX) { in moveTowardX() argument 118 view.setTranslationX(MathUtil.lerp(view.getTranslationX(), newX, SWIPE_LERP_PROGRESS_FACTOR)); in moveTowardX() local
|
/aosp12/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperService.java | 389 public void moved(int newX, int newY) { 390 Message msg = mCaller.obtainMessageII(MSG_WINDOW_MOVED, newX, newY);
|