Home
last modified time | relevance | path

Searched refs:mIconBitmapSize (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DBaseIconFactory.java54 protected final int mIconBitmapSize; field in BaseIconFactory
73 mIconBitmapSize = iconBitmapSize; in BaseIconFactory()
99 mShadowGenerator = new ShadowGenerator(mIconBitmapSize); in getShadowGenerator()
106 mNormalizer = new IconNormalizer(mContext, mIconBitmapSize, mShapeDetection); in getNormalizer()
139 Bitmap placeholderBitmap = Bitmap.createBitmap(mIconBitmapSize, mIconBitmapSize, in createIconBitmap()
143 canvas.drawText(placeholder, mIconBitmapSize / 2, mIconBitmapSize * 5 / 8, mTextPaint); in createIconBitmap()
152 if (mIconBitmapSize != icon.getWidth() || mIconBitmapSize != icon.getHeight()) { in createIconBitmap()
246 mIconBitmapSize, mIconBitmapSize, Bitmap.Config.ARGB_8888); in getUserBadgeBitmap()
252 badgedDrawable.setBounds(0, 0, mIconBitmapSize, mIconBitmapSize); in getUserBadgeBitmap()
254 mIconBitmapSize, mIconBitmapSize, badgedDrawable::draw); in getUserBadgeBitmap()
[all …]
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DSimpleIconFactory.java82 private int mIconBitmapSize; field in SimpleIconFactory
162 mIconBitmapSize = iconBitmapSize; in SimpleIconFactory()
286 mCanvas.drawBitmap(renderedAppIcon, mIconBitmapSize - mBadgeBitmapSize, in createAppBadgedIconBitmap()
287 mIconBitmapSize - mBadgeBitmapSize, null); in createAppBadgedIconBitmap()
328 return createIconBitmap(icon, scale, mIconBitmapSize, true, false); in createIconBitmap()
332 return createIconBitmap(icon, scale, mIconBitmapSize, false, true); in createIconBitmapNoInsetOrMask()
688 out.drawBitmap(shadow, offset[0], offset[1] + KEY_SHADOW_DISTANCE * mIconBitmapSize, in recreateIcon()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DLauncherIcons.java85 mMonochromeIconFactory = new MonochromeIconFactory(mIconBitmapSize); in getMonochromeDrawable()