/external/setupdesign/main/src/com/google/android/setupdesign/view/ |
D | NavigationBarButton.java | 23 import android.graphics.drawable.Drawable; 51 Drawable[] drawables = getCompoundDrawablesRelative(); in init() 63 public void setCompoundDrawables(Drawable left, Drawable top, Drawable right, Drawable bottom) { in setCompoundDrawables() 82 Drawable start, Drawable top, Drawable end, Drawable bottom) { in setCompoundDrawablesRelative() 108 for (Drawable drawable : getAllCompoundDrawables()) { in tintDrawables() 117 private Drawable[] getAllCompoundDrawables() { in getAllCompoundDrawables() 118 Drawable[] drawables = new Drawable[6]; in getAllCompoundDrawables() 119 Drawable[] compoundDrawables = getCompoundDrawables(); in getAllCompoundDrawables() 125 Drawable[] compoundDrawablesRelative = getCompoundDrawablesRelative(); in getAllCompoundDrawables() 136 public static TintedDrawable wrap(Drawable drawable) { in wrap() [all …]
|
D | Illustration.java | 25 import android.graphics.drawable.Drawable; 47 private Drawable background; 48 private Drawable illustration; 92 public void setBackgroundDrawable(Drawable background) { in setBackgroundDrawable() 105 public void setIllustration(Drawable illustration) { in setIllustration() 130 public void setForeground(Drawable d) { in setForeground() 215 private boolean shouldMirrorDrawable(Drawable drawable, int layoutDirection) { in shouldMirrorDrawable()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowDrawableTest.java | 19 import android.graphics.drawable.Drawable; 50 Drawable drawable = in createFromResourceStream_shouldWorkWithoutSourceName() 51 Drawable.createFromResourceStream( in createFromResourceStream_shouldWorkWithoutSourceName() 62 …Drawable drawable = ShadowDrawable.createFromStream(new ByteArrayInputStream(new byte[0]), "my_sou… in createFromStream__shouldReturnDrawableWithSpecificSource() 79 Drawable drawable = Drawable.createFromStream(byteInputStream, "src name"); in testCreateFromStream_shouldSetTheInputStreamOnTheReturnedDrawable() 85 …Drawable drawable = ShadowDrawable.createFromStream(new ByteArrayInputStream(new byte[0]), "my_sou… in copyBoundsWithPassedRect() 97 …Drawable drawable = ShadowDrawable.createFromStream(new ByteArrayInputStream(new byte[0]), "my_sou… in copyBoundsToReturnedRect() 108 Drawable drawable = ShadowDrawable.createFromPath("/foo"); in createFromPath__shouldReturnDrawableWithSpecificPath() 115 Drawable drawable = new TestDrawable(); in testGetLoadedFromResourceId_shouldDefaultToNegativeOne() 121 Drawable drawable = ShadowDrawable.createFromResourceId(34758); in testCreateFromResourceId_shouldSetTheId() [all …]
|
D | ShadowLayerDrawableTest.java | 11 import android.graphics.drawable.Drawable; 25 protected Drawable drawable1000; 26 protected Drawable drawable2000; 27 protected Drawable drawable3000; 28 protected Drawable drawable4000; 33 protected Drawable[] drawables; 46 drawables = new Drawable[]{drawable1000, drawable2000, drawable3000}; in setUp()
|
D | ShadowStateListDrawableTest.java | 8 import android.graphics.drawable.Drawable; 20 Drawable drawable = ShadowDrawable.createFromPath("/foo"); in testAddStateWithDrawable() 27 Drawable drawableForState = shadow.getDrawableForState(states); in testAddStateWithDrawable() 34 Drawable drawable = ShadowDrawable.createFromPath("/foo"); in testAddDrawableWithWildCardState() 40 Drawable drawableForState = shadow.getDrawableForState(StateSet.WILD_CARD); in testAddDrawableWithWildCardState()
|
/external/setupdesign/main/src/com/google/android/setupdesign/ |
D | SetupWizardLayout.java | 26 import android.graphics.drawable.Drawable; 103 final Drawable background = a.getDrawable(R.styleable.SudSetupWizardLayout_sudBackground); in init() 107 final Drawable backgroundTile = in init() 115 final Drawable illustration = a.getDrawable(R.styleable.SudSetupWizardLayout_sudIllustration); in init() 119 final Drawable illustrationImage = in init() 121 final Drawable horizontalTile = in init() 231 public void setIllustration(Drawable drawable) { in setIllustration() 252 final Drawable illustrationDrawable = getIllustration(asset, horizontalTile); in setIllustration() 257 private void setIllustration(Drawable asset, Drawable horizontalTile) { in setIllustration() 261 final Drawable illustrationDrawable = getIllustration(asset, horizontalTile); in setIllustration() [all …]
|
D | DividerItemDecoration.java | 23 import android.graphics.drawable.Drawable; 78 private Drawable divider; 87 final Drawable divider = in DividerItemDecoration() 185 public void setDivider(Drawable divider) { in setDivider() 195 public Drawable getDivider() { in getDivider()
|
/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-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowDrawable.java | 11 import android.graphics.drawable.Drawable; 27 @Implements(Drawable.class) 33 @RealObject Drawable realDrawable; 44 protected static Drawable createFromStream(InputStream is, String srcName) { in createFromStream() 57 protected static Drawable createFromResourceStream( in createFromResourceStream() 89 protected static Drawable createFromPath(String pathName) { in createFromPath() 97 public static Drawable createFromResourceId(int resourceId) { in createFromResourceId() 150 Shadow.directlyOn(realDrawable, Drawable.class).setAlpha(alpha); in setAlpha() 156 Shadow.directlyOn(realDrawable, Drawable.class, "invalidateSelf"); in invalidateSelf()
|
D | ShadowCompoundButton.java | 6 import android.graphics.drawable.Drawable; 17 private Drawable buttonDrawable; 26 protected void setButtonDrawable(Drawable buttonDrawable) { in setButtonDrawable() 28 …directlyOn(realObject, CompoundButton.class, "setButtonDrawable", from(Drawable.class, buttonDrawa… in setButtonDrawable() 35 public Drawable getButtonDrawable() { in getButtonDrawable()
|
D | ShadowStateListDrawable.java | 3 import android.graphics.drawable.Drawable; 16 private final Map<List<Integer>, Drawable> stateToDrawable = new HashMap<>(); 27 protected void addState(int[] stateSet, Drawable drawable) { in addState() 37 public Drawable getDrawableForState(int[] stateSet) { in getDrawableForState()
|
D | ShadowPhoneWindowFor22.java | 6 import android.graphics.drawable.Drawable; 21 public void setBackgroundDrawable(Drawable drawable) { in setBackgroundDrawable() 23 …tName(), "setBackgroundDrawable", ReflectionHelpers.ClassParameter.from(Drawable.class, drawable)); in setBackgroundDrawable()
|
D | ShadowPhoneWindow.java | 6 import android.graphics.drawable.Drawable; 25 public void setBackgroundDrawable(Drawable drawable) { in setBackgroundDrawable() 27 …ndow.getClass().getName(), "setBackgroundDrawable", ClassParameter.from(Drawable.class, drawable)); in setBackgroundDrawable()
|
/external/setupdesign/main/src/com/google/android/setupdesign/util/ |
D | DrawableLayoutDirectionHelper.java | 21 import android.graphics.drawable.Drawable; 35 Drawable drawable, int insetStart, int insetTop, int insetEnd, int insetBottom, View view) { in createRelativeInsetDrawable() 49 Drawable drawable, in createRelativeInsetDrawable() 71 Drawable drawable, in createRelativeInsetDrawable() 87 Drawable drawable, in createRelativeInsetDrawable()
|
/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/setupdesign/main/src/com/google/android/setupdesign/items/ |
D | Item.java | 22 import android.graphics.drawable.Drawable; 40 private Drawable icon; 86 public void setIcon(Drawable icon) { in setIcon() 91 public Drawable getIcon() { in getIcon() 176 final Drawable icon = getIcon(); in onBindView() 206 protected void onMergeIconStateAndLevels(ImageView iconView, Drawable icon) { in onMergeIconStateAndLevels()
|
D | RecyclerItemAdapter.java | 22 import android.graphics.drawable.Drawable; 106 Drawable background = null; in onCreateViewHolder() 112 Drawable selectableItemBackground = in onCreateViewHolder() 142 final Drawable[] layers = {background, selectableItemBackground}; in onCreateViewHolder() 253 PatchedLayerDrawable(Drawable[] layers) { in PatchedLayerDrawable()
|
/external/setupcompat/main/java/com/google/android/setupcompat/view/ |
D | StatusBarBackgroundLayout.java | 22 import android.graphics.drawable.Drawable; 40 private Drawable statusBarBackground; 80 public void setStatusBarBackground(Drawable background) { in setStatusBarBackground() 89 public Drawable getStatusBarBackground() { in getStatusBarBackground()
|
/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()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/fakes/ |
D | RoboSubMenu.java | 4 import android.graphics.drawable.Drawable; 39 public SubMenu setHeaderIcon(Drawable icon) { in setHeaderIcon() 58 public SubMenu setIcon(Drawable icon) { in setIcon()
|