Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/
DMoveScreensaverRunnable.kt89 val newY = getRandomPoint(smallestDim - mSaverView.height.toFloat()) in run() constant
92 mSaverView.y = newY in run()
100 val newY = getRandomPoint(mContentView.height - mSaverView.height.toFloat()) in run() constant
118 mSaverView.y = newY in run()
/packages/apps/DevCamera/src/com/android/devcamera/
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()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/
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()
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
/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java600 int newY = sTmpRect.top;
605 if (newY < 0) {
607 mTopTouchRegionAdjustment = -newY;
611 if (newY + newHeight > mDragLayer.getHeight()) {
613 mBottomTouchRegionAdjustment = -(newY + newHeight - mDragLayer.getHeight());
630 lp.y = newY;
644 PropertyValuesHolder.ofInt(LAYOUT_Y, lp.y, newY));
DCellLayout.java1091 final int newY = lp.y; in animateChildToPosition() local
1101 final float finalPreviewOffsetY = newY - oldY; in animateChildToPosition()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DGestureBot.java76 int newY = startCoord.centerY() + (int) (diffY / TRAVELING_STEPS * i); in gestureSelectFiles() local
77 points[i + LONGPRESS_STEPS] = new Point(newX, newY); in gestureSelectFiles()
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthWeekEventsView.kt657 val newY = drawEvent(canvas, event, xSquare, yTest, rightEdge, iter.hasNext(), in drawEvents() constant
659 if (newY == yTest) { in drawEvents()
663 yTest = newY in drawEvents()
669 val newY = drawEvent(canvas, event, xSquare, ySquare, rightEdge, iter.hasNext(), in drawEvents() constant
671 if (newY == ySquare) { in drawEvents()
675 ySquare = newY in drawEvents()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DScroller.java493 public void setFinalY(int newY) { in setFinalY() argument
494 mFinalY = newY; in setFinalY()
DOverScroller.java282 public void setFinalY(int newY) { in setFinalY() argument
283 mScrollerY.setFinalPosition(newY); in setFinalY()