Searched refs:getDrawable (Results 76 - 100 of 460) sorted by relevance

1234567891011>>

/frameworks/support/v7/appcompat/tests/src/android/support/v7/res/content/
H A DAppCompatResourcesTestCase.java69 assertNotNull(AppCompatResources.getDrawable(context, R.drawable.test_vector_off));
/frameworks/support/wear/src/android/support/wear/widget/drawer/
H A DWearableDrawerView.java171 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 DImageCardView.java179 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 DTitleView.java143 return mBadgeView.getDrawable();
211 Drawable drawable = mBadgeView.getDrawable();
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
H A DQSTileImpl.java446 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 DBackgroundManager.java237 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 DImageSpan.java129 public Drawable getDrawable() { method in class:ImageSpan
149 drawable = mContext.getDrawable(mResourceId);
/frameworks/base/core/tests/coretests/src/android/view/
H A DDrawableBgMinSizeTest.java62 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 DConfirmDialog.java112 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 DPartner.java59 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 DImageViewCompat.java85 Drawable imageViewDrawable = view.getDrawable();
104 Drawable imageViewDrawable = view.getDrawable();
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DGuidedStepHalfScreenActivity.java56 Drawable icon = ResourcesCompat.getDrawable(context.getResources(),
113 Drawable icon = ResourcesCompat.getDrawable(context.getResources(),
H A DGuidedStepSupportHalfScreenActivity.java59 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 DAVDCListenerDemo.java53 final Drawable drawable1 = imageView1.getDrawable();
54 final Drawable drawable2 = imageView2.getDrawable();
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DGuidedStepHalfScreenActivity.java56 Drawable icon = ResourcesCompat.getDrawable(context.getResources(),
113 Drawable icon = ResourcesCompat.getDrawable(context.getResources(),
H A DGuidedStepSupportHalfScreenActivity.java59 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 DAVDCListenerDemo.java53 final Drawable drawable1 = imageView1.getDrawable();
54 final Drawable drawable2 = imageView2.getDrawable();
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
H A DDetailsTestFragment.java82 getResources().getDrawable(R.drawable.ic_action_a));
113 dor.setImageDrawable(res.getDrawable(mPhotoItem.getImageResourceId()));
H A DDetailsTestSupportFragment.java85 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 DAppCompatResources.java96 * @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 DAppCompatAutoCompleteTextView.java73 setDropDownBackgroundDrawable(a.getDrawable(0));
87 setDropDownBackgroundDrawable(AppCompatResources.getDrawable(getContext(), resId));
H A DAppCompatMultiAutoCompleteTextView.java73 setDropDownBackgroundDrawable(a.getDrawable(0));
87 setDropDownBackgroundDrawable(AppCompatResources.getDrawable(getContext(), resId));
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
H A DAppCompatSpinnerTest.java107 spinner.setPopupBackgroundDrawable(ContextCompat.getDrawable(
124 spinner.setPopupBackgroundDrawable(ContextCompat.getDrawable(
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DDialogPreference.java70 mDialogIcon = TypedArrayUtils.getDrawable(a, R.styleable.DialogPreference_dialogIcon,
172 mDialogIcon = ContextCompat.getDrawable(getContext(), dialogIconRes);
/frameworks/base/core/java/android/net/
H A DNetworkBadging.java69 return Resources.getSystem().getDrawable(getWifiSignalResource(signalLevel), theme);

Completed in 531 milliseconds

1234567891011>>