Searched refs:newY (Results 1 - 8 of 8) 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.java411 int newY = mTmpPt[1] - mBackgroundPadding + mWidgetPaddingTop;
416 if (newY < 0) {
418 mTopTouchRegionAdjustment = -newY;
422 if (newY + newHeight > mDragLayer.getHeight()) {
424 mBottomTouchRegionAdjustment = -(newY + newHeight - mDragLayer.getHeight());
433 lp.y = newY;
444 PropertyValuesHolder y = PropertyValuesHolder.ofInt("y", lp.y, newY);
H A DCellLayout.java1109 final int newY = lp.y;
1115 if (oldX == newX && oldY == newY) {
1129 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);

Completed in 69 milliseconds