Home
last modified time | relevance | path

Searched refs:Drawable (Results 1 – 25 of 131) sorted by relevance

123456

/external/setupdesign/main/src/com/google/android/setupdesign/view/
DNavigationBarButton.java23 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 …]
DIllustration.java25 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/
DShadowDrawableTest.java19 import android.graphics.drawable.Drawable;
50 Drawable drawable = in createFromResourceStream_shouldWorkWithoutSourceName()
51 Drawable.createFromResourceStream( in createFromResourceStream_shouldWorkWithoutSourceName()
62Drawable drawable = ShadowDrawable.createFromStream(new ByteArrayInputStream(new byte[0]), "my_sou… in createFromStream__shouldReturnDrawableWithSpecificSource()
79 Drawable drawable = Drawable.createFromStream(byteInputStream, "src name"); in testCreateFromStream_shouldSetTheInputStreamOnTheReturnedDrawable()
85Drawable drawable = ShadowDrawable.createFromStream(new ByteArrayInputStream(new byte[0]), "my_sou… in copyBoundsWithPassedRect()
97Drawable 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 …]
DShadowLayerDrawableTest.java11 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()
DShadowStateListDrawableTest.java8 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/
DSetupWizardLayout.java26 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 …]
DDividerItemDecoration.java23 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/
DImageViewTarget.java3 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()
DBaseTarget.java3 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()
DTarget.java3 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()
DDrawableImageViewTarget.java3 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/
DShadowDrawable.java11 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()
DShadowCompoundButton.java6 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()
DShadowStateListDrawable.java3 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()
DShadowPhoneWindowFor22.java6 import android.graphics.drawable.Drawable;
21 public void setBackgroundDrawable(Drawable drawable) { in setBackgroundDrawable()
23 …tName(), "setBackgroundDrawable", ReflectionHelpers.ClassParameter.from(Drawable.class, drawable)); in setBackgroundDrawable()
DShadowPhoneWindow.java6 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/
DDrawableLayoutDirectionHelper.java21 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/
Dappledri.h102 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/
DDrawableCrossFadeViewAnimation.java3 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()
DGlideAnimation.java3 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/
DItem.java22 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()
DRecyclerItemAdapter.java22 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/
DStatusBarBackgroundLayout.java22 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/
DGenericRequest.java4 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/
DRoboSubMenu.java4 import android.graphics.drawable.Drawable;
39 public SubMenu setHeaderIcon(Drawable icon) { in setHeaderIcon()
58 public SubMenu setIcon(Drawable icon) { in setIcon()

123456