Home
last modified time | relevance | path

Searched refs:mIconSize (Results 1 – 19 of 19) 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()
DNotificationIconContainer.java158 private int mIconSize; field in NotificationIconContainer
266 mIconSize = 0; in onLayout()
307 mIconSize = size; in setIconSize()
473 contentWidth = mIconSize * numIcons; in calculateWidthFor()
475 contentWidth = mIconSize * MathUtils.min(numIcons, mMaxIconsOnLockscreen + 1); in calculateWidthFor()
536 /* isLastChild= */ i == childCount - 1, translationX, layoutEnd, mIconSize); in calculateIconXTranslations()
682 : mLastVisibleIconState.getXTranslation() + mIconSize); in getFinalTranslationX()
740 return mIconSize; in getIconSize()
DDemoStatusIcons.java53 private final int mIconSize; field in DemoStatusIcons
71 mIconSize = iconSize; in DemoStatusIcons()
319 return new LinearLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, mIconSize); in createLayoutParams()
DLegacyNotificationIconAreaControllerImpl.java98 private int mIconSize; field in LegacyNotificationIconAreaControllerImpl
228 mIconSize + 2 * mIconHPadding, mStatusBarWindowController.getStatusBarHeight()); in generateIconLayoutParams()
233 mIconSize = res.getDimensionPixelSize(com.android.internal.R.dimen.status_bar_icon_size_sp); in reloadDimens()
/frameworks/base/core/java/android/window/
DSplashScreenView.java121 private int mIconSize; field in SplashScreenView.Builder
149 mIconSize = parcelable.getIconSize(); in createFromParcel()
182 mIconSize = iconSize; in setIconSize()
276 } else if (mIconSize != 0) { in build()
281 params.width = mIconSize; in build()
282 params.height = mIconSize; in build()
316 + mIconDrawable + " size: " + mIconSize in build()
350 new WindowManager.LayoutParams(mIconSize, mIconSize, in createSurfaceView()
366 if (mIconSize != 0) { in createSurfaceView()
367 LayoutParams lp = new FrameLayout.LayoutParams(mIconSize, mIconSize); in createSurfaceView()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleStoryIconFactory.java48 private float mIconSize; field in PeopleStoryIconFactory
58 mIconSize = mDensity * iconSizeDp; in PeopleStoryIconFactory()
92 mIconBitmapSize, mImportantConversationColor, important, mIconSize, mDensity, in getPeopleTileDrawable()
104 private int mIconSize; field in PeopleStoryIconFactory.PeopleStoryIconDrawable
120 mIconSize = iconSize; in PeopleStoryIconDrawable()
135 return mIconSize; in getIntrinsicWidth()
140 return mIconSize; in getIntrinsicHeight()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DShadowGenerator.java48 private final int mIconSize; field in ShadowGenerator
55 mIconSize = iconSize; in ShadowGenerator()
58 mDefaultBlurMaskFilter = new BlurMaskFilter(mIconSize * BLUR_FACTOR, Blur.NORMAL); in ShadowGenerator()
73 out.drawBitmap(shadow, offset[0], offset[1] + KEY_SHADOW_DISTANCE * mIconSize, in drawShadow()
90 out.translate(0, KEY_SHADOW_DISTANCE * mIconSize); in addPathShadow()
/frameworks/base/core/java/com/android/internal/widget/
DEmphasizedNotificationButton.java61 private int mIconSize; field in EmphasizedNotificationButton
89 mIconSize = mContext.getResources().getDimensionPixelSize( in EmphasizedNotificationButton()
99 Log.v(TAG, "iconSize = " + mIconSize + "px, " in EmphasizedNotificationButton()
188 drawable.setBounds(0, 0, mIconSize, mIconSize); in prepareIcon()
325 + "iconSize = " + mIconSize + "px, " in glueIconAndLabel()
348 appendSpan(builder, mLabelToGlue, new CenterBesideImageSpan(mIconSize)); in glueIconAndLabel()
/frameworks/base/packages/SettingsLib/TwoTargetPreference/src/com/android/settingslib/widget/
DTwoTargetPreference.java49 private int mIconSize; field in TwoTargetPreference
87 mIconSize = iconSize; in setIconSize()
94 switch (mIconSize) { in onBindViewHolder()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DConversationIconFactory.java139 private int mIconSize; field in ConversationIconFactory.ConversationIconDrawable
151 mIconSize = iconSize; in ConversationIconDrawable()
173 return mIconSize; in getIntrinsicWidth()
178 return mIconSize; in getIntrinsicHeight()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedSwitchPreference.java54 private int mIconSize; field in RestrictedSwitchPreference
108 mIconSize = iconSize; in setIconSize()
137 if (mIconSize > 0) { in onBindViewHolder()
138 icon.setLayoutParams(new LinearLayout.LayoutParams(mIconSize, mIconSize)); in onBindViewHolder()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DSplitDecorManager.java96 private int mIconSize; field in SplitDecorManager
133 mIconSize = context.getResources().getDimensionPixelSize(R.dimen.split_icon_size); in inflate()
141 lp.width = mIconSize; in inflate()
142 lp.height = mIconSize; in inflate()
261 lp.width = mIconSize; in onResizing()
262 lp.height = mIconSize; in onResizing()
267 newBounds.width() / 2 - mIconSize / 2, in onResizing()
268 newBounds.height() / 2 - mIconSize / 2); in onResizing()
/frameworks/base/core/java/android/util/
DLauncherIcons.java46 private final int mIconSize; field in LauncherIcons
52 mIconSize = mRes.getDimensionPixelSize(android.R.dimen.app_icon_size); in LauncherIcons()
65 int shadowSize = Math.max(mIconSize, d.getIntrinsicHeight()); in getShadowBitmap()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRowDragController.java64 private int mIconSize; field in ExpandableNotificationRowDragController
85 mIconSize = mContext.getResources().getDimensionPixelSize(R.dimen.drag_and_drop_icon_size); in init()
121 snapshot.layout(0, 0, mIconSize, mIconSize); in startDragAndDrop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ui/
DIconManager.java72 protected int mIconSize; field in IconManager
237 return new LinearLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, mIconSize); in onCreateLayoutParams()
245 mIconSize = mContext.getResources().getDimensionPixelSize( in reloadDimens()
319 mIconSize in createDemoStatusIcons()
DDarkIconManager.java69 ViewGroup.LayoutParams.WRAP_CONTENT, mIconSize); in onCreateLayoutParams()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSliceView.java76 private int mIconSize; field in KeyguardSliceView
107 mIconSize = (int) mContext.getResources().getDimension(R.dimen.widget_icon_size); in onFinishInflate()
189 final int iconSize = mHasHeader ? mIconSizeWithHeader : mIconSize; in showSlice()
262 mIconSize = mContext.getResources().getDimensionPixelSize(R.dimen.widget_icon_size); in onDensityOrFontScaleChanged()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashscreenContentDrawer.java119 private int mIconSize; field in SplashscreenContentDrawer
324 mIconSize = mContext.getResources().getDimensionPixelSize( in updateDensity()
559 private int mFinalIconSize = mIconSize;
618 final float iconScale = (float) mIconSize / (float) mDefaultIconSize; in build()
707 mFinalIconSize = (int) (0.5f + mIconSize * noBgScale); in processAdaptiveIcon()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt57227 Landroid/util/LauncherIcons;->mIconSize:I