Home
last modified time | relevance | path

Searched refs:newX (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DPagedView.java308 int newX = 0; in updateCurrentPageScroll() local
312 newX = offset - relOffset; in updateCurrentPageScroll()
314 scrollTo(newX, 0); in updateCurrentPageScroll()
315 mScroller.setFinalX(newX); in updateCurrentPageScroll()
595 int newX = getChildOffset(newCurrentPage) - getRelativeChildOffset(newCurrentPage); in scrollToNewPageWithoutMovingPages() local
596 int delta = newX - getScrollX(); in scrollToNewPageWithoutMovingPages()
1524 final int newX = getChildOffset(whichPage) - getRelativeChildOffset(whichPage); in snapToPageWithVelocity() local
1525 int delta = newX - mUnboundedScrollX; in snapToPageWithVelocity()
1565 int newX = getChildOffset(whichPage) - getRelativeChildOffset(whichPage); in snapToPage() local
1567 final int delta = newX - sX; in snapToPage()
DAppWidgetResizeFrame.java412 int newX = mWidgetView.getLeft() - mBackgroundPadding + xOffset + mWidgetPaddingLeft; in snapToWidget() local
434 lp.x = newX; in snapToWidget()
445 PropertyValuesHolder x = PropertyValuesHolder.ofInt("x", lp.x, newX); in snapToWidget()
DSmoothPagedView.java133 final int newX = getChildOffset(whichPage) - getRelativeChildOffset(whichPage); in snapToPageWithVelocity() local
134 final int delta = newX - mUnboundedScrollX; in snapToPageWithVelocity()
DCellLayout.java1129 final int newX = lp.x; in animateChildToPosition() local
1136 if (oldX == newX && oldY == newY) { in animateChildToPosition()
1149 lp.x = (int) ((1 - r) * oldX + r * newX); in animateChildToPosition()
DWorkspace.java2359 final int newX = getChildOffset(screen) - getRelativeChildOffset(screen);
2360 setScrollX(newX);
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java428 int newX = 0; in updateCurrentPageScroll() local
430 newX = getScrollForPage(mCurrentPage); in updateCurrentPageScroll()
432 scrollTo(newX, 0); in updateCurrentPageScroll()
433 mScroller.setFinalX(newX); in updateCurrentPageScroll()
1710 … int newX = getViewportOffsetX() + getChildOffset(i + shiftDelta); in onTouchEvent()
1719 v.setTranslationX(oldX - newX); in onTouchEvent()
2011 final int newX = getScrollForPage(whichPage); in snapToPageWithVelocity() local
2012 int delta = newX - getScrollX(); in snapToPageWithVelocity()
2061 int newX = getScrollForPage(whichPage); in snapToPage() local
2062 final int delta = newX - getScrollX(); in snapToPage()
DFolderPagedView.java299 int newX, newY, rank; in arrangeChildren() local
316 newX = position % mGridCountX; in arrangeChildren()
319 if (info.cellX != newX || info.cellY != newY || info.rank != rank) { in arrangeChildren()
320 info.cellX = newX; in arrangeChildren()
DAppWidgetResizeFrame.java407 int newX = mTmpPt[0] - mBackgroundPadding + mWidgetPadding.left; in snapToWidget() local
429 lp.x = newX; in snapToWidget()
440 PropertyValuesHolder x = PropertyValuesHolder.ofInt("x", lp.x, newX); in snapToWidget()
DLauncherScroller.java532 public void setFinalX(int newX) { in setFinalX() argument
533 mFinalX = newX; in setFinalX()
DCellLayout.java971 final int newX = lp.x; in animateChildToPosition() local
978 if (oldX == newX && oldY == newY) { in animateChildToPosition()
991 lp.x = (int) ((1 - r) * oldX + r * newX); in animateChildToPosition()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DMigrateFromRestoreTask.java489 int newX = Integer.MAX_VALUE, newY = Integer.MAX_VALUE; local
497 newX = x;
505 if (newX < mTrgX && newY < mTrgY) {
507 if (newX != myX) {
508 me.cellX = newX;
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java254 int newX = mScrollX; in render() local
256 if (oldX > 0 && newX == 0 || oldX < limit && newX == limit) { in render()
258 if (newX == limit) v = -v; in render()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DScroller.java480 public void setFinalX(int newX) { in setFinalX() argument
481 mFinalX = newX; in setFinalX()
DOverScroller.java264 public void setFinalX(int newX) { in setFinalX() argument
265 mScrollerX.setFinalPosition(newX); in setFinalX()
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
DOverScrollerSGV.java266 public void setFinalX(int newX) { in setFinalX() argument
267 mScrollerX.setFinalPosition(newX); in setFinalX()