Home
last modified time | relevance | path

Searched refs:yOffset (Results 1 – 25 of 27) 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/Car/SystemUI/src/com/android/systemui/car/systembar/
DCarSystemBarPanelButtonViewController.java64 Integer yOffset = mView.getYOffset(); in onInit() local
65 if (yOffset != null) { in onInit()
66 builder.setYOffset(yOffset); in onInit()
/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.java316 final int yOffset = -(viewHeight - height) / 2; in getIconRect() local
317 to.offset(xOffset, yOffset); in getIconRect()
/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/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/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()
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/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.kt319 val yOffset = (optionMeasuredHeight - iconHeight) / 2 in <lambda>() constant
320 var menuStartY = mTempRect.top - yOffset - extraSpaceForRowAlignment in <lambda>()
/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/dragndrop/
DAddItemActivity.java226 int yOffset = in onLongClick() local
228 bounds.offset(xOffset, yOffset); in onLongClick()
DLauncherDragController.java126 mDragObject.yOffset = mMotionDown.y - (dragLayerY + dragRegionTop); 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
207 mYOffsetPixel = yOffset; in StatusIconPanelViewController()
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DSecondaryDragController.java109 mDragObject.yOffset = mMotionDown.y - (dragLayerY + dragRegionTop); in startDrag()
/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/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarDragController.java295 mDragObject.yOffset = mMotionDown.y - (dragLayerY + dragRegionTop); in startDrag()
544 float fromY = mDragObject.y - mDragObject.yOffset; in endDrag()
/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