Home
last modified time | relevance | path

Searched refs:drawableHeight (Results 1 – 8 of 8) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DWallpaperThumbnailView.java59 final int drawableHeight = getDrawable().getIntrinsicHeight(); in recomputeImageMatrix() local
62 if (drawableWidth * viewHeight > drawableHeight * viewWidth) { in recomputeImageMatrix()
63 scale = (float) viewHeight / drawableHeight; in recomputeImageMatrix()
72 if ((drawableHeight * scale) > viewHeight) { in recomputeImageMatrix()
73 float dy = -(((drawableHeight * scale) - viewHeight) / 2f); in recomputeImageMatrix()
/packages/apps/Messaging/src/com/android/messaging/ui/
DPlaceholderInsetDrawable.java46 final int drawableHeight = drawable.getIntrinsicHeight(); in fromDrawable() local
49 final int insetVertical = drawableHeight < 0 || drawableHeight > sourceHeight ? in fromDrawable()
50 0 : (sourceHeight - drawableHeight) / 2; in fromDrawable()
/packages/apps/Launcher3/src/com/android/launcher3/
DButtonDropTarget.java288 int drawableHeight = mDrawable.getIntrinsicHeight(); in getIconRect() local
296 final int height = drawableHeight; in getIconRect()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DTaskThumbnailViewDeprecated.java492 float drawableHeight = mSplashViewDrawable.getIntrinsicHeight(); in updateSplashView() local
498 float centeredDrawableTop = (viewHeight - drawableHeight) / 2f; in updateSplashView()
DTaskMenuViewWithArrow.kt272 taskContainer.iconView.drawableHeight in <lambda>()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/orientation/
DPortraitPagedViewHandler.java404 int drawableWidth, int drawableHeight, DeviceProfile dp, in updateSplitIconParams() argument
412 - 1.0f * drawableHeight / 2); in updateSplitIconParams()
422 - 1.0f * drawableHeight / 2); in updateSplitIconParams()
DRecentsPagedOrientationHandler.kt129 drawableHeight: Int, in setSecondary()
DLandscapePagedViewHandler.kt364 drawableHeight: Int, in updateSplitIconParams()
371 ((onScreenRectCenterY + insetAdjustment) / fullscreenScaleY - 1.0f * drawableHeight / 2) in updateSplitIconParams()