Home
last modified time | relevance | path

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

1234

/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()
/frameworks/support/browser/src/main/java/androidx/browser/browseractions/
DBrowserActionItem.java21 import androidx.annotation.DrawableRes;
31 @DrawableRes
41 @NonNull String title, @NonNull PendingIntent action, @DrawableRes int iconId) { in BrowserActionItem()
/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/support/compat/src/androidTest/java/android/support/v4/testutils/
DTextViewActions.java27 import androidx.annotation.DrawableRes;
207 final @DrawableRes int start, final @DrawableRes int top, final @DrawableRes int end,
208 final @DrawableRes int bottom) {
/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/core/java/android/text/style/
DImageSpan.java19 import android.annotation.DrawableRes;
63 @DrawableRes
204 public ImageSpan(@NonNull Context context, @DrawableRes int resourceId) { in ImageSpan()
217 public ImageSpan(@NonNull Context context, @DrawableRes int resourceId, in ImageSpan()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DIconMixin.java22 import android.support.annotation.DrawableRes;
49 final @DrawableRes int icon = a.getResourceId(R.styleable.SuwIconMixin_android_icon, 0); in IconMixin()
75 public void setIcon(@DrawableRes int icon) { in setIcon()
/frameworks/base/tests/testables/src/android/testing/
DTestableImageView.java17 import android.annotation.DrawableRes;
32 public void setImageResource(@DrawableRes int resId) { in setImageResource()
/frameworks/base/core/java/android/net/
DNetworkBadging.java19 import android.annotation.DrawableRes;
83 @DrawableRes private static int getWifiSignalResource(int signalLevel) { in getWifiSignalResource()
113 @DrawableRes private static int getBadgedWifiSignalResource(int signalLevel) { in getBadgedWifiSignalResource()
/frameworks/base/core/java/android/widget/
DImageSwitcher.java19 import android.annotation.DrawableRes;
62 public void setImageResource(@DrawableRes int resid) in setImageResource()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/
DActionBar.java33 import androidx.annotation.DrawableRes;
271 public abstract void setIcon(@DrawableRes int resId); in setIcon()
301 public abstract void setLogo(@DrawableRes int resId); in setLogo()
911 public void setHomeAsUpIndicator(@DrawableRes int resId) {} in setHomeAsUpIndicator()
1216 public abstract Tab setIcon(@DrawableRes int resId); in setIcon()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DAppCompatAutoCompleteTextView.java30 import androidx.annotation.DrawableRes;
89 public void setDropDownBackgroundResource(@DrawableRes int resId) { in setDropDownBackgroundResource()
94 public void setBackgroundResource(@DrawableRes int resId) { in setBackgroundResource()
DAppCompatMultiAutoCompleteTextView.java30 import androidx.annotation.DrawableRes;
89 public void setDropDownBackgroundResource(@DrawableRes int resId) { in setDropDownBackgroundResource()
94 public void setBackgroundResource(@DrawableRes int resId) { in setBackgroundResource()
DAppCompatImageView.java30 import androidx.annotation.DrawableRes;
91 public void setImageResource(@DrawableRes int resId) { in setImageResource()
123 public void setBackgroundResource(@DrawableRes int resId) { in setBackgroundResource()
DAppCompatCheckedTextView.java25 import androidx.annotation.DrawableRes;
66 public void setCheckMarkDrawable(@DrawableRes int resId) { in setCheckMarkDrawable()
DAppCompatImageButton.java31 import androidx.annotation.DrawableRes;
83 public void setImageResource(@DrawableRes int resId) { in setImageResource()
113 public void setBackgroundResource(@DrawableRes int resId) { in setBackgroundResource()
DAppCompatDrawableManager.java43 import androidx.annotation.DrawableRes;
185 public Drawable getDrawable(@NonNull Context context, @DrawableRes int resId) { in getDrawable()
189 Drawable getDrawable(@NonNull Context context, @DrawableRes int resId, in getDrawable()
227 @DrawableRes final int resId) { in createDrawableIfNeeded()
258 private Drawable tintDrawable(@NonNull Context context, @DrawableRes int resId, in tintDrawable()
304 private Drawable loadDrawableFromDelegates(@NonNull Context context, @DrawableRes int resId) { in loadDrawableFromDelegates()
430 @NonNull VectorEnabledTintResources resources, @DrawableRes final int resId) { in onDrawableLoadedFromResources()
442 @DrawableRes final int resId, @NonNull Drawable drawable) { in tintDrawableUsingColorFilter()
521 ColorStateList getTintList(@NonNull Context context, @DrawableRes int resId) { in getTintList()
559 private ColorStateList getTintListFromCache(@NonNull Context context, @DrawableRes int resId) { in getTintListFromCache()
[all …]
DAppCompatCheckBox.java28 import androidx.annotation.DrawableRes;
77 public void setButtonDrawable(@DrawableRes int resId) { in setButtonDrawable()
/frameworks/base/core/java/com/android/internal/widget/
DCachingIconView.java19 import android.annotation.DrawableRes;
70 public void setImageResource(@DrawableRes int resId) { in setImageResource()
80 public Runnable setImageResourceAsync(@DrawableRes int resId) { in setImageResourceAsync()
/frameworks/base/core/java/android/app/
DActionBar.java19 import android.annotation.DrawableRes;
281 public abstract void setIcon(@DrawableRes int resId); in setIcon()
311 public abstract void setLogo(@DrawableRes int resId); in setLogo()
920 public void setHomeAsUpIndicator(@DrawableRes int resId) { } in setHomeAsUpIndicator()
1198 public abstract Tab setIcon(@DrawableRes int resId); in setIcon()
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/testutils/
DAppCompatTintableViewActions.java33 import androidx.annotation.DrawableRes;
175 public static ViewAction setBackgroundResource(final @DrawableRes int resId) {
203 public static ViewAction setImageResource(final @DrawableRes int resId) {
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableInflater.java22 import android.annotation.DrawableRes;
62 public static Drawable loadDrawable(@NonNull Context context, @DrawableRes int id) { in loadDrawable()
76 @NonNull Resources resources, @Nullable Theme theme, @DrawableRes int id) { in loadDrawable()
/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/
DActionBarActivity.java24 import androidx.annotation.DrawableRes;
56 private ImageButton createButton(Context context, @DrawableRes int iconResId) { in createButton()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEntry.java22 import android.support.annotation.DrawableRes;
89 @DrawableRes private int mIndicatorIconId;
337 @DrawableRes
345 public void setIndicatorIconId(@DrawableRes int indicatorIconId) { in setIndicatorIconId()

1234