Home
last modified time | relevance | path

Searched refs:pathName (Results 1 – 10 of 10) sorted by relevance

/aosp14/frameworks/base/graphics/java/android/graphics/
H A DBitmapRegionDecoder.java181 public static BitmapRegionDecoder newInstance(@NonNull String pathName, in newInstance() argument
183 return newInstance(pathName); in newInstance()
194 public static BitmapRegionDecoder newInstance(@NonNull String pathName) throws IOException { in newInstance() argument
199 stream = new FileInputStream(pathName); in newInstance()
H A DMovie.java79 public static Movie decodeFile(String pathName) { in decodeFile() argument
82 is = new FileInputStream(pathName); in decodeFile()
H A DBitmapFactory.java523 public static Bitmap decodeFile(String pathName, Options opts) { in decodeFile() argument
528 stream = new FileInputStream(pathName); in decodeFile()
554 public static Bitmap decodeFile(String pathName) { in decodeFile() argument
555 return decodeFile(pathName, null); in decodeFile()
/aosp14/frameworks/base/tools/aapt/
H A DPackage.cpp42 bool okayToCompress(Bundle* bundle, const String8& pathName);
366 bool okayToCompress(Bundle* bundle, const String8& pathName) in okayToCompress() argument
368 String8 ext = pathName.getPathExtension(); in okayToCompress()
382 int pos = pathName.length() - strlen(str); in okayToCompress()
386 const char* path = pathName.string(); in okayToCompress()
H A DAaptAssets.cpp701 String8 pathName(srcDir); in slurpFullTree() local
704 pathName.appendPath(fileNames[i].string()); in slurpFullTree()
705 type = getFileType(pathName.string()); in slurpFullTree()
715 ssize_t res = subdir->slurpFullTree(bundle, pathName, kind, in slurpFullTree()
725 sp<AaptFile> file = new AaptFile(pathName, kind, resType); in slurpFullTree()
735 printf(" (ignoring non-file/dir '%s')\n", pathName.string()); in slurpFullTree()
/aosp14/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
H A DBitmapRegionTileSource.java58 String pathName, boolean isShareable) { in newInstance() argument
60 BitmapRegionDecoder d = BitmapRegionDecoder.newInstance(pathName, isShareable); in newInstance()
65 Log.w("BitmapRegionTileSource", "getting decoder failed for path " + pathName, e); in newInstance()
101 public static DumbBitmapRegionDecoder newInstance(String pathName) { in newInstance() argument
102 Bitmap b = BitmapFactory.decodeFile(pathName); in newInstance()
/aosp14/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawable.java1401 public static @Nullable Drawable createFromPath(String pathName) { in createFromPath() argument
1402 if (pathName == null) { in createFromPath()
1406 Trace.traceBegin(Trace.TRACE_TAG_RESOURCES, pathName); in createFromPath()
1407 try (FileInputStream stream = new FileInputStream(pathName)) { in createFromPath()
H A DVectorDrawable.java1724 final String pathName = a.getString(R.styleable.VectorDrawableClipPath_name); in updateStateFromTypedArray() local
1725 if (pathName != null) { in updateStateFromTypedArray()
1726 mPathName = pathName; in updateStateFromTypedArray()
2020 final String pathName = a.getString(R.styleable.VectorDrawablePath_name); in updateStateFromTypedArray() local
2021 if (pathName != null) { in updateStateFromTypedArray()
2022 mPathName = pathName; in updateStateFromTypedArray()
/aosp14/frameworks/base/libs/androidfw/
H A DAssetManager.cpp895 Asset* AssetManager::openAssetFromFileLocked(const String8& pathName, in openAssetFromFileLocked() argument
900 if (strcasecmp(pathName.getPathExtension().string(), ".gz") == 0) { in openAssetFromFileLocked()
902 pAsset = Asset::createFromCompressedFile(pathName.string(), mode); in openAssetFromFileLocked()
905 pAsset = Asset::createFromFile(pathName.string(), mode); in openAssetFromFileLocked()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...