Home
last modified time | relevance | path

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

12

/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/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
DHandleView.java128 mSelectHandleLeft = getContext().getResources().getDrawable( in setOrientation()
139 mSelectHandleRight = getContext().getResources().getDrawable( in setOrientation()
151 mSelectHandleCenter = getContext().getResources().getDrawable( in setOrientation()
399 Drawable getDrawable() { in getDrawable() method in HandleView
DInsertionHandleController.java315 final Drawable handle = mHandle.getDrawable(); in positionAtCursor()
/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.java151 public Drawable getDrawable(int drawableResourceId) throws Resources.NotFoundException { in getDrawable() method in ShadowResources
DShadowView.java252 setBackgroundDrawable(getResources().getDrawable(backgroundResourceId)); in setBackgroundResource()
/external/skia/src/animator/
DSkOperand.h38 SkDrawable* getDrawable() { SkASSERT(fType == SkType_Drawable); return fOperand.fDrawable; } in getDrawable() function
/external/chromium_org/third_party/skia/src/animator/
DSkOperand.h38 SkDrawable* getDrawable() { SkASSERT(fType == SkType_Drawable); return fOperand.fDrawable; } in getDrawable() function
/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
DMotionBlurComponent.java68 DrawableBitmap drawable = (DrawableBitmap)mBlurTarget.getDrawable(); in update()
DFadeDrawableComponent.java124 DrawableObject drawable = mRenderComponent.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/chromium_org/ui/android/java/src/org/chromium/ui/
DColorPickerAdvancedComponent.java59 .getDrawable(R.drawable.color_picker_advanced_select_handle) in ColorPickerAdvancedComponent()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/
DContentWrapperView.java70 ApiCompatibilityUtils.setBackgroundForView(this, resources.getDrawable(layoutBackground)); in ContentWrapperView()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
DBookmarkUtils.java138 drawable = context.getResources().getDrawable(id); in getBitmapFromResourceId()
/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/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DPopupZoomer.java145 sOverlayDrawable = context.getResources().getDrawable( in getOverlayDrawable()

12