Home
last modified time | relevance | path

Searched refs:yOffset (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/anim/
DStateTransitionAnimation.java153 int yOffset = view.getHeight() / 2; in applyOldTexture() local
154 canvas.translate(xOffset, yOffset); in applyOldTexture()
156 mOldScreenTexture.draw(canvas, -xOffset, -yOffset); in applyOldTexture()
168 int yOffset = view.getHeight() / 2; in applyContentTransform() local
169 canvas.translate(xOffset, yOffset); in applyContentTransform()
171 canvas.translate(-xOffset, -yOffset); in applyContentTransform()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFlingAnimation.java48 float yOffset = ((scale - 1f) * d.dragView.getMeasuredHeight()) / 2f; in FlingAnimation() local
51 mFrom.top += yOffset; in FlingAnimation()
52 mFrom.bottom -= yOffset; in FlingAnimation()
/packages/apps/Launcher3/src/com/android/launcher3/
DDropTarget.java40 public int yOffset = -1; field in DropTarget.DragObject
88 int top = y - yOffset; in getVisualCenter()
DButtonDropTarget.java294 final int yOffset = (int) -(viewHeight - height) / 2; in getIconRect() local
295 to.offset(xOffset, yOffset); in getIconRect()
DDragController.java249 mDragObject.yOffset = b.getHeight() / 2; in startDrag()
253 mDragObject.yOffset = mMotionDownY - (dragLayerY + dragRegionTop); in startDrag()
/packages/apps/Messaging/src/com/android/messaging/ui/
DMultiAttachmentLayout.java376 final int yOffset = viewWrapper.prevTop - view.getTop(); 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/
DButtonDropTarget.java152 final int yOffset = (int) -(viewHeight - height) / 2; in getIconRect() local
153 to.offset(xOffset, yOffset); in getIconRect()
DDeleteDropTarget.java351 float yOffset = ((scale - 1f) * dragView.getMeasuredHeight()) / 2f;
354 mFrom.top += yOffset;
DFolder.java623 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
656 int top = y - yOffset; in getDragViewVisualCenter()
DAppWidgetResizeFrame.java404 int yOffset = mCellLayout.getTop() + mCellLayout.getPaddingTop() in snapToWidget() local
413 int newY = mWidgetView.getTop() - mBackgroundPadding + yOffset + mWidgetPaddingTop; in snapToWidget()
DDropTarget.java40 public int yOffset = -1; field in DropTarget.DragObject
DWorkspace.java1975 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,
2740 int top = y - yOffset;
2767 mDragViewVisualCenter = getDragViewVisualCenter(d.x, d.y, d.xOffset, d.yOffset,
DDragController.java240 mDragObject.yOffset = mMotionDownY - (dragLayerY + dragRegionTop); in startDrag()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DSimSelectorAvatarRequest.java106 final float yOffset = halfHeight - textBound.centerY(); in renderSimAvatarInternal() local
107 canvas.drawText(firstCharString, xOffset, yOffset, paint); in renderSimAvatarInternal()
DAvatarRequest.java175 final float yOffset = halfHeight - textBound.centerY(); in renderLetterTile() local
176 canvas.drawText(firstCharString, xOffset, yOffset, paint); in renderLetterTile()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLCanvas.java179 public abstract void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, in texSubImage2D() argument
DGLES11Canvas.java956 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()
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/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DGLCanvas.java177 public abstract void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, in texSubImage2D() argument
DGLES20Canvas.java932 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/
DPhotoModule.java840 int yOffset = (originalHeight - newHeight)/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/Calendar/src/com/android/calendar/
DDayView.java4642 int yOffset = DAY_HEADER_HEIGHT + ALLDAY_TOP_MARGIN; in findSelectedEvent() local
4665 float eventTop = yOffset + height * event.getColumn(); in findSelectedEvent()