Searched defs:drawableId (Results 1 - 8 of 8) sorted by relevance

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DIconLoader.java45 * @param drawableId a string like "2130837524",
49 NowOrLater<Drawable> getIcon(String drawableId); argument
54 Uri getIconUri(String drawableId); argument
H A DCachingIconLoader.java55 public NowOrLater<Drawable> getIcon(String drawableId) { argument
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) { argument
83 return mWrapped.getIconUri(drawableId);
86 queryCache(String drawableId) argument
[all...]
H A DSource.java61 * @param drawableId Resource ID or URI.
63 NowOrLater<Drawable> getIcon(String drawableId); argument
68 * @param drawableId Resource ID or URI.
70 Uri getIconUri(String drawableId); argument
H A DAbstractSource.java68 public NowOrLater<Drawable> getIcon(String drawableId) { argument
69 return getIconLoader().getIcon(drawableId);
73 public Uri getIconUri(String drawableId) { argument
74 return getIconLoader().getIconUri(drawableId);
H A DPackageIconLoader.java92 public NowOrLater<Drawable> getIcon(final String drawableId) { argument
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) { argument
125 if (TextUtils.isEmpty(drawableId) || "0".equals(drawableId)) {
[all...]
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DMockIconLoader.java40 public NowOrLater<Drawable> getIcon(String drawableId) { argument
41 if (TextUtils.isEmpty(drawableId) || "0".equals(drawableId)) {
49 public Uri getIconUri(String drawableId) { argument
50 if (TextUtils.isEmpty(drawableId) || "0".equals(drawableId)) {
H A DMockSource.java84 public NowOrLater<Drawable> getIcon(String drawableId) { argument
88 public Uri getIconUri(String drawableId) { argument
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactListItemView.java1504 * @param drawableId Id of drawable resource.
1506 public void setDrawableResource(int drawableId) { argument
1509 photo.setImageDrawable(getContext().getDrawable(drawableId));

Completed in 100 milliseconds