Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/
DMoveScreensaverRunnable.java109 final float newY = getRandomPoint(smallestDim - mSaverView.getHeight()); in run() local
112 mSaverView.setY(newY); in run()
120 final float newY = getRandomPoint(mContentView.getHeight() - mSaverView.getHeight()); in run() local
139 mSaverView.setY(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/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java426 int newY = sTmpRect.top; in snapToWidget() local
431 if (newY < 0) { in snapToWidget()
433 mTopTouchRegionAdjustment = -newY; in snapToWidget()
437 if (newY + newHeight > mDragLayer.getHeight()) { in snapToWidget()
439 mBottomTouchRegionAdjustment = -(newY + newHeight - mDragLayer.getHeight()); in snapToWidget()
449 lp.y = newY; in snapToWidget()
459 PropertyValuesHolder.ofInt(LAYOUT_Y, lp.y, newY)); in snapToWidget()
DCellLayout.java895 final int newY = lp.y; in animateChildToPosition() local
905 final float finalPreviewOffsetY = newY - oldY; in animateChildToPosition()
/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/Calendar/src/com/android/calendar/month/
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()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
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()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTask.java554 int newX = Integer.MAX_VALUE, newY = Integer.MAX_VALUE;
564 newY = y;
571 if (newX < mTrgX && newY < mTrgY) {
577 if (newY != myY) {
578 me.cellY = newY;
/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()