Home
last modified time | relevance | path

Searched refs:drawable (Results 1 – 25 of 1270) sorted by relevance

12345678910>>...51

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DTelephonyIcons.java28 static final int TELEPHONY_NO_NETWORK = R.drawable.stat_sys_signal_null;
31 { R.drawable.stat_sys_signal_0,
32 R.drawable.stat_sys_signal_1,
33 R.drawable.stat_sys_signal_2,
34 R.drawable.stat_sys_signal_3,
35 R.drawable.stat_sys_signal_4 },
36 { R.drawable.stat_sys_signal_0_fully,
37 R.drawable.stat_sys_signal_1_fully,
38 R.drawable.stat_sys_signal_2_fully,
39 R.drawable.stat_sys_signal_3_fully,
[all …]
DWifiIcons.java23 { R.drawable.stat_sys_wifi_signal_0,
24 R.drawable.stat_sys_wifi_signal_1,
25 R.drawable.stat_sys_wifi_signal_2,
26 R.drawable.stat_sys_wifi_signal_3,
27 R.drawable.stat_sys_wifi_signal_4 },
28 { R.drawable.stat_sys_wifi_signal_0_fully,
29 R.drawable.stat_sys_wifi_signal_1_fully,
30 R.drawable.stat_sys_wifi_signal_2_fully,
31 R.drawable.stat_sys_wifi_signal_3_fully,
32 R.drawable.stat_sys_wifi_signal_4_fully }
[all …]
/frameworks/support/v4/java/android/support/v4/graphics/drawable/
DDrawableCompat.java17 package android.support.v4.graphics.drawable;
23 import android.graphics.drawable.Drawable;
43 void jumpToCurrentState(Drawable drawable); in jumpToCurrentState() argument
44 void setAutoMirrored(Drawable drawable, boolean mirrored); in setAutoMirrored() argument
45 boolean isAutoMirrored(Drawable drawable); in isAutoMirrored() argument
46 void setHotspot(Drawable drawable, float x, float y); in setHotspot() argument
47 void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom); in setHotspotBounds() argument
48 void setTint(Drawable drawable, int tint); in setTint() argument
49 void setTintList(Drawable drawable, ColorStateList tint); in setTintList() argument
50 void setTintMode(Drawable drawable, PorterDuff.Mode tintMode); in setTintMode() argument
[all …]
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
DVectorDrawablePerformance.java18 import android.graphics.drawable.VectorDrawable;
38 R.drawable.vector_icon_filltype_nonzero,
39 R.drawable.vector_icon_filltype_evenodd,
40 R.drawable.vector_icon_gradient_1,
41 R.drawable.vector_icon_gradient_2,
42 R.drawable.vector_icon_gradient_3,
43 R.drawable.vector_icon_gradient_1_clamp,
44 R.drawable.vector_icon_gradient_2_repeat,
45 R.drawable.vector_icon_gradient_3_mirror,
46 R.drawable.vector_icon_state_list_simple,
[all …]
DVectorDrawableDupPerf.java21 R.drawable.vector_drawable04,
22 R.drawable.vector_drawable04,
23 R.drawable.vector_drawable04,
24 R.drawable.vector_drawable04,
25 R.drawable.vector_drawable04,
26 R.drawable.vector_drawable04,
27 R.drawable.vector_drawable04,
28 R.drawable.vector_drawable04,
29 R.drawable.vector_drawable04,
30 R.drawable.vector_drawable04,
[all …]
DVectorCheckbox.java17 import android.graphics.drawable.VectorDrawable;
29 R.drawable.vector_drawable01,
30 R.drawable.vector_drawable02,
31 R.drawable.vector_drawable03,
32 R.drawable.vector_drawable04,
33 R.drawable.vector_drawable05,
34 R.drawable.vector_drawable06,
35 R.drawable.vector_drawable07,
36 R.drawable.vector_drawable08,
37 R.drawable.vector_drawable09,
[all …]
DBitmapDrawableDupe.java18 import android.graphics.drawable.BitmapDrawable;
31 R.drawable.bitmap_drawable01,
32 R.drawable.bitmap_drawable01,
33 R.drawable.bitmap_drawable01,
34 R.drawable.bitmap_drawable01,
35 R.drawable.bitmap_drawable01,
36 R.drawable.bitmap_drawable01,
37 R.drawable.bitmap_drawable01,
38 R.drawable.bitmap_drawable01,
39 R.drawable.bitmap_drawable01,
[all …]
DVectorDrawable01.java17 import android.graphics.drawable.VectorDrawable;
33 R.drawable.vector_drawable01,
34 R.drawable.vector_drawable02,
35 R.drawable.vector_drawable03,
36 R.drawable.vector_drawable04,
37 R.drawable.vector_drawable05,
38 R.drawable.vector_drawable06,
39 R.drawable.vector_drawable07,
40 R.drawable.vector_drawable08,
41 R.drawable.vector_drawable09,
[all …]
DAnimatedVectorDrawableDupPerf.java18 import android.graphics.drawable.AnimatedVectorDrawable;
19 import android.graphics.drawable.VectorDrawable;
41 R.drawable.animation_vector_linear_progress_bar,
42 R.drawable.animation_vector_linear_progress_bar,
43 R.drawable.animation_vector_linear_progress_bar,
44 R.drawable.animation_vector_linear_progress_bar,
45 R.drawable.animation_vector_linear_progress_bar,
46 R.drawable.animation_vector_linear_progress_bar,
47 R.drawable.animation_vector_linear_progress_bar,
48 R.drawable.animation_vector_linear_progress_bar,
[all …]
DAnimatedVectorDrawableTest.java18 import android.graphics.drawable.Animatable2;
19 import android.graphics.drawable.AnimatedVectorDrawable;
20 import android.graphics.drawable.Drawable;
33 R.drawable.btn_radio_on_to_off_bundle,
34 R.drawable.ic_rotate_2_portrait_v2_animation,
35 R.drawable.ic_signal_airplane_v2_animation,
36 R.drawable.ic_hourglass_animation,
37 R.drawable.animation_vector_linear_progress_bar,
38 R.drawable.animation_vector_drawable_grouping_1,
39 R.drawable.animation_vector_progress_bar,
[all …]
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/vo/
DUsers.java7 R.drawable.emo_im_angel,
8 R.drawable.emo_im_cool,
9 R.drawable.emo_im_crying,
10 R.drawable.emo_im_embarrassed,
11 R.drawable.emo_im_foot_in_mouth,
12 R.drawable.emo_im_happy,
13 R.drawable.emo_im_kissing,
14 R.drawable.emo_im_laughing,
15 R.drawable.emo_im_lips_are_sealed,
16 R.drawable.emo_im_money_mouth,
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DDrawableUtils.java21 import android.graphics.drawable.Drawable;
22 import android.graphics.drawable.DrawableContainer;
23 import android.graphics.drawable.GradientDrawable;
24 import android.graphics.drawable.InsetDrawable;
25 import android.graphics.drawable.LayerDrawable;
26 import android.graphics.drawable.ScaleDrawable;
27 import android.graphics.drawable.StateListDrawable;
30 import android.support.v4.graphics.drawable.DrawableCompat;
63 public static Rect getOpticalBounds(Drawable drawable) { in getOpticalBounds() argument
68 drawable = DrawableCompat.unwrap(drawable); in getOpticalBounds()
[all …]
DAppCompatProgressBarHelper.java22 import android.graphics.drawable.AnimationDrawable;
23 import android.graphics.drawable.BitmapDrawable;
24 import android.graphics.drawable.ClipDrawable;
25 import android.graphics.drawable.Drawable;
26 import android.graphics.drawable.LayerDrawable;
27 import android.graphics.drawable.ShapeDrawable;
28 import android.graphics.drawable.shapes.RoundRectShape;
29 import android.graphics.drawable.shapes.Shape;
30 import android.support.v4.graphics.drawable.DrawableWrapper;
56 Drawable drawable = a.getDrawableIfKnown(0); in loadFromAttributes() local
[all …]
DAppCompatDrawableManager.java28 import android.graphics.drawable.Drawable;
29 import android.graphics.drawable.Drawable.ConstantState;
30 import android.graphics.drawable.LayerDrawable;
31 import android.graphics.drawable.StateListDrawable;
37 import android.support.graphics.drawable.AnimatedVectorDrawableCompat;
38 import android.support.graphics.drawable.VectorDrawableCompat;
41 import android.support.v4.graphics.drawable.DrawableCompat;
109 R.drawable.abc_textfield_search_default_mtrl_alpha,
110 R.drawable.abc_textfield_default_mtrl_alpha,
111 R.drawable.abc_ab_share_pack_mtrl_alpha
[all …]
/frameworks/support/v4/api21/android/support/v4/graphics/drawable/
DDrawableCompatLollipop.java17 package android.support.v4.graphics.drawable;
23 import android.graphics.drawable.Drawable;
35 public static void setHotspot(Drawable drawable, float x, float y) { in setHotspot() argument
36 drawable.setHotspot(x, y); in setHotspot()
39 public static void setHotspotBounds(Drawable drawable, int left, int top, in setHotspotBounds() argument
41 drawable.setHotspotBounds( left, top, right, bottom); in setHotspotBounds()
44 public static void setTint(Drawable drawable, int tint) { in setTint() argument
45 drawable.setTint(tint); in setTint()
48 public static void setTintList(Drawable drawable, ColorStateList tint) { in setTintList() argument
49 drawable.setTintList(tint); in setTintList()
[all …]
/frameworks/support/graphics/drawable/static/tests/src/android/support/graphics/drawable/tests/
DVectorDrawableTest.java17 package android.support.graphics.drawable.tests;
27 import android.graphics.drawable.Drawable;
28 import android.support.graphics.drawable.VectorDrawableCompat;
29 import android.support.graphics.drawable.test.R;
51 R.drawable.vector_icon_create,
52 R.drawable.vector_icon_delete,
53 R.drawable.vector_icon_heart,
54 R.drawable.vector_icon_schedule,
55 R.drawable.vector_icon_settings,
56 R.drawable.vector_icon_random_path_1,
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DSmileys.java26 R.drawable.emo_im_happy,
27 R.drawable.emo_im_sad,
28 R.drawable.emo_im_winking,
29 R.drawable.emo_im_tongue_sticking_out,
30 R.drawable.emo_im_surprised,
31 R.drawable.emo_im_kissing,
32 R.drawable.emo_im_yelling,
33 R.drawable.emo_im_cool,
34 R.drawable.emo_im_money_mouth,
35 R.drawable.emo_im_foot_in_mouth,
[all …]
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/
DDrawableCompatBase.java17 package android.support.v4.graphics.drawable;
22 import android.graphics.drawable.Drawable;
34 public static void setTint(Drawable drawable, int tint) { in setTint() argument
35 if (drawable instanceof TintAwareDrawable) { in setTint()
36 ((TintAwareDrawable) drawable).setTint(tint); in setTint()
40 public static void setTintList(Drawable drawable, ColorStateList tint) { in setTintList() argument
41 if (drawable instanceof TintAwareDrawable) { in setTintList()
42 ((TintAwareDrawable) drawable).setTintList(tint); in setTintList()
46 public static void setTintMode(Drawable drawable, PorterDuff.Mode tintMode) { in setTintMode() argument
47 if (drawable instanceof TintAwareDrawable) { in setTintMode()
[all …]
/frameworks/support/v4/kitkat/android/support/v4/graphics/drawable/
DDrawableCompatKitKat.java17 package android.support.v4.graphics.drawable;
21 import android.graphics.drawable.Drawable;
27 public static void setAutoMirrored(Drawable drawable, boolean mirrored) { in setAutoMirrored() argument
28 drawable.setAutoMirrored(mirrored); in setAutoMirrored()
31 public static boolean isAutoMirrored(Drawable drawable) { in isAutoMirrored() argument
32 return drawable.isAutoMirrored(); in isAutoMirrored()
35 public static Drawable wrapForTinting(Drawable drawable) { in wrapForTinting() argument
36 if (!(drawable instanceof TintAwareDrawable)) { in wrapForTinting()
37 return new DrawableWrapperKitKat(drawable); in wrapForTinting()
39 return drawable; in wrapForTinting()
[all …]
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
DGlifPatternDrawableTest.java36 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); in testDraw() local
37 drawable.setBounds(0, 0, 1366, 768); in testDraw()
38 drawable.draw(canvas); in testDraw()
54 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); in testDrawTwice() local
55 drawable.setBounds(0, 0, 1366, 768); in testDrawTwice()
56 drawable.draw(canvas); in testDrawTwice()
62 drawable.draw(canvas); in testDrawTwice()
75 final GlifPatternDrawable drawable = new GlifPatternDrawable(Color.RED); in testScaleToCanvasSquare() local
76 drawable.setBounds(0, 0, 683, 384); // half each side of the view box in testScaleToCanvasSquare()
77 drawable.scaleCanvasToBounds(canvas); in testScaleToCanvasSquare()
[all …]
DDrawableLayoutDirectionHelperTest.java23 import android.graphics.drawable.ColorDrawable;
24 import android.graphics.drawable.Drawable;
25 import android.graphics.drawable.InsetDrawable;
39 final Drawable drawable = new ColorDrawable(Color.RED); in testCreateRelativeInsetDrawableLtr() local
41 DrawableLayoutDirectionHelper.createRelativeInsetDrawable(drawable, in testCreateRelativeInsetDrawableLtr()
45 assertSame("Drawable from getDrawable() should be same as passed in", drawable, in testCreateRelativeInsetDrawableLtr()
56 final Drawable drawable = new ColorDrawable(Color.RED); in testCreateRelativeInsetDrawableRtl() local
58 DrawableLayoutDirectionHelper.createRelativeInsetDrawable(drawable, in testCreateRelativeInsetDrawableRtl()
62 assertSame("Drawable from getDrawable() should be same as passed in", drawable, in testCreateRelativeInsetDrawableRtl()
73 final Drawable drawable = new ColorDrawable(Color.RED); in testCreateRelativeInsetDrawableViewRtl() local
[all …]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DIconUtils.java22 import android.graphics.drawable.Drawable;
42 icon = R.drawable.ic_doc_apk;
46 icon = R.drawable.ic_doc_audio;
51 icon = R.drawable.ic_doc_certificate;
64 icon = R.drawable.ic_doc_codes;
95 icon = R.drawable.ic_doc_compressed;
116 icon = R.drawable.ic_doc_contact;
121 icon = R.drawable.ic_doc_event;
126 icon = R.drawable.ic_doc_font;
133 icon = R.drawable.ic_doc_image;
[all …]
/frameworks/base/core/java/android/view/
DViewOverlay.java23 import android.graphics.drawable.Drawable;
74 public void add(@NonNull Drawable drawable) { in add() argument
75 mOverlayViewGroup.add(drawable); in add()
86 public void remove(@NonNull Drawable drawable) { in remove() argument
87 mOverlayViewGroup.remove(drawable); in remove()
146 public void add(@NonNull Drawable drawable) { in add() argument
147 if (drawable == null) { in add()
153 if (!mDrawables.contains(drawable)) { in add()
155 mDrawables.add(drawable); in add()
156 invalidate(drawable.getBounds()); in add()
[all …]
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java27 import android.graphics.drawable.BitmapDrawable;
57 R.drawable.notification0,
58 R.drawable.notification1,
59 R.drawable.notification2,
60 R.drawable.notification3,
61 R.drawable.notification4,
62 R.drawable.notification5,
63 R.drawable.notification6,
64 R.drawable.notification7,
65 R.drawable.notification8,
[all …]
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DDrawableLayoutDirectionHelper.java20 import android.graphics.drawable.Drawable;
21 import android.graphics.drawable.InsetDrawable;
34 public static InsetDrawable createRelativeInsetDrawable(Drawable drawable, in createRelativeInsetDrawable() argument
38 return createRelativeInsetDrawable(drawable, insetStart, insetTop, insetEnd, insetBottom, in createRelativeInsetDrawable()
46 public static InsetDrawable createRelativeInsetDrawable(Drawable drawable, in createRelativeInsetDrawable() argument
54 return createRelativeInsetDrawable(drawable, insetStart, insetTop, insetEnd, insetBottom, in createRelativeInsetDrawable()
62 public static InsetDrawable createRelativeInsetDrawable(Drawable drawable, in createRelativeInsetDrawable() argument
65 return createRelativeInsetDrawable(drawable, insetStart, insetTop, insetEnd, insetBottom, in createRelativeInsetDrawable()
69 private static InsetDrawable createRelativeInsetDrawable(Drawable drawable, in createRelativeInsetDrawable() argument
72 return new InsetDrawable(drawable, insetEnd, insetTop, insetStart, insetBottom); in createRelativeInsetDrawable()
[all …]

12345678910>>...51