Home
last modified time | relevance | path

Searched refs:drawableWidth (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/
DPlaceholderInsetDrawable.java45 final int drawableWidth = drawable.getIntrinsicWidth(); in fromDrawable() local
47 final int insetHorizontal = drawableWidth < 0 || drawableWidth > sourceWidth ? in fromDrawable()
48 0 : (sourceWidth - drawableWidth) / 2; in fromDrawable()
/packages/apps/PackageInstaller/src/android/support/wearable/view/
DCircledImageView.java360 final int drawableWidth = Math.round(scaleFactor * nativeDrawableWidth); in onLayout() local
364 final int drawableLeft = (viewWidth - drawableWidth) / 2 in onLayout()
365 + Math.round(mImageHorizontalOffcenterPercentage * drawableWidth); in onLayout()
368 mDrawable.setBounds(drawableLeft, drawableTop, drawableLeft + drawableWidth, in onLayout()
/packages/apps/Launcher3/src/com/android/launcher3/
DClickShadowView.java101 float drawableWidth = view.getIcon().getBounds().width(); in alignWithIconView() local
119 + (iconHSpace - drawableWidth) * view.getScaleX() / 2 /* drawable gap */ in alignWithIconView()
DButtonDropTarget.java260 int drawableWidth = mDrawable.getIntrinsicWidth(); in getIconRect() local
268 final int width = drawableWidth; in getIconRect()
/packages/apps/Launcher2/src/com/android/launcher2/
DButtonDropTarget.java124 Rect getIconRect(int viewWidth, int viewHeight, int drawableWidth, int drawableHeight) { in getIconRect() argument
131 final int width = drawableWidth; in getIconRect()