Searched refs:drawableWidth (Results 1 – 9 of 9) sorted by relevance
45 final int drawableWidth = drawable.getIntrinsicWidth(); in fromDrawable() local47 final int insetHorizontal = drawableWidth < 0 || drawableWidth > sourceWidth ? in fromDrawable()48 0 : (sourceWidth - drawableWidth) / 2; in fromDrawable()
58 final int drawableWidth = getDrawable().getIntrinsicWidth(); in recomputeImageMatrix() local62 if (drawableWidth * viewHeight > drawableHeight * viewWidth) { in recomputeImageMatrix()65 scale = (float) viewWidth / drawableWidth; in recomputeImageMatrix()79 float dx = -((drawableWidth * scale) - viewWidth); in recomputeImageMatrix()
404 int drawableWidth, int drawableHeight, DeviceProfile dp, in updateSplitIconParams() argument410 - 1.0f * drawableWidth / 2); in updateSplitIconParams()416 - 1.0f * drawableWidth / 2); in updateSplitIconParams()419 - 1.0f * drawableWidth / 2); in updateSplitIconParams()
128 drawableWidth: Int, in setSecondary()
363 drawableWidth: Int, in updateSplitIconParams()369 out.x = (onScreenRectCenterX / fullscreenScaleX - 1.0f * drawableWidth / 2) in updateSplitIconParams()
287 int drawableWidth = mDrawable.getIntrinsicWidth(); in getIconRect() local295 final int width = drawableWidth; in getIconRect()
491 float drawableWidth = mSplashViewDrawable.getIntrinsicWidth(); in updateSplashView() local497 float centeredDrawableLeft = (viewWidth - drawableWidth) / 2f; in updateSplashView()
271 taskContainer.iconView.drawableWidth, in <lambda>()
640 int drawableWidth = getResources()644 int textButtonWidth = textSize.width() + startPadding + endPadding + drawableWidth