Home
last modified time | relevance | path

Searched refs:drawableId (Results 1 – 11 of 11) sorted by relevance

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DCachingIconLoader.java55 public NowOrLater<Drawable> getIcon(String drawableId) { in getIcon() argument
56 if (DBG) Log.d(TAG, "getIcon(" + drawableId + ")"); in getIcon()
57 if (TextUtils.isEmpty(drawableId) || "0".equals(drawableId)) { in getIcon()
63 drawableState = queryCache(drawableId); in getIcon()
66 storeInIconCache(drawableId, newEntry); in getIcon()
76 NowOrLater<Drawable> drawable = mWrapped.getIcon(drawableId); in getIcon()
78 storeInIconCache(drawableId, newEntry); in getIcon() argument
82 public Uri getIconUri(String drawableId) {
83 return mWrapped.getIconUri(drawableId);
86 private synchronized NowOrLater<Drawable.ConstantState> queryCache(String drawableId) {
[all …]
DPackageIconLoader.java92 public NowOrLater<Drawable> getIcon(final String drawableId) { in getIcon() argument
93 if (DBG) Log.d(TAG, "getIcon(" + drawableId + ")"); in getIcon()
94 if (TextUtils.isEmpty(drawableId) || "0".equals(drawableId)) { in getIcon()
103 int resourceId = Integer.parseInt(drawableId); in getIcon()
109 Uri uri = Uri.parse(drawableId); in getIcon()
118 Log.w(TAG, "Icon resource not found: " + drawableId); in getIcon()
124 public Uri getIconUri(String drawableId) { in getIconUri() argument
125 if (TextUtils.isEmpty(drawableId) || "0".equals(drawableId)) { in getIconUri()
130 int resourceId = Integer.parseInt(drawableId); in getIconUri()
133 return Uri.parse(drawableId); in getIconUri()
DAbstractSource.java68 public NowOrLater<Drawable> getIcon(String drawableId) { in getIcon() argument
69 return getIconLoader().getIcon(drawableId); in getIcon()
73 public Uri getIconUri(String drawableId) { in getIconUri() argument
74 return getIconLoader().getIconUri(drawableId); in getIconUri()
DIconLoader.java49 NowOrLater<Drawable> getIcon(String drawableId); in getIcon() argument
54 Uri getIconUri(String drawableId); in getIconUri() argument
DSource.java63 NowOrLater<Drawable> getIcon(String drawableId); in getIcon() argument
70 Uri getIconUri(String drawableId); in getIconUri() argument
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DMockIconLoader.java40 public NowOrLater<Drawable> getIcon(String drawableId) { in getIcon() argument
41 if (TextUtils.isEmpty(drawableId) || "0".equals(drawableId)) { in getIcon()
49 public Uri getIconUri(String drawableId) { in getIconUri() argument
50 if (TextUtils.isEmpty(drawableId) || "0".equals(drawableId)) { in getIconUri()
DMockSource.java84 public NowOrLater<Drawable> getIcon(String drawableId) { in getIcon() argument
88 public Uri getIconUri(String drawableId) { in getIconUri() argument
/packages/apps/Dialer/src/com/android/dialer/list/
DDialerPhoneNumberListAdapter.java137 final int drawableId; in assignShortcutToView() local
143 drawableId = R.drawable.ic_search_phone; in assignShortcutToView()
147 drawableId = R.drawable.ic_search_add_contact; in assignShortcutToView()
151 drawableId = R.drawable.ic_videocam; in assignShortcutToView()
156 v.setDrawableResource(R.drawable.search_shortcut_background, drawableId); in assignShortcutToView()
/packages/apps/Camera2/src/com/android/camera/ui/
DRadioOptions.java66 int drawableId = a.getResourceId(R.styleable.RadioOptions_selected_drawable, 0); in RadioOptions() local
67 if (drawableId > 0) { in RadioOptions()
69 .getDrawable(drawableId); in RadioOptions()
DBottomBar.java105 int drawableId = ar.getResourceId(i, -1); in BottomBar() local
107 context.getResources().getDrawable(drawableId).getConstantState(); in BottomBar()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactListItemView.java1449 public void setDrawableResource(int backgroundId, int drawableId) { in setDrawableResource() argument
1453 photo.setImageResource(drawableId); in setDrawableResource()