/frameworks/support/v7/appcompat/tests/src/android/support/v7/res/content/ |
H A D | AppCompatResourcesTestCase.java | 69 assertNotNull(AppCompatResources.getDrawable(context, R.drawable.test_vector_off));
|
/frameworks/support/wear/src/android/support/wear/widget/drawer/ |
H A D | WearableDrawerView.java | 171 private static Drawable getDrawable( method in class:WearableDrawerView 177 background = typedArray.getDrawable(index); 179 background = context.getDrawable(backgroundResId); 472 getDrawable(context, typedArray, R.styleable.WearableDrawerView_android_background);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ImageCardView.java | 179 if (mImageView.getDrawable() == null) { 257 Drawable background = cardAttrs.getDrawable(R.styleable.lbImageCardView_infoAreaBackground); 265 if (mBadgeImage != null && mBadgeImage.getDrawable() == null) { 359 return mImageView.getDrawable(); 455 return mBadgeImage.getDrawable();
|
H A D | TitleView.java | 143 return mBadgeView.getDrawable(); 211 Drawable drawable = mBadgeView.getDrawable();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
H A D | QSTileImpl.java | 446 public Drawable getDrawable(Context context) { method in class:QSTileImpl.DrawableIcon 484 public Drawable getDrawable(Context context) { method in class:QSTileImpl.ResourceIcon 485 return context.getDrawable(mResId); 490 return context.getDrawable(mResId); 513 public Drawable getDrawable(Context context) { method in class:QSTileImpl.AnimationIcon 515 return context.getDrawable(mAnimatedResId).getConstantState().newDrawable();
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | BackgroundManager.java | 237 public Drawable getDrawable() { method in class:BackgroundManager.DrawableWrapper 293 mWrapper[i] = new DrawableWrapper(mWrapper[i], getDrawable(i)); 326 if (!(getDrawable(i) instanceof EmptyDrawable)) { 357 if (mWrapper[i] != null && (d = mWrapper[i].getDrawable()) != null) { 397 drawables[i] = layerDrawable.getDrawable(i); 491 public Drawable getDrawable() { method in class:BackgroundManager.BackgroundContinuityService 511 drawable = ContextCompat.getDrawable(context, themeDrawableId); 639 Drawable drawable = mService.getDrawable(); 760 return ContextCompat.getDrawable(mContext, R.color.lb_background_protection); 794 ContextCompat.getDrawable(mContex 968 public Drawable getDrawable() { method in class:BackgroundManager [all...] |
/frameworks/base/core/java/android/text/style/ |
H A D | ImageSpan.java | 129 public Drawable getDrawable() { method in class:ImageSpan 149 drawable = mContext.getDrawable(mResourceId);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | DrawableBgMinSizeTest.java | 62 mBackgroundDrawable = a.getResources().getDrawable(R.drawable.drawable_background); 63 mBigBackgroundDrawable = a.getResources().getDrawable(R.drawable.big_drawable_background);
|
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
H A D | ConfirmDialog.java | 112 public Drawable getDrawable(String source) { method in class:ConfirmDialog 114 Drawable icon = getDrawable(R.drawable.ic_vpn_dialog);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
H A D | Partner.java | 59 public static Drawable getDrawable(Context context, int id) { method in class:Partner 61 return entry.resources.getDrawable(entry.id);
|
/frameworks/support/compat/java/android/support/v4/widget/ |
H A D | ImageViewCompat.java | 85 Drawable imageViewDrawable = view.getDrawable(); 104 Drawable imageViewDrawable = view.getDrawable();
|
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
H A D | GuidedStepHalfScreenActivity.java | 56 Drawable icon = ResourcesCompat.getDrawable(context.getResources(), 113 Drawable icon = ResourcesCompat.getDrawable(context.getResources(),
|
H A D | GuidedStepSupportHalfScreenActivity.java | 59 Drawable icon = ResourcesCompat.getDrawable(context.getResources(), 116 Drawable icon = ResourcesCompat.getDrawable(context.getResources(),
|
/frameworks/support/frameworks/support/samples/SupportVectorDrawableDemos/src/com/example/android/support/vectordrawable/app/ |
H A D | AVDCListenerDemo.java | 53 final Drawable drawable1 = imageView1.getDrawable(); 54 final Drawable drawable2 = imageView2.getDrawable();
|
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
H A D | GuidedStepHalfScreenActivity.java | 56 Drawable icon = ResourcesCompat.getDrawable(context.getResources(), 113 Drawable icon = ResourcesCompat.getDrawable(context.getResources(),
|
H A D | GuidedStepSupportHalfScreenActivity.java | 59 Drawable icon = ResourcesCompat.getDrawable(context.getResources(), 116 Drawable icon = ResourcesCompat.getDrawable(context.getResources(),
|
/frameworks/support/samples/SupportVectorDrawableDemos/src/com/example/android/support/vectordrawable/app/ |
H A D | AVDCListenerDemo.java | 53 final Drawable drawable1 = imageView1.getDrawable(); 54 final Drawable drawable2 = imageView2.getDrawable();
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
H A D | DetailsTestFragment.java | 82 getResources().getDrawable(R.drawable.ic_action_a)); 113 dor.setImageDrawable(res.getDrawable(mPhotoItem.getImageResourceId()));
|
H A D | DetailsTestSupportFragment.java | 85 getResources().getDrawable(R.drawable.ic_action_a)); 116 dor.setImageDrawable(res.getDrawable(mPhotoItem.getImageResourceId()));
|
/frameworks/support/v7/appcompat/src/android/support/v7/content/res/ |
H A D | AppCompatResources.java | 96 * @see ContextCompat#getDrawable(Context, int) 99 public static Drawable getDrawable(@NonNull Context context, @DrawableRes int resId) { method in class:AppCompatResources 100 return AppCompatDrawableManager.get().getDrawable(context, resId);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | AppCompatAutoCompleteTextView.java | 73 setDropDownBackgroundDrawable(a.getDrawable(0)); 87 setDropDownBackgroundDrawable(AppCompatResources.getDrawable(getContext(), resId));
|
H A D | AppCompatMultiAutoCompleteTextView.java | 73 setDropDownBackgroundDrawable(a.getDrawable(0)); 87 setDropDownBackgroundDrawable(AppCompatResources.getDrawable(getContext(), resId));
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ |
H A D | AppCompatSpinnerTest.java | 107 spinner.setPopupBackgroundDrawable(ContextCompat.getDrawable( 124 spinner.setPopupBackgroundDrawable(ContextCompat.getDrawable(
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
H A D | DialogPreference.java | 70 mDialogIcon = TypedArrayUtils.getDrawable(a, R.styleable.DialogPreference_dialogIcon, 172 mDialogIcon = ContextCompat.getDrawable(getContext(), dialogIconRes);
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkBadging.java | 69 return Resources.getSystem().getDrawable(getWifiSignalResource(signalLevel), theme);
|