/packages/apps/Contacts/src/com/android/contacts/ |
D | ShortcutIntentBuilder.java | 98 private int mIconSize; field in ShortcutIntentBuilder 134 mIconSize = mResources.getDimensionPixelSize(R.dimen.shortcut_icon_size); in ShortcutIntentBuilder() 135 if (mIconSize == 0) { in ShortcutIntentBuilder() 136 mIconSize = am.getLauncherLargeIconSize(); in ShortcutIntentBuilder() 371 Bitmap bitmap = Bitmap.createBitmap(mIconSize, mIconSize, Bitmap.Config.ARGB_8888); in generateQuickContactIcon() 375 Rect dst = new Rect(0,0, mIconSize, mIconSize); in generateQuickContactIcon() 388 roundedDrawable.setCornerRadius(mIconSize / 2); in generateQuickContactIcon() 389 Bitmap roundedBitmap = Bitmap.createBitmap(mIconSize, mIconSize, Bitmap.Config.ARGB_8888); in generateQuickContactIcon() 419 Rect dst = new Rect(0, 0, mIconSize, mIconSize); in generatePhoneNumberIcon() 440 dst.set(0, mIconSize - textBandHeight, mIconSize, mIconSize); in generatePhoneNumberIcon() [all …]
|
D | DynamicShortcuts.java | 111 private int mIconSize; field in DynamicShortcuts 135 mIconSize = context.getResources().getDimensionPixelSize(R.dimen.shortcut_icon_size); in DynamicShortcuts() 136 if (mIconSize == 0) { in DynamicShortcuts() 137 mIconSize = am.getLauncherLargeIconSize(); in DynamicShortcuts() 385 BitmapUtil.findOptimalSampleSize(sourceWidth, mIconSize), in decodeStreamForShortcut() 386 BitmapUtil.findOptimalSampleSize(sourceHeight, mIconSize)); in decodeStreamForShortcut() 429 final Bitmap result = Bitmap.createBitmap(mIconSize, mIconSize, Bitmap.Config.ARGB_8888); in getFallbackAvatar() 433 avatar.setBounds(0, 0, mIconSize, mIconSize); in getFallbackAvatar()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | ContactIconView.java | 45 protected final int mIconSize; field in ContactIconView 63 mIconSize = (int) resources.getDimension( in ContactIconView() 67 mIconSize = (int) resources.getDimension( in ContactIconView() 71 mIconSize = (int) resources.getDimension( in ContactIconView() 76 mIconSize = 0; in ContactIconView() 118 setImageResourceId(new AvatarGroupRequestDescriptor(uri, mIconSize, mIconSize)); in setImageResourceUri() 120 setImageResourceId(new AvatarRequestDescriptor(uri, mIconSize, mIconSize)); in setImageResourceUri()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/handheld/ |
D | AppIconPreference.java | 84 private int mIconSize; field in AppIconPreference.Mixin 87 mIconSize = context.getResources().getDimensionPixelSize( in Mixin() 103 if (layoutParams.width != mIconSize) { in onBindViewHolder() 104 layoutParams.width = mIconSize; in onBindViewHolder() 107 if (layoutParams.height != mIconSize) { in onBindViewHolder() 108 layoutParams.height = mIconSize; in onBindViewHolder()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | UndoBarView.java | 44 private final int mIconSize; field in UndoBarView 67 mIconSize = GalleryUtils.dpToPixel(32); in UndoBarView() 83 + mIconMargin + mIconSize + mSeparatorRightMargin; in UndoBarView() 114 x -= mIconMargin + mIconSize; in render() 115 y = (mBarHeight - mIconSize) / 2; in render() 116 mUndoIcon.draw(canvas, x, y, mIconSize, mIconSize); in render()
|
/packages/apps/Messaging/src/com/android/messaging/widget/ |
D | BaseWidgetFactory.java | 61 protected int mIconSize; field in BaseWidgetFactory 72 mIconSize = (int) context.getResources() in BaseWidgetFactory() 173 descriptor = new AvatarGroupRequestDescriptor(avatarUri, mIconSize, mIconSize); 175 descriptor = new AvatarRequestDescriptor(avatarUri, mIconSize, mIconSize);
|
D | WidgetConversationService.java | 84 mIconSize = (int) context.getResources() in WidgetConversationFactory()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | ClippedFolderIconLayoutRule.java | 20 private float mIconSize; field in ClippedFolderIconLayoutRule 27 mIconSize = intrinsicIconSize; in init() 49 mTmpPoint[0] = mTmpPoint[1] = mAvailableSpace / 2 - (mIconSize * totalScale) / 2; in computePreviewItemDrawingParams() 120 float halfIconSize = (mIconSize * scaleForItem(curNumItems)) / 2; in getPosition() 144 return mIconSize; in getIconSize()
|
D | PreviewItemManager.java | 70 private final int mIconSize; field in PreviewItemManager 98 mIconSize = Launcher.getLauncher(mContext).getDeviceProfile().folderChildIconSizePx; in PreviewItemManager() 404 p.drawable.setBounds(0, 0, mIconSize, mIconSize);
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | ModeTransitionView.java | 79 private int mIconSize; field in ModeTransitionView 112 mIconSize = getResources().getDimensionPixelSize(R.dimen.mode_transition_view_icon_size); in ModeTransitionView() 198 mIconRect.set(mWidth / 2 - mIconSize / 2, mHeight / 2 - mIconSize / 2, in onLayout() 199 mWidth / 2 + mIconSize / 2, mHeight / 2 + mIconSize / 2); in onLayout() 251 int size = (int) (scale * (float) mIconSize); in startPeepHoleAnimation()
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
D | ContactRecipientPhotoManager.java | 43 private final int mIconSize; field in ContactRecipientPhotoManager 49 mIconSize = context.getResources().getDimensionPixelSize( in ContactRecipientPhotoManager() 68 new AvatarRequestDescriptor(avatarUri, mIconSize, mIconSize); in populatePhotoBytesAsync()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
D | ThirdPartyWallpaperInfo.java | 26 private final int mIconSize; field in ThirdPartyWallpaperInfo 30 mIconSize = iconSize; in ThirdPartyWallpaperInfo() 52 icon.setBounds(new Rect(0, 0, mIconSize, mIconSize)); in createView()
|
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/ |
D | ShadowGenerator.java | 45 private final int mIconSize; field in ShadowGenerator 52 mIconSize = iconSize; in ShadowGenerator() 55 mDefaultBlurMaskFilter = new BlurMaskFilter(mIconSize * BLUR_FACTOR, Blur.NORMAL); in ShadowGenerator() 74 out.drawBitmap(shadow, offset[0], offset[1] + KEY_SHADOW_DISTANCE * mIconSize, mDrawPaint); in recreateIcon()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/ |
D | UserPresetsAdapter.java | 40 private int mIconSize = 160; field in UserPresetsAdapter 50 mIconSize = context.getResources().getDimensionPixelSize(R.dimen.category_panel_icon_size); in UserPresetsAdapter() 112 action.setImageFrame(new Rect(0, 0, mIconSize, mIconSize), CategoryView.VERTICAL); in getView()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | BubbleTextView.java | 114 private final int mIconSize; field in BubbleTextView 188 mIconSize = a.getDimensionPixelSize(R.styleable.BubbleTextView_iconSizeOverride, in BubbleTextView() 455 getIconBounds(this, outBounds, mIconSize); in getIconBounds() 470 int cellHeightPx = mIconSize + getCompoundDrawablePadding() + in onMeasure() 642 icon.setBounds(0, 0, mIconSize, mIconSize); in applyCompoundDrawables() 701 return mIconSize; in getIconSize()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/ |
D | PermissionPreference.java | 67 private final int mIconSize; field in PermissionPreference 131 mIconSize = iconSize; in PermissionPreference() 448 if (mIconSize > 0) { in onBindViewHolder() 451 icon.setMaxWidth(mIconSize); in onBindViewHolder() 452 icon.setMaxHeight(mIconSize); in onBindViewHolder()
|
D | AdjustUserSensitiveFragment.java | 223 private final int mIconSize; field in AdjustUserSensitiveFragment.NonUserSensitiveAppPreference 230 mIconSize = context.getResources().getDimensionPixelSize( in NonUserSensitiveAppPreference() 242 icon.setMaxWidth(mIconSize); in onBindViewHolder() 243 icon.setMaxHeight(mIconSize); in onBindViewHolder()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | AppChooserActivity.java | 61 private int mIconSize; field in AppChooserActivity 102 mIconSize = am.getLauncherLargeIconSize(); in onCreate() 259 lp.width = lp.height = mIconSize; in getView()
|