Searched refs:pathName (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/graphics/java/android/graphics/ |
D | BitmapRegionDecoder.java | 181 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()
|
D | Movie.java | 79 public static Movie decodeFile(String pathName) { in decodeFile() argument 82 is = new FileInputStream(pathName); in decodeFile()
|
D | BitmapFactory.java | 511 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/ |
D | MemoryFileSystem.h | 48 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/ |
D | Package.cpp | 42 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()
|
D | AaptAssets.cpp | 703 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/ |
D | BitmapRegionTileSource.java | 58 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/ |
D | Drawable.java | 1407 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()
|
D | VectorDrawable.java | 1731 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/ |
D | AssetManager.cpp | 895 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()
|