Home
last modified time | relevance | path

Searched refs:yOffset (Results 1 – 23 of 23) 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.java64 float yOffset = ((scale - 1f) * mDragObject.dragView.getMeasuredHeight()) / 2f; in run() local
67 mFrom.top += yOffset; in run()
68 mFrom.bottom -= yOffset; in run()
/packages/apps/Launcher3/src/com/android/launcher3/
DDropTarget.java47 public int yOffset = -1; field in DropTarget.DragObject
108 int top = y - yOffset - dragRegion.top; in getVisualCenter()
DButtonDropTarget.java358 final int yOffset = -(viewHeight - height) / 2; in getIconRect() local
359 to.offset(xOffset, yOffset); in getIconRect()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DEdgeBackGesturePanel.java529 float yOffset = y - mStartY; in handleMoveEvent() local
587 if (Math.abs(yOffset) > Math.abs(x - mStartX) * 2) { in handleMoveEvent()
605 MathUtils.clamp(Math.abs(yOffset) / (maxYOffset * RUBBER_BAND_AMOUNT), 0, 1); in handleMoveEvent()
607 * maxYOffset * Math.signum(yOffset); in handleMoveEvent()
/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/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/UniversalMediaPlayer/java/com/android/pump/fragment/
DSeriesFragment.java170 private SpaceItemDecoration(int xOffset, int yOffset) { in SpaceItemDecoration() argument
172 mYOffset = yOffset; in SpaceItemDecoration()
DGenreFragment.java166 private SpaceItemDecoration(int xOffset, int yOffset) { in SpaceItemDecoration() argument
168 mYOffset = yOffset; in SpaceItemDecoration()
DMovieFragment.java175 private SpaceItemDecoration(int xOffset, int yOffset) { in SpaceItemDecoration() argument
177 mYOffset = yOffset; in SpaceItemDecoration()
DAlbumFragment.java170 private SpaceItemDecoration(int xOffset, int yOffset) { in SpaceItemDecoration() argument
172 mYOffset = yOffset; in SpaceItemDecoration()
DArtistFragment.java181 private SpaceItemDecoration(int xOffset, int yOffset) { in SpaceItemDecoration() argument
183 mYOffset = yOffset; in SpaceItemDecoration()
DPlaylistFragment.java226 private SpaceItemDecoration(int xOffset, int yOffset) { in SpaceItemDecoration() argument
228 mYOffset = yOffset; 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/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/Dialer/java/com/android/dialer/callcomposer/
DCallComposerActivity.java475 int yOffset = getResources().getDimensionPixelOffset(R.dimen.privacy_toast_y_offset); in maybeShowPrivacyToast() local
476 toast.setGravity(Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM, 0, yOffset); in maybeShowPrivacyToast()
/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/Launcher3/src/com/android/launcher3/dragndrop/
DDragController.java180 mDragObject.yOffset = mMotionDown.y - (dragLayerY + dragRegionTop); in startDrag()
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java3636 int yOffset = DAY_HEADER_HEIGHT + ALLDAY_TOP_MARGIN; in findSelectedEvent() local
3659 float eventTop = yOffset + height * event.getColumn(); in findSelectedEvent()