Home
last modified time | relevance | path

Searched refs:InsetDrawable (Results 1 – 25 of 38) sorted by relevance

12

/aosp12/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
H A DDrawableLayoutDirectionHelper.java22 import android.graphics.drawable.InsetDrawable;
34 public static InsetDrawable createRelativeInsetDrawable( in createRelativeInsetDrawable()
48 public static InsetDrawable createRelativeInsetDrawable( in createRelativeInsetDrawable()
70 public static InsetDrawable createRelativeInsetDrawable( in createRelativeInsetDrawable()
86 private static InsetDrawable createRelativeInsetDrawable( in createRelativeInsetDrawable()
94 return new InsetDrawable(drawable, insetEnd, insetTop, insetStart, insetBottom); in createRelativeInsetDrawable()
96 return new InsetDrawable(drawable, insetStart, insetTop, insetEnd, insetBottom); in createRelativeInsetDrawable()
/aosp12/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/template/
H A DRecyclerMixinTest.java30 import android.graphics.drawable.InsetDrawable;
103 InsetDrawable insetDrawable = (InsetDrawable) divider; in testDividerLegacyInset()
119 InsetDrawable insetDrawable = (InsetDrawable) divider; in testDividerInsets()
137 InsetDrawable insetDrawable = (InsetDrawable) divider; in testDividerInsetLegacyRtl()
158 InsetDrawable insetDrawable = (InsetDrawable) divider; in testDividerInsetsRtl()
/aosp12/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
H A DListMixinTest.java32 import android.graphics.drawable.InsetDrawable;
107 InsetDrawable insetDrawable = (InsetDrawable) divider; in testDividerInsetLegacy()
123 InsetDrawable insetDrawable = (InsetDrawable) divider; in testDividerInsets()
141 InsetDrawable insetDrawable = (InsetDrawable) divider; in testDividerInsetLegacyRtl()
162 InsetDrawable insetDrawable = (InsetDrawable) divider; in testDividerInsetsRtl()
/aosp12/frameworks/base/graphics/java/android/graphics/drawable/
H A DInsetDrawable.java58 public class InsetDrawable extends DrawableWrapper { class
68 InsetDrawable() { in InsetDrawable() method in InsetDrawable
78 public InsetDrawable(@Nullable Drawable drawable, int inset) { in InsetDrawable() method in InsetDrawable
88 public InsetDrawable(@Nullable Drawable drawable, float inset) { in InsetDrawable() method in InsetDrawable
101 public InsetDrawable(@Nullable Drawable drawable, int insetLeft, int insetTop, in InsetDrawable() method in InsetDrawable
122 public InsetDrawable(@Nullable Drawable drawable, float insetLeftFraction, in InsetDrawable() method in InsetDrawable
138 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.InsetDrawable); in inflate()
158 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.InsetDrawable); in applyTheme()
383 return new InsetDrawable(state, res); in newDrawable()
419 private InsetDrawable(@NonNull InsetState state, @Nullable Resources res) { in InsetDrawable() method in InsetDrawable
H A DDrawableInflater.java186 return new InsetDrawable(); in inflateFromTag()
/aosp12/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
H A DDrawableLayoutDirectionHelperTest.java29 import android.graphics.drawable.InsetDrawable;
48 final InsetDrawable insetDrawable = in testCreateRelativeInsetDrawableLtr()
71 final InsetDrawable insetDrawable = in testCreateRelativeInsetDrawableRtl()
94 final InsetDrawable insetDrawable = in testCreateRelativeInsetDrawableViewRtl()
121 final InsetDrawable insetDrawable = in testCreateRelativeInsetDrawableContextRtl()
H A DSetupWizardListLayoutTest.java26 import android.graphics.drawable.InsetDrawable;
106 assertTrue("Divider should be instance of InsetDrawable", divider instanceof InsetDrawable); in testDividerInsetLegacy()
122 assertTrue("Divider should be instance of InsetDrawable", divider instanceof InsetDrawable); in testDividerInsets()
H A DGlifListLayoutTest.java27 import android.graphics.drawable.InsetDrawable;
115 assertTrue("Divider should be instance of InsetDrawable", divider instanceof InsetDrawable); in testDividerInsetLegacy()
131 assertTrue("Divider should be instance of InsetDrawable", divider instanceof InsetDrawable); in testDividerInsets()
/aosp12/frameworks/base/core/tests/coretests/src/android/window/
H A DCustomDrawable.java19 import android.graphics.drawable.InsetDrawable;
21 public class CustomDrawable extends InsetDrawable {
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/
H A DPlaceholderInsetDrawable.java19 import android.graphics.drawable.InsetDrawable;
33 public class PlaceholderInsetDrawable extends InsetDrawable {
/aosp12/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/test/
H A DGlifRecyclerLayoutTest.java27 import android.graphics.drawable.InsetDrawable;
116 assertTrue("Divider should be instance of InsetDrawable", divider instanceof InsetDrawable); in testDividerInsetLegacy()
132 assertTrue("Divider should be instance of InsetDrawable", divider instanceof InsetDrawable); in testDividerInsets()
H A DSetupWizardRecyclerLayoutTest.java27 import android.graphics.drawable.InsetDrawable;
118 assertTrue("Divider should be instance of InsetDrawable", divider instanceof InsetDrawable); in testDividerInsetLegacy()
134 assertTrue("Divider should be instance of InsetDrawable", divider instanceof InsetDrawable); in testDividerInsets()
H A DGlifPreferenceLayoutTest.java25 import android.graphics.drawable.InsetDrawable;
91 assertTrue("Divider should be instance of InsetDrawable", divider instanceof InsetDrawable); in testDividerInset()
H A DSetupWizardPreferenceLayoutTest.java25 import android.graphics.drawable.InsetDrawable;
92 assertTrue("Divider should be instance of InsetDrawable", divider instanceof InsetDrawable); in testDividerInset()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
H A DRoundedCornerProgressDrawable.kt24 import android.graphics.drawable.InsetDrawable
39 ) : InsetDrawable(drawable, 0) {
H A DAlphaTintDrawableWrapper.java25 import android.graphics.drawable.InsetDrawable;
51 public class AlphaTintDrawableWrapper extends InsetDrawable {
/aosp12/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/
H A DCarSetupWizardLayout.java25 import android.graphics.drawable.InsetDrawable;
671 if (drawable instanceof InsetDrawable) { in getGradientDrawable()
672 return getGradientDrawableFromInsetDrawable((InsetDrawable) drawable); in getGradientDrawable()
677 if (drawable instanceof InsetDrawable) { in getGradientDrawable()
678 return getGradientDrawableFromInsetDrawable((InsetDrawable) drawable); in getGradientDrawable()
686 private GradientDrawable getGradientDrawableFromInsetDrawable(InsetDrawable insetDrawable) { in getGradientDrawableFromInsetDrawable()
H A DCarSetupWizardBaseLayout.java26 import android.graphics.drawable.InsetDrawable;
785 if (drawable instanceof InsetDrawable) { in getGradientDrawable()
786 return getGradientDrawableFromInsetDrawable((InsetDrawable) drawable); in getGradientDrawable()
791 if (drawable instanceof InsetDrawable) { in getGradientDrawable()
792 return getGradientDrawableFromInsetDrawable((InsetDrawable) drawable); in getGradientDrawable()
800 private GradientDrawable getGradientDrawableFromInsetDrawable(InsetDrawable insetDrawable) { in getGradientDrawableFromInsetDrawable()
/aosp12/packages/apps/Car/Calendar/src/com/android/car/calendar/
H A DEventCalendarItem.java22 import android.graphics.drawable.InsetDrawable;
265 InsetDrawable insetDrawable = in createDescriptionSpannable()
266 new InsetDrawable( in createDescriptionSpannable()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubbleOverflow.kt26 import android.graphics.drawable.InsetDrawable
97 val fg = InsetDrawable(overflowBtn?.drawable, overflowIconInset)
/aosp12/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
H A DGhostedViewLaunchAnimatorController.kt27 import android.graphics.drawable.InsetDrawable
286 if (drawable is InsetDrawable) {
405 if (drawable is InsetDrawable) {
/aosp12/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
H A DThemedIconDrawable.java36 import android.graphics.drawable.InsetDrawable;
222 d = new InsetDrawable(d, .2f); in loadMonochromeDrawable()
276 Drawable fg = new InsetDrawable(mThemeData.loadMonochromeDrawable(colors[1]), inset); in getThemedDrawable()
/aosp12/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DSlowNestedRecyclerViewActivity.java22 import android.graphics.drawable.InsetDrawable;
100 view.setBackgroundDrawable(new InsetDrawable(bg, pad)); in onCreateViewHolder()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSliceView.java29 import android.graphics.drawable.InsetDrawable;
193 if (iconDrawable instanceof InsetDrawable) { in showSlice()
196 iconDrawable = ((InsetDrawable) iconDrawable).getDrawable(); in showSlice()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DSmartReplyView.java16 import android.graphics.drawable.InsetDrawable;
738 if (inset instanceof InsetDrawable) { in setButtonColors()
739 Drawable background = ((InsetDrawable) inset).getDrawable(); in setButtonColors()

12