Searched refs:drawableId (Results 1 – 10 of 10) sorted by relevance
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | CachingIconLoader.java | 55 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 …]
|
D | PackageIconLoader.java | 92 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()
|
D | AbstractSource.java | 71 public NowOrLater<Drawable> getIcon(String drawableId) { in getIcon() argument 72 return getIconLoader().getIcon(drawableId); in getIcon() 75 public Uri getIconUri(String drawableId) { in getIconUri() argument 76 return getIconLoader().getIconUri(drawableId); in getIconUri()
|
D | IconLoader.java | 49 NowOrLater<Drawable> getIcon(String drawableId); in getIcon() argument 54 Uri getIconUri(String drawableId); in getIconUri() argument
|
D | Source.java | 79 NowOrLater<Drawable> getIcon(String drawableId); in getIcon() argument 86 Uri getIconUri(String drawableId); in getIconUri() argument
|
D | ShortcutRepositoryImplLog.java | 622 private String getIconUriString(Source source, String drawableId) { in getIconUriString() argument 624 if (TextUtils.isEmpty(drawableId) || "0".equals(drawableId)) { in getIconUriString() 628 if (drawableId.startsWith(ContentResolver.SCHEME_ANDROID_RESOURCE) in getIconUriString() 629 || drawableId.startsWith(ContentResolver.SCHEME_CONTENT) in getIconUriString() 630 || drawableId.startsWith(ContentResolver.SCHEME_FILE)) { in getIconUriString() 631 return drawableId; in getIconUriString() 633 Uri uri = source.getIconUri(drawableId); in getIconUriString()
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | MockIconLoader.java | 40 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()
|
D | MockSource.java | 100 public NowOrLater<Drawable> getIcon(String drawableId) { in getIcon() argument 104 public Uri getIconUri(String drawableId) { in getIconUri() argument
|
/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
D | ImageUtils.java | 302 private static void drawCenterOverlay(Context context, Canvas canvas, int drawableId, in drawCenterOverlay() argument 306 final Drawable background = context.getResources().getDrawable(drawableId); in drawCenterOverlay() 345 private static void drawBottomOverlay(Context context, Canvas canvas, int drawableId, in drawBottomOverlay() argument 349 final Drawable background = context.getResources().getDrawable(drawableId); in drawBottomOverlay() 422 private static void drawOverlayPreview(Context context, Canvas canvas, int drawableId, in drawOverlayPreview() argument 427 final Drawable background = context.getResources().getDrawable(drawableId); in drawOverlayPreview()
|
/packages/apps/Email/src/com/android/email/widget/ |
D | EmailWidget.java | 418 int drawableId = R.drawable.conversation_read_selector; in getViewAt() local 420 drawableId = R.drawable.conversation_unread_selector; in getViewAt() 422 views.setInt(R.id.widget_message, "setBackgroundResource", drawableId); in getViewAt()
|