Home
last modified time | relevance | path

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

/packages/apps/DevCamera/src/com/android/devcamera/
DPreviewOverlay.java211 float newX = (1 - r1.centerY()) * previewW; 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()
228 newX = (1 - p[j].y) * previewW; in onDraw()
229 canvas.drawCircle(newX, newY, dP, mPaint); in onDraw()
/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()
DSmoothPagedView.java133 final int newX = getChildOffset(whichPage) - getRelativeChildOffset(whichPage); in snapToPageWithVelocity() local
134 final int delta = newX - mUnboundedScrollX; in snapToPageWithVelocity()
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()
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.java423 int newX = 0; in updateCurrentPageScroll() local
425 newX = getScrollForPage(mCurrentPage); in updateCurrentPageScroll()
427 scrollTo(newX, 0); in updateCurrentPageScroll()
428 mScroller.setFinalX(newX); in updateCurrentPageScroll()
1717 … int newX = getViewportOffsetX() + getChildOffset(i + shiftDelta); in onTouchEvent()
1726 v.setTranslationX(oldX - newX); in onTouchEvent()
2018 final int newX = getScrollForPage(whichPage); in snapToPageWithVelocity() local
2019 int delta = newX - getUnboundedScrollX(); in snapToPageWithVelocity()
2068 int newX = getScrollForPage(whichPage); in snapToPage() local
2069 final int delta = newX - getUnboundedScrollX(); 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.java424 int newX = mTmpPt[0] - mBackgroundPadding + mWidgetPadding.left; in snapToWidget() local
446 lp.x = newX; in snapToWidget()
457 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.java1008 final int newX = lp.x; in animateChildToPosition() local
1015 if (oldX == newX && oldY == newY) { in animateChildToPosition()
1028 lp.x = (int) ((1 - r) * oldX + r * newX); in animateChildToPosition()
/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/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTask.java565 int newX = Integer.MAX_VALUE, newY = Integer.MAX_VALUE;
573 newX = x;
581 if (newX < mTrgX && newY < mTrgY) {
583 if (newX != myX) {
584 me.cellX = newX;
/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()