Searched refs:mIconSize (Results 1 - 14 of 14) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/
H A DContactIconView.java45 protected final int mIconSize; field in class:ContactIconView
63 mIconSize = (int) resources.getDimension(
67 mIconSize = (int) resources.getDimension(
71 mIconSize = (int) resources.getDimension(
76 mIconSize = 0;
118 setImageResourceId(new AvatarGroupRequestDescriptor(uri, mIconSize, mIconSize));
120 setImageResourceId(new AvatarRequestDescriptor(uri, mIconSize, mIconSize));
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
H A DShadowGenerator.java49 private final int mIconSize; field in class:ShadowGenerator
56 mIconSize = LauncherAppState.getInstance().getInvariantDeviceProfile().iconBitmapSize;
59 mBlurPaint.setMaskFilter(new BlurMaskFilter(mIconSize * BLUR_FACTOR, Blur.NORMAL));
66 Bitmap result = Bitmap.createBitmap(mIconSize, mIconSize, Config.ARGB_8888);
75 mCanvas.drawBitmap(shadow, offset[0], offset[1] + KEY_SHADOW_DISTANCE * mIconSize, mDrawPaint);
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DPowerGaugePreference.java35 private final int mIconSize; field in class:PowerGaugePreference
48 mIconSize = context.getResources().getDimensionPixelSize(R.dimen.app_icon_size);
69 icon.setLayoutParams(new LinearLayout.LayoutParams(mIconSize, mIconSize));
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DShortcutIntentBuilder.java92 private int mIconSize; field in class:ShortcutIntentBuilder
128 mIconSize = mResources.getDimensionPixelSize(R.dimen.shortcut_icon_size);
129 if (mIconSize == 0) {
130 mIconSize = am.getLauncherLargeIconSize();
346 Bitmap bitmap = Bitmap.createBitmap(mIconSize, mIconSize, Bitmap.Config.ARGB_8888);
350 Rect dst = new Rect(0,0, mIconSize, mIconSize);
358 roundedDrawable.setCornerRadius(mIconSize / 2);
359 Bitmap roundedBitmap = Bitmap.createBitmap(mIconSize, mIconSiz
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/folder/
H A DClippedFolderIconLayoutRule.java24 private float mIconSize; field in class:ClippedFolderIconLayoutRule
32 mIconSize = intrinsicIconSize;
48 transX = transY = mAvailableSpace / 2 - (mIconSize * totalScale) / 2;
97 float halfIconSize = (mIconSize * scaleForNumItems(curNumItems)) / 2;
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
H A DContactRecipientPhotoManager.java43 private final int mIconSize; field in class:ContactRecipientPhotoManager
49 mIconSize = context.getResources().getDimensionPixelSize(
68 new AvatarRequestDescriptor(avatarUri, mIconSize, mIconSize);
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
H A DThirdPartyWallpaperInfo.java26 private final int mIconSize; field in class:ThirdPartyWallpaperInfo
30 mIconSize = iconSize;
52 icon.setBounds(new Rect(0, 0, mIconSize, mIconSize));
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DUndoBarView.java44 private final int mIconSize; field in class:UndoBarView
67 mIconSize = GalleryUtils.dpToPixel(32);
83 + mIconMargin + mIconSize + mSeparatorRightMargin;
114 x -= mIconMargin + mIconSize;
115 y = (mBarHeight - mIconSize) / 2;
116 mUndoIcon.draw(canvas, x, y, mIconSize, mIconSize);
/packages/apps/Messaging/src/com/android/messaging/widget/
H A DBaseWidgetFactory.java61 protected int mIconSize; field in class:BaseWidgetFactory
72 mIconSize = (int) context.getResources()
173 descriptor = new AvatarGroupRequestDescriptor(avatarUri, mIconSize, mIconSize);
175 descriptor = new AvatarRequestDescriptor(avatarUri, mIconSize, mIconSize);
H A DWidgetConversationService.java84 mIconSize = (int) context.getResources()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/
H A DUserPresetsAdapter.java40 private int mIconSize = 160; field in class:UserPresetsAdapter
50 mIconSize = context.getResources().getDimensionPixelSize(R.dimen.category_panel_icon_size);
112 action.setImageFrame(new Rect(0, 0, mIconSize, mIconSize), CategoryView.VERTICAL);
/packages/apps/Camera2/src/com/android/camera/ui/
H A DModeTransitionView.java79 private int mIconSize; field in class:ModeTransitionView
112 mIconSize = getResources().getDimensionPixelSize(R.dimen.mode_transition_view_icon_size);
198 mIconRect.set(mWidth / 2 - mIconSize / 2, mHeight / 2 - mIconSize / 2,
199 mWidth / 2 + mIconSize / 2, mHeight / 2 + mIconSize / 2);
251 int size = (int) (scale * (float) mIconSize);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DBubbleTextView.java88 private final int mIconSize; field in class:BubbleTextView
134 mIconSize = a.getDimensionPixelSize(R.styleable.BubbleTextView_iconSizeOverride,
443 int cellHeightPx = mIconSize + getCompoundDrawablePadding() +
536 if (mIconSize != -1) {
537 mIcon.setBounds(0, 0, mIconSize, mIconSize);
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
H A DAppChooserActivity.java61 private int mIconSize; field in class:AppChooserActivity
102 mIconSize = am.getLauncherLargeIconSize();
259 lp.width = lp.height = mIconSize;

Completed in 592 milliseconds