Searched refs:iconWidth (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/libs/input/ |
D | SpriteIcon.cpp | 44 const int iconWidth = width(); in draw() local 47 if (outBuffer.width > iconWidth) { in draw() 49 canvas.drawRect({iconWidth, 0, outBuffer.width, iconHeight}, paint); in draw()
|
/frameworks/libs/systemui/toruslib/torus-wallpaper-settings/src/main/java/com/google/android/torus/settings/inlinecontrol/ |
D | ColorChipsRowBuilder.kt | 68 val iconWidth = res.getDimensionPixelSize(R.dimen.slice_icon_width) in create() constant 70 val bmpEmpty = Bitmap.createBitmap(iconWidth, iconHeight, Bitmap.Config.ARGB_8888) in create() 154 val iconWidth = res.getDimensionPixelSize(R.dimen.slice_icon_width) in makeColorOption() constant 163 val bmp = Bitmap.createBitmap(iconWidth, iconHeight, Bitmap.Config.ARGB_8888) in makeColorOption() 176 (iconWidth / 2).toFloat(), in makeColorOption() 191 ((iconWidth - drawableSize) / 2).toFloat(), in makeColorOption()
|
/frameworks/base/core/java/android/app/ |
D | LauncherActivity.java | 285 final int iconWidth = icon.getIntrinsicWidth(); in createIconThumbnail() local 295 if (width < iconWidth || height < iconHeight) { in createIconThumbnail() 296 final float ratio = (float) iconWidth / iconHeight; in createIconThumbnail() 298 if (iconWidth > iconHeight) { in createIconThumbnail() 300 } else if (iconHeight > iconWidth) { in createIconThumbnail() 322 } else if (iconWidth < width && iconHeight < height) { in createIconThumbnail() 328 final int x = (width - iconWidth) / 2; in createIconThumbnail() 330 icon.setBounds(x, y, x + iconWidth, y + iconHeight); in createIconThumbnail()
|
D | Notification.java | 5974 int iconWidth = drawable.getIntrinsicWidth(); in calculateRightIconDimens() local 5976 if (iconWidth > iconHeight && iconHeight > 0) { in calculateRightIconDimens() 5978 viewWidthDp = Math.min(viewHeightDp * iconWidth / iconHeight, in calculateRightIconDimens()
|
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/ |
D | PlatformSlider.kt | 208 drawingState.iconWidth.coerceAtLeast( in Track() 217 drawingState.iconWidth in Track() 371 iconWidth = iconSize.toFloat(), in measure() 384 iconWidth = iconSize.toFloat(), in measure() 408 val iconWidth: Float = 0f, constant in com.android.compose.DrawingState 413 get() = labelWidth < indicatorRight - indicatorLeft - iconWidth
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 853 int iconWidth = displayIcon ? in createChipBitmap() local 866 - iconWidth in createChipBitmap() 879 int width = Math.max(iconWidth * 2, in createChipBitmap() 883 + iconWidth in createChipBitmap() 936 width - backgroundPadding.right - iconWidth : in createChipBitmap() 940 result.right = iconX + iconWidth; in createChipBitmap() 1172 final int iconWidth = tmpBitmap != null ? tmpBitmap.getWidth() : 0; in constructChipSpan() local 1175 result.setBounds(0, 0, iconWidth, iconHeight); in constructChipSpan()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ActionBarView.java | 1574 final int iconWidth = mIconView.getMeasuredWidth(); in onLayout() local 1581 final int delta = Math.max(marginStart, hCenter - iconWidth / 2); in onLayout() 1584 iconLeft = iconRight - iconWidth; in onLayout() 1587 iconRight = iconLeft + iconWidth; in onLayout()
|