HomeSort by relevance Sort by last modified time
    Searched defs:drawable (Results 76 - 100 of 909) sorted by null

1 2 34 5 6 7 8 91011>>

  /frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
GlifPatternDrawableTest.java 56 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); local
57 drawable.setBounds(0, 0, 1366, 768);
58 drawable.draw(canvas);
68 // Test that the second time the drawable is drawn is also correct, to make sure caching is
74 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); local
75 drawable.setBounds(0, 0, 1366, 768);
76 drawable.draw(canvas);
82 drawable.draw(canvas);
97 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); local
98 drawable.setBounds(0, 0, 683, 384); // half each side of the view bo
113 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); local
130 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); local
147 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); local
163 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); local
    [all...]
DrawableLayoutDirectionHelperTest.java 27 import android.graphics.drawable.ColorDrawable;
28 import android.graphics.drawable.Drawable;
29 import android.graphics.drawable.InsetDrawable;
49 final Drawable drawable = new ColorDrawable(Color.RED); local
52 DrawableLayoutDirectionHelper.createRelativeInsetDrawable(drawable,
56 assertSame("Drawable from getDrawable() should be same as passed in", drawable,
67 final Drawable drawable = new ColorDrawable(Color.RED) local
85 final Drawable drawable = new ColorDrawable(Color.RED); local
108 final Drawable drawable = new ColorDrawable(Color.RED); local
    [all...]
  /frameworks/support/compat/src/main/java/androidx/core/graphics/drawable/
WrappedDrawableApi21.java 17 package androidx.core.graphics.drawable;
24 import android.graphics.drawable.Drawable;
25 import android.graphics.drawable.DrawableContainer;
26 import android.graphics.drawable.GradientDrawable;
27 import android.graphics.drawable.InsetDrawable;
28 import android.graphics.drawable.RippleDrawable;
43 WrappedDrawableApi21(Drawable drawable) {
44 super(drawable);
115 final Drawable drawable = mDrawable; local
    [all...]
  /packages/apps/Car/Dialer/src/com/android/car/dialer/
CallTypeIconsView.java 21 import android.graphics.drawable.Drawable;
66 final Drawable drawable = getCallTypeDrawable(callType); local
67 mWidth += drawable.getIntrinsicWidth() + mResources.iconMargin;
68 mHeight = Math.max(mHeight, drawable.getIntrinsicHeight());
80 private Drawable getCallTypeDrawable(int callType) {
108 final Drawable drawable = getCallTypeDrawable(callType); local
109 final int right = left + drawable.getIntrinsicWidth()
    [all...]
  /packages/apps/Car/Hvac/src/com/android/car/hvac/ui/
FanSpeedBarSegment.java 21 import android.graphics.drawable.GradientDrawable;
42 GradientDrawable drawable = (GradientDrawable) getDrawable();
43 drawable.setCornerRadius(size / 2);
44 drawable.setSize(size, size);
92 GradientDrawable drawable = (GradientDrawable) getDrawable(); local
94 drawable.setCornerRadius(0);
95 // Setting size -1, makes the drawable grow to the size of the image view.
96 drawable.setSize(-1, -1);
98 drawable.setCornerRadius(mDotSize / 2);
99 drawable.setSize(mDotSize, mDotSize)
    [all...]
  /packages/apps/Car/Media/src/com/android/car/media/drawer/
MediaBrowserItemsFetcher.java 20 import android.graphics.drawable.Drawable;
153 Drawable drawable = mContext.getDrawable(R.drawable.ic_chevron_right); local
154 drawable.setColorFilter(iconColor, PorterDuff.Mode.SRC_IN);
155 holder.getEndIcon().setImageDrawable(drawable);
MediaQueueItemsFetcher.java 20 import android.graphics.drawable.Drawable;
87 Drawable drawable = local
88 mContext.getDrawable(R.drawable.ic_music_active);
89 drawable.setColorFilter(primaryColor, PorterDuff.Mode.SRC_IN);
90 holder.getEndIcon().setImageDrawable(drawable);
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
AccountItemView.java 101 AccountAvatarDrawable drawable = new AccountAvatarDrawable( local
105 drawable.setDecodeDimensions(size, size);
106 drawable.bind(account.getSenderName(), account.getEmailAddress());
107 v.setImageDrawable(drawable);
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
CustomDrawableTest.java 17 package android.graphics.drawable.cts;
30 import android.graphics.drawable.Drawable;
48 Drawable dr = InstrumentationRegistry.getTargetContext().getDrawable(
49 R.drawable.custom_drawable);
54 public static class CustomDrawable extends Drawable {
Drawable_ConstantStateTest.java 17 package android.graphics.drawable.cts;
28 import android.graphics.drawable.Drawable;
29 import android.graphics.drawable.Drawable.ConstantState;
69 public Drawable newDrawable() {
RotateDrawableTest.java 17 package android.graphics.drawable.cts;
41 import android.graphics.drawable.BitmapDrawable;
42 import android.graphics.drawable.ColorDrawable;
43 import android.graphics.drawable.Drawable;
44 import android.graphics.drawable.Drawable.ConstantState;
45 import android.graphics.drawable.RotateDrawable;
69 mRotateDrawable = (RotateDrawable) mResources.getDrawable(R.drawable.rotatedrawable);
87 d = (RotateDrawable) mResources.getDrawable(R.drawable.rotatedrawable_rel)
178 Drawable drawable = mResources.getDrawable(R.drawable.pass); local
263 Drawable drawable = mResources.getDrawable(R.drawable.testimage); local
    [all...]
  /developers/build/prebuilts/gradle/BasicNotifications/Application/src/main/java/com/example/android/basicnotifications/
MainActivity.java 54 * Important note: although you can use any drawable as the small icon, Android
59 builder.setSmallIcon(R.drawable.ic_stat_notification);
74 builder.setLargeIcon(BitmapFactory.decodeResource(getResources(), R.drawable.ic_launcher));
  /developers/samples/android/notification/BasicNotifications/Application/src/main/java/com/example/android/basicnotifications/
MainActivity.java 54 * Important note: although you can use any drawable as the small icon, Android
59 builder.setSmallIcon(R.drawable.ic_stat_notification);
74 builder.setLargeIcon(BitmapFactory.decodeResource(getResources(), R.drawable.ic_launcher));
  /development/samples/browseable/BasicNotifications/src/com.example.android.basicnotifications/
MainActivity.java 54 * Important note: although you can use any drawable as the small icon, Android
59 builder.setSmallIcon(R.drawable.ic_stat_notification);
74 builder.setLargeIcon(BitmapFactory.decodeResource(getResources(), R.drawable.ic_launcher));
  /development/samples/devbytes/graphics/BitmapAllocation/src/com/example/android/bitmapallocation/
BitmapAllocation.java 52 final int[] imageIDs = {R.drawable.a, R.drawable.b, R.drawable.c, R.drawable.d,
53 R.drawable.e, R.drawable.f};
62 BitmapFactory.decodeResource(getResources(), R.drawable.a, mBitmapOptions);
68 BitmapFactory.decodeResource(getResources(), R.drawable.a, mBitmapOptions);
  /external/mesa3d/src/glx/apple/
apple_glx_context.h 55 struct apple_glx_drawable *drawable; member in struct:apple_glx_context
65 * last_surface is set by the pending_destroy code handler for a drawable.
79 GLXDrawable drawable);
81 GLXDrawable drawable);
  /external/skia/src/core/
SkPictureRecorder.cpp 129 sk_sp<SkDrawable> drawable = local
133 return drawable;
  /external/skqp/src/core/
SkPictureRecorder.cpp 129 sk_sp<SkDrawable> drawable = local
133 return drawable;
  /external/webrtc/webrtc/voice_engine/test/android/android_test/gen/org/webrtc/voiceengine/test/
R.java 13 public static final class drawable { class in class:R
  /frameworks/base/core/java/android/text/style/
ImageSpan.java 25 import android.graphics.drawable.BitmapDrawable;
26 import android.graphics.drawable.Drawable;
33 * Span that replaces the text it's attached to with a {@link Drawable} that can be aligned with
34 * the bottom or with the baseline of the surrounding text. The drawable can be constructed from
40 * <li>{@link Drawable} - see {@link #ImageSpan(Drawable, int)}</li>
60 private Drawable mDrawable;
90 * @param context context used to create a drawable from {@param bitmap} based on the display
102 * @param context context used to create a drawable from {@param bitmap} based o
226 Drawable drawable = null; local
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
PaintDrawable.java 17 package android.graphics.drawable;
19 import android.graphics.drawable.shapes.RoundRectShape;
27 * Drawable that draws its bounds in the given paint, with optional
41 * drawable is drawn in a round-rectangle, rather than a rectangle.
PictureDrawable.java 17 package android.graphics.drawable;
21 import android.graphics.drawable.Drawable;
27 * Drawable subclass that wraps a Picture, allowing the picture to be used
28 * wherever a Drawable is supported.
30 public class PictureDrawable extends Drawable {
35 * Construct a new drawable referencing the specified picture. The picture
38 * @param picture The picture to associate with the drawable. May be null.
45 * Return the picture associated with the drawable. May be null.
47 * @return the picture associated with the drawable, or null
    [all...]
RippleComponent.java 17 package android.graphics.drawable;
81 * parent drawable coordinates before use.
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
SlashImageView.java 19 import android.graphics.drawable.Drawable;
54 public void setImageDrawable(Drawable drawable) {
55 if (drawable == null) {
59 setImageLevel(drawable.getLevel());
60 super.setImageDrawable(drawable);
63 mSlash.setDrawable(drawable);
85 public void setState(@Nullable SlashState state, @Nullable Drawable drawable) {
    [all...]
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
AlphaControlledSignalTileViewTest.java 30 import android.graphics.drawable.Drawable;
62 Drawable mockDrawable = mock(Drawable.class);
63 AlphaControlledSlashDrawable drawable = new AlphaControlledSlashDrawable(mockDrawable); local
65 drawable.setTintList(list);
71 Drawable mockDrawable = mock(Drawable.class);
72 AlphaControlledSlashDrawable drawable = new AlphaControlledSlashDrawable(mockDrawable); local
74 drawable.setFinalTintList(list)
    [all...]

Completed in 1700 milliseconds

1 2 34 5 6 7 8 91011>>