Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/
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()
DMovie.java79 public static Movie decodeFile(String pathName) { in decodeFile() argument
82 is = new FileInputStream(pathName); in decodeFile()
DBitmapFactory.java526 public static Bitmap decodeFile(String pathName, Options opts) { in decodeFile() argument
531 fd = IoBridge.open(pathName, OsConstants.O_RDONLY); in decodeFile()
557 public static Bitmap decodeFile(String pathName) { in decodeFile() argument
558 return decodeFile(pathName, null); in decodeFile()
/frameworks/av/drm/mediadrm/plugins/clearkey/common/include/clearkeydrm/
DMemoryFileSystem.h53 size_t Read(const std::string& pathName, std::string* buffer);
56 size_t Write(const std::string& pathName, const MemoryFile& memoryFile);
/frameworks/base/tools/aapt/
DPackage.cpp44 bool okayToCompress(Bundle* bundle, const String8& pathName);
368 bool okayToCompress(Bundle* bundle, const String8& pathName) in okayToCompress() argument
370 String8 ext = getPathExtension(pathName); in okayToCompress()
384 int pos = pathName.length() - strlen(str); in okayToCompress()
388 const char* path = pathName.c_str(); in okayToCompress()
DAaptAssets.cpp703 String8 pathName(srcDir); in slurpFullTree() local
706 appendPath(pathName, fileNames[i]); in slurpFullTree()
707 type = getFileType(pathName.c_str()); in slurpFullTree()
717 ssize_t res = subdir->slurpFullTree(bundle, pathName, kind, in slurpFullTree()
727 sp<AaptFile> file = new AaptFile(pathName, kind, resType); in slurpFullTree()
737 printf(" (ignoring non-file/dir '%s')\n", pathName.c_str()); in slurpFullTree()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
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()
/frameworks/base/graphics/java/android/graphics/drawable/
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()
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()
/frameworks/base/libs/androidfw/
DAssetManager.cpp896 Asset* AssetManager::openAssetFromFileLocked(const String8& pathName, in openAssetFromFileLocked() argument
901 if (strcasecmp(getPathExtension(pathName).c_str(), ".gz") == 0) { in openAssetFromFileLocked()
903 pAsset = Asset::createFromCompressedFile(pathName.c_str(), mode); in openAssetFromFileLocked()
906 pAsset = Asset::createFromFile(pathName.c_str(), mode); in openAssetFromFileLocked()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...