Home
last modified time | relevance | path

Searched refs:pathName (Results 1 – 10 of 10) 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.java511 public static Bitmap decodeFile(String pathName, Options opts) { in decodeFile() argument
516 stream = new FileInputStream(pathName); in decodeFile()
542 public static Bitmap decodeFile(String pathName) { in decodeFile() argument
543 return decodeFile(pathName, null); in decodeFile()
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
DMemoryFileSystem.h48 size_t Read(const std::string& pathName, std::string* buffer);
51 size_t Write(const std::string& pathName, const MemoryFile& memoryFile);
/frameworks/base/tools/aapt/
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()
DAaptAssets.cpp703 String8 pathName(srcDir); in slurpFullTree() local
706 pathName.appendPath(fileNames[i].string()); in slurpFullTree()
707 type = getFileType(pathName.string()); 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.string()); 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.java1407 public static Drawable createFromPath(String pathName) { in createFromPath() argument
1408 if (pathName == null) { in createFromPath()
1412 Trace.traceBegin(Trace.TRACE_TAG_RESOURCES, pathName); in createFromPath()
1413 try (FileInputStream stream = new FileInputStream(pathName)) { in createFromPath()
DVectorDrawable.java1731 final String pathName = a.getString(R.styleable.VectorDrawableClipPath_name); in updateStateFromTypedArray() local
1732 if (pathName != null) { in updateStateFromTypedArray()
1733 mPathName = pathName; in updateStateFromTypedArray()
2035 final String pathName = a.getString(R.styleable.VectorDrawablePath_name); in updateStateFromTypedArray() local
2036 if (pathName != null) { in updateStateFromTypedArray()
2037 mPathName = pathName; in updateStateFromTypedArray()
/frameworks/base/libs/androidfw/
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()