Home
last modified time | relevance | path

Searched refs:xOffset (Results 1 – 25 of 25) 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/Car/SystemUI/src/com/android/systemui/car/systembar/
DCarSystemBarPanelButtonViewController.java60 Integer xOffset = mView.getXOffset(); in onInit() local
61 if (xOffset != null) { in onInit()
62 builder.setXOffset(xOffset); in onInit()
/packages/apps/Launcher3/src/com/android/launcher3/
DDropTarget.java43 public int xOffset = -1; field in DropTarget.DragObject
101 int left = x - xOffset - dragRegion.left; in getVisualCenter()
DButtonDropTarget.java315 final int xOffset = -(viewWidth - width) / 2; in getIconRect() local
317 to.offset(xOffset, yOffset); in getIconRect()
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthWeekEventsView.kt493 var xOffset = 0 in computeDayLeftPosition() variable
495 xOffset = SPACING_WEEK_NUMBER + mPadding in computeDayLeftPosition()
496 effectiveWidth -= xOffset in computeDayLeftPosition()
498 x = day * effectiveWidth / mNumDays + xOffset in computeDayLeftPosition()
510 val xOffset: Int = SPACING_WEEK_NUMBER + mPadding in drawDaySeparators() constant
512 lines[i++] = xOffset.toFloat() in drawDaySeparators()
514 lines[i++] = xOffset.toFloat() in drawDaySeparators()
891 val xOffset = (DNA_ALL_DAY_WIDTH - DNA_WIDTH) / 2 in drawDNA() constant
898 canvas.drawLine(mDayXs!![i].toFloat() + xOffset.toFloat(), in drawDNA()
899 DNA_MARGIN.toFloat(), mDayXs!![i].toFloat() + xOffset.toFloat(), in drawDNA()
/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/UniversalMediaPlayer/java/com/android/pump/fragment/
DGenreFragment.java166 private SpaceItemDecoration(int xOffset, int yOffset) { in SpaceItemDecoration() argument
167 mXOffset = xOffset; in SpaceItemDecoration()
DSeriesFragment.java170 private SpaceItemDecoration(int xOffset, int yOffset) { in SpaceItemDecoration() argument
171 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/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/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/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java443 int xOffset = iconWidth / 2 - mArrowOffsetHorizontal - mArrowWidth / 2; in orientAboutObject() local
444 x += mIsLeftAligned ? xOffset : -xOffset; in orientAboutObject()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DAddItemActivity.java224 int xOffset = in onLongClick() local
228 bounds.offset(xOffset, yOffset); in onLongClick()
DLauncherDragController.java125 mDragObject.xOffset = mMotionDown.x - (dragLayerX + dragRegionLeft); in startDrag()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/statusicon/
DStatusIconPanelViewController.java192 int xOffset, int yOffset, int gravity, boolean isDisabledWhileDriving, in StatusIconPanelViewController() argument
206 mXOffsetPixel = xOffset; in StatusIconPanelViewController()
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DSecondaryDragController.java108 mDragObject.xOffset = mMotionDown.x - (dragLayerX + dragRegionLeft); in startDrag()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarDragController.java294 mDragObject.xOffset = mMotionDown.x - (dragLayerX + dragRegionLeft); in startDrag()
543 float fromX = mDragObject.x - mDragObject.xOffset; in endDrag()
/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.java920 mScrollAreaOffset = d.dragView.getDragRegionWidth() / 2 - d.xOffset; in onDragEnter()