Home
last modified time | relevance | path

Searched refs:DrawableRes (Results 1 – 25 of 68) sorted by relevance

123

/frameworks/base/core/java/android/view/
DSubMenu.java19 import android.annotation.DrawableRes;
60 public SubMenu setHeaderIcon(@DrawableRes int iconRes); in setHeaderIcon()
93 public SubMenu setIcon(@DrawableRes int iconRes); in setIcon()
DContextMenu.java19 import android.annotation.DrawableRes;
66 public ContextMenu setHeaderIcon(@DrawableRes int iconRes); in setHeaderIcon()
DWindow.java22 import android.annotation.DrawableRes;
1572 public void setBackgroundDrawableResource(@DrawableRes int resId) { in setBackgroundDrawableResource()
1597 public abstract void setFeatureDrawableResource(int featureId, @DrawableRes int resId); in setFeatureDrawableResource()
1867 public void setIcon(@DrawableRes int resId) { } in setIcon()
1876 public void setDefaultIcon(@DrawableRes int resId) { } in setDefaultIcon()
1885 public void setLogo(@DrawableRes int resId) { } in setLogo()
1894 public void setDefaultLogo(@DrawableRes int resId) { } in setDefaultLogo()
DMenuItem.java19 import android.annotation.DrawableRes;
225 public MenuItem setIcon(@DrawableRes int iconRes); in setIcon()
/frameworks/base/core/java/android/content/res/
DCompatResources.java18 import android.annotation.DrawableRes;
45 public Drawable getDrawable(@DrawableRes int id) throws NotFoundException { in getDrawable()
50 public Drawable getDrawableForDensity(@DrawableRes int id, int density) in getDrawableForDensity()
/frameworks/base/core/java/android/service/autofill/
DImageTransformation.java21 import android.annotation.DrawableRes;
129 public Builder(@NonNull AutofillId id, @NonNull Pattern regex, @DrawableRes int resId) { in Builder()
144 public Builder(@NonNull AutofillId id, @NonNull Pattern regex, @DrawableRes int resId, in Builder()
162 public Builder addOption(@NonNull Pattern regex, @DrawableRes int resId) { in addOption()
178 public Builder addOption(@NonNull Pattern regex, @DrawableRes int resId, in addOption()
184 private void addOptionInternal(@NonNull Pattern regex, @DrawableRes int resId, in addOptionInternal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DContextualButton.java19 import android.annotation.DrawableRes;
37 protected final @DrawableRes int mIconResId;
45 public ContextualButton(@IdRes int buttonResId, @DrawableRes int iconResId) { in ContextualButton()
DRotationContextButton.java21 import android.annotation.DrawableRes;
37 public RotationContextButton(@IdRes int buttonResId, @DrawableRes int iconResId) { in RotationContextButton()
DNavigationBarView.java37 import android.annotation.DrawableRes;
479 public @DrawableRes int getBackDrawableRes() { in getBackDrawableRes()
524 private KeyButtonDrawable chooseNavigationIconDrawable(@DrawableRes int icon, in chooseNavigationIconDrawable()
525 @DrawableRes int quickStepIcon) { in chooseNavigationIconDrawable()
529 private @DrawableRes int chooseNavigationIconDrawableRes(@DrawableRes int icon, in chooseNavigationIconDrawableRes()
530 @DrawableRes int quickStepIcon) { in chooseNavigationIconDrawableRes()
535 private KeyButtonDrawable getDrawable(@DrawableRes int icon) { in getDrawable()
539 private KeyButtonDrawable getDrawable(@DrawableRes int icon, boolean hasShadow) { in getDrawable()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DIconMixin.java22 import androidx.annotation.DrawableRes;
46 final @DrawableRes int icon = a.getResourceId(R.styleable.SuwIconMixin_android_icon, 0); in IconMixin()
72 public void setIcon(@DrawableRes int icon) { in setIcon()
/frameworks/base/core/java/android/text/style/
DImageSpan.java19 import android.annotation.DrawableRes;
65 @DrawableRes
206 public ImageSpan(@NonNull Context context, @DrawableRes int resourceId) { in ImageSpan()
219 public ImageSpan(@NonNull Context context, @DrawableRes int resourceId, in ImageSpan()
/frameworks/base/tests/testables/src/android/testing/
DTestableImageView.java17 import android.annotation.DrawableRes;
32 public void setImageResource(@DrawableRes int resId) { in setImageResource()
/frameworks/base/packages/SettingsLib/ActionButtonsPreference/src/com/android/settingslib/widget/
DActionButtonsPreference.java28 import androidx.annotation.DrawableRes;
126 public ActionButtonsPreference setButton1Icon(@DrawableRes int iconResId) { in setButton1Icon()
191 public ActionButtonsPreference setButton2Icon(@DrawableRes int iconResId) { in setButton2Icon()
256 public ActionButtonsPreference setButton3Icon(@DrawableRes int iconResId) { in setButton3Icon()
321 public ActionButtonsPreference setButton4Icon(@DrawableRes int iconResId) { in setButton4Icon()
/frameworks/base/core/java/android/widget/
DImageSwitcher.java19 import android.annotation.DrawableRes;
62 public void setImageResource(@DrawableRes int resid) in setImageResource()
DCalendarView.java21 import android.annotation.DrawableRes;
311 public void setSelectedDateVerticalBar(@DrawableRes int resourceId) { in setSelectedDateVerticalBar()
616 void setSelectedDateVerticalBar(@DrawableRes int resourceId); in setSelectedDateVerticalBar()
747 public void setSelectedDateVerticalBar(@DrawableRes int resId) { in setSelectedDateVerticalBar()
DTabWidget.java19 import android.annotation.DrawableRes;
255 public void setDividerDrawable(@DrawableRes int resId) { in setDividerDrawable()
282 public void setLeftStripDrawable(@DrawableRes int resId) { in setLeftStripDrawable()
321 public void setRightStripDrawable(@DrawableRes int resId) { in setRightStripDrawable()
/frameworks/base/core/java/android/app/
DActionBar.java19 import android.annotation.DrawableRes;
284 public abstract void setIcon(@DrawableRes int resId); in setIcon()
314 public abstract void setLogo(@DrawableRes int resId); in setLogo()
923 public void setHomeAsUpIndicator(@DrawableRes int resId) { } in setHomeAsUpIndicator()
1203 public abstract Tab setIcon(@DrawableRes int resId); in setIcon()
/frameworks/base/core/java/com/android/internal/widget/
DCachingIconView.java19 import android.annotation.DrawableRes;
72 public void setImageResource(@DrawableRes int resId) { in setImageResource()
82 public Runnable setImageResourceAsync(@DrawableRes int resId) { in setImageResourceAsync()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableInflater.java19 import android.annotation.DrawableRes;
64 public static Drawable loadDrawable(@NonNull Context context, @DrawableRes int id) { in loadDrawable()
78 @NonNull Resources resources, @Nullable Theme theme, @DrawableRes int id) { in loadDrawable()
/frameworks/base/core/java/android/net/
DNetworkBadging.java19 import android.annotation.DrawableRes;
80 @DrawableRes private static int getWifiSignalResource(int signalLevel) { in getWifiSignalResource()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEntry.java22 import androidx.annotation.DrawableRes;
89 @DrawableRes private int mIndicatorIconId;
337 @DrawableRes
345 public void setIndicatorIconId(@DrawableRes int indicatorIconId) { in setIndicatorIconId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonDrawable.java21 import android.annotation.DrawableRes;
433 public static KeyButtonDrawable create(@NonNull Context ctx, @DrawableRes int icon, in create()
447 public static KeyButtonDrawable create(@NonNull Context ctx, @DrawableRes int icon, in create()
457 @DrawableRes int iconResId, boolean hasShadow, Color ovalBackgroundColor) { in create()
469 @ColorInt int darkColor, @DrawableRes int iconResId, boolean hasShadow, in create()
/frameworks/base/core/java/android/content/pm/
DSuspendDialogInfo.java21 import android.annotation.DrawableRes;
81 @DrawableRes
294 public Builder setIcon(@DrawableRes int resId) { in setIcon()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DPartner.java31 import androidx.annotation.DrawableRes;
63 public static Drawable getDrawable(Context context, @DrawableRes int id) { in getDrawable()
/frameworks/base/core/java/android/annotation/
DDrawableRes.java36 public @interface DrawableRes { annotation

123