HomeSort by relevance Sort by last modified time
    Searched defs:mIconSize (Results 1 - 24 of 24) sorted by null

  /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 35 private final int mIconSize;
42 mIconSize = iconSize;
156 addView(v, 0, new LinearLayout.LayoutParams(mIconSize, mIconSize));
NotificationIconAreaController.java 37 private int mIconSize;
96 mIconSize + 2 * mIconHPadding, getHeight());
101 mIconSize = res.getDimensionPixelSize(com.android.internal.R.dimen.status_bar_icon_size);
StatusBarIconController.java 85 ViewGroup.LayoutParams.WRAP_CONTENT, mIconSize);
117 protected final int mIconSize;
122 mIconSize = mContext.getResources().getDimensionPixelSize(
145 return new LinearLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, mIconSize);
163 ViewGroup.LayoutParams.WRAP_CONTENT, mIconSize);
NotificationIconContainer.java 120 private int mIconSize;
156 mIconSize = 0;
166 mIconSize = child.getWidth();
295 float overflowStart = layoutEnd - mIconSize * (2 + OVERFLOW_EARLY_AMOUNT);
313 || (translationX >= (noOverflowAfter ? layoutEnd - mIconSize : overflowStart)))) {
316 visualOverflowStart = overflowStart + mIconSize * (1 + OVERFLOW_EARLY_AMOUNT)
318 - mIconSize * 0.5f + mStaticDotRadius;
323 visualOverflowStart += (translationX - overflowStart) / mIconSize
336 - mIconSize * 0.5f + mStaticDotRadius;
489 float width = (getChildCount() + OVERFLOW_EARLY_AMOUNT) * mIconSize;
    [all...]
  /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/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/Settings/src/com/android/settings/fuelgauge/
PowerGaugePreference.java 39 private final int mIconSize;
65 mIconSize = context.getResources().getDimensionPixelSize(R.dimen.app_icon_size);
99 icon.setLayoutParams(new LinearLayout.LayoutParams(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());
  /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 25 private float mIconSize;
33 mIconSize = intrinsicIconSize;
49 transX = transY = mAvailableSpace / 2 - (mIconSize * totalScale) / 2;
98 float halfIconSize = (mIconSize * scaleForItem(index, curNumItems)) / 2;
  /packages/apps/Launcher3/src/com/android/launcher3/graphics/
ShadowGenerator.java 50 private final int mIconSize;
57 mIconSize = LauncherAppState.getIDP(context).iconBitmapSize;
60 mBlurPaint.setMaskFilter(new BlurMaskFilter(mIconSize * BLUR_FACTOR, Blur.NORMAL));
67 Bitmap result = Bitmap.createBitmap(mIconSize, mIconSize, Config.ARGB_8888);
76 mCanvas.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);
  /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/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);
  /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 96 private int mIconSize;
132 mIconSize = mResources.getDimensionPixelSize(R.dimen.shortcut_icon_size);
133 if (mIconSize == 0) {
134 mIconSize = am.getLauncherLargeIconSize();
349 Bitmap bitmap = Bitmap.createBitmap(mIconSize, mIconSize, Bitmap.Config.ARGB_8888);
353 Rect dst = new Rect(0,0, mIconSize, mIconSize);
361 roundedDrawable.setCornerRadius(mIconSize / 2);
362 Bitmap roundedBitmap = Bitmap.createBitmap(mIconSize, mIconSize, Bitmap.Config.ARGB_8888)
    [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;
  /packages/apps/Launcher3/src/com/android/launcher3/
BubbleTextView.java 93 private final int mIconSize;
163 mIconSize = a.getDimensionPixelSize(R.styleable.BubbleTextView_iconSizeOverride,
452 mTempSpaceForBadgeOffset.set((getWidth() - mIconSize) / 2, getPaddingTop());
481 int left = (getWidth() - mIconSize) / 2;
482 int right = left + mIconSize;
483 int bottom = top + mIconSize;
499 int cellHeightPx = mIconSize + getCompoundDrawablePadding() +
605 mIcon.setBounds(0, 0, mIconSize, mIconSize);
  /prebuilts/sdk/current/support/design/libs/
android-support-design.jar 

Completed in 1915 milliseconds