Home
last modified time | relevance | path

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

12

/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/
DDropTarget.java46 public int yOffset = -1; field in DropTarget.DragObject
102 int top = y - yOffset - dragRegion.top; in getVisualCenter()
DButtonDropTarget.java303 final int yOffset = -(viewHeight - height) / 2; in getIconRect() local
304 to.offset(xOffset, yOffset); in getIconRect()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/statusicon/
DStatusIconPanelController.java275 int xOffset, int yOffset) { in attachPanel() argument
276 attachPanel(view, layoutRes, widthRes, xOffset, yOffset, in attachPanel()
284 int xOffset, int yOffset, int gravity) { in attachPanel() argument
326 mPanel.showAsDropDown(mAnchorView, xOffset, yOffset, gravity); in attachPanel()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DEdgeBackGesturePanel.java527 float yOffset = y - mStartY; in handleMoveEvent() local
585 if (Math.abs(yOffset) > Math.abs(x - mStartX) * 2) { in handleMoveEvent()
603 MathUtils.clamp(Math.abs(yOffset) / (maxYOffset * RUBBER_BAND_AMOUNT), 0, 1); in handleMoveEvent()
605 * 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/UniversalMediaPlayer/java/com/android/pump/fragment/
DGenreFragment.java166 private SpaceItemDecoration(int xOffset, int yOffset) { in SpaceItemDecoration() argument
168 mYOffset = yOffset; in SpaceItemDecoration()
DSeriesFragment.java170 private SpaceItemDecoration(int xOffset, int yOffset) { in SpaceItemDecoration() argument
172 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()
DMovieFragment.java175 private SpaceItemDecoration(int xOffset, int yOffset) { in SpaceItemDecoration() argument
177 mYOffset = yOffset; in SpaceItemDecoration()
DPlaylistFragment.java226 private SpaceItemDecoration(int xOffset, int yOffset) { in SpaceItemDecoration() argument
228 mYOffset = yOffset; in SpaceItemDecoration()
/packages/apps/Messaging/src/com/android/messaging/ui/
DMultiAttachmentLayout.java381 final int yOffset = viewWrapper.prevTop - view.getTop(); 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/Launcher3/quickstep/src/com/android/quickstep/views/
DTaskMenuViewWithArrow.kt300 val yOffset = (optionMeasuredHeight - iconHeight) / 2 in <lambda>() constant
301 var menuStartY = mTempRect.top - yOffset - extraSpaceForRowAlignment in <lambda>()
/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()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DAddItemActivity.java224 int yOffset = in onLongClick() local
226 bounds.offset(xOffset, yOffset); in onLongClick()
DLauncherDragController.java126 mDragObject.yOffset = mMotionDown.y - (dragLayerY + dragRegionTop); in startDrag()
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DSecondaryDragController.java115 mDragObject.yOffset = mMotionDown.y - (dragLayerY + dragRegionTop); in startDrag()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarDragController.java280 mDragObject.yOffset = mMotionDown.y - (dragLayerY + dragRegionTop); in startDrag()
483 float fromY = mDragObject.y - mDragObject.yOffset; in endDrag()
/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()

12