/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/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/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/Launcher3/src/com/android/launcher3/folder/ |
D | ClippedFolderIconLayoutRule.java | 22 private float mIconSize; field in ClippedFolderIconLayoutRule 29 mIconSize = intrinsicIconSize; in init() 50 mTmpPoint[0] = mTmpPoint[1] = mAvailableSpace / 2 - (mIconSize * totalScale) / 2; in computePreviewItemDrawingParams() 120 float halfIconSize = (mIconSize * scaleForItem(curNumItems)) / 2; in getPosition() 142 return mIconSize; in getIconSize()
|
D | PreviewItemManager.java | 82 public final int mIconSize; field in PreviewItemManager 115 mIconSize = ActivityContext.lookupContext( in PreviewItemManager() 453 p.drawable.setBounds(0, 0, mIconSize, mIconSize); 458 p.drawable.setBounds(0, 0, mIconSize, mIconSize);
|
/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/TvSystemUI/src/com/android/systemui/tv/privacy/ |
D | PrivacyItemsChip.java | 88 private final int mIconSize; field in PrivacyItemsChip 103 mIconSize = res.getDimensionPixelSize(R.dimen.privacy_chip_icon_size); in PrivacyItemsChip() 138 iconsContainer.addView(typeIconView, mIconSize, mIconSize); in PrivacyItemsChip() 169 lp.width = mIconSize; in expandForTypes() 170 lp.height = mIconSize; in expandForTypes()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/ |
D | WidgetsListHeader.java | 56 private final int mIconSize; field in WidgetsListHeader 86 mIconSize = a.getDimensionPixelSize(R.styleable.WidgetsListRowHeader_appIconSize, in WidgetsListHeader() 173 icon.setBounds(0, 0, mIconSize, mIconSize); in applyDrawables() 177 layoutParams.width = mIconSize; in applyDrawables() 178 layoutParams.height = mIconSize; in applyDrawables()
|
/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/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/ |
D | BubbleBarViewController.java | 65 private int mIconSize; field in BubbleBarViewController 101 mIconSize = activity.getResources().getDimensionPixelSize( in BubbleBarViewController() 347 mIconSize = newIconSize <= smallMediumThreshold in updateBubbleBarIconSize() 354 mBarView.animateBubbleBarIconSize(mIconSize, bubbleBarPadding); in updateBubbleBarIconSize() 356 mBarView.setIconSizeAndPadding(mIconSize, bubbleBarPadding); in updateBubbleBarIconSize() 403 b.getView(), new FrameLayout.LayoutParams(mIconSize, mIconSize, Gravity.LEFT)); in addBubble()
|
D | BubbleBarView.java | 140 private float mIconSize; field in BubbleBarView 209 mIconSize = getResources().getDimensionPixelSize(R.dimen.bubblebar_icon_size); in BubbleBarView() 317 mIconSize = newIconSize; in setIconSizeAndPadding() 324 params.height = (int) mIconSize; in setIconSizeAndPadding() 325 params.width = (int) mIconSize; in setIconSizeAndPadding() 333 return mIconSize * mIconScale; in getScaledIconSize() 855 return (mIconSize - getScaledIconSize()) / 2; in getScaleIconShift() 1042 return selectedBubbleTranslationX + mIconSize / 2f; in arrowPositionForSelectedWhenExpanded() 1215 return Float.compare(mIconSize, newIconSize) != 0; in isIconSizeUpdated()
|
/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/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/ |
D | ShadowGenerator.java | 47 private final int mIconSize; field in ShadowGenerator 54 mIconSize = iconSize; in ShadowGenerator() 57 mDefaultBlurMaskFilter = new BlurMaskFilter(mIconSize * BLUR_FACTOR, Blur.NORMAL); in ShadowGenerator() 77 out.drawBitmap(shadow, offset[0], offset[1] + KEY_SHADOW_DISTANCE * mIconSize, 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/tests/src/com/android/launcher3/folder/ |
D | PreviewItemManagerTest.kt | 89 previewItemManager.mIconSize in setup() 101 previewItemManager.mIconSize in setup() 113 previewItemManager.mIconSize in setup() 127 previewItemManager.mIconSize in setup()
|
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/recyclerview/ |
D | AppItemViewHolder.java | 66 private final int mIconSize; field in AppItemViewHolder 126 mIconSize = context.getResources().getDimensionPixelSize(R.dimen.app_icon_size); in AppItemViewHolder() 218 animateIconResize(/* scale */ ((float) mIconScaledSize / mIconSize), in bind() 288 mAppIcon.setScaleX((float) mIconScaledSize / mIconSize); in prepareForDropAnimation() 289 mAppIcon.setScaleY((float) mIconScaledSize / mIconSize); in prepareForDropAnimation() 399 Point dragPoint = new Point(/* x */ (int) (eventX / mIconSize * mIconScaledSize), 400 /* y */ (int) (eventY / mIconSize * mIconScaledSize));
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | BubbleTextView.java | 162 private final int mIconSize; field in BubbleTextView 266 mIconSize = a.getDimensionPixelSize(R.styleable.BubbleTextView_iconSizeOverride, in BubbleTextView() 731 getIconBounds(mIconSize, outBounds); in getIconBounds() 775 int cellHeightPx = mIconSize + getCompoundDrawablePadding() + in onMeasure() 1138 icon.setBounds(0, 0, mIconSize, mIconSize); in applyCompoundDrawables() 1204 return mIconSize; in getIconSize() 1241 getIconBounds(mIconSize, bounds); in getWorkspaceVisualDragBounds() 1245 getIconBounds(mIconSize, bounds); in getSourceVisualDragBounds()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | AppChooserActivity.java | 63 private int mIconSize; field in AppChooserActivity 103 mIconSize = am.getLauncherLargeIconSize(); in onCreate()
|