/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | BitmapDrawableTest.java | 35 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()
|
D | ImageViewTest.java | 73 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()
|
D | ResourcesTest.java | 71 … 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()
|
D | LayerDrawableTest.java | 70 shadowOf(layerDrawable.getDrawable(index)).getLoadedFromResourceId()); in testSetDrawableByLayerId1() 83 shadowOf(layerDrawable.getDrawable(index)).getLoadedFromResourceId()); in testSetDrawableByLayerId2()
|
D | ViewTest.java | 160 … 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/ |
D | HandleView.java | 128 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
|
D | InsertionHandleController.java | 315 final Drawable handle = mHandle.getDrawable(); in positionAtCursor()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowLayerDrawable.java | 30 public Drawable getDrawable( int idx ) { in getDrawable() method in ShadowLayerDrawable
|
D | ShadowImageView.java | 116 public Drawable getDrawable() { in getDrawable() method in ShadowImageView
|
D | ShadowResources.java | 151 public Drawable getDrawable(int drawableResourceId) throws Resources.NotFoundException { in getDrawable() method in ShadowResources
|
D | ShadowView.java | 252 setBackgroundDrawable(getResources().getDrawable(backgroundResourceId)); in setBackgroundResource()
|
/external/skia/src/animator/ |
D | SkOperand.h | 38 SkDrawable* getDrawable() { SkASSERT(fType == SkType_Drawable); return fOperand.fDrawable; } in getDrawable() function
|
/external/chromium_org/third_party/skia/src/animator/ |
D | SkOperand.h | 38 SkDrawable* getDrawable() { SkASSERT(fType == SkType_Drawable); return fOperand.fDrawable; } in getDrawable() function
|
/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()
|
D | FadeDrawableComponent.java | 124 DrawableObject drawable = mRenderComponent.getDrawable(); in update()
|
D | MainMenuActivity.java | 194 …((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()
|
D | AnimationPlayerActivity.java | 83 mAnimation = (AnimationDrawable) canvasImage.getDrawable(); in onCreate()
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/ |
D | ColorPickerAdvancedComponent.java | 59 .getDrawable(R.drawable.color_picker_advanced_select_handle) in ColorPickerAdvancedComponent()
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/ |
D | ContentWrapperView.java | 70 ApiCompatibilityUtils.setBackgroundForView(this, resources.getDrawable(layoutBackground)); in ContentWrapperView()
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
D | BookmarkUtils.java | 138 drawable = context.getResources().getDrawable(id); in getBitmapFromResourceId()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/content/pm/ |
D | StubPackageManager.java | 182 @Override public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { in getDrawable() method in StubPackageManager
|
/external/jmonkeyengine/engine/src/android/com/jme3/app/ |
D | AndroidHarness.java | 363 Drawable drawable = this.getResources().getDrawable(splashPicID); in layoutDisplay()
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
D | PopupZoomer.java | 145 sOverlayDrawable = context.getResources().getDrawable( in getOverlayDrawable()
|