Home
last modified time | relevance | path

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

12345678910>>...20

/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 }
/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/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/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java89 { R.drawable.stat_sys_wifi_signal_1,
90 R.drawable.stat_sys_wifi_signal_2,
91 R.drawable.stat_sys_wifi_signal_3,
92 R.drawable.stat_sys_wifi_signal_4 },
93 { R.drawable.stat_sys_wifi_signal_1_fully,
94 R.drawable.stat_sys_wifi_signal_2_fully,
95 R.drawable.stat_sys_wifi_signal_3_fully,
96 R.drawable.stat_sys_wifi_signal_4_fully }
99 R.drawable.stat_sys_wifi_signal_0;
158 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/base/graphics/java/android/graphics/drawable/
DDrawable.java17 package android.graphics.drawable;
818 Drawable drawable = createFromXmlInner(r, parser, attrs); in createFromXml() local
820 if (drawable == null) { in createFromXml()
824 return drawable; in createFromXml()
834 Drawable drawable; in createFromXmlInner() local
839 drawable = new StateListDrawable(); in createFromXmlInner()
841 drawable = new LevelListDrawable(); in createFromXmlInner()
847 drawable = new LayerDrawable(); in createFromXmlInner()
849 drawable = new TransitionDrawable(); in createFromXmlInner()
851 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 …]
DMipmapDrawable.java17 package android.graphics.drawable;
101 public void addDrawable(Drawable drawable) { in addDrawable() argument
102 if (drawable != null) { in addDrawable()
103 mMipmapContainerState.addDrawable(drawable); in addDrawable()
240 public void addDrawable(Drawable drawable) { in addDrawable() argument
243 int pos = addChild(drawable); in addDrawable()
246 final int drawableHeight = drawable.getIntrinsicHeight(); in addDrawable()
256 mDrawables[pos-1] = drawable; in addDrawable()
/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/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java26 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/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/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/base/policy/src/com/android/internal/policy/impl/
DLockScreen.java149 mSilentMode ? ( vibe ? R.drawable.ic_jog_dial_vibrate_on in updateResources()
150 : R.drawable.ic_jog_dial_sound_off ) in updateResources()
151 : R.drawable.ic_jog_dial_sound_on, in updateResources()
152 mSilentMode ? R.drawable.jog_tab_target_yellow in updateResources()
153 : R.drawable.jog_tab_target_gray, in updateResources()
154 mSilentMode ? R.drawable.jog_tab_bar_right_sound_on in updateResources()
155 : R.drawable.jog_tab_bar_right_sound_off, in updateResources()
156 mSilentMode ? R.drawable.jog_tab_right_sound_on in updateResources()
157 : R.drawable.jog_tab_right_sound_off); in updateResources()
290 com.android.internal.R.drawable.ic_action_assist_generic); in updateResources()
[all …]
/frameworks/base/docs/html/guide/topics/ui/layout/
Dgridview.jd38 <code>res/drawable/</code> directory.</li>
132 R.drawable.sample_2, R.drawable.sample_3,
133 R.drawable.sample_4, R.drawable.sample_5,
134 R.drawable.sample_6, R.drawable.sample_7,
135 R.drawable.sample_0, R.drawable.sample_1,
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,
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DTabletSystemBar.java25 import android.graphics.drawable.Drawable;
26 import android.graphics.drawable.LevelListDrawable;
44 Drawable drawable = loadIcon(5, ResourceType.DRAWABLE, "stat_sys_battery_charge"); in TabletSystemBar() local
45 if (drawable instanceof LevelListDrawable) { in TabletSystemBar()
46 ((LevelListDrawable) drawable).setLevel(100); in TabletSystemBar()
DPhoneSystemBar.java25 import android.graphics.drawable.Drawable;
26 import android.graphics.drawable.LevelListDrawable;
44 Drawable drawable = loadIcon(2, ResourceType.DRAWABLE, "stat_sys_battery_charge"); in PhoneSystemBar() local
45 if (drawable instanceof LevelListDrawable) { in PhoneSystemBar()
46 ((LevelListDrawable) drawable).setLevel(100); in PhoneSystemBar()
/frameworks/base/docs/html/guide/topics/graphics/
Ddrawable-animation.jd9 android.graphics.drawable.AnimationDrawable} class is the basis for Drawable animations.</p>
12 android.graphics.drawable.AnimationDrawable} class API, it's more simply accomplished with a
14 of animation belongs in the <code>res/drawable/</code> directory of
19 series of child <code>&lt;item&gt;</code> nodes that each define a frame: a drawable resource for
24 &lt;item android:drawable="@drawable/rocket_thrust1" android:duration="200" /&gt;
25 &lt;item android:drawable="@drawable/rocket_thrust2" android:duration="200" /&gt;
26 &lt;item android:drawable="@drawable/rocket_thrust3" android:duration="200" /&gt;
33 <code>rocket_thrust.xml</code> in the <code>res/drawable/</code> directory of the project, it can
45 rocketImage.setBackgroundResource(R.drawable.rocket_thrust);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBeanBag.java27 import android.graphics.drawable.AnimationDrawable;
28 import android.graphics.drawable.BitmapDrawable;
111 R.drawable.redbean0,
112 R.drawable.redbean0,
113 R.drawable.redbean0,
114 R.drawable.redbean0,
115 R.drawable.redbean1,
116 R.drawable.redbean1,
117 R.drawable.redbean2,
118 R.drawable.redbean2,
[all …]

12345678910>>...20