Searched refs:iconHeight (Results 1 – 4 of 4) sorted by relevance
286 final int iconHeight = icon.getIntrinsicHeight(); in createIconThumbnail() local295 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()329 final int y = (height - iconHeight) / 2; in createIconThumbnail()330 icon.setBounds(x, y, x + iconWidth, y + iconHeight); in createIconThumbnail()
210 float iconHeight = getIconHeight(); in updateIconScaleForSystemIcons() local211 if (iconHeight != 0) { in updateIconScaleForSystemIcons()212 mIconScale = mSystemIconDesiredHeight / iconHeight; in updateIconScaleForSystemIcons()
1573 final int iconHeight = mIconView.getMeasuredHeight(); in onLayout() local1576 final int iconTop = Math.max(iconLp.topMargin, vCenter - iconHeight / 2); in onLayout()1577 final int iconBottom = iconTop + iconHeight; in onLayout()
1173 final int iconHeight = tmpBitmap != null ? tmpBitmap.getHeight() : 0; in constructChipSpan() local1175 result.setBounds(0, 0, iconWidth, iconHeight); in constructChipSpan()