OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getDrawable
(Results
1 - 25
of
360
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DirectoryEntry.java
37
public Drawable
getDrawable
(Resources res) {
38
return res.
getDrawable
(resID);
/packages/apps/Email/src/com/android/email/
RecipientAdapter.java
34
r.
getDrawable
(R.drawable.chip_background),
35
r.
getDrawable
(R.drawable.chip_background_selected),
36
r.
getDrawable
(R.drawable.chip_background_invalid),
37
r.
getDrawable
(R.drawable.chip_delete), def, R.layout.more_item,
/frameworks/base/core/tests/coretests/src/android/view/
MutateDrawable.java
34
ok.setBackgroundDrawable(getResources().
getDrawable
(
39
cancel.setBackgroundDrawable(getResources().
getDrawable
(
/packages/apps/Contacts/src/com/android/contacts/
ContactPresenceIconUtil.java
40
return context.getResources().
getDrawable
(
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
ContactPresenceIconUtil.java
40
return context.getResources().
getDrawable
(
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
InsetDrawableTest.java
60
Drawable d = mContext.getResources().
getDrawable
(R.drawable.pass);
77
Drawable d = mContext.getResources().
getDrawable
(R.drawable.pass);
114
Drawable d = mContext.getResources().
getDrawable
(R.drawable.pass);
128
Drawable d = mContext.getResources().
getDrawable
(R.drawable.pass);
150
Drawable d = mContext.getResources().
getDrawable
(R.drawable.pass);
172
Drawable d = mContext.getResources().
getDrawable
(R.drawable.pass);
193
Drawable d = mContext.getResources().
getDrawable
(R.drawable.pass);
211
Drawable d = mContext.getResources().
getDrawable
(R.drawable.pass);
258
Drawable d = mContext.getResources().
getDrawable
(R.drawable.pass);
273
Drawable d = mContext.getResources().
getDrawable
(R.drawable.pass)
[
all
...]
RotateDrawableTest.java
54
mRotateDrawable = (RotateDrawable) resources.
getDrawable
(R.drawable.rotatedrawable);
98
assertEquals(100, ((BitmapDrawable) mRotateDrawable.
getDrawable
()).getPaint().getAlpha());
101
assertEquals(255, ((BitmapDrawable) mRotateDrawable.
getDrawable
()).getPaint().getAlpha());
113
((BitmapDrawable) mRotateDrawable.
getDrawable
()).getPaint().getColorFilter());
116
assertNull(((BitmapDrawable) mRotateDrawable.
getDrawable
()).getPaint().getColorFilter());
134
Drawable drawable = mContext.getResources().
getDrawable
(R.drawable.pass);
283
Drawable drawable = mContext.getResources().
getDrawable
(R.drawable.testimage);
325
method = "
getDrawable
",
332
RotateDrawable d1 = (RotateDrawable) resources.
getDrawable
(R.drawable.rotatedrawable);
333
RotateDrawable d2 = (RotateDrawable) resources.
getDrawable
(R.drawable.rotatedrawable)
[
all
...]
LayerDrawableTest.java
68
assertSame(bitmapDrawable, layerDrawable.
getDrawable
(0));
69
assertSame(colorDrawable, layerDrawable.
getDrawable
(1));
100
assertEquals(ColorDrawable.class, layerDrawable.
getDrawable
(0).getClass());
101
assertEquals(0x88, (((ColorDrawable) layerDrawable.
getDrawable
(0)).getAlpha()));
103
assertEquals(BitmapDrawable.class, layerDrawable.
getDrawable
(1).getClass());
105
assertEquals(RotateDrawable.class, layerDrawable.
getDrawable
(2).getClass());
107
assertEquals(GradientDrawable.class, layerDrawable.
getDrawable
(3).getClass());
253
method = "
getDrawable
",
262
@ToBeFixed(bug = "1695243", explanation = "the javadoc for
getDrawable
is incomplete." +
270
assertSame(bitmapDrawable, layerDrawable.
getDrawable
(0))
[
all
...]
/cts/tests/tests/widget/src/android/widget/cts/
ImageSwitcherTest.java
95
Drawable drawable = resources.
getDrawable
(R.drawable.scenery);
98
(BitmapDrawable) ((ImageView) imageSwitcher.getCurrentView()).
getDrawable
();
103
drawable = resources.
getDrawable
(R.drawable.testimage);
106
(BitmapDrawable) ((ImageView) imageSwitcher.getCurrentView()).
getDrawable
();
110
assertNull(((ImageView) imageSwitcher.getCurrentView()).
getDrawable
());
140
(BitmapDrawable) ((ImageView) imageSwitcher.getCurrentView()).
getDrawable
();
154
(BitmapDrawable) ((ImageView) imageSwitcher.getCurrentView()).
getDrawable
();
177
Drawable drawable = resources.
getDrawable
(R.drawable.scenery);
180
assertSame(drawable, ((ImageView) imageSwitcher.getCurrentView()).
getDrawable
());
182
drawable = resources.
getDrawable
(R.drawable.testimage)
[
all
...]
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/
ColorLEDController.java
62
mRed = res.
getDrawable
(R.drawable.scrubber_vertical_red_holo_dark);
64
.
getDrawable
(R.drawable.scrubber_vertical_green_holo_dark);
66
.
getDrawable
(R.drawable.scrubber_vertical_blue_holo_dark);
69
.
getDrawable
(R.drawable.scrubber_horizontal_red_holo_dark);
71
.
getDrawable
(R.drawable.scrubber_horizontal_green_holo_dark);
73
.
getDrawable
(R.drawable.scrubber_horizontal_blue_holo_dark);
RelayController.java
29
.
getDrawable
(R.drawable.toggle_button_off_holo_dark);
30
mOnBackground = res.
getDrawable
(R.drawable.toggle_button_on_holo_dark);
JoystickView.java
50
mJoystickBackground = r.
getDrawable
(R.drawable.joystick_background);
54
mJoystickPressed = r.
getDrawable
(R.drawable.joystick_pressed_holo_dark);
55
mJoystickNormal = r.
getDrawable
(R.drawable.joystick_normal_holo_dark);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
MoreNinePatchesActivity.java
53
mDrawable1 = res.
getDrawable
(R.drawable.progress_vertical_holo_dark);
54
mDrawable2 = res.
getDrawable
(R.drawable.scrubber_progress_vertical_holo_dark);
55
mDrawable3 = res.
getDrawable
(R.drawable.scrubber_vertical_primary_holo);
StackActivity.java
41
getResources().
getDrawable
(R.drawable.sunset1),
42
getResources().
getDrawable
(R.drawable.sunset2),
ThinPatchesActivity.java
54
mPatch1 = resources.
getDrawable
(R.drawable.patch);
55
mPatch2 = resources.
getDrawable
(R.drawable.btn_toggle_on);
56
mPatch3 = resources.
getDrawable
(R.drawable.patch2);
/packages/apps/Camera/src/com/android/camera/ui/
FocusIndicatorView.java
32
setBackgroundDrawable(getResources().
getDrawable
(resid));
/packages/apps/Contacts/src/com/android/contacts/calllog/
CallTypeIconsView.java
119
incoming = r.
getDrawable
(R.drawable.ic_call_incoming_holo_dark);
120
outgoing = r.
getDrawable
(R.drawable.ic_call_outgoing_holo_dark);
121
missed = r.
getDrawable
(R.drawable.ic_call_missed_holo_dark);
122
voicemail = r.
getDrawable
(R.drawable.ic_call_voicemail_holo_dark);
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/
ContactsMockPackageManager.java
41
public Drawable
getDrawable
(String packageName, int resid, ApplicationInfo appInfo) {
/sdk/layoutlib_api/src/com/android/ide/common/rendering/api/
DrawableParams.java
75
public ResourceValue
getDrawable
() {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
ToggleSlider.java
67
mToggle.setBackgroundDrawable(res.
getDrawable
(R.drawable.status_bar_toggle_button));
83
thumb = res.
getDrawable
(
85
slider = res.
getDrawable
(
88
thumb = res.
getDrawable
(
90
slider = res.
getDrawable
(
/cts/tests/tests/text/src/android/text/style/cts/
ImageSpanTest.java
112
Drawable d = mContext.getResources().
getDrawable
(R.drawable.pass);
148
Drawable d = mContext.getResources().
getDrawable
(R.drawable.pass);
164
notes = "Test
getDrawable
().",
165
method = "
getDrawable
",
169
Drawable drawable = mContext.getResources().
getDrawable
(R.drawable.pass);
172
assertSame(drawable, imageSpan.
getDrawable
());
176
BitmapDrawable resultDrawable = (BitmapDrawable) imageSpan.
getDrawable
();
180
assertNull(imageSpan.
getDrawable
());
183
assertNull(imageSpan.
getDrawable
());
/frameworks/base/core/java/android/widget/
TabWidget.java
86
setLeftStripDrawable(a.
getDrawable
(R.styleable.TabWidget_tabStripLeft));
87
setRightStripDrawable(a.
getDrawable
(R.styleable.TabWidget_tabStripRight));
128
mLeftStrip = resources.
getDrawable
(
132
mRightStrip = resources.
getDrawable
(
138
mLeftStrip = resources.
getDrawable
(
142
mRightStrip = resources.
getDrawable
(
247
setDividerDrawable(getResources().
getDrawable
(resId));
268
setLeftStripDrawable(getResources().
getDrawable
(resId));
289
setRightStripDrawable(getResources().
getDrawable
(resId));
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
BaselineButtonsTest.java
65
int pauseHeight = Math.max(mPause.
getDrawable
().getIntrinsicHeight()
68
int prevHeight = Math.max(mPrev.
getDrawable
().getIntrinsicHeight() + mPrev.getPaddingTop()
71
int nextHeight = Math.max(mNext.
getDrawable
().getIntrinsicHeight() + mNext.getPaddingTop()
/development/samples/ApiDemos/src/com/example/android/apis/view/
Tabs2.java
41
.setIndicator("tab1", getResources().
getDrawable
(R.drawable.star_big_on))
Tabs6.java
40
.setIndicator("tab1", getResources().
getDrawable
(R.drawable.star_big_on))
Completed in 747 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>