Home
last modified time | relevance | path

Searched refs:mIconSize (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/
DShortcutIntentBuilder.java98 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 …]
DDynamicShortcuts.java111 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/
DContactIconView.java45 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/permissioncontroller/role/ui/handheld/
DAppIconPreference.java85 private int mIconSize; field in AppIconPreference.Mixin
88 mIconSize = context.getResources().getDimensionPixelSize( in Mixin()
104 if (layoutParams.width != mIconSize) { in onBindViewHolder()
105 layoutParams.width = mIconSize; in onBindViewHolder()
108 if (layoutParams.height != mIconSize) { in onBindViewHolder()
109 layoutParams.height = mIconSize; in onBindViewHolder()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DUndoBarView.java44 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/
DBaseWidgetFactory.java61 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);
DWidgetConversationService.java84 mIconSize = (int) context.getResources() in WidgetConversationFactory()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DClippedFolderIconLayoutRule.java20 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()
DPreviewItemManager.java70 private final int mIconSize; field in PreviewItemManager
97 mIconSize = ActivityContext.lookupContext( in PreviewItemManager()
404 p.drawable.setBounds(0, 0, mIconSize, mIconSize);
/packages/apps/Camera2/src/com/android/camera/ui/
DModeTransitionView.java79 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/
DContactRecipientPhotoManager.java43 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/
DThirdPartyWallpaperInfo.java26 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/Gallery2/src/com/android/gallery3d/filtershow/presets/
DUserPresetsAdapter.java40 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/
DBubbleTextView.java124 private final int mIconSize; field in BubbleTextView
188 mIconSize = a.getDimensionPixelSize(R.styleable.BubbleTextView_iconSizeOverride, in BubbleTextView()
433 getIconBounds(this, outBounds, mIconSize); in getIconBounds()
448 int cellHeightPx = mIconSize + getCompoundDrawablePadding() + in onMeasure()
619 icon.setBounds(0, 0, mIconSize, mIconSize); in applyCompoundDrawables()
678 return mIconSize; in getIconSize()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DAppChooserActivity.java61 private int mIconSize; field in AppChooserActivity
102 mIconSize = am.getLauncherLargeIconSize(); in onCreate()
259 lp.width = lp.height = mIconSize; in getView()