/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | DrawableTest.java | 7 import android.graphics.drawable.Drawable; 34 …Drawable drawable = ShadowDrawable.createFromStream(new ByteArrayInputStream(new byte[0]), "my_sou… in createFromStream__shouldReturnDrawableWithSpecificSource() 51 Drawable drawable = Drawable.createFromStream(byteInputStream, "src name"); in testCreateFromStream_shouldSetTheInputStreamOnTheReturnedDrawable() 57 …Drawable drawable = ShadowDrawable.createFromStream(new ByteArrayInputStream(new byte[0]), "my_sou… in copyBoundsWithPassedRect() 69 …Drawable drawable = ShadowDrawable.createFromStream(new ByteArrayInputStream(new byte[0]), "my_sou… in copyBoundsToReturnedRect() 80 Drawable drawable = ShadowDrawable.createFromPath("/foo"); in createFromPath__shouldReturnDrawableWithSpecificPath() 87 Drawable drawable = new TestDrawable(); in testGetLoadedFromResourceId_shouldDefaultToNegativeOne() 93 Drawable drawable = new TestDrawable(); in testSetLoadedFromResourceId() 101 Drawable drawable = ShadowDrawable.createFromResourceId(34758); in testCreateFromResourceId_shouldSetTheId() 108 Drawable drawable = ShadowDrawable.createFromResourceId(34758); in testWasSelfInvalidated() [all …]
|
D | LayerDrawableTest.java | 5 import android.graphics.drawable.Drawable; 24 protected Drawable drawable1000; 25 protected Drawable drawable2000; 26 protected Drawable drawable3000; 27 protected Drawable drawable4000; 32 protected Drawable[] drawables; 45 drawables = new Drawable[]{drawable1000, drawable2000, drawable3000}; in setUp()
|
D | BitmapDrawableTest.java | 9 import android.graphics.drawable.Drawable; 51 …BitmapDrawable drawable = (BitmapDrawable) Drawable.createFromStream(emptyInputStream, "source str… in shouldInheritSourceStringFromDrawableDotCreateFromStream() 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()
|
D | StateListDrawableTest.java | 4 import android.graphics.drawable.Drawable; 21 Drawable drawable = ShadowDrawable.createFromPath("/foo"); in testAddStateWithDrawable() 28 Drawable drawableForState = shadow.getDrawableForState(states); in testAddStateWithDrawable() 35 Drawable drawable = ShadowDrawable.createFromPath("/foo"); in testAddDrawableWithWildCardState() 41 Drawable drawableForState = shadow.getDrawableForState(StateSet.WILD_CARD); in testAddDrawableWithWildCardState()
|
D | ImageViewTest.java | 8 import android.graphics.drawable.Drawable; 73 assertTrue("Drawable", imageView.getDrawable() instanceof Drawable); in testSetImageResource_drawable() 81 Drawable animation = imageView.getDrawable(); in testSetAnimatedImage_drawable() 82 assertTrue(animation instanceof Drawable); in testSetAnimatedImage_drawable() 96 assertTrue("Drawable", imageView.getDrawable() instanceof Drawable); in testSetImageResource_layerDrawable()
|
/external/glide/library/src/main/java/com/bumptech/glide/request/target/ |
D | ImageViewTarget.java | 3 import android.graphics.drawable.Drawable; 25 public Drawable getCurrentDrawable() { in getCurrentDrawable() 36 public void setDrawable(Drawable drawable) { in setDrawable() 47 public void onLoadStarted(Drawable placeholder) { in onLoadStarted() 58 public void onLoadFailed(Exception e, Drawable errorDrawable) { in onLoadFailed() 69 public void onLoadCleared(Drawable placeholder) { in onLoadCleared()
|
D | BaseTarget.java | 3 import android.graphics.drawable.Drawable; 49 public void onLoadCleared(Drawable placeholder) { in onLoadCleared() 57 public void onLoadStarted(Drawable placeholder) { in onLoadStarted() 65 public void onLoadFailed(Exception e, Drawable errorDrawable) { in onLoadFailed()
|
D | Target.java | 3 import android.graphics.drawable.Drawable; 46 void onLoadStarted(Drawable placeholder); in onLoadStarted() 60 void onLoadFailed(Exception e, Drawable errorDrawable); in onLoadFailed() 74 void onLoadCleared(Drawable placeholder); in onLoadCleared()
|
D | DrawableImageViewTarget.java | 3 import android.graphics.drawable.Drawable; 9 public class DrawableImageViewTarget extends ImageViewTarget<Drawable> { 15 protected void setResource(Drawable resource) { in setResource()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowImageView.java | 9 import android.graphics.drawable.Drawable; 21 private Drawable imageDrawable; 47 public void setImageDrawable(Drawable drawable) { in setImageDrawable() 63 protected Drawable buildDrawable(int resourceId) { in buildDrawable() 67 Drawable[] drawables = new Drawable[resourceIds.length]; in buildDrawable() 74 for (Drawable drawable : drawables) { in buildDrawable() 116 public Drawable getDrawable() { in getDrawable() 125 public Drawable getImageDrawable() { in getImageDrawable()
|
D | ShadowLayerDrawable.java | 3 import android.graphics.drawable.Drawable; 17 protected Drawable[] drawables; 20 public void __constructor__(Drawable[] drawables) { in __constructor__() 30 public Drawable getDrawable( int idx ) { in getDrawable() 31 Drawable d = null; in getDrawable() 39 public boolean setDrawableByLayerId(int id, Drawable drawable) { in setDrawableByLayerId()
|
D | ShadowTextView.java | 5 import android.graphics.drawable.Drawable; 244 public void setCompoundDrawablesWithIntrinsicBounds(Drawable left, Drawable top, in setCompoundDrawablesWithIntrinsicBounds() 245 Drawable right, Drawable bottom) { in setCompoundDrawablesWithIntrinsicBounds() 250 public void setCompoundDrawables(Drawable left, Drawable top, Drawable right, Drawable bottom) { in setCompoundDrawables() 255 public Drawable[] getCompoundDrawables() { in getCompoundDrawables() 257 return new Drawable[]{null, null, null, null}; in getCompoundDrawables() 259 return new Drawable[]{ in getCompoundDrawables() 534 public Drawable leftDrawable; 535 public Drawable topDrawable; 536 public Drawable rightDrawable; [all …]
|
D | ShadowAnimationDrawable.java | 4 import android.graphics.drawable.Drawable; 14 private List<Drawable> frames = new ArrayList<Drawable>(); 18 public void addFrame(Drawable frame, int duration) { in addFrame() 36 public List<Drawable> getFrames() { in getFrames()
|
D | ShadowDrawable.java | 8 import android.graphics.drawable.Drawable; 22 @Implements(Drawable.class) 28 @RealObject Drawable realObject; 40 public static Drawable createFromStream(InputStream is, String srcName) { in createFromStream() 51 …public static Drawable createFromResourceStream(Resources res, TypedValue value, InputStream is, S… in createFromResourceStream() 56 …public static Drawable createFromResourceStream(Resources res, TypedValue value, InputStream is, S… in createFromResourceStream() 61 public static Drawable createFromPath(String pathName) { in createFromPath() 67 public static Drawable createFromResourceId(int resourceId) { in createFromResourceId() 158 ShadowDrawable that = shadowOf((Drawable) o); in equals()
|
D | ShadowStateListDrawable.java | 3 import android.graphics.drawable.Drawable; 18 private Map<List<Integer>, Drawable> stateToDrawable; 22 stateToDrawable = new HashMap<List<Integer>, Drawable>(); in __constructor__() 34 public void addState(int[] stateSet, Drawable drawable) { in addState() 44 public Drawable getDrawableForState(int[] stateSet) { in getDrawableForState()
|
D | ShadowItemizedOverlay.java | 3 import android.graphics.drawable.Drawable; 44 …public boolean hitTest(OverlayItem item, android.graphics.drawable.Drawable drawable, int i, int i… in hitTest() 54 public static Drawable boundCenterBottom(Drawable drawable) { in boundCenterBottom()
|
D | ShadowTabSpec.java | 4 import android.graphics.drawable.Drawable; 24 private Drawable icon; 51 public Drawable getIndicatorIcon() { in getIndicatorIcon() 75 public TabHost.TabSpec setIndicator(CharSequence label, Drawable icon) { in setIndicator()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/content/pm/ |
D | StubPackageManager.java | 19 import android.graphics.drawable.Drawable; 182 @Override public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { in getDrawable() 186 …@Override public Drawable getActivityIcon(ComponentName activityName) throws NameNotFoundException… in getActivityIcon() 190 @Override public Drawable getActivityIcon(Intent intent) throws NameNotFoundException { in getActivityIcon() 194 @Override public Drawable getDefaultActivityIcon() { in getDefaultActivityIcon() 198 @Override public Drawable getApplicationIcon(ApplicationInfo info) { in getApplicationIcon() 202 @Override public Drawable getApplicationIcon(String packageName) throws NameNotFoundException { in getApplicationIcon() 206 …@Override public Drawable getActivityLogo(ComponentName componentName) throws NameNotFoundExceptio… in getActivityLogo() 210 @Override public Drawable getActivityLogo(Intent intent) throws NameNotFoundException { in getActivityLogo() 214 @Override public Drawable getApplicationLogo(ApplicationInfo applicationInfo) { in getApplicationLogo() [all …]
|
/external/libmojo/base/android/java/src/org/chromium/base/ |
D | ApiCompatibilityUtils.java | 23 import android.graphics.drawable.Drawable; 215 public static void setCompoundDrawablesRelative(TextView textView, Drawable start, Drawable top, in setCompoundDrawablesRelative() 216 Drawable end, Drawable bottom) { in setCompoundDrawablesRelative() 235 Drawable start, Drawable top, Drawable end, Drawable bottom) { in setCompoundDrawablesRelativeWithIntrinsicBounds() 412 public static Drawable getDrawable(Resources res, int id) throws NotFoundException { in getDrawable() 424 public static Drawable getDrawableForDensity(Resources res, int id, int density) { in getDrawableForDensity() 446 public static Drawable getUserBadgedIcon(Context context, int id) { in getUserBadgedIcon() 447 Drawable drawable = getDrawable(context.getResources(), id); in getUserBadgedIcon() 459 public static Drawable getUserBadgedDrawableForDensity( in getUserBadgedDrawableForDensity() 460 Context context, Drawable drawable, Rect badgeLocation, int density) { in getUserBadgedDrawableForDensity() [all …]
|
/external/mesa3d/src/glx/apple/ |
D | appledri.h | 102 Bool XAppleDRICreateSurface(Display * dpy, int screen, Drawable drawable, 106 Bool XAppleDRIDestroySurface(Display * dpy, int screen, Drawable drawable); 110 Bool XAppleDRICreateSharedBuffer(Display * dpy, int screen, Drawable drawable, 114 Bool XAppleDRISwapBuffers(Display * dpy, int screen, Drawable drawable); 116 Bool XAppleDRICreatePixmap(Display * dpy, int screen, Drawable drawable,
|
/external/glide/library/src/main/java/com/bumptech/glide/request/animation/ |
D | DrawableCrossFadeViewAnimation.java | 3 import android.graphics.drawable.Drawable; 14 public class DrawableCrossFadeViewAnimation<T extends Drawable> implements GlideAnimation<T> { 44 Drawable previous = adapter.getCurrentDrawable(); in animate() 46 …TransitionDrawable transitionDrawable = new TransitionDrawable(new Drawable[] { previous, current … in animate()
|
D | GlideAnimation.java | 3 import android.graphics.drawable.Drawable; 33 Drawable getCurrentDrawable(); in getCurrentDrawable() 40 void setDrawable(Drawable drawable); in setDrawable()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/ |
D | RobolectricPackageManager.java | 15 import android.graphics.drawable.Drawable; 25 private Map<ComponentName, Drawable> drawableList = new HashMap<ComponentName, Drawable>(); 115 public Drawable getActivityIcon(Intent intent) { in getActivityIcon() 120 public Drawable getActivityIcon(ComponentName componentName) { in getActivityIcon() 124 public void addActivityIcon( ComponentName component, Drawable d ) { in addActivityIcon() 128 public void addActivityIcon( Intent intent, Drawable d ) { in addActivityIcon()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/view/ |
D | TestSubMenu.java | 3 import android.graphics.drawable.Drawable; 26 public SubMenu setHeaderIcon(Drawable icon) { in setHeaderIcon() 45 public SubMenu setIcon(Drawable icon) { in setIcon()
|
/external/glide/library/src/main/java/com/bumptech/glide/request/ |
D | GenericRequest.java | 4 import android.graphics.drawable.Drawable; 79 private Drawable placeholderDrawable; 80 private Drawable errorDrawable; 96 Drawable placeholderDrawable, in obtain() 98 Drawable errorDrawable, in obtain() 168 Drawable placeholderDrawable, in init() 170 Drawable errorDrawable, in init() 372 Drawable error = getErrorDrawable(); in setErrorPlaceholder() 379 private Drawable getErrorDrawable() { in getErrorDrawable() 386 private Drawable getPlaceholderDrawable() { in getPlaceholderDrawable()
|