Home
last modified time | relevance | path

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

12345678910>>...22

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DTelephonyIcons.java26 { R.drawable.stat_sys_signal_0,
27 R.drawable.stat_sys_signal_1,
28 R.drawable.stat_sys_signal_2,
29 R.drawable.stat_sys_signal_3,
30 R.drawable.stat_sys_signal_4 },
31 { R.drawable.stat_sys_signal_0_fully,
32 R.drawable.stat_sys_signal_1_fully,
33 R.drawable.stat_sys_signal_2_fully,
34 R.drawable.stat_sys_signal_3_fully,
35 R.drawable.stat_sys_signal_4_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,
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/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/ex/carousel/test/src/com/android/carouseltest/
DMusicDemoActivity.java38 R.drawable.emo_im_angel,
39 R.drawable.emo_im_cool,
40 R.drawable.emo_im_crying,
41 R.drawable.emo_im_foot_in_mouth,
42 R.drawable.emo_im_happy,
43 R.drawable.emo_im_kissing,
44 R.drawable.emo_im_laughing,
45 R.drawable.emo_im_lips_are_sealed,
46 R.drawable.emo_im_money_mouth,
47 R.drawable.emo_im_sad,
[all …]
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestGalleryImages.java30 R.drawable.alphabet_a,
31 R.drawable.alphabet_b,
32 R.drawable.alphabet_c,
33 R.drawable.alphabet_d,
34 R.drawable.alphabet_e,
35 R.drawable.alphabet_f,
36 R.drawable.alphabet_g,
37 R.drawable.alphabet_h,
38 R.drawable.alphabet_i,
39 R.drawable.alphabet_j,
/frameworks/support/v4/java/android/support/v4/graphics/drawable/
DDrawableCompat.java17 package android.support.v4.graphics.drawable;
19 import android.graphics.drawable.Drawable;
30 void jumpToCurrentState(Drawable drawable); in jumpToCurrentState() argument
38 public void jumpToCurrentState(Drawable drawable) { in jumpToCurrentState() argument
47 public void jumpToCurrentState(Drawable drawable) { in jumpToCurrentState() argument
48 DrawableCompatHoneycomb.jumpToCurrentState(drawable); in jumpToCurrentState()
70 public static void jumpToCurrentState(Drawable drawable) { in jumpToCurrentState() argument
71 IMPL.jumpToCurrentState(drawable); in jumpToCurrentState()
/frameworks/base/core/tests/notificationtests/src/android/app/
DNotificationStressTest.java38 android.R.drawable.stat_notify_call_mute,
39 android.R.drawable.stat_notify_chat,
40 android.R.drawable.stat_notify_error,
41 android.R.drawable.stat_notify_missed_call,
42 android.R.drawable.stat_notify_more,
43 android.R.drawable.stat_notify_sdcard,
44 android.R.drawable.stat_notify_sdcard_prepare,
45 android.R.drawable.stat_notify_sdcard_usb,
46 android.R.drawable.stat_notify_sync,
47 android.R.drawable.stat_notify_sync_noanim,
[all …]
/frameworks/base/core/java/android/text/style/
DImageSpan.java22 import android.graphics.drawable.BitmapDrawable;
23 import android.graphics.drawable.Drawable;
129 Drawable drawable = null; in getDrawable() local
132 drawable = mDrawable; in getDrawable()
139 drawable = new BitmapDrawable(mContext.getResources(), bitmap); in getDrawable()
140 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), in getDrawable()
141 drawable.getIntrinsicHeight()); in getDrawable()
148 drawable = mContext.getResources().getDrawable(mResourceId); in getDrawable()
149 drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), in getDrawable()
150 drawable.getIntrinsicHeight()); in getDrawable()
[all …]
/frameworks/base/core/java/android/view/
DViewOverlay.java21 import android.graphics.drawable.Drawable;
69 public void add(Drawable drawable) { in add() argument
70 mOverlayViewGroup.add(drawable); in add()
79 public void remove(Drawable drawable) { in remove() argument
80 mOverlayViewGroup.remove(drawable); in remove()
136 public void add(Drawable drawable) { in add() argument
141 if (!mDrawables.contains(drawable)) { in add()
143 mDrawables.add(drawable); in add()
144 invalidate(drawable.getBounds()); in add()
145 drawable.setCallback(this); in add()
[all …]
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java26 import android.graphics.drawable.BitmapDrawable;
27 import android.graphics.drawable.Drawable;
86 addBitmapDrawable(layout, R.drawable.logo120dpi, true); in onCreate()
87 addBitmapDrawable(layout, R.drawable.logo160dpi, true); in onCreate()
88 addBitmapDrawable(layout, R.drawable.logo240dpi, true); in onCreate()
93 addBitmapDrawable(layout, R.drawable.logo120dpi, false); in onCreate()
94 addBitmapDrawable(layout, R.drawable.logo160dpi, false); in onCreate()
95 addBitmapDrawable(layout, R.drawable.logo240dpi, false); in onCreate()
100 addResourceDrawable(layout, R.drawable.logo120dpi); in onCreate()
101 addResourceDrawable(layout, R.drawable.logo160dpi); in onCreate()
[all …]
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
Dobject_params.rs27 SgRenderable *drawable = (SgRenderable *)rsGetElementAt(*v_out, 0);
29 if (!drawable->isVisible) {
34 processAllParams(drawable->pf_const, drawable->pf_constParams, camera);
35 processAllParams(drawable->pv_const, drawable->pv_constParams, camera);
Dcull.rs67 SgRenderable *drawable = (SgRenderable *)rsGetElementAt(*v_out, 0);
70 drawable->isVisible = 0;
72 if (!rsIsObject(drawable->mesh) || drawable->cullType == CULL_ALWAYS) {
78 if (drawable->cullType == CULL_FRUSTUM && frustumCulled(drawable, (SgCamera*)camera)) {
80 rsDebug("Culled", drawable);
81 printName(drawable->name);
85 drawable->isVisible = 1;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java90 { R.drawable.stat_sys_wifi_signal_1,
91 R.drawable.stat_sys_wifi_signal_2,
92 R.drawable.stat_sys_wifi_signal_3,
93 R.drawable.stat_sys_wifi_signal_4 },
94 { R.drawable.stat_sys_wifi_signal_1_fully,
95 R.drawable.stat_sys_wifi_signal_2_fully,
96 R.drawable.stat_sys_wifi_signal_3_fully,
97 R.drawable.stat_sys_wifi_signal_4_fully }
100 R.drawable.stat_sys_wifi_signal_0;
159 mService.setIcon("tty", R.drawable.stat_sys_tty_mode, 0, null); in PhoneStatusBarPolicy()
[all …]
/frameworks/base/core/java/android/widget/
DSuggestionsAdapter.java32 import android.graphics.drawable.Drawable;
399 Drawable drawable = getDrawableFromResourceValue(value); in getIcon1() local
400 if (drawable != null) { in getIcon1()
401 return drawable; in getIcon1()
418 private void setViewDrawable(ImageView v, Drawable drawable, int nullVisibility) { in setViewDrawable() argument
421 v.setImageDrawable(drawable); in setViewDrawable()
423 if (drawable == null) { in setViewDrawable()
433 drawable.setVisible(false, false); in setViewDrawable()
434 drawable.setVisible(true, false); in setViewDrawable()
527 Drawable drawable = checkIconCache(drawableUri); in getDrawableFromResourceValue() local
[all …]
DProgressBar.java28 import android.graphics.drawable.Animatable;
29 import android.graphics.drawable.AnimationDrawable;
30 import android.graphics.drawable.BitmapDrawable;
31 import android.graphics.drawable.ClipDrawable;
32 import android.graphics.drawable.Drawable;
33 import android.graphics.drawable.LayerDrawable;
34 import android.graphics.drawable.ShapeDrawable;
35 import android.graphics.drawable.StateListDrawable;
36 import android.graphics.drawable.shapes.RoundRectShape;
37 import android.graphics.drawable.shapes.Shape;
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSuggestionsAdapter.java30 import android.graphics.drawable.Drawable;
359 Drawable drawable = getDrawableFromResourceValue(value); in getIcon1() local
360 if (drawable != null) { in getIcon1()
361 return drawable; in getIcon1()
378 private void setViewDrawable(ImageView v, Drawable drawable, int nullVisibility) { in setViewDrawable() argument
381 v.setImageDrawable(drawable); in setViewDrawable()
383 if (drawable == null) { in setViewDrawable()
393 drawable.setVisible(false, false); in setViewDrawable()
394 drawable.setVisible(true, false); in setViewDrawable()
487 Drawable drawable = checkIconCache(drawableUri); in getDrawableFromResourceValue() local
[all …]
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java26 import android.graphics.drawable.BitmapDrawable;
55 R.drawable.notification0,
56 R.drawable.notification1,
57 R.drawable.notification2,
58 R.drawable.notification3,
59 R.drawable.notification4,
60 R.drawable.notification5,
61 R.drawable.notification6,
62 R.drawable.notification7,
63 R.drawable.notification8,
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DAnimatedImageView.java20 import android.graphics.drawable.AnimationDrawable;
21 import android.graphics.drawable.Drawable;
42 Drawable drawable = getDrawable(); in updateAnim() local
46 if (drawable instanceof AnimationDrawable) { in updateAnim()
47 mAnim = (AnimationDrawable)drawable; in updateAnim()
57 public void setImageDrawable(Drawable drawable) { in setImageDrawable() argument
58 super.setImageDrawable(drawable); in setImageDrawable()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawable.java17 package android.graphics.drawable;
837 Drawable drawable = createFromXmlInner(r, parser, attrs); in createFromXml() local
839 if (drawable == null) { in createFromXml()
843 return drawable; in createFromXml()
853 Drawable drawable; in createFromXmlInner() local
858 drawable = new StateListDrawable(); in createFromXmlInner()
860 drawable = new LevelListDrawable(); in createFromXmlInner()
866 drawable = new LayerDrawable(); in createFromXmlInner()
868 drawable = new TransitionDrawable(); in createFromXmlInner()
870 drawable = new ColorDrawable(); in createFromXmlInner()
[all …]
DAnimatedRotateDrawable.java17 package android.graphics.drawable;
59 final Drawable drawable = state.mDrawable; in init() local
60 if (drawable != null) { in init()
61 drawable.setFilterBitmap(true); in init()
62 if (drawable instanceof BitmapDrawable) { in init()
63 ((BitmapDrawable) drawable).setAntiAlias(true); in init()
73 final Drawable drawable = st.mDrawable; in draw() local
74 final Rect bounds = drawable.getBounds(); in draw()
84 drawable.draw(canvas); in draw()
240 Drawable drawable = null; in inflate() local
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DProgressBarICS.java27 import android.graphics.drawable.Animatable;
28 import android.graphics.drawable.AnimationDrawable;
29 import android.graphics.drawable.BitmapDrawable;
30 import android.graphics.drawable.ClipDrawable;
31 import android.graphics.drawable.Drawable;
32 import android.graphics.drawable.LayerDrawable;
33 import android.graphics.drawable.ShapeDrawable;
34 import android.graphics.drawable.shapes.RoundRectShape;
35 import android.graphics.drawable.shapes.Shape;
125 Drawable drawable = a.getDrawable(5); in ProgressBarICS() local
[all …]
/frameworks/base/docs/html/guide/topics/resources/
Ddrawable-resource.jd15 <p>A drawable resource is a general concept for a graphic that can be drawn to the screen and which
17 to another XML resource with attributes such as {@code android:drawable} and {@code android:icon}.
22 Creates a {@link android.graphics.drawable.BitmapDrawable}.</dd>
25 .9.png}). Creates a {@link android.graphics.drawable.NinePatchDrawable}.</dd>
29 android.graphics.drawable.LayerDrawable}.</dd>
33 Creates a {@link android.graphics.drawable.StateListDrawable}.</dd>
35 <dd>An XML file that defines a drawable that manages a number of alternate Drawables, each
37 android.graphics.drawable.LevelListDrawable}.</dd>
39 <dd>An XML file that defines a drawable that can cross-fade between two drawable resources.
40 Creates a {@link android.graphics.drawable.TransitionDrawable}.</dd>
[all …]
/frameworks/support/v4/honeycomb/android/support/v4/graphics/drawable/
DDrawableCompatHoneycomb.java17 package android.support.v4.graphics.drawable;
19 import android.graphics.drawable.Drawable;
25 public static void jumpToCurrentState(Drawable drawable) { in jumpToCurrentState() argument
26 drawable.jumpToCurrentState(); in jumpToCurrentState()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DStatusBar.java25 import android.graphics.drawable.Drawable;
26 import android.graphics.drawable.LevelListDrawable;
45 Drawable drawable = loadIcon(2, ResourceType.DRAWABLE, "stat_sys_battery_charge"); in StatusBar() local
46 if (drawable instanceof LevelListDrawable) { in StatusBar()
47 ((LevelListDrawable) drawable).setLevel(100); in StatusBar()
/frameworks/base/docs/html/guide/topics/ui/layout/
Dgridview.jd42 <code>res/drawable/</code> directory.</li>
136 R.drawable.sample_2, R.drawable.sample_3,
137 R.drawable.sample_4, R.drawable.sample_5,
138 R.drawable.sample_6, R.drawable.sample_7,
139 R.drawable.sample_0, R.drawable.sample_1,
140 R.drawable.sample_2, R.drawable.sample_3,
141 R.drawable.sample_4, R.drawable.sample_5,
142 R.drawable.sample_6, R.drawable.sample_7,
143 R.drawable.sample_0, R.drawable.sample_1,
144 R.drawable.sample_2, R.drawable.sample_3,
[all …]

12345678910>>...22