Home
last modified time | relevance | path

Searched refs:iconHeight (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/input/
DSpriteIcon.cpp45 const int iconHeight = height(); in draw() local
49 canvas.drawRect({iconWidth, 0, outBuffer.width, iconHeight}, paint); in draw()
51 if (outBuffer.height > iconHeight) { in draw()
53 canvas.drawRect({0, iconHeight, outBuffer.width, outBuffer.height}, paint); in draw()
/frameworks/libs/systemui/toruslib/torus-wallpaper-settings/src/main/java/com/google/android/torus/settings/inlinecontrol/
DColorChipsRowBuilder.kt67 val iconHeight = res.getDimensionPixelSize(R.dimen.slice_icon_height) in create() constant
70 val bmpEmpty = Bitmap.createBitmap(iconWidth, iconHeight, Bitmap.Config.ARGB_8888) in create()
153 val iconHeight = res.getDimensionPixelSize(R.dimen.slice_icon_height) in makeColorOption() constant
163 val bmp = Bitmap.createBitmap(iconWidth, iconHeight, Bitmap.Config.ARGB_8888) in makeColorOption()
177 (iconHeight / 2).toFloat(), in makeColorOption()
192 ((iconHeight - drawableSize) / 2).toFloat() in makeColorOption()
/frameworks/base/core/java/android/app/
DLauncherActivity.java286 final int iconHeight = icon.getIntrinsicHeight(); 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()
329 final int y = (height - iconHeight) / 2; in createIconThumbnail()
330 icon.setBounds(x, y, x + iconWidth, y + iconHeight); in createIconThumbnail()
DNotification.java5975 int iconHeight = drawable.getIntrinsicHeight(); in calculateRightIconDimens() local
5976 if (iconWidth > iconHeight && iconHeight > 0) { in calculateRightIconDimens()
5978 viewWidthDp = Math.min(viewHeightDp * iconWidth / iconHeight, in calculateRightIconDimens()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java287 float iconHeight = getIconHeight(); in updateIconScaleForSystemIcons() local
288 if (iconHeight != 0) { in updateIconScaleForSystemIcons()
289 iconScale = mSystemIconDesiredHeight / iconHeight; in updateIconScaleForSystemIcons()
/frameworks/base/core/java/android/window/
DSplashScreenView.java598 final int iconHeight = mTmpRect.height(); in onLayout() local
607 final int remainingHeight = currentHeight - mTmpPos[1] - iconHeight; in onLayout()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarView.java1573 final int iconHeight = mIconView.getMeasuredHeight(); in onLayout() local
1576 final int iconTop = Math.max(iconLp.topMargin, vCenter - iconHeight / 2); in onLayout()
1577 final int iconBottom = iconTop + iconHeight; in onLayout()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java1173 final int iconHeight = tmpBitmap != null ? tmpBitmap.getHeight() : 0; in constructChipSpan() local
1175 result.setBounds(0, 0, iconWidth, iconHeight); in constructChipSpan()