Searched defs:iconResource (Results 1 - 11 of 11) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactListFilterView.java132 private void bindView(int iconResource, int textResource) { argument
133 if (iconResource != 0) {
135 mIcon.setImageResource(iconResource);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DShortcutInfo.java54 Intent.ShortcutIconResource iconResource; field in class:ShortcutInfo
69 if (info.iconResource != null) {
70 iconResource = new Intent.ShortcutIconResource();
71 iconResource.packageName = info.iconResource.packageName;
72 iconResource.resourceName = info.iconResource.resourceName;
141 if (iconResource != null) {
143 iconResource.packageName);
145 iconResource
[all...]
H A DInstallShortcutReceiver.java50 public static final String ICON_RESOURCE_NAME_KEY = "iconResource";
95 if (info.iconResource != null) {
96 json = json.key(ICON_RESOURCE_NAME_KEY).value(info.iconResource.resourceName);
98 .value(info.iconResource.packageName);
134 Intent.ShortcutIconResource iconResource =
136 iconResource.resourceName = iconResourceName;
137 iconResource.packageName = iconResourcePackageName;
138 data.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, iconResource);
164 Intent.ShortcutIconResource iconResource; field in class:InstallShortcutReceiver.PendingInstallShortcutInfo
196 Intent.ShortcutIconResource iconResource
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
H A DUriUtils.java63 public static Uri getShortcutIconResourceUri(ShortcutIconResource iconResource) { argument
64 return Uri.parse(SCHEME_SHORTCUT_ICON_RESOURCE + SCHEME_DELIMITER + iconResource.packageName
66 + iconResource.resourceName.replace(URI_PACKAGE_DELIMITER, URI_PATH_DELIMITER));
139 ShortcutIconResource iconResource = new ShortcutIconResource();
140 iconResource.packageName = uri.getAuthority();
142 iconResource.resourceName = uri.toString().substring(
145 return iconResource;
147 ShortcutIconResource iconResource = new ShortcutIconResource();
148 iconResource.packageName = uri.getAuthority();
149 iconResource
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
H A DBitmapWorkerTask.java126 private Bitmap getBitmapFromResource(Context context, ShortcutIconResource iconResource, argument
129 Log.d(TAG, "Loading " + iconResource.toString());
132 Object drawable = loadDrawable(context, iconResource);
143 Log.w(TAG, "Could not load package: " + iconResource.packageName + "! NameNotFound");
146 Log.w(TAG, "Could not load resource: " + iconResource.resourceName + "! NotFound");
337 public static Drawable getDrawable(Context context, ShortcutIconResource iconResource) argument
340 context.getPackageManager().getResourcesForApplication(iconResource.packageName);
341 int id = resources.getIdentifier(iconResource.resourceName, null, null);
H A DBitmapWorkerOptions.java111 public Builder resource(ShortcutIconResource iconResource) { argument
112 mPackageName = iconResource.packageName;
113 mResourceName = iconResource.resourceName;
H A DDrawableDownloader.java176 public static Drawable getDrawable(Context context, ShortcutIconResource iconResource) argument
178 return DrawableLoader.getDrawable(context, iconResource);
H A DDrawableLoader.java152 private Drawable getBitmapFromResource(ShortcutIconResource iconResource, argument
155 Log.d(TAG, "Loading " + iconResource.toString());
158 Object drawable = loadDrawable(outputOptions.getContext(), iconResource);
172 Log.w(TAG, "Could not load package: " + iconResource.packageName + "! NameNotFound");
175 Log.w(TAG, "Could not load resource: " + iconResource.resourceName + "! NotFound");
342 public static Drawable getDrawable(Context context, ShortcutIconResource iconResource) argument
345 context.getPackageManager().getResourcesForApplication(iconResource.packageName);
346 int id = resources.getIdentifier(iconResource.resourceName, null, null);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DShortcutInfo.java98 public Intent.ShortcutIconResource iconResource; field in class:ShortcutInfo
167 if (info.iconResource != null) {
168 iconResource = new Intent.ShortcutIconResource();
169 iconResource.packageName = info.iconResource.packageName;
170 iconResource.resourceName = info.iconResource.resourceName;
228 if (iconResource != null) {
232 iconResource.packageName);
234 iconResource
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
H A DSelectFromListWizardFragment.java88 public ListItem(String name, int iconResource) { argument
90 mIconResource = iconResource;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsDatabaseHelper.java5507 Integer iconResource, Integer labelResource) {
5523 bindLong(mStatusUpdateReplace, 5, iconResource);
5529 Integer iconResource, Integer labelResource) {
5544 bindLong(mStatusUpdateInsert, 4, iconResource);
5574 bindLong(mStatusAttributionUpdate, 2, iconResource);
5506 replaceStatusUpdate(Long dataId, long timestamp, String status, String resPackage, Integer iconResource, Integer labelResource) argument
5528 insertStatusUpdate(Long dataId, String status, String resPackage, Integer iconResource, Integer labelResource) argument

Completed in 304 milliseconds