/frameworks/base/core/java/android/view/ |
D | SubMenu.java | 19 import android.annotation.DrawableRes; 60 public SubMenu setHeaderIcon(@DrawableRes int iconRes); in setHeaderIcon() 93 public SubMenu setIcon(@DrawableRes int iconRes); in setIcon()
|
D | ContextMenu.java | 19 import android.annotation.DrawableRes; 66 public ContextMenu setHeaderIcon(@DrawableRes int iconRes); in setHeaderIcon()
|
/frameworks/support/browser/src/main/java/androidx/browser/browseractions/ |
D | BrowserActionItem.java | 21 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/ |
D | CompatResources.java | 18 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/ |
D | TextViewActions.java | 27 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/ |
D | ImageTransformation.java | 21 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/ |
D | ImageSpan.java | 19 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/ |
D | IconMixin.java | 22 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/ |
D | TestableImageView.java | 17 import android.annotation.DrawableRes; 32 public void setImageResource(@DrawableRes int resId) { in setImageResource()
|
/frameworks/base/core/java/android/net/ |
D | NetworkBadging.java | 19 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/ |
D | ImageSwitcher.java | 19 import android.annotation.DrawableRes; 62 public void setImageResource(@DrawableRes int resid) in setImageResource()
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/ |
D | ActionBar.java | 33 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/ |
D | AppCompatAutoCompleteTextView.java | 30 import androidx.annotation.DrawableRes; 89 public void setDropDownBackgroundResource(@DrawableRes int resId) { in setDropDownBackgroundResource() 94 public void setBackgroundResource(@DrawableRes int resId) { in setBackgroundResource()
|
D | AppCompatMultiAutoCompleteTextView.java | 30 import androidx.annotation.DrawableRes; 89 public void setDropDownBackgroundResource(@DrawableRes int resId) { in setDropDownBackgroundResource() 94 public void setBackgroundResource(@DrawableRes int resId) { in setBackgroundResource()
|
D | AppCompatImageView.java | 30 import androidx.annotation.DrawableRes; 91 public void setImageResource(@DrawableRes int resId) { in setImageResource() 123 public void setBackgroundResource(@DrawableRes int resId) { in setBackgroundResource()
|
D | AppCompatCheckedTextView.java | 25 import androidx.annotation.DrawableRes; 66 public void setCheckMarkDrawable(@DrawableRes int resId) { in setCheckMarkDrawable()
|
D | AppCompatImageButton.java | 31 import androidx.annotation.DrawableRes; 83 public void setImageResource(@DrawableRes int resId) { in setImageResource() 113 public void setBackgroundResource(@DrawableRes int resId) { in setBackgroundResource()
|
D | AppCompatDrawableManager.java | 43 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 …]
|
D | AppCompatCheckBox.java | 28 import androidx.annotation.DrawableRes; 77 public void setButtonDrawable(@DrawableRes int resId) { in setButtonDrawable()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | CachingIconView.java | 19 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/ |
D | ActionBar.java | 19 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/ |
D | AppCompatTintableViewActions.java | 33 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/ |
D | DrawableInflater.java | 22 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/ |
D | ActionBarActivity.java | 24 import androidx.annotation.DrawableRes; 56 private ImageButton createButton(Context context, @DrawableRes int iconResId) { in createButton()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEntry.java | 22 import android.support.annotation.DrawableRes; 89 @DrawableRes private int mIndicatorIconId; 337 @DrawableRes 345 public void setIndicatorIconId(@DrawableRes int indicatorIconId) { in setIndicatorIconId()
|