Home
last modified time | relevance | path

Searched refs:AdaptiveIconDrawable (Results 1 – 23 of 23) sorted by relevance

/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DAdaptiveIconDrawable_Delegate.java30 /*package*/ static void constructor_after(AdaptiveIconDrawable icon) { in constructor_after()
34 AdaptiveIconDrawable.sMask = PathParser.createPathFromPathData(pathString); in constructor_after()
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DAdaptiveIconDrawableTest.java51 private AdaptiveIconDrawable mIconDrawable;
62 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testDraw_withoutBounds()
92 …mIconDrawable = (AdaptiveIconDrawable) getContext().getResources().getDrawable(android.R.drawable.… in testDraw_withBounds()
132 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testGetIconMask_withoutBounds()
161 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testGetIconMaskAfterSetBounds()
184 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testGetOutline_withBounds()
193 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testSetAlpha()
DIconTest.java135 final AdaptiveIconDrawable draw1 = (AdaptiveIconDrawable) im1.loadDrawable(mContext); in testWithAdaptiveBitmap()
138 … (int)(draw1.getIntrinsicWidth() * (1 + 2 * AdaptiveIconDrawable.getExtraInsetFraction())), in testWithAdaptiveBitmap()
139 … (int)(draw1.getIntrinsicHeight() * (1 + 2 * AdaptiveIconDrawable.getExtraInsetFraction())), in testWithAdaptiveBitmap()
143 … (int) (draw1.getIntrinsicWidth() * (1 + 2 * AdaptiveIconDrawable.getExtraInsetFraction())), in testWithAdaptiveBitmap()
144 … (int) (draw1.getIntrinsicHeight() * (1 + 2 * AdaptiveIconDrawable.getExtraInsetFraction()))); in testWithAdaptiveBitmap()
/frameworks/base/core/java/android/util/
DLauncherIcons.java26 import android.graphics.drawable.AdaptiveIconDrawable;
55 if (!(drawable instanceof AdaptiveIconDrawable)) { in wrapIconDrawableWithShadow()
58 Bitmap shadow = getShadowBitmap((AdaptiveIconDrawable) drawable); in wrapIconDrawableWithShadow()
62 private Bitmap getShadowBitmap(AdaptiveIconDrawable d) { in getShadowBitmap()
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/
DAdaptiveIconShapeDrawable.java22 import android.graphics.drawable.AdaptiveIconDrawable;
54 final float pathSize = AdaptiveIconDrawable.MASK_SIZE; in init()
DAdaptiveOutlineDrawable.java26 import android.graphics.drawable.AdaptiveIconDrawable;
63 final float pathSize = AdaptiveIconDrawable.MASK_SIZE; in draw()
/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java41 import android.graphics.drawable.AdaptiveIconDrawable;
182 if (icon instanceof AdaptiveIconDrawable) { in createUserBadgedIconBitmap()
301 if (icon instanceof AdaptiveIconDrawable) { in createIconBitmap()
352 AdaptiveIconDrawable dr = (AdaptiveIconDrawable) mWrapperIcon; in normalizeAndWrapToAdaptiveIcon()
355 if (!(icon instanceof AdaptiveIconDrawable)) { in normalizeAndWrapToAdaptiveIcon()
411 if (d instanceof AdaptiveIconDrawable) { in getScale()
524 if (d instanceof AdaptiveIconDrawable && mAdaptiveIconScale == SCALE_NOT_INITIALIZED) { in getScale()
/frameworks/base/graphics/java/android/graphics/drawable/
DAdaptiveIconDrawable.java77 public class AdaptiveIconDrawable extends Drawable implements Drawable.Callback { class
144 AdaptiveIconDrawable() { in AdaptiveIconDrawable() method in AdaptiveIconDrawable
152 AdaptiveIconDrawable(@Nullable LayerState state, @Nullable Resources res) { in AdaptiveIconDrawable() method in AdaptiveIconDrawable
188 public AdaptiveIconDrawable(Drawable backgroundDrawable, in AdaptiveIconDrawable() method in AdaptiveIconDrawable
890 ChildDrawable(@NonNull ChildDrawable orig, @NonNull AdaptiveIconDrawable owner, in ChildDrawable()
954 LayerState(@Nullable LayerState orig, @NonNull AdaptiveIconDrawable owner, in LayerState()
1008 return new AdaptiveIconDrawable(this, null); in newDrawable()
1013 return new AdaptiveIconDrawable(this, res); in newDrawable()
DDrawableInflater.java165 return new AdaptiveIconDrawable(); in inflateFromTag()
DIcon.java340 return new AdaptiveIconDrawable(null, in loadDrawableInner()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleView.java23 import android.graphics.drawable.AdaptiveIconDrawable;
244 return new AdaptiveIconDrawable(background, foreground); in buildIconWithTint()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileBaseView.java24 import android.graphics.drawable.AdaptiveIconDrawable;
88 float pathSize = AdaptiveIconDrawable.MASK_SIZE; in QSTileBaseView()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassification.java31 import android.graphics.drawable.AdaptiveIconDrawable;
849 return new AdaptiveIconDrawable(null,
/frameworks/base/core/java/android/content/pm/
DShortcutManager.java33 import android.graphics.drawable.AdaptiveIconDrawable;
DLauncherApps.java46 import android.graphics.drawable.AdaptiveIconDrawable;
1016 return new AdaptiveIconDrawable(null, dr); in getShortcutIconDrawable()
/frameworks/base/config/
Ddirty-image-objects86 android.graphics.drawable.AdaptiveIconDrawable
Dboot-image-profile.txt6112AdaptiveIconDrawable$ChildDrawable;-><init>(Landroid/graphics/drawable/AdaptiveIconDrawable$ChildD…
6113 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$ChildDrawable;->canApplyTheme()Z
6114 …le/AdaptiveIconDrawable$LayerState;-><init>(Landroid/graphics/drawable/AdaptiveIconDrawable$LayerS…
6115 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->canApplyTheme()Z
6116 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->getChangingConfigurations()I
6117 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->invalidateCache()V
6118 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->isStateful()Z
6119 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->newDrawable()Landroid/graphics/draw…
6120 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->newDrawable(Landroid/content/res/Re…
6121 HSPLandroid/graphics/drawable/AdaptiveIconDrawable;-><init>(Landroid/graphics/drawable/AdaptiveIcon…
[all …]
Dpreloaded-classes1272 android.graphics.drawable.AdaptiveIconDrawable$ChildDrawable
1273 android.graphics.drawable.AdaptiveIconDrawable$LayerState
1274 android.graphics.drawable.AdaptiveIconDrawable
Dhiddenapi-greylist-max-o.txt20660 Landroid/graphics/drawable/AdaptiveIconDrawable$ChildDrawable;
20661 Landroid/graphics/drawable/AdaptiveIconDrawable$ChildDrawable;-><init>(I)V
20662AdaptiveIconDrawable$ChildDrawable;-><init>(Landroid/graphics/drawable/AdaptiveIconDrawable$ChildD…
20663 Landroid/graphics/drawable/AdaptiveIconDrawable$ChildDrawable;->canApplyTheme()Z
20664 Landroid/graphics/drawable/AdaptiveIconDrawable$ChildDrawable;->mDensity:I
20665 Landroid/graphics/drawable/AdaptiveIconDrawable$ChildDrawable;->mDrawable:Landroid/graphics/drawabl…
20666 Landroid/graphics/drawable/AdaptiveIconDrawable$ChildDrawable;->mThemeAttrs:[I
20667 Landroid/graphics/drawable/AdaptiveIconDrawable$ChildDrawable;->setDensity(I)V
20668 Landroid/graphics/drawable/AdaptiveIconDrawable$LayerState;
20669 …le/AdaptiveIconDrawable$LayerState;-><init>(Landroid/graphics/drawable/AdaptiveIconDrawable$LayerS…
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java58 import android.graphics.drawable.AdaptiveIconDrawable;
1431 maxIconDimension *= (1 + 2 * AdaptiveIconDrawable.getExtraInsetFraction()); in saveIconAndFixUpShortcutLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java88 import android.graphics.drawable.AdaptiveIconDrawable;
758 assertTrue(dr instanceof AdaptiveIconDrawable); in testIcons()
759 float viewportPercentage = 1 / (1 + 2 * AdaptiveIconDrawable.getExtraInsetFraction()); in testIcons()
/frameworks/base/api/
Dtest-current.txt869 …public class AdaptiveIconDrawable extends android.graphics.drawable.Drawable implements android.gr…
Dcurrent.txt15189 …public class AdaptiveIconDrawable extends android.graphics.drawable.Drawable implements android.gr…
15190 …ctor public AdaptiveIconDrawable(android.graphics.drawable.Drawable, android.graphics.drawable.Dra…