Home
last modified time | relevance | path

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

/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DShortcutIntentBuilder.java92 private int mIconSize; field in ShortcutIntentBuilder
128 mIconSize = mResources.getDimensionPixelSize(R.dimen.shortcut_icon_size); in ShortcutIntentBuilder()
129 if (mIconSize == 0) { in ShortcutIntentBuilder()
130 mIconSize = am.getLauncherLargeIconSize(); in ShortcutIntentBuilder()
336 Bitmap bitmap = Bitmap.createBitmap(mIconSize, mIconSize, Bitmap.Config.ARGB_8888); in generateQuickContactIcon()
340 Rect dst = new Rect(0,0, mIconSize, mIconSize); in generateQuickContactIcon()
348 roundedDrawable.setCornerRadius(mIconSize / 2); in generateQuickContactIcon()
349 Bitmap roundedBitmap = Bitmap.createBitmap(mIconSize, mIconSize, Bitmap.Config.ARGB_8888); in generateQuickContactIcon()
377 Rect dst = new Rect(0, 0, mIconSize, mIconSize); in generatePhoneNumberIcon()
397 dst.set(0, mIconSize - textBandHeight, mIconSize, mIconSize); in generatePhoneNumberIcon()
[all …]
/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/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/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/Launcher3/src/com/android/launcher3/
DBubbleTextView.java89 private final int mIconSize; field in BubbleTextView
133 mIconSize = a.getDimensionPixelSize(R.styleable.BubbleTextView_iconSizeOverride, in BubbleTextView()
175 setIcon(iconDrawable, mIconSize); in applyFromShortcutInfo()
188 setIcon(mLauncher.createIconDrawable(info.iconBitmap), mIconSize); in applyFromApplicationInfo() local
201 setIcon(mLauncher.createIconDrawable(info.iconBitmap), mIconSize); in applyFromPackageItemInfo() local
478 setIcon(preloadDrawable, mIconSize); in applyState()
/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/Launcher3/WallpaperPicker/src/com/android/launcher3/
DThirdPartyWallpaperPickerListAdapter.java42 private final int mIconSize; field in ThirdPartyWallpaperPickerListAdapter
66 mIconSize = context.getResources().getDimensionPixelSize(R.dimen.wallpaperItemIconSize); in ThirdPartyWallpaperPickerListAdapter()
132 icon.setBounds(new Rect(0, 0, mIconSize, mIconSize)); in getView()
/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/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()