Home
last modified time | relevance | path

Searched refs:newY (Results 1 – 25 of 30) sorted by relevance

12

/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DDragInputEventReceiver.java67 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 DTaskPositioner.java129 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 DDragDropController.java292 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 DMoveScreensaverRunnable.kt89 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 DPreviewOverlay.java210 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 DInputReaderBase.cpp164 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 DFlingUpDownTouchHandler.java262 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 DFlingUpDownMethod.java113 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 DAppWidgetResizeFrame.java552 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 DGestureBot.java75 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 DMonthWeekEventsView.java749 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 DScroller.java493 public void setFinalY(int newY) { in setFinalY() argument
494 mFinalY = newY; in setFinalY()
H A DOverScroller.java282 public void setFinalY(int newY) { in setFinalY() argument
283 mScrollerY.setFinalPosition(newY); in setFinalY()
/aosp12/frameworks/base/core/java/android/view/
H A DIWindow.aidl99 void moved(int newX, int newY); in moved() argument
/aosp12/frameworks/base/core/java/android/widget/
H A DStackView.java640 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 DScroller.java554 public void setFinalY(int newY) { in setFinalY() argument
555 mFinalY = newY; in setFinalY()
H A DOverScroller.java279 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 DTestIWindow.java65 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 DPipAccessibilityInteractionConnection.java145 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 DBaseIWindow.java86 public void moved(int newX, int newY) { in moved() argument
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPanelViewController.java361 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 DEditorTouchStateTest.java279 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 DAccessibilityFloatingMenuView.java706 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 DSystemWindows.java354 public void moved(int newX, int newY) {} in moved() argument
/aosp12/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java389 public void moved(int newX, int newY) {
390 Message msg = mCaller.obtainMessageII(MSG_WINDOW_MOVED, newX, newY);

12