HomeSort by relevance Sort by last modified time
    Searched refs:iconResource (Results 1 - 25 of 25) sorted by null

  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
UriUtils.java 45 public static Uri getShortcutIconResourceUri(ShortcutIconResource iconResource) {
46 return Uri.parse(SCHEME_SHORTCUT_ICON_RESOURCE + SCHEME_DELIMITER + iconResource.packageName
48 + iconResource.resourceName.replace(URI_PACKAGE_DELIMITER, URI_PATH_DELIMITER));
107 ShortcutIconResource iconResource = new ShortcutIconResource();
108 iconResource.packageName = uri.getAuthority();
110 iconResource.resourceName = uri.toString().substring(
113 return iconResource;
115 ShortcutIconResource iconResource = new ShortcutIconResource();
116 iconResource.packageName = uri.getAuthority();
117 iconResource.resourceName = uri.toString().substring
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
ShortcutInfo.java 54 Intent.ShortcutIconResource iconResource;
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.resourceName)
    [all...]
InstallShortcutReceiver.java 50 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;
196 Intent.ShortcutIconResource iconResource
    [all...]
LauncherModel.java     [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/
IntentBuilders.java 96 * @param iconResource
101 Parcelable iconResource) {
106 intent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, iconResource);
115 * @param iconResource
119 public static Intent buildBackgroundShortcutIntent(File script, Parcelable iconResource) {
123 intent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, iconResource);
132 * @param iconResource
136 public static Intent buildTerminalShortcutIntent(File script, Parcelable iconResource) {
140 intent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, iconResource);
  /packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
UriUtils.java 86 public static Uri getShortcutIconResourceUri(ShortcutIconResource iconResource) {
87 return Uri.parse(SCHEME_SHORTCUT_ICON_RESOURCE + SCHEME_DELIMITER + iconResource.packageName
89 + iconResource.resourceName.replace(URI_PACKAGE_DELIMITER, URI_PATH_DELIMITER));
190 ShortcutIconResource iconResource = new ShortcutIconResource();
191 iconResource.packageName = uri.getAuthority();
193 iconResource.resourceName = uri.toString().substring(
196 return iconResource;
198 ShortcutIconResource iconResource = new ShortcutIconResource();
199 iconResource.packageName = uri.getAuthority();
200 iconResource.resourceName = uri.toString().substring
    [all...]
AccountImageHelper.java 115 ShortcutIconResource iconResource = new ShortcutIconResource();
116 iconResource.packageName = context.getPackageName();
117 iconResource.resourceName = context.getResources().getResourceName(
119 return UriUtils.getShortcutIconResourceUri(iconResource).toString();
BitmapWorkerOptions.java 106 public Builder resource(ShortcutIconResource iconResource) {
107 mPackageName = iconResource.packageName;
108 mResourceName = iconResource.resourceName;
BitmapWorkerTask.java 123 private Bitmap getBitmapFromResource(Context context, ShortcutIconResource iconResource,
126 Log.d(TAG, "Loading " + iconResource.toString());
129 Object drawable = loadDrawable(context, iconResource);
140 Log.w(TAG, "Could not load package: " + iconResource.packageName + "! NameNotFound");
143 Log.w(TAG, "Could not load resource: " + iconResource.resourceName + "! NotFound");
300 public static Drawable getDrawable(Context context, ShortcutIconResource iconResource)
303 context.getPackageManager().getResourcesForApplication(iconResource.packageName);
309 int id = resources.getIdentifier(iconResource.resourceName, null, null);
DrawableLoader.java 149 private Drawable getBitmapFromResource(ShortcutIconResource iconResource,
152 Log.d(TAG, "Loading " + iconResource.toString());
155 Object drawable = loadDrawable(outputOptions.getContext(), iconResource);
169 Log.w(TAG, "Could not load package: " + iconResource.packageName + "! NameNotFound");
172 Log.w(TAG, "Could not load resource: " + iconResource.resourceName + "! NotFound");
342 public static Drawable getDrawable(Context context, ShortcutIconResource iconResource)
345 context.getPackageManager().getResourcesForApplication(iconResource.packageName);
348 int id = resources.getIdentifier(iconResource.resourceName, null, null);
DrawableDownloader.java 172 public static Drawable getDrawable(Context context, ShortcutIconResource iconResource)
174 return DrawableLoader.getDrawable(context, iconResource);
  /packages/apps/Launcher3/src/com/android/launcher3/
ShortcutInfo.java 83 public Intent.ShortcutIconResource iconResource;
142 iconResource = info.iconResource;
176 if (iconResource != null) {
177 writer.put(LauncherSettings.BaseLauncherColumns.ICON_PACKAGE, iconResource.packageName)
179 iconResource.resourceName);
InstallShortcutReceiver.java 82 private static final String ICON_RESOURCE_NAME_KEY = "iconResource";
428 Intent.ShortcutIconResource iconResource =
442 if (iconResource != null) {
443 json = json.key(ICON_RESOURCE_NAME_KEY).value(iconResource.resourceName);
445 .value(iconResource.packageName);
550 Intent.ShortcutIconResource iconResource =
552 iconResource.resourceName = iconResourceName;
553 iconResource.packageName = iconResourcePackageName;
554 data.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, iconResource);
662 info.iconResource = (Intent.ShortcutIconResource) extra
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
LauncherShortcuts.java 133 Parcelable iconResource = Intent.ShortcutIconResource.fromContext(
135 intent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, iconResource);
  /packages/apps/Contacts/src/com/android/contacts/list/
ContactListFilterView.java 139 private void bindView(int iconResource, int textResource) {
140 if (iconResource != 0) {
142 mIcon.setImageResource(iconResource);
  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
InterpreterPicker.java 78 Parcelable iconResource =
80 Intent intent = IntentBuilders.buildInterpreterShortcutIntent(interpreter, iconResource);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
SelectFromListWizardFragment.java 118 public ListItem(String name, int iconResource) {
120 mIconResource = iconResource;
227 String name, int iconResource, int pinnedPosition, int pinnedPriority) {
228 super(name, iconResource);
272 int iconResource = item.getIconResource();
275 if (iconResource == 0) {
280 icon.setImageResource(iconResource);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestListAdapter.java 396 int iconResource = 0;
402 iconResource = R.drawable.fs_good;
407 iconResource = R.drawable.fs_error;
418 textView.setCompoundDrawablesWithIntrinsicBounds(0, 0, iconResource, 0);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/
PolicySerializationTestActivity.java 223 int iconResource = 0;
227 iconResource = R.drawable.fs_good;
230 iconResource = R.drawable.fs_error;
236 view.setCompoundDrawablesWithIntrinsicBounds(0, 0, iconResource, 0);
  /packages/apps/Launcher3/src/com/android/launcher3/model/
PackageUpdatedTask.java 191 // Update shortcuts which use iconResource.
192 if ((si.iconResource != null)
193 && packageSet.contains(si.iconResource.packageName)) {
194 Bitmap icon = LauncherIcons.createIconBitmap(si.iconResource, context);
LoaderCursor.java 174 info.iconResource = new ShortcutIconResource();
175 info.iconResource.packageName = packageName;
176 info.iconResource.resourceName = resourceName;
177 icon = LauncherIcons.createIconBitmap(info.iconResource, mContext);
  /packages/apps/Settings/src/com/android/settings/
ActivityPicker.java 162 ShortcutIconResource iconResource = icons.get(i);
164 iconResource.packageName);
166 iconResource.resourceName, null, null), null);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactsDatabaseHelper.java     [all...]
ContactsProvider2.java     [all...]
  /prebuilts/tools/common/netbeans-visual/
org-openide-util.jar 

Completed in 786 milliseconds