Home
last modified time | relevance | path

Searched refs:drawableWidth (Results 1 – 9 of 9) 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/WallpaperPicker2/src/com/android/wallpaper/widget/
DWallpaperThumbnailView.java58 final int drawableWidth = getDrawable().getIntrinsicWidth(); in recomputeImageMatrix() local
62 if (drawableWidth * viewHeight > drawableHeight * viewWidth) { in recomputeImageMatrix()
65 scale = (float) viewWidth / drawableWidth; in recomputeImageMatrix()
79 float dx = -((drawableWidth * scale) - viewWidth); in recomputeImageMatrix()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/orientation/
DPortraitPagedViewHandler.java404 int drawableWidth, int drawableHeight, DeviceProfile dp, in updateSplitIconParams() argument
410 - 1.0f * drawableWidth / 2); in updateSplitIconParams()
416 - 1.0f * drawableWidth / 2); in updateSplitIconParams()
419 - 1.0f * drawableWidth / 2); in updateSplitIconParams()
DRecentsPagedOrientationHandler.kt128 drawableWidth: Int, in setSecondary()
DLandscapePagedViewHandler.kt363 drawableWidth: Int, in updateSplitIconParams()
369 out.x = (onScreenRectCenterX / fullscreenScaleX - 1.0f * drawableWidth / 2) in updateSplitIconParams()
/packages/apps/Launcher3/src/com/android/launcher3/
DButtonDropTarget.java287 int drawableWidth = mDrawable.getIntrinsicWidth(); in getIconRect() local
295 final int width = drawableWidth; in getIconRect()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DTaskThumbnailViewDeprecated.java491 float drawableWidth = mSplashViewDrawable.getIntrinsicWidth(); in updateSplashView() local
497 float centeredDrawableLeft = (viewWidth - drawableWidth) / 2f; in updateSplashView()
DTaskMenuViewWithArrow.kt271 taskContainer.iconView.drawableWidth, in <lambda>()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetCell.java640 int drawableWidth = getResources()
644 int textButtonWidth = textSize.width() + startPadding + endPadding + drawableWidth