Home
last modified time | relevance | path

Searched refs:resourceName (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/util/
DCursorIconInfo.java51 String resourceName = c.getString(iconResourceIndex); in loadIcon() local
52 if (!TextUtils.isEmpty(packageName) || !TextUtils.isEmpty(resourceName)) { in loadIcon()
55 info.iconResource.resourceName = resourceName; in loadIcon()
56 icon = Utilities.createIconBitmap(packageName, resourceName, context); in loadIcon()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DBitmapWorkerOptions.java83 options.mIconResource.resourceName = mResourceName; in build()
105 public Builder resource(String packageName, String resourceName) { in resource() argument
107 mResourceName = resourceName; in resource()
113 mResourceName = iconResource.resourceName; in resource()
213 + mIconResource.resourceName : mResourceUri.toString(); in getCacheKey()
DDrawableLoader.java175 Log.w(TAG, "Could not load resource: " + iconResource.resourceName + "! NotFound"); in getBitmapFromResource()
326 final int id = resources.getIdentifier(r.resourceName, null, null); in loadDrawable()
328 Log.e(TAG, "Couldn't get resource " + r.resourceName + " in resources of " in loadDrawable()
346 int id = resources.getIdentifier(iconResource.resourceName, null, null); in getDrawable()
DBitmapWorkerTask.java146 Log.w(TAG, "Could not load resource: " + iconResource.resourceName + "! NotFound"); in getBitmapFromResource()
303 final int id = resources.getIdentifier(r.resourceName, null, null);
305 Log.e(TAG, "Couldn't get resource " + r.resourceName + " in resources of "
341 int id = resources.getIdentifier(iconResource.resourceName, null, null);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DSubtypeLocaleUtils.java109 final String resourceName = SUBTYPE_NAME_RESOURCE_GENERIC_PREFIX + layoutName; in initLocked() local
110 final int resId = res.getIdentifier(resourceName, null, RESOURCE_PACKAGE_NAME); in initLocked()
124 final String resourceName = SUBTYPE_NAME_RESOURCE_IN_ROOT_LOCALE_PREFIX + localeString; in initLocked() local
125 final int resId = res.getIdentifier(resourceName, null, RESOURCE_PACKAGE_NAME); in initLocked()
133 final String resourceName = SUBTYPE_NAME_RESOURCE_PREFIX + localeString; in initLocked() local
134 final int resId = res.getIdentifier(resourceName, null, RESOURCE_PACKAGE_NAME); in initLocked()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DUriUtils.java66 + iconResource.resourceName.replace(URI_PACKAGE_DELIMITER, URI_PATH_DELIMITER)); in getShortcutIconResourceUri()
128 iconResource.resourceName = uri.toString().substring( in getIconResource()
135 iconResource.resourceName = uri.toString().substring( in getIconResource()
DAccountImageHelper.java119 iconResource.resourceName = context.getResources().getResourceName( in getDefaultPictureUri()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DExternalAccountType.java417 static int resolveExternalResId(Context context, String resourceName, in resolveExternalResId() argument
419 if (TextUtils.isEmpty(resourceName)) { in resolveExternalResId()
422 if (resourceName.charAt(0) != '@') { in resolveExternalResId()
426 final String name = resourceName.substring(1); in resolveExternalResId()
436 Log.e(TAG, "Unable to load " + resourceName + " from package " + packageName); in resolveExternalResId()
/packages/apps/Launcher2/src/com/android/launcher2/
DShortcutInfo.java72 iconResource.resourceName = info.iconResource.resourceName; in ShortcutInfo()
145 iconResource.resourceName); in onAddToDatabase()
DInstallShortcutReceiver.java96 json = json.key(ICON_RESOURCE_NAME_KEY).value(info.iconResource.resourceName); in addToInstallQueue()
136 iconResource.resourceName = iconResourceName; in getAndClearInstallQueue()
DLauncherModel.java2294 String resourceName = c.getString(iconResourceIndex); in getShortcutInfo() local
2301 final int id = resources.getIdentifier(resourceName, null, null); in getShortcutInfo()
2447 final int id = resources.getIdentifier(iconResource.resourceName, null, null); in infoFromShortcutIntent()
DLauncher.java3114 … private Drawable getExternalPackageToolbarIcon(ComponentName activityName, String resourceName) { in getExternalPackageToolbarIcon() argument
3121 int iconResId = metaData.getInt(resourceName); in getExternalPackageToolbarIcon()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DKeyCodeDescriptionMapper.java336 final String resourceName = String.format(Locale.ROOT, resourceNameFormat, code); in getSpokenDescriptionId() local
341 final int resId = resources.getIdentifier(resourceName, "string", resourcePackageName); in getSpokenDescriptionId()
357 final String resourceName = sb.toString(); in getSpokenEmoticonDescription() local
362 final int resId = resources.getIdentifier(resourceName, "string", resourcePackageName); in getSpokenEmoticonDescription()
/packages/apps/Launcher3/src/com/android/launcher3/
DShortcutInfo.java175 iconResource.resourceName = info.iconResource.resourceName; in ShortcutInfo()
242 iconResource.resourceName); in onAddToDatabase()
DInstallShortcutReceiver.java338 json = json.key(ICON_RESOURCE_NAME_KEY).value(iconResource.resourceName); in encodeToString()
403 iconResource.resourceName = iconResourceName; in decode()
DUtilities.java169 public static Bitmap createIconBitmap(String packageName, String resourceName, in createIconBitmap() argument
176 final int id = resources.getIdentifier(resourceName, null, null); in createIconBitmap()
DLauncherModel.java3139 si.iconResource.resourceName, context);
3595 iconResource.resourceName, context);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactDirectoryManager.java132 String resourceName = getResourceNameById(packageName, resourceId); in areTypeResourceIdsValid() local
133 if (!TextUtils.equals(storedResourceName, resourceName)) { in areTypeResourceIdsValid()
503 String resourceName = getResourceNameById(info.packageName, info.typeResourceId); in updateDirectories() local
504 values.put(DirectoryColumns.TYPE_RESOURCE_NAME, resourceName); in updateDirectories()
/packages/apps/Settings/src/com/android/settings/
DActivityPicker.java162 iconResource.resourceName, null, null), null); in getItems()
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...