Searched refs:pathName (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/graphics/java/android/graphics/ |
D | Movie.java | 49 public static Movie decodeFile(String pathName) { in decodeFile() argument 52 is = new FileInputStream(pathName); in decodeFile()
|
D | BitmapFactory.java | 266 public static Bitmap decodeFile(String pathName, Options opts) { in decodeFile() argument 270 stream = new FileInputStream(pathName); in decodeFile() 295 public static Bitmap decodeFile(String pathName) { in decodeFile() argument 296 return decodeFile(pathName, null); in decodeFile()
|
/frameworks/base/core/java/android/os/ |
D | Debug.java | 437 String pathName = traceName; in startMethodTracing() local 438 if (pathName.charAt(0) != '/') in startMethodTracing() 439 pathName = DEFAULT_TRACE_PATH_PREFIX + pathName; in startMethodTracing() 440 if (!pathName.endsWith(DEFAULT_TRACE_EXTENSION)) in startMethodTracing() 441 pathName = pathName + DEFAULT_TRACE_EXTENSION; in startMethodTracing() 443 VMDebug.startMethodTracing(pathName, bufferSize, flags); in startMethodTracing()
|
/frameworks/base/tools/aapt/ |
D | Package.cpp | 40 bool okayToCompress(Bundle* bundle, const String8& pathName); 380 bool okayToCompress(Bundle* bundle, const String8& pathName) in okayToCompress() argument 382 String8 ext = pathName.getPathExtension(); in okayToCompress() 396 int pos = pathName.length() - strlen(str); in okayToCompress() 400 const char* path = pathName.string(); in okayToCompress()
|
D | AaptAssets.cpp | 1303 String8 pathName(srcDir); in slurpFullTree() local 1306 pathName.appendPath(fileNames[i].string()); in slurpFullTree() 1307 type = getFileType(pathName.string()); in slurpFullTree() 1317 ssize_t res = subdir->slurpFullTree(bundle, pathName, kind, in slurpFullTree() 1327 sp<AaptFile> file = new AaptFile(pathName, kind, resType); in slurpFullTree() 1337 printf(" (ignoring non-file/dir '%s')\n", pathName.string()); in slurpFullTree()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Drawable.java | 796 public static Drawable createFromPath(String pathName) { in createFromPath() argument 797 if (pathName == null) { in createFromPath() 801 Bitmap bm = BitmapFactory.decodeFile(pathName); in createFromPath() 803 return drawableFromBitmap(null, bm, null, null, pathName); in createFromPath()
|
/frameworks/base/libs/utils/ |
D | AssetManager.cpp | 798 Asset* AssetManager::openAssetFromFileLocked(const String8& pathName, in openAssetFromFileLocked() argument 803 if (strcasecmp(pathName.getPathExtension().string(), ".gz") == 0) { in openAssetFromFileLocked() 805 pAsset = Asset::createFromCompressedFile(pathName.string(), mode); in openAssetFromFileLocked() 808 pAsset = Asset::createFromFile(pathName.string(), mode); in openAssetFromFileLocked()
|