Home
last modified time | relevance | path

Searched refs:StateListDrawable (Results 1 – 25 of 33) sorted by relevance

12

/aosp12/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
H A DWidgetsListDrawableFactory.java31 import android.graphics.drawable.StateListDrawable;
58 StateListDrawable stateList = new StateListDrawable(); in createHeaderBackgroundDrawable()
85 StateListDrawable stateList = new StateListDrawable(); in createContentBackgroundDrawable()
/aosp12/frameworks/base/graphics/java/android/graphics/drawable/
H A DStateListDrawable.java63 public class StateListDrawable extends DrawableContainer { class
72 public StateListDrawable() { in StateListDrawable() method in StateListDrawable
120 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.StateListDrawable); in inflate()
313 StateListState(StateListState orig, StateListDrawable owner, Resources res) { in StateListState()
360 return new StateListDrawable(this, null); in newDrawable()
365 return new StateListDrawable(this, res); in newDrawable()
397 private StateListDrawable(StateListState state, Resources res) { in StateListDrawable() method in StateListDrawable
408 StateListDrawable(@Nullable StateListState state) { in StateListDrawable() method in StateListDrawable
H A DDrawableInflater.java154 return new StateListDrawable(); in inflateFromTag()
H A DAnimatedStateListDrawable.java65 public class AnimatedStateListDrawable extends StateListDrawable {
/aosp12/frameworks/opt/chips/src/com/android/ex/chips/
H A DSingleRecipientArrayAdapter.java20 import android.graphics.drawable.StateListDrawable;
29 private final StateListDrawable mDeleteDrawable;
37 DropdownChipLayouter dropdownChipLayouter, StateListDrawable deleteDrawable) { in SingleRecipientArrayAdapter()
H A DCircularImageView.java14 import android.graphics.drawable.StateListDrawable;
63 if (drawable instanceof StateListDrawable) { in onDraw()
64 if (((StateListDrawable) drawable).getCurrent() != null) { in onDraw()
H A DDropdownChipLayouter.java10 import android.graphics.drawable.StateListDrawable;
118 AdapterType type, String constraint, StateListDrawable deleteDrawable) { in bindView()
280 protected void bindDrawableToDeleteView(final StateListDrawable drawable, String recipient, in bindDrawableToDeleteView()
H A DRecipientAlternatesAdapter.java23 import android.graphics.drawable.StateListDrawable;
66 private final StateListDrawable mDeleteDrawable;
379 DropdownChipLayouter dropdownChipLayouter, StateListDrawable deleteDrawable, in RecipientAlternatesAdapter()
H A DRecipientEditTextView.java45 import android.graphics.drawable.StateListDrawable;
2078 private StateListDrawable constructStateListDeleteDrawable() { in constructStateListDeleteDrawable()
2080 StateListDrawable deleteDrawable = new StateListDrawable(); in constructStateListDeleteDrawable()
/aosp12/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteControllerDialog.java30 import android.graphics.drawable.StateListDrawable;
296 if (!(mMediaRouteButtonDrawable instanceof StateListDrawable)) { in getIconDrawable()
299 StateListDrawable stateListDrawable = (StateListDrawable) mMediaRouteButtonDrawable; in getIconDrawable()
303 StateListDrawable stateListDrawable = (StateListDrawable) mMediaRouteButtonDrawable; in getIconDrawable()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
H A DWifiEntryPreference.java21 import android.graphics.drawable.StateListDrawable;
42 private final StateListDrawable mWifiSld;
47 mWifiSld = (StateListDrawable) context.getTheme() in WifiEntryPreference()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
H A DWifiDetailsHeaderPreferenceController.java22 import android.graphics.drawable.StateListDrawable;
41 private final StateListDrawable mWifiSld;
48 mWifiSld = (StateListDrawable) context.getTheme() in WifiDetailsHeaderPreferenceController()
/aosp12/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderDrawable.java33 import android.graphics.drawable.StateListDrawable;
90 if (d instanceof StateListDrawable) { in render()
92 StateListDrawable stateList = (StateListDrawable) d; in render()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DAccessPointPreference.java24 import android.graphics.drawable.StateListDrawable;
66 @Nullable private final StateListDrawable mFrictionSld;
82 private static StateListDrawable getFrictionStateListDrawable(Context context) { in getFrictionStateListDrawable()
90 return frictionSld != null ? (StateListDrawable) frictionSld.getDrawable(0) : null; in getFrictionStateListDrawable()
116 int iconResId, boolean forSavedNetworks, StateListDrawable frictionSld, in AccessPointPreference()
H A DWifiEntryPreference.java23 import android.graphics.drawable.StateListDrawable;
63 @Nullable private final StateListDrawable mFrictionSld;
211 private StateListDrawable getFrictionStateListDrawable() { in getFrictionStateListDrawable()
219 return frictionSld != null ? (StateListDrawable) frictionSld.getDrawable(0) : null; in getFrictionStateListDrawable()
/aosp12/packages/apps/TV/src/com/android/tv/guide/
H A DProgramItemView.java25 import android.graphics.drawable.StateListDrawable;
531 if (drawable instanceof StateListDrawable) { in setProgress()
532 StateListDrawable stateDrawable = (StateListDrawable) drawable; in setProgress()
547 private static int getStateCount(StateListDrawable stateListDrawable) { in getStateCount()
553 StateListDrawable.class in getStateCount()
566 private static Drawable getStateDrawable(StateListDrawable stateListDrawable, int index) { in getStateDrawable()
572 StateListDrawable.class in getStateDrawable()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
H A DAccessPointPreference.java9 import android.graphics.drawable.StateListDrawable;
52 private final StateListDrawable mFrictionSld;
67 private static StateListDrawable getFrictionStateListDrawable(Context context) { in getFrictionStateListDrawable()
75 return frictionSld != null ? (StateListDrawable) frictionSld.getDrawable(0) : null; in getFrictionStateListDrawable()
101 int iconResId, boolean forSavedNetworks, StateListDrawable frictionSld, in AccessPointPreference()
/aosp12/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
H A DStateListDrawableTest.java34 private StateListDrawable slDrawable;
71 slDrawable = new StateListDrawable(); in setUp()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/contact/
H A DContactDropdownLayouter.java19 import android.graphics.drawable.StateListDrawable;
73 final StateListDrawable deleteDrawable) { in bindView()
/aosp12/frameworks/base/core/java/android/widget/
H A DProgressBar.java41 import android.graphics.drawable.StateListDrawable;
512 if (dr instanceof StateListDrawable) { in needsTileify()
513 final StateListDrawable in = (StateListDrawable) dr; in needsTileify()
569 if (drawable instanceof StateListDrawable) { in tileify()
570 final StateListDrawable in = (StateListDrawable) drawable; in tileify()
571 final StateListDrawable out = new StateListDrawable(); in tileify()
H A DPopupWindow.java32 import android.graphics.drawable.StateListDrawable;
560 if (mBackground instanceof StateListDrawable) { in setBackgroundDrawable()
561 StateListDrawable stateList = (StateListDrawable) mBackground; in setBackgroundDrawable()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
H A DConversationFastScroller.java24 import android.graphics.drawable.StateListDrawable;
168 final StateListDrawable drawable = new StateListDrawable(); in refreshConversationThemeColor()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
H A DControlViewHolder.kt32 import android.graphics.drawable.StateListDrawable
477 if (drawable is StateListDrawable) {
480 if (icon.drawable == null || !(icon.drawable is StateListDrawable)) {
/aosp12/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
H A DThemeComponentOption.java41 import android.graphics.drawable.StateListDrawable;
353 StateListDrawable stateListDrawable = new StateListDrawable(); in bindThumbnailTile()
/aosp12/packages/apps/Calendar/src/com/android/calendar/month/
H A DMonthByWeekFragment.java27 import android.graphics.drawable.StateListDrawable;
285 mListView.setSelector(new StateListDrawable()); in onActivityCreated()

12