/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
AppIconDragShadowBuilder.java | 30 final int mIconSize; // Height and width in device-pixels. 37 mIconSize = icon.getHeight() * ICON_SCALE; 42 size.set(mIconSize, mIconSize); 45 touch.set(mIconSize / 2, mIconSize * 2 / 3); 53 mDrawable.setBounds(0, 0, mIconSize, mIconSize);
|
DemoStatusIcons.java | 48 private final int mIconSize; 57 mIconSize = iconSize; 206 addView(v, 0, new LinearLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, mIconSize));
|
NotificationIconAreaController.java | 39 private int mIconSize; 99 mIconSize + 2 * mIconHPadding, getHeight()); 104 mIconSize = res.getDimensionPixelSize(com.android.internal.R.dimen.status_bar_icon_size);
|
StatusBarIconController.java | 114 ViewGroup.LayoutParams.WRAP_CONTENT, mIconSize); 195 protected final int mIconSize; 207 mIconSize = mContext.getResources().getDimensionPixelSize( 304 return new LinearLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, mIconSize); 322 ViewGroup.LayoutParams.WRAP_CONTENT, mIconSize); 413 return new DemoStatusIcons((LinearLayout) mGroup, mIconSize);
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
ContactRecipientPhotoManager.java | 43 private final int mIconSize; 49 mIconSize = context.getResources().getDimensionPixelSize( 68 new AvatarRequestDescriptor(avatarUri, mIconSize, mIconSize);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
TwoTargetPreference.java | 43 private int mIconSize; 81 mIconSize = iconSize; 88 switch (mIconSize) {
|
/packages/apps/Messaging/src/com/android/messaging/widget/ |
BaseWidgetFactory.java | 61 protected int mIconSize; 72 mIconSize = (int) context.getResources() 173 descriptor = new AvatarGroupRequestDescriptor(avatarUri, mIconSize, mIconSize); 175 descriptor = new AvatarRequestDescriptor(avatarUri, mIconSize, mIconSize);
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
ContactIconView.java | 45 protected final int mIconSize; 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/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
ThirdPartyWallpaperInfo.java | 26 private final int mIconSize; 30 mIconSize = iconSize; 52 icon.setBounds(new Rect(0, 0, mIconSize, mIconSize));
|
/frameworks/base/core/java/android/util/ |
LauncherIcons.java | 45 private final int mIconSize; 50 mIconSize = mRes.getDimensionPixelSize(android.R.dimen.app_icon_size); 62 int shadowSize = Math.max(mIconSize, d.getIntrinsicHeight());
|
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/ |
SliceActionView.java | 63 private int mIconSize; 69 mIconSize = res.getDimensionPixelSize(R.dimen.abc_slice_icon_size); 115 int p = action.getImageMode() == ICON_IMAGE ? mIconSize / 2 : 0;
|
GridRowView.java | 84 private int mIconSize; 102 mIconSize = res.getDimensionPixelSize(R.dimen.abc_slice_icon_size); 369 int size = isIcon ? mIconSize : mSmallImageSize;
|
RowView.java | 106 private int mIconSize; 111 mIconSize = getContext().getResources().getDimensionPixelSize(R.dimen.abc_slice_icon_size); 483 int p = isIcon ? mIconSize / 2 : 0;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/ |
UserPresetsAdapter.java | 40 private int mIconSize = 160; 50 mIconSize = context.getResources().getDimensionPixelSize(R.dimen.category_panel_icon_size); 112 action.setImageFrame(new Rect(0, 0, mIconSize, mIconSize), CategoryView.VERTICAL);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
UndoBarView.java | 44 private final int mIconSize; 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/Launcher3/src/com/android/launcher3/folder/ |
ClippedFolderIconLayoutRule.java | 20 private float mIconSize; 27 mIconSize = intrinsicIconSize; 49 mTmpPoint[0] = mTmpPoint[1] = mAvailableSpace / 2 - (mIconSize * totalScale) / 2; 120 float halfIconSize = (mIconSize * scaleForItem(curNumItems)) / 2; 144 return mIconSize;
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
ShadowGenerator.java | 49 private final int mIconSize; 56 mIconSize = LauncherAppState.getIDP(context).iconBitmapSize; 59 mDefaultBlurMaskFilter = new BlurMaskFilter(mIconSize * BLUR_FACTOR, Blur.NORMAL); 78 out.drawBitmap(shadow, offset[0], offset[1] + KEY_SHADOW_DISTANCE * mIconSize, mDrawPaint);
|
/development/samples/Home/src/com/example/android/home/ |
ApplicationsStackLayout.java | 84 private int mIconSize; 106 mIconSize = 42; //(int) getResources().getDimension(android.R.dimen.app_icon_size); 307 info.icon.setBounds(0, 0, mIconSize, mIconSize);
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
AppChooserActivity.java | 61 private int mIconSize; 102 mIconSize = am.getLauncherLargeIconSize(); 259 lp.width = lp.height = mIconSize;
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
ModeTransitionView.java | 79 private int mIconSize; 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/Contacts/src/com/android/contacts/ |
ShortcutIntentBuilder.java | 98 private int mIconSize; 134 mIconSize = mResources.getDimensionPixelSize(R.dimen.shortcut_icon_size); 135 if (mIconSize == 0) { 136 mIconSize = am.getLauncherLargeIconSize(); 371 Bitmap bitmap = Bitmap.createBitmap(mIconSize, mIconSize, Bitmap.Config.ARGB_8888); 375 Rect dst = new Rect(0,0, mIconSize, mIconSize); 388 roundedDrawable.setCornerRadius(mIconSize / 2); 389 Bitmap roundedBitmap = Bitmap.createBitmap(mIconSize, mIconSize, Bitmap.Config.ARGB_8888) [all...] |
DynamicShortcuts.java | 111 private int mIconSize; 135 mIconSize = context.getResources().getDimensionPixelSize(R.dimen.shortcut_icon_size); 136 if (mIconSize == 0) { 137 mIconSize = am.getLauncherLargeIconSize(); 385 BitmapUtil.findOptimalSampleSize(sourceWidth, mIconSize), 386 BitmapUtil.findOptimalSampleSize(sourceHeight, mIconSize)); 429 final Bitmap result = Bitmap.createBitmap(mIconSize, mIconSize, Bitmap.Config.ARGB_8888); 433 avatar.setBounds(0, 0, mIconSize, mIconSize); [all...] |
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/cards/ |
CardView.java | 72 protected final float mIconSize; 119 mIconSize = getResources().getDimension(R.dimen.card_icon_size); 120 mIconsOverlap = mIconSize - mLeftPadding; 214 mRightIconSwitcher.setTranslationX( mCardWidth - mTextPanelWidth / 2 - mIconSize); 240 return Math.max(getLeftIconTargetX(), getRightIconTargetX()) + mIconSize + mLeftPadding; 325 return (int)mIconSize;
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
KeyguardSliceView.java | 86 private int mIconSize; 218 / (float) iconDrawable.getIntrinsicHeight() * mIconSize); 219 iconDrawable.setBounds(0, 0, Math.max(width, 1), mIconSize); 381 mIconSize = mContext.getResources().getDimensionPixelSize(R.dimen.widget_icon_size);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
NotificationShelf.java | 78 private int mIconSize; 131 mIconSize = res.getDimensionPixelSize(com.android.internal.R.dimen.status_bar_icon_size); 640 shelfIconPosition += (icon.getHeight() - icon.getIconScale() * mIconSize) / 2.0f; 645 float shelfIconSize = mIconSize * icon.getIconScale(); [all...] |