Searched refs:pathName (Results 1 - 11 of 11) sorted by last modified time

/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DVectorDrawableCompat.java1447 final String pathName =
1449 if (pathName != null) {
1450 mPathName = pathName;
1569 final String pathName = a.getString(AndroidResources.styleable_VectorDrawablePath_name);
1570 if (pathName != null) {
1571 mPathName = pathName;
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp702 String8 pathName(srcDir);
705 pathName.appendPath(fileNames[i].string());
706 type = getFileType(pathName.string());
716 ssize_t res = subdir->slurpFullTree(bundle, pathName, kind,
726 sp<AaptFile> file = new AaptFile(pathName, kind, resType);
736 printf(" (ignoring non-file/dir '%s')\n", pathName.string());
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/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
H A DModuleClassLoader.java44 String pathName = mClassLocation.concat(name.replace('.', '/')).concat(".class");
45 InputStream classInputStream = getClass().getResourceAsStream(pathName);
47 throw new ClassNotFoundException("Unable to find class " + name + " at " + pathName);
/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/
H A DMovie.java70 public static Movie decodeFile(String pathName) { argument
73 is = new FileInputStream(pathName);
H A DBitmapFactory.java390 * @param pathName complete path name for the file to be decoded.
397 public static Bitmap decodeFile(String pathName, Options opts) { argument
401 stream = new FileInputStream(pathName);
424 * @param pathName complete path name for the file to be decoded.
427 public static Bitmap decodeFile(String pathName) { argument
428 return decodeFile(pathName, null);
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);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawable.java1230 public static Drawable createFromPath(String pathName) { argument
1231 if (pathName == null) {
1235 Trace.traceBegin(Trace.TRACE_TAG_RESOURCES, pathName);
1237 Bitmap bm = BitmapFactory.decodeFile(pathName);
1239 return drawableFromBitmap(null, bm, null, null, null, pathName);
H A DVectorDrawable.java1384 final String pathName = a.getString(R.styleable.VectorDrawableClipPath_name);
1385 if (pathName != null) {
1386 mPathName = pathName;
1548 final String pathName = a.getString(R.styleable.VectorDrawablePath_name);
1549 if (pathName != null) {
1550 mPathName = pathName;
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp1112 Asset* AssetManager::openAssetFromFileLocked(const String8& pathName, argument
1117 if (strcasecmp(pathName.getPathExtension().string(), ".gz") == 0) {
1118 //printf("TRYING '%s'\n", (const char*) pathName);
1119 pAsset = Asset::createFromCompressedFile(pathName.string(), mode);
1121 //printf("TRYING '%s'\n", (const char*) pathName);
1122 pAsset = Asset::createFromFile(pathName.string(), mode);

Completed in 407 milliseconds