/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/wear/settings/ |
SettingsAdapter.java | 47 public int iconResource; 51 public Setting(CharSequence name, int iconResource, S data) { 52 this(name, iconResource, data, ID_INVALID); 55 public Setting(CharSequence name, int iconResource, S data, int id) { 57 this.iconResource = iconResource; 63 public Setting(int nameResource, int iconResource, S data, int id) { 65 this.iconResource = iconResource; 71 public Setting(int nameResource, int iconResource, int id) [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
UriUtils.java | 63 public static Uri getShortcutIconResourceUri(ShortcutIconResource iconResource) { 64 return Uri.parse(SCHEME_SHORTCUT_ICON_RESOURCE + SCHEME_DELIMITER + iconResource.packageName 66 + iconResource.resourceName.replace(URI_PACKAGE_DELIMITER, URI_PATH_DELIMITER)); 125 ShortcutIconResource iconResource = new ShortcutIconResource(); 126 iconResource.packageName = uri.getAuthority(); 128 iconResource.resourceName = uri.toString().substring( 131 return iconResource; 133 ShortcutIconResource iconResource = new ShortcutIconResource(); 134 iconResource.packageName = uri.getAuthority(); 135 iconResource.resourceName = uri.toString().substring [all...] |
AccountImageHelper.java | 117 ShortcutIconResource iconResource = new ShortcutIconResource(); 118 iconResource.packageName = context.getPackageName(); 119 iconResource.resourceName = context.getResources().getResourceName( 121 return UriUtils.getShortcutIconResourceUri(iconResource).toString();
|
/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/Launcher3/src/com/android/launcher3/util/ |
CursorIconInfo.java | 59 info.iconResource = new ShortcutIconResource(); 60 info.iconResource.packageName = packageName; 61 info.iconResource.resourceName = resourceName;
|
/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/Launcher3/src/com/android/launcher3/ |
ShortcutInfo.java | 93 public Intent.ShortcutIconResource iconResource; 189 iconResource = info.iconResource; 265 if (iconResource != null) { 267 iconResource.packageName); 269 iconResource.resourceName);
|
InstallShortcutReceiver.java | 60 private static final String ICON_RESOURCE_NAME_KEY = "iconResource"; 332 Intent.ShortcutIconResource iconResource = 347 if (iconResource != null) { 348 json = json.key(ICON_RESOURCE_NAME_KEY).value(iconResource.resourceName); 350 .value(iconResource.packageName); 411 Intent.ShortcutIconResource iconResource = 413 iconResource.resourceName = iconResourceName; 414 iconResource.packageName = iconResourcePackageName; 415 data.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, iconResource);
|
LauncherModel.java | [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ContactListFilterView.java | 139 private void bindView(int iconResource, int textResource) { 140 if (iconResource != 0) { 142 mIcon.setImageResource(iconResource);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
BitmapWorkerOptions.java | 111 public Builder resource(ShortcutIconResource iconResource) { 112 mPackageName = iconResource.packageName; 113 mResourceName = iconResource.resourceName;
|
BitmapWorkerTask.java | 126 private Bitmap getBitmapFromResource(Context context, ShortcutIconResource iconResource, 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) 340 context.getPackageManager().getResourcesForApplication(iconResource.packageName); 341 int id = resources.getIdentifier(iconResource.resourceName, null, null);
|
DrawableLoader.java | 152 private Drawable getBitmapFromResource(ShortcutIconResource iconResource, 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) 345 context.getPackageManager().getResourcesForApplication(iconResource.packageName); 346 int id = resources.getIdentifier(iconResource.resourceName, null, null);
|
DrawableDownloader.java | 176 public static Drawable getDrawable(Context context, ShortcutIconResource iconResource) 178 return DrawableLoader.getDrawable(context, 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 | 114 public ListItem(String name, int iconResource) { 116 mIconResource = iconResource; 222 String name, int iconResource, int pinnedPosition, int pinnedPriority) { 223 super(name, iconResource); 266 int iconResource = item.getIconResource(); 269 if (iconResource == 0) { 274 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/Settings/src/com/android/settings/ |
ActivityPicker.java | 158 ShortcutIconResource iconResource = icons.get(i); 160 iconResource.packageName); 162 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 | |