HomeSort by relevance Sort by last modified time
    Searched refs:drawableId (Results 1 - 16 of 16) 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) {
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/
ConfirmInfoBarDelegate.java 37 int drawableId = ResourceId.mapToDrawableId(enumeratedIconId);
42 InfoBar.BACKGROUND_TYPE_WARNING, drawableId, message, linkText, buttonOk,
  /packages/apps/Dialer/src/com/android/dialer/list/
DialerPhoneNumberListAdapter.java 136 final int drawableId;
142 drawableId = R.drawable.ic_phone_dk;
146 drawableId = R.drawable.ic_add_person_dk;
151 v.setDrawableResource(R.drawable.list_item_avatar_bg, drawableId);
  /frameworks/base/core/java/android/widget/
SuggestionsAdapter.java 511 * @param drawableId a string like "2130837524",
516 private Drawable getDrawableFromResourceValue(String drawableId) {
517 if (drawableId == null || drawableId.length() == 0 || "0".equals(drawableId)) {
522 int resourceId = Integer.parseInt(drawableId);
538 Drawable drawable = checkIconCache(drawableId);
542 Uri uri = Uri.parse(drawableId);
544 storeInIconCache(drawableId, drawable);
548 Log.w(LOG_TAG, "Icon resource not found: " + drawableId);
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
SuggestionsAdapter.java 471 * @param drawableId a string like "2130837524",
476 private Drawable getDrawableFromResourceValue(String drawableId) {
477 if (drawableId == null || drawableId.length() == 0 || "0".equals(drawableId)) {
482 int resourceId = Integer.parseInt(drawableId);
498 Drawable drawable = checkIconCache(drawableId);
502 Uri uri = Uri.parse(drawableId);
504 storeInIconCache(drawableId, drawable);
508 Log.w(LOG_TAG, "Icon resource not found: " + drawableId);
    [all...]
  /packages/apps/VideoEditor/src/com/android/videoeditor/util/
ImageUtils.java 295 * @param drawableId The overlay background drawable if
302 private static void drawCenterOverlay(Context context, Canvas canvas, int drawableId,
306 final Drawable background = context.getResources().getDrawable(drawableId);
338 * @param drawableId The overlay background drawable if
345 private static void drawBottomOverlay(Context context, Canvas canvas, int drawableId,
349 final Drawable background = context.getResources().getDrawable(drawableId);
416 * @param drawableId The overlay background drawable if
422 private static void drawOverlayPreview(Context context, Canvas canvas, int drawableId,
427 final Drawable background = context.getResources().getDrawable(drawableId);
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
WebsiteSettingsPopup.java 70 int drawableId = ResourceId.mapToDrawableId(enumeratedIconId);
71 i.setImageResource(drawableId);
  /packages/apps/Launcher3/src/com/android/launcher3/
Cling.java 141 void setFocusedHotseatApp(int drawableId, int appRank, ComponentName cn, String title,
145 int appIconId = drawableId;
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactListItemView.java     [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
StopwatchFragment.java 731 ImageButton b, int text, int drawableId, boolean enabled, int visibility) {
733 b.setImageResource(drawableId);
    [all...]

Completed in 296 milliseconds