Home
last modified time | relevance | path

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

12345678

/external/setupdesign/main/src/com/google/android/setupdesign/view/
DNavigationBarButton.java23 import android.graphics.drawable.Drawable;
55 Drawable[] drawables = getCompoundDrawablesRelative(); in init()
67 public void setCompoundDrawables(Drawable left, Drawable top, Drawable right, Drawable bottom) { in setCompoundDrawables()
86 Drawable start, Drawable top, Drawable end, Drawable bottom) { in setCompoundDrawablesRelative()
112 for (Drawable drawable : getAllCompoundDrawables()) { in tintDrawables()
121 private Drawable[] getAllCompoundDrawables() { in getAllCompoundDrawables()
122 Drawable[] drawables = new Drawable[6]; in getAllCompoundDrawables()
123 Drawable[] compoundDrawables = getCompoundDrawables(); in getAllCompoundDrawables()
129 Drawable[] compoundDrawablesRelative = getCompoundDrawablesRelative(); in getAllCompoundDrawables()
140 public static TintedDrawable wrap(Drawable drawable) { in wrap()
[all …]
DIllustration.java25 import android.graphics.drawable.Drawable;
47 private Drawable background;
48 private Drawable illustration;
96 public void setBackgroundDrawable(Drawable background) { in setBackgroundDrawable()
109 public void setIllustration(Drawable illustration) { in setIllustration()
134 public void setForeground(Drawable d) { in setForeground()
219 private boolean shouldMirrorDrawable(Drawable drawable, int layoutDirection) { in shouldMirrorDrawable()
DIconUniformityAppImageViewBindable.java19 import android.graphics.drawable.Drawable;
26 public Drawable icon;
28 public IconUniformityAppImageViewData(Drawable icon) { in IconUniformityAppImageViewData()
/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/rust/crates/plotters/src/element/
Dcomposable.rs25 Other: Drawable<DB>,
46 impl<Coord, DB: DrawingBackend> Drawable<DB> for EmptyElement<Coord, DB> {
58 pub struct BoxedElement<Coord, DB: DrawingBackend, A: Drawable<DB>> {
64 impl<'b, Coord, DB: DrawingBackend, A: Drawable<DB>> PointCollection<'b, Coord>
74 impl<Coord, DB: DrawingBackend, A> Drawable<DB> for BoxedElement<Coord, DB, A>
77 A: Drawable<DB>,
101 My: Drawable<DB>,
103 Yours: Drawable<DB>,
120 A: Drawable<DB>,
121 B: Drawable<DB>,
[all …]
/external/setupdesign/main/src/com/google/android/setupdesign/
DSetupWizardLayout.java26 import android.graphics.drawable.Drawable;
109 final Drawable background = a.getDrawable(R.styleable.SudSetupWizardLayout_sudBackground); in init()
113 final Drawable backgroundTile = in init()
121 final Drawable illustration = a.getDrawable(R.styleable.SudSetupWizardLayout_sudIllustration); in init()
125 final Drawable illustrationImage = in init()
127 final Drawable horizontalTile = in init()
237 public void setIllustration(Drawable drawable) { in setIllustration()
258 final Drawable illustrationDrawable = getIllustration(asset, horizontalTile); in setIllustration()
263 private void setIllustration(Drawable asset, Drawable horizontalTile) { in setIllustration()
267 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/angle/src/libANGLE/renderer/gl/glx/
DFunctionsGLX.h42 Bool makeCurrent(glx::Drawable drawable, glx::Context context) const;
43 void swapBuffers(glx::Drawable drawable) const;
47 glx::Drawable getCurrentDrawable() const;
64 void queryDrawable(glx::Drawable drawable, int attribute, unsigned int *value) const;
75 void swapIntervalEXT(glx::Drawable drawable, int interval) const;
84 bool getSyncValuesOML(glx::Drawable drawable, int64_t *ust, int64_t *msc, int64_t *sbc) const;
85 bool getMscRateOML(glx::Drawable drawable, int32_t *numerator, int32_t *denominator) const;
88 void bindTexImageEXT(glx::Drawable drawable, int buffer, const int *attribList) const;
89 void releaseTexImageEXT(glx::Drawable drawable, int buffer) const;
/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()
/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/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/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/libchrome/base/android/java/src/org/chromium/base/
DApiCompatibilityUtils.java23 import android.graphics.drawable.Drawable;
194 public static Drawable[] getCompoundDrawablesRelative(TextView textView) { in getCompoundDrawablesRelative()
206 public static void setCompoundDrawablesRelative(TextView textView, Drawable start, Drawable top, in setCompoundDrawablesRelative()
207 Drawable end, Drawable bottom) { in setCompoundDrawablesRelative()
226 Drawable start, Drawable top, Drawable end, Drawable bottom) { in setCompoundDrawablesRelativeWithIntrinsicBounds()
458 public static Drawable getDrawable(Resources res, int id) throws NotFoundException { in getDrawable()
475 public static Drawable getDrawableForDensity(Resources res, int id, int density) { in getDrawableForDensity()
497 public static Drawable getUserBadgedIcon(Context context, int id) { in getUserBadgedIcon()
498 Drawable drawable = getDrawable(context.getResources(), id); in getUserBadgedIcon()
510 public static Drawable getUserBadgedDrawableForDensity( in getUserBadgedDrawableForDensity()
[all …]
/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/setupdesign/main/src/com/google/android/setupdesign/items/
DItem.java22 import android.graphics.drawable.Drawable;
43 @Nullable private Drawable icon;
89 public void setIcon(@Nullable Drawable icon) { in setIcon()
95 public Drawable getIcon() { in getIcon()
182 final Drawable icon = getIcon(); in onBindView()
222 protected void onMergeIconStateAndLevels(ImageView iconView, Drawable icon) { in onMergeIconStateAndLevels()
/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()

12345678