Searched refs:filepath (Results 1 - 4 of 4) sorted by relevance

/frameworks/support/v4/java/android/support/v4/graphics/drawable/
H A DRoundedBitmapDrawableFactory.java77 String filepath) {
78 final RoundedBitmapDrawable drawable = create(res, BitmapFactory.decodeFile(filepath));
80 Log.w(TAG, "BitmapDrawable cannot decode " + filepath);
76 create(Resources res, String filepath) argument
/frameworks/base/media/mca/
H A Dstructgen.py184 def parseTextFile(self, filepath):
194 txtfile = open(filepath)
337 filepath = argv[1]
340 structspec.parseTextFile(filepath)
348 rootdir = os.path.dirname(filepath)
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp496 const String8& rootpath, const String8& filepath, BackupDataWriter* writer)
499 const char* relstart = filepath.string() + rootpath.length();
519 for (size_t i = 0; i < filepath.length(); i++) {
520 if ((filepath[i] & 0x80) != 0) {
529 if (lstat64(filepath.string(), &s) != 0) {
531 ALOGE("Error %d (%s) from lstat64(%s)", err, strerror(err), filepath.string());
543 int fd = open(filepath.string(), O_RDONLY);
546 ALOGE("Error %d (%s) from open(%s)", err, strerror(err), filepath.string());
594 ALOGW("Error: unknown file mode 0%o [%s]", s.st_mode, filepath.string());
694 ALOGE("Unable to read file [%s], err=%d (%s)", filepath
495 write_tarfile(const String8& packageName, const String8& domain, const String8& rootpath, const String8& filepath, BackupDataWriter* writer) argument
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DBitmapDrawable.java154 public BitmapDrawable(String filepath) { argument
155 this(new BitmapState(BitmapFactory.decodeFile(filepath)), null);
157 android.util.Log.w("BitmapDrawable", "BitmapDrawable cannot decode " + filepath);
165 public BitmapDrawable(Resources res, String filepath) { argument
166 this(new BitmapState(BitmapFactory.decodeFile(filepath)), null);
169 android.util.Log.w("BitmapDrawable", "BitmapDrawable cannot decode " + filepath);

Completed in 155 milliseconds