Searched defs:pathName (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
H A DBitmapRegionDecoder.java132 * @param pathName complete path name for the file to be decoded.
143 public static BitmapRegionDecoder newInstance(String pathName, argument
149 stream = new FileInputStream(pathName);
H A DMovie.java70 public static Movie decodeFile(String pathName) { argument
73 is = new FileInputStream(pathName);
H A DBitmapFactory.java457 * @param pathName complete path name for the file to be decoded.
469 public static Bitmap decodeFile(String pathName, Options opts) { argument
474 stream = new FileInputStream(pathName);
497 * @param pathName complete path name for the file to be decoded.
500 public static Bitmap decodeFile(String pathName) { argument
501 return decodeFile(pathName, null);
/frameworks/base/tools/aapt/
H A DPackage.cpp42 bool okayToCompress(Bundle* bundle, const String8& pathName);
366 bool okayToCompress(Bundle* bundle, const String8& pathName) argument
368 String8 ext = pathName.getPathExtension();
382 int pos = pathName.length() - strlen(str);
386 const char* path = pathName.string();
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
H A DBitmapRegionTileSource.java58 String pathName, boolean isShareable) {
60 BitmapRegionDecoder d = BitmapRegionDecoder.newInstance(pathName, isShareable);
65 Log.w("BitmapRegionTileSource", "getting decoder failed for path " + pathName, e);
101 public static DumbBitmapRegionDecoder newInstance(String pathName) { argument
102 Bitmap b = BitmapFactory.decodeFile(pathName);
57 newInstance( String pathName, boolean isShareable) argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawable.java1303 public static Drawable createFromPath(String pathName) { argument
1304 if (pathName == null) {
1308 Trace.traceBegin(Trace.TRACE_TAG_RESOURCES, pathName);
1310 Bitmap bm = BitmapFactory.decodeFile(pathName);
1312 return drawableFromBitmap(null, bm, null, null, null, pathName);
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp835 Asset* AssetManager::openAssetFromFileLocked(const String8& pathName, argument
840 if (strcasecmp(pathName.getPathExtension().string(), ".gz") == 0) {
841 //printf("TRYING '%s'\n", (const char*) pathName);
842 pAsset = Asset::createFromCompressedFile(pathName.string(), mode);
844 //printf("TRYING '%s'\n", (const char*) pathName);
845 pAsset = Asset::createFromFile(pathName.string(), mode);

Completed in 150 milliseconds