Home
last modified time | relevance | path

Searched refs:iconScale (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBluetoothDeviceLayerDrawable.java68 int batteryLevel, float iconScale) { in createLayerDrawable() argument
84 (int) (deviceDrawable.getIntrinsicHeight() * (1 - iconScale))); in createLayerDrawable()
86 drawable.setConstantState(context, resId, batteryLevel, iconScale); in createLayerDrawable()
91 public void setConstantState(Context context, int resId, int batteryLevel, float iconScale) { in setConstantState() argument
92 mState = new BluetoothDeviceLayerDrawableState(context, resId, batteryLevel, iconScale); in setConstantState()
142 float iconScale; field in BluetoothDeviceLayerDrawable.BluetoothDeviceLayerDrawableState
145 int batteryLevel, float iconScale) { in BluetoothDeviceLayerDrawableState() argument
149 this.iconScale = iconScale; in BluetoothDeviceLayerDrawableState()
154 return createLayerDrawable(context, resId, batteryLevel, iconScale); in newDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java235 float iconScale; in updateIconScaleForNotifications() local
270 iconScale = scaleToOriginalDrawingSize; in updateIconScaleForNotifications()
275 iconScale = iconScale * (imageBounds / (float) originalOuterBounds); in updateIconScaleForNotifications()
278 mIconScale = iconScale * mScaleToFitNewIconSize; in updateIconScaleForNotifications()
286 float iconScale; in updateIconScaleForSystemIcons() local
289 iconScale = mSystemIconDesiredHeight / iconHeight; in updateIconScaleForSystemIcons()
291 iconScale = mSystemIconDefaultScale; in updateIconScaleForSystemIcons()
295 mIconScale = iconScale * mScaleToFitNewIconSize; in updateIconScaleForSystemIcons()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashscreenContentDrawer.java618 final float iconScale = (float) mIconSize / (float) mDefaultIconSize; in build() local
621 (int) (0.5f + iconScale * densityDpi * mNoBackgroundScale); in build()