Home
last modified time | relevance | path

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

/frameworks/base/wifi/java/android/net/wifi/passpoint/
DWifiPasspointOsuProvider.java57 public int iconWidth; field in WifiPasspointOsuProvider
97 sb.append(" icon: <").append(iconWidth).append("x") in toString()
120 out.writeInt(iconWidth); in writeToParcel()
138 osu.iconWidth = in.readInt();
/frameworks/base/core/java/android/app/
DLauncherActivity.java281 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/
DLockIcon.java120 int iconWidth = getResources().getDimensionPixelSize( in update() local
123 || icon.getIntrinsicWidth() != iconWidth)) { in update()
124 icon = new IntrinsicSizeDrawable(icon, iconWidth, iconHeight); in update()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarView.java1572 final int iconWidth = mIconView.getMeasuredWidth(); in onLayout() local
1579 final int delta = Math.max(marginStart, hCenter - iconWidth / 2); in onLayout()
1582 iconLeft = iconRight - iconWidth; in onLayout()
1585 iconRight = iconLeft + iconWidth; in onLayout()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java698 int iconWidth = contact.isValid() ? in createChipBitmap() local
703 calculateAvailableWidth() - iconWidth - widths[0] - backgroundPadding.left in createChipBitmap()
711 int width = Math.max(iconWidth * 2, textWidth + startPadding + mChipTextEndPadding in createChipBitmap()
712 + iconWidth + backgroundPadding.left + backgroundPadding.right); in createChipBitmap()
739 int iconX = shouldPositionAvatarOnRight() ? width - backgroundPadding.right - iconWidth : in createChipBitmap()
743 result.right = iconX + iconWidth; in createChipBitmap()