Home
last modified time | relevance | path

Searched refs:xOffset (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/anim/
DStateTransitionAnimation.java152 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/
DMonthWeekEventsView.java578 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/
DArrowPopup.java259 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/
DFlingAnimation.java63 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/
DDropTarget.java36 public int xOffset = -1; field in DropTarget.DragObject
86 int left = x - xOffset - dragRegion.left; in getVisualCenter()
DButtonDropTarget.java356 final int xOffset = -(viewWidth - width) / 2; in getIconRect() local
358 to.offset(xOffset, yOffset); in getIconRect()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DSimSelectorAvatarRequest.java105 final float xOffset = halfWidth - textBound.centerX(); in renderSimAvatarInternal() local
107 canvas.drawText(firstCharString, xOffset, yOffset, paint); in renderSimAvatarInternal()
DAvatarRequest.java174 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/
DMultiAttachmentLayout.java380 final int xOffset = viewWrapper.prevLeft - view.getLeft(); in trySlideAttachmentView() local
385 if (xOffset == 0 && yOffset == 0 && scaleX == 1 && scaleY == 1) { in trySlideAttachmentView()
392 animationSet.addAnimation(new TranslateAnimation(xOffset, 0, yOffset, 0)); in trySlideAttachmentView()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/
DSeriesFragment.java170 private SpaceItemDecoration(int xOffset, int yOffset) { in SpaceItemDecoration() argument
171 mXOffset = xOffset; in SpaceItemDecoration()
DGenreFragment.java166 private SpaceItemDecoration(int xOffset, int yOffset) { in SpaceItemDecoration() argument
167 mXOffset = xOffset; in SpaceItemDecoration()
DMovieFragment.java175 private SpaceItemDecoration(int xOffset, int yOffset) { in SpaceItemDecoration() argument
176 mXOffset = xOffset; in SpaceItemDecoration()
DAlbumFragment.java170 private SpaceItemDecoration(int xOffset, int yOffset) { in SpaceItemDecoration() argument
171 mXOffset = xOffset; in SpaceItemDecoration()
DArtistFragment.java181 private SpaceItemDecoration(int xOffset, int yOffset) { in SpaceItemDecoration() argument
182 mXOffset = xOffset; in SpaceItemDecoration()
DPlaylistFragment.java226 private SpaceItemDecoration(int xOffset, int yOffset) { in SpaceItemDecoration() argument
227 mXOffset = xOffset; in SpaceItemDecoration()
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DGLCanvas.java112 public abstract void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, in texSubImage2D() argument
DGLES20Canvas.java485 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/Launcher3/src/com/android/launcher3/dragndrop/
DDragController.java191 mDragObject.xOffset = b.getWidth() / 2; in startDrag()
195 mDragObject.xOffset = mMotionDownX - (dragLayerX + dragRegionLeft); in startDrag()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLCanvas.java179 public abstract void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, in texSubImage2D() argument
DGLES11Canvas.java954 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()
DGLES20Canvas.java933 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/Camera2/src/com/android/camera/
DPhotoModule.java839 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/
DFolder.java731 mScrollAreaOffset = d.dragView.getDragRegionWidth() / 2 - d.xOffset; in onDragEnter()