Home
last modified time | relevance | path

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

/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.java409 int newY = mTmpPt[1] - mBackgroundPadding + mWidgetPaddingTop; in snapToWidget() local
414 if (newY < 0) { in snapToWidget()
416 mTopTouchRegionAdjustment = -newY; in snapToWidget()
420 if (newY + newHeight > mDragLayer.getHeight()) { in snapToWidget()
422 mBottomTouchRegionAdjustment = -(newY + newHeight - mDragLayer.getHeight()); in snapToWidget()
431 lp.y = newY; in snapToWidget()
442 PropertyValuesHolder y = PropertyValuesHolder.ofInt("y", lp.y, newY); in snapToWidget()
DLauncherScroller.java546 public void setFinalY(int newY) { in setFinalY() argument
547 mFinalY = newY; in setFinalY()
DCellLayout.java1122 final int newY = lp.y; in animateChildToPosition() local
1128 if (oldX == newX && oldY == newY) { in animateChildToPosition()
1142 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/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DScroller.java494 public void setFinalY(int newY) { in setFinalY() argument
495 mFinalY = newY; in setFinalY()
DOverScroller.java285 public void setFinalY(int newY) { in setFinalY() argument
286 mScrollerY.setFinalPosition(newY); in setFinalY()
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
DOverScrollerSGV.java287 public void setFinalY(int newY) { in setFinalY() argument
288 mScrollerY.setFinalPosition(newY); in setFinalY()