OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:drawableId
(Results
1 - 17
of
17
) sorted by null
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
IconLoader.java
45
* @param
drawableId
a string like "2130837524",
49
NowOrLater<Drawable> getIcon(String
drawableId
);
54
Uri getIconUri(String
drawableId
);
CachingIconLoader.java
55
public NowOrLater<Drawable> getIcon(String
drawableId
) {
56
if (DBG) Log.d(TAG, "getIcon(" +
drawableId
+ ")");
57
if (TextUtils.isEmpty(
drawableId
) || "0".equals(
drawableId
)) {
63
drawableState = queryCache(
drawableId
);
66
storeInIconCache(
drawableId
, newEntry);
76
NowOrLater<Drawable> drawable = mWrapped.getIcon(
drawableId
);
78
storeInIconCache(
drawableId
, newEntry);
82
public Uri getIconUri(String
drawableId
) {
83
return mWrapped.getIconUri(
drawableId
);
[
all
...]
Source.java
61
* @param
drawableId
Resource ID or URI.
63
NowOrLater<Drawable> getIcon(String
drawableId
);
68
* @param
drawableId
Resource ID or URI.
70
Uri getIconUri(String
drawableId
);
PackageIconLoader.java
92
public NowOrLater<Drawable> getIcon(final String
drawableId
) {
93
if (DBG) Log.d(TAG, "getIcon(" +
drawableId
+ ")");
94
if (TextUtils.isEmpty(
drawableId
) || "0".equals(
drawableId
)) {
103
int resourceId = Integer.parseInt(
drawableId
);
109
Uri uri = Uri.parse(
drawableId
);
118
Log.w(TAG, "Icon resource not found: " +
drawableId
);
124
public Uri getIconUri(String
drawableId
) {
125
if (TextUtils.isEmpty(
drawableId
) || "0".equals(
drawableId
)) {
[
all
...]
AbstractSource.java
68
public NowOrLater<Drawable> getIcon(String
drawableId
) {
69
return getIconLoader().getIcon(
drawableId
);
73
public Uri getIconUri(String
drawableId
) {
74
return getIconLoader().getIconUri(
drawableId
);
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
MockIconLoader.java
40
public NowOrLater<Drawable> getIcon(String
drawableId
) {
41
if (TextUtils.isEmpty(
drawableId
) || "0".equals(
drawableId
)) {
49
public Uri getIconUri(String
drawableId
) {
50
if (TextUtils.isEmpty(
drawableId
) || "0".equals(
drawableId
)) {
MockSource.java
84
public NowOrLater<Drawable> getIcon(String
drawableId
) {
88
public Uri getIconUri(String
drawableId
) {
/packages/apps/Dialer/src/com/android/dialer/list/
DialerPhoneNumberListAdapter.java
144
final int
drawableId
;
152
drawableId
= R.drawable.ic_search_phone;
156
drawableId
= R.drawable.ic_search_add_contact;
160
drawableId
= R.drawable.ic_person_24dp;
164
drawableId
= R.drawable.ic_message_24dp;
168
drawableId
= R.drawable.ic_videocam;
173
v.setDrawableResource(
drawableId
);
/packages/apps/Camera2/src/com/android/camera/ui/
RadioOptions.java
66
int
drawableId
= a.getResourceId(R.styleable.RadioOptions_selected_drawable, 0);
67
if (
drawableId
> 0) {
69
.getDrawable(
drawableId
);
BottomBar.java
105
int
drawableId
= ar.getResourceId(i, -1);
107
context.getResources().getDrawable(
drawableId
).getConstantState();
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
IconUtils.java
268
public static Drawable applyTintColor(Context context, int
drawableId
, int tintColorId) {
269
final Drawable icon = context.getDrawable(
drawableId
);
275
public static Drawable applyTintAttr(Context context, int
drawableId
, int tintAttrId) {
278
return applyTintColor(context,
drawableId
, outValue.resourceId);
/frameworks/base/core/java/android/widget/
SuggestionsAdapter.java
543
* @param
drawableId
a string like "2130837524",
548
private Drawable getDrawableFromResourceValue(String
drawableId
) {
549
if (
drawableId
== null ||
drawableId
.length() == 0 || "0".equals(
drawableId
)) {
554
int resourceId = Integer.parseInt(
drawableId
);
570
Drawable drawable = checkIconCache(
drawableId
);
574
Uri uri = Uri.parse(
drawableId
);
576
storeInIconCache(
drawableId
, drawable);
580
Log.w(LOG_TAG, "Icon resource not found: " +
drawableId
);
[
all
...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
SuggestionsAdapter.java
477
* @param
drawableId
a string like "2130837524",
482
private Drawable getDrawableFromResourceValue(String
drawableId
) {
483
if (
drawableId
== null ||
drawableId
.length() == 0 || "0".equals(
drawableId
)) {
488
int resourceId = Integer.parseInt(
drawableId
);
504
Drawable drawable = checkIconCache(
drawableId
);
508
Uri uri = Uri.parse(
drawableId
);
510
storeInIconCache(
drawableId
, drawable);
514
Log.w(LOG_TAG, "Icon resource not found: " +
drawableId
);
[
all
...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
TintManager.java
261
private static boolean isInTintList(int
drawableId
) {
262
return arrayContains(TINT_COLOR_CONTROL_NORMAL,
drawableId
) ||
263
arrayContains(COLORFILTER_TINT_COLOR_CONTROL_NORMAL,
drawableId
) ||
264
arrayContains(COLORFILTER_COLOR_CONTROL_ACTIVATED,
drawableId
) ||
265
arrayContains(TINT_COLOR_CONTROL_STATE_LIST,
drawableId
) ||
266
arrayContains(COLORFILTER_COLOR_BACKGROUND_MULTIPLY,
drawableId
) ||
267
arrayContains(TINT_CHECKABLE_BUTTON_LIST,
drawableId
) ||
268
drawableId
== R.drawable.abc_cab_background_top_material;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
KeyguardBottomAreaView.java
283
int
drawableId
;
287
drawableId
= R.drawable.ic_mic_26dp;
291
drawableId
= R.drawable.ic_phone_24dp;
295
mLeftAffordanceView.setImageDrawable(mContext.getDrawable(
drawableId
));
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactListItemView.java
[
all
...]
/prebuilts/sdk/current/support/v7/appcompat/libs/
android-support-v7-appcompat.jar
Completed in 663 milliseconds