/packages/apps/DevCamera/src/com/android/devcamera/ |
D | PreviewOverlay.java | 211 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/ |
D | PagedView.java | 308 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()
|
D | SmoothPagedView.java | 133 final int newX = getChildOffset(whichPage) - getRelativeChildOffset(whichPage); in snapToPageWithVelocity() local 134 final int delta = newX - mUnboundedScrollX; in snapToPageWithVelocity()
|
D | AppWidgetResizeFrame.java | 412 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()
|
D | CellLayout.java | 1129 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()
|
D | Workspace.java | 2359 final int newX = getChildOffset(screen) - getRelativeChildOffset(screen); 2360 setScrollX(newX);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | PagedView.java | 423 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()
|
D | FolderPagedView.java | 299 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()
|
D | AppWidgetResizeFrame.java | 424 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()
|
D | LauncherScroller.java | 532 public void setFinalX(int newX) { in setFinalX() argument 533 mFinalX = newX; in setFinalX()
|
D | CellLayout.java | 1008 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/ |
D | SlotView.java | 254 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/ |
D | GridSizeMigrationTask.java | 565 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/ |
D | Scroller.java | 480 public void setFinalX(int newX) { in setFinalX() argument 481 mFinalX = newX; in setFinalX()
|
D | OverScroller.java | 264 public void setFinalX(int newX) { in setFinalX() argument 265 mScrollerX.setFinalPosition(newX); in setFinalX()
|