Home
last modified time | relevance | path

Searched refs:getDrawable (Results 1 – 22 of 22) sorted by relevance

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DBitmapDrawableTest.java35 BitmapDrawable drawable = (BitmapDrawable) resources.getDrawable(R.drawable.an_image); in getBitmap_shouldReturnBitmapUsedToDraw()
41 BitmapDrawable drawable = (BitmapDrawable) resources.getDrawable(R.drawable.an_image); in draw_shouldCopyDescriptionToCanvas()
57 BitmapDrawable drawable = (BitmapDrawable) resources.getDrawable(R.drawable.an_image); in withColorFilterSet_draw_shouldCopyDescriptionToCanvas()
68 Drawable drawable1a = resources.getDrawable(R.drawable.an_image); in equals_shouldTestResourceId()
69 Drawable drawable1b = resources.getDrawable(R.drawable.an_image); in equals_shouldTestResourceId()
70 Drawable drawable2 = resources.getDrawable(R.drawable.an_other_image); in equals_shouldTestResourceId()
78 Drawable drawable1a = resources.getDrawable(R.drawable.an_image); in equals_shouldTestBounds()
79 Drawable drawable1b = resources.getDrawable(R.drawable.an_image); in equals_shouldTestBounds()
92 Drawable drawable = resources.getDrawable(R.drawable.an_image); in shouldStillHaveShadow()
98 BitmapDrawable drawable = (BitmapDrawable) resources.getDrawable(R.drawable.an_image); in shouldSetTileModeXY()
DImageViewTest.java73 assertTrue("Drawable", imageView.getDrawable() instanceof Drawable); in testSetImageResource_drawable()
75 imageView.getDrawable() instanceof LayerDrawable); in testSetImageResource_drawable()
81 Drawable animation = imageView.getDrawable(); in testSetAnimatedImage_drawable()
89 AnimationDrawable animation = (AnimationDrawable) imageView.getDrawable(); in testSetAnimationItem()
96 assertTrue("Drawable", imageView.getDrawable() instanceof Drawable); in testSetImageResource_layerDrawable()
98 imageView.getDrawable() instanceof LayerDrawable); in testSetImageResource_layerDrawable()
99 … assertThat(shadowOf(imageView.getDrawable()).getLoadedFromResourceId(), is(R.drawable.rainbow)); in testSetImageResource_layerDrawable()
DResourcesTest.java71 … assertThat( resources.getDrawable( TestR.anim.test_anim_1 ), instanceOf( BitmapDrawable.class ) ); in testGetDrawableNullRClass()
80 …assertThat( resources.getDrawable( TestR.anim.test_anim_1 ), instanceOf( AnimationDrawable.class )… in testGetAnimationDrawable()
96 …assertThat( resources.getDrawable( TestR.color.test_color_1 ), instanceOf( ColorDrawable.class ) )… in testGetColorDrawable()
105 …assertThat( resources.getDrawable( TestR.drawable.test_drawable_1 ), instanceOf( BitmapDrawable.cl… in testGetBitmapDrawable()
113 …assertThat( resources.getDrawable( R.drawable.nine_patch_drawable ), instanceOf( NinePatchDrawable… in testGetNinePatchDrawable()
122 …assertThat( resources.getDrawable( Integer.MAX_VALUE ), instanceOf( BitmapDrawable.class ) ); … in testGetBitmapDrawableForUnknownId()
DLayerDrawableTest.java70 shadowOf(layerDrawable.getDrawable(index)).getLoadedFromResourceId()); in testSetDrawableByLayerId1()
83 shadowOf(layerDrawable.getDrawable(index)).getLoadedFromResourceId()); in testSetDrawableByLayerId2()
DViewTest.java160 … assertThat(view.getBackground(), equalTo(view.getResources().getDrawable(R.drawable.an_image))); in shouldSetBackgroundResource()
/external/glide/library/src/main/java/com/bumptech/glide/request/target/
DImageViewTarget.java26 return view.getDrawable(); in getCurrentDrawable()
/external/skia/src/animator/
DSkOperand.h38 SkADrawable* getDrawable() { SkASSERT(fType == SkType_Drawable); return fOperand.fDrawable; } in getDrawable() function
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowLayerDrawable.java30 public Drawable getDrawable( int idx ) { in getDrawable() method in ShadowLayerDrawable
DShadowImageView.java116 public Drawable getDrawable() { in getDrawable() method in ShadowImageView
DShadowResources.java153 public Drawable getDrawable(int drawableResourceId) throws Resources.NotFoundException { in getDrawable() method in ShadowResources
DShadowView.java254 setBackgroundDrawable(getResources().getDrawable(backgroundResourceId)); in setBackgroundResource()
/external/replicaisland/src/com/replica/replicaisland/
DKeyboardConfigDialogPreference.java123 mUnselectedBorder = mContext.getResources().getDrawable(R.drawable.key_config_border); in onBindDialogView()
124 mSelectedBorder = mContext.getResources().getDrawable(R.drawable.key_config_border_active); in onBindDialogView()
DRenderComponent.java83 public DrawableObject getDrawable() { in getDrawable() method in RenderComponent
DFadeDrawableComponent.java124 DrawableObject drawable = mRenderComponent.getDrawable(); in update()
DMotionBlurComponent.java68 DrawableBitmap drawable = (DrawableBitmap)mBlurTarget.getDrawable(); in update()
DMainMenuActivity.java194 …((ImageView)mStartButton).setImageDrawable(getResources().getDrawable(R.drawable.ui_button_continu… in onResume()
197 …((ImageView)mStartButton).setImageDrawable(getResources().getDrawable(R.drawable.ui_button_start)); in onResume()
DAnimationPlayerActivity.java83 mAnimation = (AnimationDrawable) canvasImage.getDrawable(); in onCreate()
/external/glide/library/src/main/java/com/bumptech/glide/request/
DGenericRequest.java381 errorDrawable = context.getResources().getDrawable(errorResourceId); in getErrorDrawable()
388 placeholderDrawable = context.getResources().getDrawable(placeholderResourceId); in getPlaceholderDrawable()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/content/pm/
DStubPackageManager.java182 @Override public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { in getDrawable() method in StubPackageManager
/external/jmonkeyengine/engine/src/android/com/jme3/app/
DAndroidHarness.java363 Drawable drawable = this.getResources().getDrawable(splashPicID); in layoutDisplay()
/external/robolectric/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/external/chromium-trace/trace-viewer/tracing/test_data/
Dddms_calculator_start.trace704 0x71062b78 android.content.Context getDrawable (I)Landroid/graphics/drawable/Drawable; Context.java
950 0x7108fb48 android.content.res.Resources getDrawable (ILandroid/content/res/Resources$Theme;)Landro…
978 0x71090628 android.content.res.TypedArray getDrawable (I)Landroid/graphics/drawable/Drawable; Typed…