Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAppIconDragShadowBuilder.java30 final int mIconSize; // Height and width in device-pixels. field in AppIconDragShadowBuilder
37 mIconSize = icon.getHeight() * ICON_SCALE; in AppIconDragShadowBuilder()
42 size.set(mIconSize, mIconSize); in onProvideShadowMetrics()
45 touch.set(mIconSize / 2, mIconSize * 2 / 3); in onProvideShadowMetrics()
53 mDrawable.setBounds(0, 0, mIconSize, mIconSize); in onDrawShadow()
DStatusBarIconController.java114 ViewGroup.LayoutParams.WRAP_CONTENT, mIconSize); in onCreateLayoutParams()
195 protected final int mIconSize; field in StatusBarIconController.IconManager
207 mIconSize = mContext.getResources().getDimensionPixelSize( in IconManager()
304 return new LinearLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, mIconSize); in onCreateLayoutParams()
322 ViewGroup.LayoutParams.WRAP_CONTENT, mIconSize); in onDensityOrFontScaleChanged()
413 return new DemoStatusIcons((LinearLayout) mGroup, mIconSize); in createDemoStatusIcons()
DNotificationIconContainer.java148 private int mIconSize; field in NotificationIconContainer
224 mIconSize = 0; in onLayout()
244 mIconSize = size; in setIconSize()
245 mOverflowWidth = mIconSize + (MAX_DOTS - 1) * (mStaticDotDiameter + mDotPadding); in setIconSize()
400 (translationX > (noOverflowAfter ? layoutEnd - mIconSize in calculateIconTranslations()
401 : overflowStart - mIconSize)); in calculateIconTranslations()
539 int translation = (int) (mLastVisibleIconState.xTranslation + mIconSize); in getFinalTranslationX()
626 return mIconSize; in getIconSize()
DNotificationIconAreaController.java39 private int mIconSize; field in NotificationIconAreaController
99 mIconSize + 2 * mIconHPadding, getHeight()); in generateIconLayoutParams()
104 mIconSize = res.getDimensionPixelSize(com.android.internal.R.dimen.status_bar_icon_size); in reloadDimens()
DDemoStatusIcons.java48 private final int mIconSize; field in DemoStatusIcons
57 mIconSize = iconSize; in DemoStatusIcons()
206 … addView(v, 0, new LinearLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, mIconSize)); in updateSlot()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DTwoTargetPreference.java43 private int mIconSize; field in TwoTargetPreference
81 mIconSize = iconSize; in setIconSize()
88 switch (mIconSize) { in onBindViewHolder()
/frameworks/base/core/java/android/util/
DLauncherIcons.java45 private final int mIconSize; field in LauncherIcons
50 mIconSize = mRes.getDimensionPixelSize(android.R.dimen.app_icon_size); in LauncherIcons()
62 int shadowSize = Math.max(mIconSize, d.getIntrinsicHeight()); in getShadowBitmap()
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/
DSliceActionView.java63 private int mIconSize; field in SliceActionView
69 mIconSize = res.getDimensionPixelSize(R.dimen.abc_slice_icon_size); in SliceActionView()
115 int p = action.getImageMode() == ICON_IMAGE ? mIconSize / 2 : 0; in setAction()
DGridRowView.java84 private int mIconSize; field in GridRowView
102 mIconSize = res.getDimensionPixelSize(R.dimen.abc_slice_icon_size); in GridRowView()
369 int size = isIcon ? mIconSize : mSmallImageSize; in addItem()
DRowView.java106 private int mIconSize; field in RowView
111 mIconSize = getContext().getResources().getDimensionPixelSize(R.dimen.abc_slice_icon_size); in RowView()
483 int p = isIcon ? mIconSize / 2 : 0; in addItem()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSliceView.java86 private int mIconSize; field in KeyguardSliceView
218 / (float) iconDrawable.getIntrinsicHeight() * mIconSize); in showSlice()
219 iconDrawable.setBounds(0, 0, Math.max(width, 1), mIconSize); in showSlice()
381 mIconSize = mContext.getResources().getDimensionPixelSize(R.dimen.widget_icon_size); in onDensityOrFontScaleChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java78 private int mIconSize; field in NotificationShelf
131 mIconSize = res.getDimensionPixelSize(com.android.internal.R.dimen.status_bar_icon_size); in initDimens()
640 shelfIconPosition += (icon.getHeight() - icon.getIconScale() * mIconSize) / 2.0f;
645 float shelfIconSize = mIconSize * icon.getIconScale();