Home
last modified time | relevance | path

Searched refs:drawableHeight (Results 1 – 4 of 4) 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/PermissionController/src/android/support/wearable/view/
DCircledImageView.java360 final int drawableHeight = Math.round(scaleFactor * nativeDrawableHeight); in onLayout() local
365 final int drawableTop = (viewHeight - drawableHeight) / 2; in onLayout()
368 drawableTop + drawableHeight); in onLayout()
/packages/apps/Launcher3/src/com/android/launcher3/
DButtonDropTarget.java329 int drawableHeight = mDrawable.getIntrinsicHeight(); in getIconRect() local
337 final int height = drawableHeight; in getIconRect()