Searched refs:iconWidth (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/app/ |
D | LauncherActivity.java | 281 final int iconWidth = icon.getIntrinsicWidth(); in createIconThumbnail() local 291 if (width < iconWidth || height < iconHeight) { in createIconThumbnail() 292 final float ratio = (float) iconWidth / iconHeight; in createIconThumbnail() 294 if (iconWidth > iconHeight) { in createIconThumbnail() 296 } else if (iconHeight > iconWidth) { in createIconThumbnail() 318 } else if (iconWidth < width && iconHeight < height) { in createIconThumbnail() 324 final int x = (width - iconWidth) / 2; in createIconThumbnail() 326 icon.setBounds(x, y, x + iconWidth, y + iconHeight); in createIconThumbnail()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | LockIcon.java | 169 int iconWidth = getResources().getDimensionPixelSize( in update() local 172 || icon.getIntrinsicWidth() != iconWidth)) { in update() 173 icon = new IntrinsicSizeDrawable(icon, iconWidth, iconHeight); in update()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 850 int iconWidth = displayIcon ? in createChipBitmap() local 863 - iconWidth in createChipBitmap() 876 int width = Math.max(iconWidth * 2, in createChipBitmap() 880 + iconWidth in createChipBitmap() 933 width - backgroundPadding.right - iconWidth : in createChipBitmap() 937 result.right = iconX + iconWidth; in createChipBitmap() 1169 final int iconWidth = tmpBitmap != null ? tmpBitmap.getWidth() : 0; in constructChipSpan() local 1172 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()
|