Home
last modified time | relevance | path

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

/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/Launcher2/src/com/android/launcher2/
DAppWidgetResizeFrame.java413 int newY = mWidgetView.getTop() - mBackgroundPadding + yOffset + mWidgetPaddingTop; in snapToWidget() local
418 if (newY < 0) { in snapToWidget()
420 mTopTouchRegionAdjustment = -newY; in snapToWidget()
424 if (newY + newHeight > mDragLayer.getHeight()) { in snapToWidget()
426 mBottomTouchRegionAdjustment = -(newY + newHeight - mDragLayer.getHeight()); in snapToWidget()
435 lp.y = newY; in snapToWidget()
446 PropertyValuesHolder y = PropertyValuesHolder.ofInt("y", lp.y, newY); in snapToWidget()
DCellLayout.java1130 final int newY = lp.y; in animateChildToPosition() local
1136 if (oldX == newX && oldY == newY) { in animateChildToPosition()
1150 lp.y = (int) ((1 - r) * oldY + r * newY); in animateChildToPosition()
/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java425 int newY = mTmpPt[1] - mBackgroundPadding + mWidgetPadding.top; in snapToWidget() local
430 if (newY < 0) { in snapToWidget()
432 mTopTouchRegionAdjustment = -newY; in snapToWidget()
436 if (newY + newHeight > mDragLayer.getHeight()) { in snapToWidget()
438 mBottomTouchRegionAdjustment = -(newY + newHeight - mDragLayer.getHeight()); in snapToWidget()
447 lp.y = newY; in snapToWidget()
458 PropertyValuesHolder y = PropertyValuesHolder.ofInt("y", lp.y, newY); in snapToWidget()
DFolderPagedView.java299 int newX, newY, rank; in arrangeChildren() local
317 newY = position / mGridCountX; in arrangeChildren()
319 if (info.cellX != newX || info.cellY != newY || info.rank != rank) { in arrangeChildren()
321 info.cellY = newY; in arrangeChildren()
DLauncherScroller.java545 public void setFinalY(int newY) { in setFinalY() argument
546 mFinalY = newY; in setFinalY()
DCellLayout.java1009 final int newY = lp.y; in animateChildToPosition() local
1015 if (oldX == newX && oldY == newY) { in animateChildToPosition()
1029 lp.y = (int) ((1 - r) * oldY + r * newY); in animateChildToPosition()
/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/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTask.java565 int newX = Integer.MAX_VALUE, newY = Integer.MAX_VALUE;
574 newY = y;
581 if (newX < mTrgX && newY < mTrgY) {
587 if (newY != myY) {
588 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()