/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/ |
D | DrawableResourceLoaderTest.java | 41 ApplicationProvider.getApplicationContext().getResources().getDrawable(R.drawable.rainbow)); in testGetDrawable_rainbow() 46 assertNotNull(resources.getDrawable(android.R.drawable.ic_popup_sync)); in testGetDrawableBundle_shouldWorkWithSystem() 51 assertNotNull(Resources.getSystem().getDrawable(android.R.drawable.ic_menu_help)); in testGetDrawable_red() 56 assertThat(resources.getDrawable(R.drawable.l7_white)).isInstanceOf(BitmapDrawable.class); in testDrawableTypes() 57 assertThat(resources.getDrawable(R.drawable.l0_red)).isInstanceOf(BitmapDrawable.class); in testDrawableTypes() 58 …assertThat(resources.getDrawable(R.drawable.nine_patch_drawable)).isInstanceOf(NinePatchDrawable.c… in testDrawableTypes() 59 assertThat(resources.getDrawable(R.drawable.rainbow)).isInstanceOf(LayerDrawable.class); in testDrawableTypes() 64 …assertThat(resources.getDrawable(R.drawable.an_image_or_vector)).isInstanceOf(BitmapDrawable.class… in testVectorDrawableType_preVectors() 69 …assertThat(resources.getDrawable(R.drawable.an_image_or_vector)).isInstanceOf(VectorDrawable.class… in testVectorDrawableType() 80 .getDrawable(R.drawable.rainbow)) in testLayerDrawable_xlarge() [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowBitmapDrawableTest.java | 43 BitmapDrawable drawable = (BitmapDrawable) resources.getDrawable(R.drawable.an_image); in getBitmap_shouldReturnBitmapUsedToDraw() 49 BitmapDrawable original = (BitmapDrawable) resources.getDrawable(R.drawable.an_image); in mutate_createsDeepCopy() 60 BitmapDrawable drawable = (BitmapDrawable) resources.getDrawable(R.drawable.an_image); in draw_shouldCopyDescriptionToCanvas() 76 BitmapDrawable drawable = (BitmapDrawable) resources.getDrawable(R.drawable.an_image); in withColorFilterSet_draw_shouldCopyDescriptionToCanvas() 86 Drawable drawable = resources.getDrawable(R.drawable.an_image); in shouldStillHaveShadow() 92 BitmapDrawable drawable = (BitmapDrawable) resources.getDrawable(R.drawable.an_image); in shouldSetTileModeXY()
|
D | ShadowDrawableTest.java | 136 assertThat(context.getResources().getDrawable(R.drawable.drawable_with_nine_patch)).isNotNull(); in shouldLoadNinePatchFromDrawableXml() 148 final Drawable anImage = context.getResources().getDrawable(R.drawable.an_image); in drawableIntrinsicWidthAndHeightShouldBeCorrect() 157 final Drawable anImage = context.getResources().getDrawable(R.drawable.robolectric); in drawableShouldLoadImageOfCorrectSizeWithMdpiQualifier() 166 final Drawable anImage = context.getResources().getDrawable(R.drawable.robolectric); in drawableShouldLoadImageOfCorrectSizeWithHdpiQualifier() 177 final Drawable aDrawable = context.getResources().getDrawable(R.drawable.an_image_or_vector); in testGetBitmapOrVectorDrawableAt19() 184 final Drawable aDrawable = context.getResources().getDrawable(R.drawable.an_image_or_vector); in testGetBitmapOrVectorDrawableAt21()
|
D | ShadowLayerDrawableTest.java | 65 shadowOf(layerDrawable.getDrawable(index)).getCreatedFromResId()); in testSetDrawableByLayerId1() 78 shadowOf(layerDrawable.getDrawable(index)).getCreatedFromResId()); in testSetDrawableByLayerId2()
|
D | ShadowImageViewTest.java | 28 …assertThat(shadowOf(imageView.getDrawable()).getCreatedFromResId()).isEqualTo(R.drawable.an_image); in getDrawableResourceId_shouldWorkWhenTheDrawableWasCreatedFromAResource()
|
D | ShadowPhoneWindowTest.java | 35 Drawable drawable = activity.getResources().getDrawable(android.R.drawable.bottom_bar); in getBackgroundDrawable()
|
/external/setupdesign/main/src/com/google/android/setupdesign/ |
D | SetupWizardLayout.java | 109 final Drawable background = a.getDrawable(R.styleable.SudSetupWizardLayout_sudBackground); in init() 114 a.getDrawable(R.styleable.SudSetupWizardLayout_sudBackgroundTile); in init() 121 final Drawable illustration = a.getDrawable(R.styleable.SudSetupWizardLayout_sudIllustration); in init() 126 a.getDrawable(R.styleable.SudSetupWizardLayout_sudIllustrationImage); in init() 128 a.getDrawable(R.styleable.SudSetupWizardLayout_sudIllustrationHorizontalTile); in init() 322 final Drawable backgroundTileDrawable = getContext().getResources().getDrawable(backgroundTile); in setBackgroundTile() 335 final Drawable assetDrawable = context.getResources().getDrawable(asset); in getIllustration() 336 final Drawable tile = context.getResources().getDrawable(horizontalTile); in getIllustration()
|
/external/setupcompat/main/java/com/google/android/setupcompat/template/ |
D | FooterButtonStyleUtils.java | 335 icon = PartnerConfigHelper.get(context).getDrawable(context, buttonIconConfig); in updateButtonIconWithPartnerConfig() 378 LayerDrawable layerDrawable = (LayerDrawable) ((InsetDrawable) drawable).getDrawable(); in getGradientDrawable() 379 return (GradientDrawable) layerDrawable.getDrawable(0); in getGradientDrawable() 381 if (((RippleDrawable) drawable).getDrawable(0) instanceof GradientDrawable) { in getGradientDrawable() 382 return (GradientDrawable) ((RippleDrawable) drawable).getDrawable(0); in getGradientDrawable() 384 InsetDrawable insetDrawable = (InsetDrawable) ((RippleDrawable) drawable).getDrawable(0); in getGradientDrawable() 385 return (GradientDrawable) insetDrawable.getDrawable(); in getGradientDrawable() 398 return (RippleDrawable) ((InsetDrawable) drawable).getDrawable(); in getRippleDrawable()
|
D | StatusBarMixin.java | 92 setStatusBarBackground(a.getDrawable(R.styleable.SucStatusBarMixin_sucStatusBarBackground)); in StatusBarMixin() 121 .getDrawable(context, PartnerConfig.CONFIG_STATUS_BAR_BACKGROUND); in setStatusBarBackground()
|
/external/setupdesign/main/src/com/google/android/setupdesign/items/ |
D | RecyclerItemAdapter.java | 122 typedArray.getDrawable( in onCreateViewHolder() 126 typedArray.getDrawable(R.styleable.SudRecyclerItemAdapter_selectableItemBackground); in onCreateViewHolder() 139 typedArray.getDrawable(R.styleable.SudRecyclerItemAdapter_android_colorBackground); in onCreateViewHolder()
|
/external/setupdesign/main/src/com/google/android/setupdesign/util/ |
D | HeaderAreaStyler.java | 248 && !(imageView.getDrawable() == null in checkImageType() 250 && imageView.getDrawable() instanceof VectorDrawable) in checkImageType() 251 || imageView.getDrawable() instanceof VectorDrawableCompat) in checkImageType()
|
D | Partner.java | 92 public static Drawable getDrawable(Context context, @DrawableRes int id) { in getDrawable() method in Partner 94 return entry.resources.getDrawable(entry.id); in getDrawable()
|
/external/angle/src/libANGLE/renderer/gl/glx/ |
D | SurfaceGLX.h | 24 virtual glx::Drawable getDrawable() const = 0;
|
D | PbufferSurfaceGLX.h | 54 glx::Drawable getDrawable() const override;
|
D | PixmapSurfaceGLX.h | 53 glx::Drawable getDrawable() const override;
|
D | WindowSurfaceGLX.h | 57 glx::Drawable getDrawable() const override;
|
D | PbufferSurfaceGLX.cpp | 135 glx::Drawable PbufferSurfaceGLX::getDrawable() const in getDrawable() function in rx::PbufferSurfaceGLX
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowNotification.java | 84 return imageView != null && imageView.getDrawable() != null in getBigPicture() 85 ? ((BitmapDrawable) imageView.getDrawable()).getBitmap() : null; in getBigPicture()
|
/external/glide/library/src/main/java/com/bumptech/glide/request/target/ |
D | ImageViewTarget.java | 26 return view.getDrawable(); in getCurrentDrawable()
|
/external/libchrome/base/android/java/src/org/chromium/base/ |
D | ApiCompatibilityUtils.java | 458 public static Drawable getDrawable(Resources res, int id) throws NotFoundException { in getDrawable() method in ApiCompatibilityUtils 462 return res.getDrawable(id, null); in getDrawable() 464 return res.getDrawable(id); in getDrawable() 498 Drawable drawable = getDrawable(context.getResources(), id); in getUserBadgedIcon()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | KeyboardConfigDialogPreference.java | 123 mUnselectedBorder = mContext.getResources().getDrawable(R.drawable.key_config_border); in onBindDialogView() 124 mSelectedBorder = mContext.getResources().getDrawable(R.drawable.key_config_border_active); in onBindDialogView()
|
D | RenderComponent.java | 83 public DrawableObject getDrawable() { in getDrawable() method in RenderComponent
|
D | MotionBlurComponent.java | 68 DrawableBitmap drawable = (DrawableBitmap)mBlurTarget.getDrawable(); in update()
|
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | PlayerControlView.java | 454 repeatOffButtonDrawable = resources.getDrawable(R.drawable.exo_controls_repeat_off); in PlayerControlView() 455 repeatOneButtonDrawable = resources.getDrawable(R.drawable.exo_controls_repeat_one); in PlayerControlView() 456 repeatAllButtonDrawable = resources.getDrawable(R.drawable.exo_controls_repeat_all); in PlayerControlView() 457 shuffleOnButtonDrawable = resources.getDrawable(R.drawable.exo_controls_shuffle_on); in PlayerControlView() 458 shuffleOffButtonDrawable = resources.getDrawable(R.drawable.exo_controls_shuffle_off); in PlayerControlView()
|
/external/setupcompat/partnerconfig/java/com/google/android/setupcompat/partnerconfig/ |
D | PartnerConfigHelper.java | 190 public Drawable getDrawable(@NonNull Context context, PartnerConfig resourceConfig) { in getDrawable() method in PartnerConfigHelper 214 result = resource.getDrawable(resId, null); in getDrawable() 216 result = resource.getDrawable(resId); in getDrawable()
|