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

/packages/apps/Launcher2/src/com/android/launcher2/
H A DAppWidgetResizeFrame.java413 int newY = mWidgetView.getTop() - mBackgroundPadding + yOffset + mWidgetPaddingTop;
418 if (newY < 0) {
420 mTopTouchRegionAdjustment = -newY;
424 if (newY + newHeight > mDragLayer.getHeight()) {
426 mBottomTouchRegionAdjustment = -(newY + newHeight - mDragLayer.getHeight());
435 lp.y = newY;
446 PropertyValuesHolder y = PropertyValuesHolder.ofInt("y", lp.y, newY);
H A DCellLayout.java1130 final int newY = lp.y;
1136 if (oldX == newX && oldY == newY) {
1150 lp.y = (int) ((1 - r) * oldY + r * newY);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DAppWidgetResizeFrame.java409 int newY = mTmpPt[1] - mBackgroundPadding + mWidgetPaddingTop;
414 if (newY < 0) {
416 mTopTouchRegionAdjustment = -newY;
420 if (newY + newHeight > mDragLayer.getHeight()) {
422 mBottomTouchRegionAdjustment = -(newY + newHeight - mDragLayer.getHeight());
431 lp.y = newY;
442 PropertyValuesHolder y = PropertyValuesHolder.ofInt("y", lp.y, newY);
H A DLauncherScroller.java542 * @param newY The new Y offset as an absolute distance from the origin.
546 public void setFinalY(int newY) { argument
547 mFinalY = newY;
H A DCellLayout.java1008 final int newY = lp.y;
1014 if (oldX == newX && oldY == newY) {
1028 lp.y = (int) ((1 - r) * oldY + r * newY);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DScroller.java490 * @param newY The new Y offset as an absolute distance from the origin.
494 public void setFinalY(int newY) { argument
495 mFinalY = newY;
H A DOverScroller.java274 * @param newY The new Y offset as an absolute distance from the origin.
285 public void setFinalY(int newY) { argument
286 mScrollerY.setFinalPosition(newY);
/packages/apps/Calendar/src/com/android/calendar/month/
H A DMonthWeekEventsView.java749 int newY = drawEvent(canvas, event, xSquare, yTest, rightEdge, iter.hasNext(),
751 if (newY == yTest) {
755 yTest = newY;
762 int newY = drawEvent(canvas, event, xSquare, ySquare, rightEdge, iter.hasNext(),
764 if (newY == ySquare) {
768 ySquare = newY;
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
H A DOverScrollerSGV.java276 * @param newY The new Y offset as an absolute distance from the origin.
287 public void setFinalY(int newY) { argument
288 mScrollerY.setFinalPosition(newY);
/packages/apps/Dialer/src/com/android/dialer/widget/
H A DViewDragHelper.java524 final int newY = mScroller.getCurrY();
525 mCallback.onViewPositionChanged(mCapturedView, newX, newY, newX - oldX, newY - oldY);

Completed in 190 milliseconds