OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:drawableid
(Results
1 - 11
of
11
) sorted by null
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
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
...]
IconLoader.java
45
* @param
drawableId
a string like "2130837524",
49
NowOrLater<Drawable> getIcon(String
drawableId
);
54
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
71
public NowOrLater<Drawable> getIcon(String
drawableId
) {
72
return getIconLoader().getIcon(
drawableId
);
75
public Uri getIconUri(String
drawableId
) {
76
return getIconLoader().getIconUri(
drawableId
);
Source.java
77
* @param
drawableId
Resource ID or URI.
79
NowOrLater<Drawable> getIcon(String
drawableId
);
84
* @param
drawableId
Resource ID or URI.
86
Uri getIconUri(String
drawableId
);
ShortcutRepositoryImplLog.java
622
private String getIconUriString(Source source, String
drawableId
) {
624
if (TextUtils.isEmpty(
drawableId
) || "0".equals(
drawableId
)) {
628
if (
drawableId
.startsWith(ContentResolver.SCHEME_ANDROID_RESOURCE)
629
||
drawableId
.startsWith(ContentResolver.SCHEME_CONTENT)
630
||
drawableId
.startsWith(ContentResolver.SCHEME_FILE)) {
631
return
drawableId
;
633
Uri uri = source.getIconUri(
drawableId
);
[
all
...]
/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
100
public NowOrLater<Drawable> getIcon(String
drawableId
) {
104
public Uri getIconUri(String
drawableId
) {
/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
);
/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
...]
/packages/apps/Email/src/com/android/email/widget/
EmailWidget.java
401
int
drawableId
= R.drawable.message_list_read_selector;
403
drawableId
= R.drawable.message_list_unread_selector;
405
views.setInt(R.id.widget_message, "setBackgroundResource",
drawableId
);
Completed in 1550 milliseconds