/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/popup/ |
D | ArrowPopup.java | 259 int xOffset; in orientAboutObject() local 265 xOffset = iconWidth / 2 - shortcutIconWidth / 2 - shortcutPaddingStart; in orientAboutObject() 272 xOffset = iconWidth / 2 - shortcutDragHandleWidth / 2 - shortcutPaddingEnd; in orientAboutObject() 274 x += mIsLeftAligned ? xOffset : -xOffset; in orientAboutObject()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | FlingAnimation.java | 63 float xOffset = ((scale - 1f) * mDragObject.dragView.getMeasuredWidth()) / 2f; in run() local 65 mFrom.left += xOffset; in run() 66 mFrom.right -= xOffset; in run()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DropTarget.java | 36 public int xOffset = -1; field in DropTarget.DragObject 86 int left = x - xOffset - dragRegion.left; in getVisualCenter()
|
D | ButtonDropTarget.java | 356 final int xOffset = -(viewWidth - width) / 2; in getIconRect() local 358 to.offset(xOffset, yOffset); in getIconRect()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | NoBackupImageWallpaper.java | 301 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument 305 Log.d(TAG, "onOffsetsChanged: xOffset=" + xOffset + ", yOffset=" + yOffset in onOffsetsChanged() 310 if (mXOffset != xOffset || mYOffset != yOffset) { in onOffsetsChanged() 312 Log.d(TAG, "Offsets changed to (" + xOffset + "," + yOffset + ")."); in onOffsetsChanged() 314 mXOffset = xOffset; in onOffsetsChanged()
|
/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/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/UniversalMediaPlayer/java/com/android/pump/fragment/ |
D | SeriesFragment.java | 170 private SpaceItemDecoration(int xOffset, int yOffset) { in SpaceItemDecoration() argument 171 mXOffset = xOffset; in SpaceItemDecoration()
|
D | GenreFragment.java | 166 private SpaceItemDecoration(int xOffset, int yOffset) { in SpaceItemDecoration() argument 167 mXOffset = xOffset; in SpaceItemDecoration()
|
D | ArtistFragment.java | 181 private SpaceItemDecoration(int xOffset, int yOffset) { in SpaceItemDecoration() argument 182 mXOffset = xOffset; in SpaceItemDecoration()
|
D | AlbumFragment.java | 170 private SpaceItemDecoration(int xOffset, int yOffset) { in SpaceItemDecoration() argument 171 mXOffset = xOffset; in SpaceItemDecoration()
|
D | MovieFragment.java | 175 private SpaceItemDecoration(int xOffset, int yOffset) { in SpaceItemDecoration() argument 176 mXOffset = xOffset; in SpaceItemDecoration()
|
D | PlaylistFragment.java | 226 private SpaceItemDecoration(int xOffset, int yOffset) { in SpaceItemDecoration() argument 227 mXOffset = xOffset; in SpaceItemDecoration()
|
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
D | GLCanvas.java | 112 public abstract void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, in texSubImage2D() argument
|
D | GLES20Canvas.java | 485 public void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, Bitmap bitmap, in texSubImage2D() argument 489 GLUtils.texSubImage2D(GL_TARGET, 0, xOffset, yOffset, bitmap, format, type); in texSubImage2D()
|
/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 | 954 public void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, Bitmap bitmap, in texSubImage2D() argument 958 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/src/com/android/launcher3/dragndrop/ |
D | DragController.java | 183 mDragObject.xOffset = b.getWidth() / 2; in startDrag() 187 mDragObject.xOffset = mMotionDownX - (dragLayerX + dragRegionLeft); in startDrag()
|
/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()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | Folder.java | 692 mScrollAreaOffset = d.dragView.getDragRegionWidth() / 2 - d.xOffset; in onDragEnter()
|