Home
last modified time | relevance | path

Searched refs:AdaptiveIconDrawable (Results 1 – 19 of 19) 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.java34 private AdaptiveIconDrawable mIconDrawable;
45 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testDraw_withoutBounds()
75 …mIconDrawable = (AdaptiveIconDrawable) getContext().getResources().getDrawable(android.R.drawable.… in testDraw_withBounds()
115 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testGetIconMask_withoutBounds()
144 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testGetIconMaskAfterSetBounds()
167 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testGetOutline_withBounds()
176 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testSetAlpha()
DIconTest.java134 final AdaptiveIconDrawable draw1 = (AdaptiveIconDrawable) im1.loadDrawable(mContext); in testWithAdaptiveBitmap()
137 … (int)(draw1.getIntrinsicWidth() * (1 + 2 * AdaptiveIconDrawable.getExtraInsetFraction())), in testWithAdaptiveBitmap()
138 … (int)(draw1.getIntrinsicHeight() * (1 + 2 * AdaptiveIconDrawable.getExtraInsetFraction())), in testWithAdaptiveBitmap()
142 … (int) (draw1.getIntrinsicWidth() * (1 + 2 * AdaptiveIconDrawable.getExtraInsetFraction())), in testWithAdaptiveBitmap()
143 … (int) (draw1.getIntrinsicHeight() * (1 + 2 * AdaptiveIconDrawable.getExtraInsetFraction()))); in testWithAdaptiveBitmap()
/frameworks/base/core/java/android/util/
DLauncherIcons.java25 import android.graphics.drawable.AdaptiveIconDrawable;
54 if (!(drawable instanceof AdaptiveIconDrawable)) { in wrapIconDrawableWithShadow()
57 Bitmap shadow = getShadowBitmap((AdaptiveIconDrawable) drawable); in wrapIconDrawableWithShadow()
61 private Bitmap getShadowBitmap(AdaptiveIconDrawable d) { in getShadowBitmap()
/frameworks/base/graphics/java/android/graphics/drawable/
DAdaptiveIconDrawable.java76 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
185 public AdaptiveIconDrawable(Drawable backgroundDrawable, in AdaptiveIconDrawable() method in AdaptiveIconDrawable
893 ChildDrawable(@NonNull ChildDrawable orig, @NonNull AdaptiveIconDrawable owner, in ChildDrawable()
957 LayerState(@Nullable LayerState orig, @NonNull AdaptiveIconDrawable owner, in LayerState()
1011 return new AdaptiveIconDrawable(this, null); in newDrawable()
1016 return new AdaptiveIconDrawable(this, res); in newDrawable()
DDrawableInflater.java163 return new AdaptiveIconDrawable(); in inflateFromTag()
DIcon.java330 return new AdaptiveIconDrawable(null, in loadDrawableInner()
/frameworks/support/compat/src/androidTest/java/androidx/core/graphics/drawable/
DIconCompatTest.java32 import android.graphics.drawable.AdaptiveIconDrawable;
171 assertTrue(d instanceof AdaptiveIconDrawable); in testCreateWithAdaptiveBitmap()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassification.java32 import android.graphics.drawable.AdaptiveIconDrawable;
710 return new AdaptiveIconDrawable(null,
/frameworks/base/core/java/android/content/pm/
DShortcutManager.java28 import android.graphics.drawable.AdaptiveIconDrawable;
DLauncherApps.java40 import android.graphics.drawable.AdaptiveIconDrawable;
939 return new AdaptiveIconDrawable(null, dr); in getShortcutIconDrawable()
/frameworks/base/config/
Ddirty-image-objects156 android.graphics.drawable.AdaptiveIconDrawable
Dpreloaded-classes1135 android.graphics.drawable.AdaptiveIconDrawable
1136 android.graphics.drawable.AdaptiveIconDrawable$ChildDrawable
1137 android.graphics.drawable.AdaptiveIconDrawable$LayerState
Dboot-image-profile.txt2102 HPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->getOpacity()I
2103 HPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->isStateful()Z
2104 HPLandroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->newDrawable(Landroid/content/res/Res…
2105 HPLandroid/graphics/drawable/AdaptiveIconDrawable;->getOpacity()I
2106 HPLandroid/graphics/drawable/AdaptiveIconDrawable;->isStateful()Z
2107 HPLandroid/graphics/drawable/AdaptiveIconDrawable;->jumpToCurrentState()V
2108 HPLandroid/graphics/drawable/AdaptiveIconDrawable;->setVisible(ZZ)Z
20382AdaptiveIconDrawable$ChildDrawable;-><init>(Landroid/graphics/drawable/AdaptiveIconDrawable$ChildD…
20383 HSPLandroid/graphics/drawable/AdaptiveIconDrawable$ChildDrawable;->canApplyTheme()Z
20384 …le/AdaptiveIconDrawable$LayerState;-><init>(Landroid/graphics/drawable/AdaptiveIconDrawable$LayerS…
[all …]
Dhiddenapi-public-dex.txt10898 Landroid/graphics/drawable/AdaptiveIconDrawable;
10899 Landroid/graphics/drawable/AdaptiveIconDrawable;-><init>(Landroid/graphics/drawable/Drawable;Landro…
10900 Landroid/graphics/drawable/AdaptiveIconDrawable;->applyTheme(Landroid/content/res/Resources$Theme;)V
10901 Landroid/graphics/drawable/AdaptiveIconDrawable;->canApplyTheme()Z
10902 Landroid/graphics/drawable/AdaptiveIconDrawable;->draw(Landroid/graphics/Canvas;)V
10903 Landroid/graphics/drawable/AdaptiveIconDrawable;->getAlpha()I
10904 Landroid/graphics/drawable/AdaptiveIconDrawable;->getBackground()Landroid/graphics/drawable/Drawabl…
10905 Landroid/graphics/drawable/AdaptiveIconDrawable;->getChangingConfigurations()I
10906 Landroid/graphics/drawable/AdaptiveIconDrawable;->getConstantState()Landroid/graphics/drawable/Draw…
10907 Landroid/graphics/drawable/AdaptiveIconDrawable;->getExtraInsetFraction()F
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java57 import android.graphics.drawable.AdaptiveIconDrawable;
1423 maxIconDimension *= (1 + 2 * AdaptiveIconDrawable.getExtraInsetFraction()); in saveIconAndFixUpShortcutLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java87 import android.graphics.drawable.AdaptiveIconDrawable;
747 assertTrue(dr instanceof AdaptiveIconDrawable); in testIcons()
748 float viewportPercentage = 1 / (1 + 2 * AdaptiveIconDrawable.getExtraInsetFraction()); in testIcons()
/frameworks/base/api/
Dtest-current.txt323 …public class AdaptiveIconDrawable extends android.graphics.drawable.Drawable implements android.gr…
Dcurrent.txt14548 …public class AdaptiveIconDrawable extends android.graphics.drawable.Drawable implements android.gr…
14549 …ctor public AdaptiveIconDrawable(android.graphics.drawable.Drawable, android.graphics.drawable.Dra…