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.java65 public static Movie decodeFile(String pathName) { argument
68 is = new FileInputStream(pathName);
H A DBitmapFactory.java345 * @param pathName complete path name for the file to be decoded.
352 public static Bitmap decodeFile(String pathName, Options opts) { argument
356 stream = new FileInputStream(pathName);
379 * @param pathName complete path name for the file to be decoded.
382 public static Bitmap decodeFile(String pathName) { argument
383 return decodeFile(pathName, null);
/frameworks/testing/androidtestlib/src/com/android/test/runner/
H A DClassPathScanner.java47 * @param pathName the relative path of the class path entry
103 public boolean accept(String pathName) { argument
104 return !pathName.contains("$");
127 public boolean accept(String pathName) { argument
128 return pathName.startsWith(mPkgName);
151 public boolean accept(String pathName) { argument
152 return !pathName.startsWith(mPkgName);
/frameworks/base/tools/aapt/
H A DPackage.cpp44 bool okayToCompress(Bundle* bundle, const String8& pathName);
419 bool okayToCompress(Bundle* bundle, const String8& pathName) argument
421 String8 ext = pathName.getPathExtension();
435 int pos = pathName.length() - strlen(str);
439 const char* path = pathName.string();
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawable.java945 public static Drawable createFromPath(String pathName) { argument
946 if (pathName == null) {
950 Trace.traceBegin(Trace.TRACE_TAG_RESOURCES, pathName);
952 Bitmap bm = BitmapFactory.decodeFile(pathName);
954 return drawableFromBitmap(null, bm, null, null, null, pathName);
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp1072 Asset* AssetManager::openAssetFromFileLocked(const String8& pathName, argument
1077 if (strcasecmp(pathName.getPathExtension().string(), ".gz") == 0) {
1078 //printf("TRYING '%s'\n", (const char*) pathName);
1079 pAsset = Asset::createFromCompressedFile(pathName.string(), mode);
1081 //printf("TRYING '%s'\n", (const char*) pathName);
1082 pAsset = Asset::createFromFile(pathName.string(), mode);

Completed in 164 milliseconds