/packages/apps/Gallery2/src/com/android/gallery3d/anim/ |
D | StateTransitionAnimation.java | 152 int xOffset = view.getWidth() / 2; in applyOldTexture() local 154 canvas.translate(xOffset, yOffset); in applyOldTexture() 156 mOldScreenTexture.draw(canvas, -xOffset, -yOffset); in applyOldTexture() 167 int xOffset = view.getWidth() / 2; in applyContentTransform() local 169 canvas.translate(xOffset, yOffset); in applyContentTransform() 171 canvas.translate(-xOffset, -yOffset); in applyContentTransform()
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | MonthWeekEventsView.java | 578 int xOffset = 0; in computeDayLeftPosition() local 580 xOffset = SPACING_WEEK_NUMBER + mPadding; in computeDayLeftPosition() 581 effectiveWidth -= xOffset; in computeDayLeftPosition() 583 x = day * effectiveWidth / mNumDays + xOffset; in computeDayLeftPosition() 595 int xOffset = SPACING_WEEK_NUMBER + mPadding; in drawDaySeparators() local 597 lines[i++] = xOffset; in drawDaySeparators() 599 lines[i++] = xOffset; in drawDaySeparators() 990 int xOffset = (DNA_ALL_DAY_WIDTH - DNA_WIDTH) / 2; in drawDNA() local 997 canvas.drawLine(mDayXs[i] + xOffset, DNA_MARGIN, mDayXs[i] + xOffset, in drawDNA()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | FlingAnimation.java | 47 float xOffset = ((scale - 1f) * d.dragView.getMeasuredWidth()) / 2f; in FlingAnimation() local 49 mFrom.left += xOffset; in FlingAnimation() 50 mFrom.right -= xOffset; in FlingAnimation()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DropTarget.java | 37 public int xOffset = -1; field in DropTarget.DragObject 87 int left = x - xOffset; in getVisualCenter()
|
D | ButtonDropTarget.java | 293 final int xOffset = (int) -(viewWidth - width) / 2; in getIconRect() local 295 to.offset(xOffset, yOffset); in getIconRect()
|
D | DragController.java | 248 mDragObject.xOffset = b.getWidth() / 2; in startDrag() 252 mDragObject.xOffset = mMotionDownX - (dragLayerX + dragRegionLeft); in startDrag()
|
D | Workspace.java | 1602 float xOffset = 1.0f / mNumPagesForWallpaperParallax; in setWallpaperOffsetSteps() local 1603 if (xOffset != mLastSetWallpaperOffsetSteps) { in setWallpaperOffsetSteps() 1604 mWallpaperManager.setWallpaperOffsetSteps(xOffset, 1.0f); in setWallpaperOffsetSteps() 1605 mLastSetWallpaperOffsetSteps = xOffset; in setWallpaperOffsetSteps()
|
D | Folder.java | 705 mScrollAreaOffset = d.dragView.getDragRegionWidth() / 2 - d.xOffset; in onDragEnter()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | MultiAttachmentLayout.java | 375 final int xOffset = viewWrapper.prevLeft - view.getLeft(); in trySlideAttachmentView() local 380 if (xOffset == 0 && yOffset == 0 && scaleX == 1 && scaleY == 1) { in trySlideAttachmentView() 387 animationSet.addAnimation(new TranslateAnimation(xOffset, 0, yOffset, 0)); in trySlideAttachmentView()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | ButtonDropTarget.java | 151 final int xOffset = (int) -(viewWidth - width) / 2; in getIconRect() local 153 to.offset(xOffset, yOffset); in getIconRect()
|
D | DeleteDropTarget.java | 350 float xOffset = ((scale - 1f) * dragView.getMeasuredWidth()) / 2f; 353 mFrom.left += xOffset;
|
D | Folder.java | 623 float[] r = getDragViewVisualCenter(d.x, d.y, d.xOffset, d.yOffset, d.dragView, null); in onDragOver() 642 private float[] getDragViewVisualCenter(int x, int y, int xOffset, int yOffset, in getDragViewVisualCenter() argument 655 int left = x - xOffset; in getDragViewVisualCenter()
|
D | AppWidgetResizeFrame.java | 402 int xOffset = mCellLayout.getLeft() + mCellLayout.getPaddingLeft() in snapToWidget() local 412 int newX = mWidgetView.getLeft() - mBackgroundPadding + xOffset + mWidgetPaddingLeft; in snapToWidget()
|
D | DropTarget.java | 37 public int xOffset = -1; field in DropTarget.DragObject
|
D | Workspace.java | 1975 mDragViewVisualCenter = getDragViewVisualCenter(d.x, d.y, d.xOffset, d.yOffset, 2171 mDragViewVisualCenter = getDragViewVisualCenter(d.x, d.y, d.xOffset, d.yOffset, d.dragView, 2721 private float[] getDragViewVisualCenter(int x, int y, int xOffset, int yOffset, 2739 int left = x - xOffset; 2767 mDragViewVisualCenter = getDragViewVisualCenter(d.x, d.y, d.xOffset, d.yOffset,
|
D | DragController.java | 239 mDragObject.xOffset = mMotionDownX - (dragLayerX + dragRegionLeft); in startDrag()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | SimSelectorAvatarRequest.java | 105 final float xOffset = halfWidth - textBound.centerX(); in renderSimAvatarInternal() local 107 canvas.drawText(firstCharString, xOffset, yOffset, paint); in renderSimAvatarInternal()
|
D | AvatarRequest.java | 174 final float xOffset = halfWidth - textBound.centerX(); in renderLetterTile() local 176 canvas.drawText(firstCharString, xOffset, yOffset, paint); in renderLetterTile()
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | GLCanvas.java | 179 public abstract void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, in texSubImage2D() argument
|
D | GLES11Canvas.java | 956 public void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, Bitmap bitmap, in texSubImage2D() argument 960 GLUtils.texSubImage2D(target, 0, xOffset, yOffset, bitmap, format, type); in texSubImage2D()
|
D | GLES20Canvas.java | 933 public void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, Bitmap bitmap, in texSubImage2D() argument 938 GLUtils.texSubImage2D(target, 0, xOffset, yOffset, bitmap, format, type); in texSubImage2D()
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
D | GLCanvas.java | 177 public abstract void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, in texSubImage2D() argument
|
D | GLES20Canvas.java | 932 public void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, Bitmap bitmap, in texSubImage2D() argument 937 GLUtils.texSubImage2D(target, 0, xOffset, yOffset, bitmap, format, type); in texSubImage2D()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | PhotoModule.java | 839 int xOffset = (originalWidth - newWidth)/2; in cropJpegDataToAspectRatio() local 842 if (xOffset < 0 || yOffset < 0) { in cropJpegDataToAspectRatio() 846 Bitmap resized = Bitmap.createBitmap(original,xOffset,yOffset,newWidth, newHeight); in cropJpegDataToAspectRatio()
|