HomeSort by relevance Sort by last modified time
    Searched refs:mIconSize (Results 1 - 25 of 29) sorted by null

1 2

  /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);
StatusBarIconController.java 88 ViewGroup.LayoutParams.WRAP_CONTENT, mIconSize);
145 protected final int mIconSize;
150 mIconSize = mContext.getResources().getDimensionPixelSize(
173 return new LinearLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, mIconSize);
191 ViewGroup.LayoutParams.WRAP_CONTENT, mIconSize);
NotificationIconContainer.java 118 private int mIconSize;
158 mIconSize = 0;
168 mIconSize = child.getWidth();
297 float overflowStart = layoutEnd - mIconSize * (2 + OVERFLOW_EARLY_AMOUNT);
315 || (translationX >= (noOverflowAfter ? layoutEnd - mIconSize : overflowStart)))) {
318 visualOverflowStart = overflowStart + mIconSize * (1 + OVERFLOW_EARLY_AMOUNT)
320 - mIconSize * 0.5f + mStaticDotRadius;
325 visualOverflowStart += (translationX - overflowStart) / mIconSize
338 - mIconSize * 0.5f + mStaticDotRadius;
496 float width = (getChildCount() + OVERFLOW_EARLY_AMOUNT) * mIconSize;
    [all...]
DemoStatusIcons.java 35 private final int mIconSize;
42 mIconSize = iconSize;
156 addView(v, 0, new LinearLayout.LayoutParams(mIconSize, mIconSize));
NotificationIconAreaController.java 35 private int mIconSize;
94 mIconSize + 2 * mIconHPadding, getHeight());
99 mIconSize = res.getDimensionPixelSize(com.android.internal.R.dimen.status_bar_icon_size);
  /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/Launcher3/src/com/android/launcher3/folder/
ClippedFolderIconLayoutRule.java 21 private float mIconSize;
29 mIconSize = intrinsicIconSize;
52 mTmpPoint[0] = mTmpPoint[1] = mAvailableSpace / 2 - (mIconSize * totalScale) / 2;
123 float halfIconSize = (mIconSize * scaleForItem(index, curNumItems)) / 2;
150 return 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);
  /packages/apps/Settings/src/com/android/settings/fuelgauge/
PowerGaugePreference.java 41 private final int mIconSize;
68 mIconSize = context.getResources().getDimensionPixelSize(R.dimen.app_icon_size);
112 icon.setLayoutParams(new LinearLayout.LayoutParams(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));
  /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/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);
  /frameworks/support/design/src/android/support/design/internal/
NavigationMenuItemView.java 55 private final int mIconSize;
97 mIconSize = context.getResources().getDimensionPixelSize(
218 icon.setBounds(0, 0, mIconSize, mIconSize);
224 mEmptyDrawable.setBounds(0, 0, mIconSize, mIconSize);
  /packages/apps/Launcher3/src/com/android/launcher3/graphics/
ShadowGenerator.java 51 private final int mIconSize;
59 mIconSize = LauncherAppState.getIDP(context).iconBitmapSize;
63 mDefaultBlurMaskFilter = new BlurMaskFilter(mIconSize * BLUR_FACTOR, Blur.NORMAL);
73 int width = resize ? mIconSize : icon.getWidth();
74 int height = resize ? mIconSize : icon.getHeight();
88 mCanvas.drawBitmap(shadow, offset[0], offset[1] + KEY_SHADOW_DISTANCE * mIconSize, mDrawPaint);
  /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/Launcher3/src/com/android/launcher3/
BubbleTextView.java 83 private final int mIconSize;
168 mIconSize = a.getDimensionPixelSize(R.styleable.BubbleTextView_iconSizeOverride,
382 mTempSpaceForBadgeOffset.set((getWidth() - mIconSize) / 2, getPaddingTop());
411 int left = (getWidth() - mIconSize) / 2;
412 int right = left + mIconSize;
413 int bottom = top + mIconSize;
421 int cellHeightPx = mIconSize + getCompoundDrawablePadding() +
553 mIcon.setBounds(0, 0, mIconSize, mIconSize);
565 icon.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;
MediaCard.java 101 mLeftPadding + mIconsOverlap + mIconSize + mLeftPadding)
  /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/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);
  /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/Car/Stream/src/com/android/car/stream/media/
MediaPlaybackMonitor.java 78 private final int mIconSize;
83 mIconSize = mContext.getResources().getDimensionPixelSize(R.dimen.stream_media_icon_size);
308 .resource(mIconUri).width(mIconSize)
309 .height(mIconSize).build(), mCallback);
  /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());
  /packages/apps/Nfc/src/com/android/nfc/cardemulation/
AppChooserActivity.java 61 private int mIconSize;
102 mIconSize = am.getLauncherLargeIconSize();
259 lp.width = lp.height = mIconSize;

Completed in 872 milliseconds

1 2