/aosp12/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DragInputEventReceiver.java | 67 final float newY = motionEvent.getRawY(); in onInputEvent() local 86 + newY); 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 | 129 final float newY = motionEvent.getRawY(); 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 | 89 val newY = getRandomPoint(smallestDim - mSaverView.height.toFloat()) regex 92 mSaverView.y = newY 100 val newY = getRandomPoint(mContentView.height - mSaverView.height.toFloat()) regex 118 mSaverView.y = newY
|
/aosp12/packages/apps/DevCamera/src/com/android/devcamera/ |
H A D | PreviewOverlay.java | 210 float newY = r1.centerX() * previewH; 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() 227 newY = p[j].x * previewH; 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 166 newY = x * y_xmix + y * y_scale + y_offset; in applyTo() 169 y = newY; in applyTo()
|
/aosp12/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/ |
H A D | FlingUpDownTouchHandler.java | 262 float newY = event.getY(newIndex); in onTouch() local 264 startMotion(newY, true, currentProgress); in onTouch() 456 private void startMotion(float newY, boolean startTracking, float startProgress) { in startMotion() argument 457 initialTouchY = newY; in startMotion()
|
H A D | FlingUpDownMethod.java | 113 private static void moveTowardY(View view, float newY) { in moveTowardY() argument 114 view.setTranslationY(MathUtil.lerp(view.getTranslationY(), newY, SWIPE_LERP_PROGRESS_FACTOR)); in moveTowardY() local
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | AppWidgetResizeFrame.java | 552 int newY = sTmpRect.top; 557 if (newY < 0) { 559 mTopTouchRegionAdjustment = -newY; 563 if (newY + newHeight > mDragLayer.getHeight()) { 565 mBottomTouchRegionAdjustment = -(newY + newHeight - mDragLayer.getHeight()); 582 lp.y = newY; 596 PropertyValuesHolder.ofInt(LAYOUT_Y, lp.y, newY));
|
/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
H A D | GestureBot.java | 75 int newY = startCoord.centerY() + (int) (diffY / TRAVELING_STEPS * i); in gestureSelectFiles() local 76 points[i + LONGPRESS_STEPS] = new Point(newX, newY); in gestureSelectFiles()
|
/aosp12/packages/apps/Calendar/src/com/android/calendar/month/ |
H A D | MonthWeekEventsView.java | 749 int newY = drawEvent(canvas, event, xSquare, yTest, rightEdge, iter.hasNext(), in drawEvents() local 751 if (newY == yTest) { in drawEvents() 755 yTest = newY; in drawEvents() 762 int newY = drawEvent(canvas, event, xSquare, ySquare, rightEdge, iter.hasNext(), in drawEvents() local 764 if (newY == ySquare) { in drawEvents() 768 ySquare = newY; in drawEvents()
|
/aosp12/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | Scroller.java | 493 public void setFinalY(int newY) { in setFinalY() argument 494 mFinalY = newY; in setFinalY()
|
H A D | OverScroller.java | 282 public void setFinalY(int newY) { in setFinalY() argument 283 mScrollerY.setFinalPosition(newY); in setFinalY()
|
/aosp12/frameworks/base/core/java/android/view/ |
H A D | IWindow.aidl | 99 void moved(int newX, int newY); in moved() argument
|
/aosp12/frameworks/base/core/java/android/widget/ |
H A D | StackView.java | 640 float newY = ev.getY(pointerIndex); in onInterceptTouchEvent() local 641 float deltaY = newY - mInitialY; in onInterceptTouchEvent() 723 float newY = ev.getY(pointerIndex); 725 float deltaY = newY - mInitialY; 815 float newY = ev.getY(pointerIndex); 816 int deltaY = (int) (newY - mInitialY);
|
H A D | Scroller.java | 554 public void setFinalY(int newY) { in setFinalY() argument 555 mFinalY = newY; in setFinalY()
|
H A D | OverScroller.java | 279 public void setFinalY(int newY) { in setFinalY() argument 280 mScrollerY.setFinalPosition(newY); in setFinalY()
|
/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/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
H A D | PipAccessibilityInteractionConnection.java | 145 int newY = 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 367 mInitialTouchY = newY; in startExpandMotion() 1320 final float newY = event.getY(newIndex); in onTouch() local 1324 startExpandMotion(newX, newY, true /* startTracking */, mExpandedHeight); in onTouch()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | EditorTouchStateTest.java | 279 float newY = event1.getY(); 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 | 706 final int newY = (int) (((1 - value) * mCurrentLayoutParams.y) + (value * endY)); in onDragAnimationUpdate() local 709 mCurrentLayoutParams.y = newY; 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/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);
|