/frameworks/base/graphics/java/android/graphics/ |
D | Movie.java | 70 public static Movie decodeFile(String pathName) { in decodeFile() argument 73 is = new FileInputStream(pathName); in decodeFile()
|
D | BitmapFactory.java | 469 public static Bitmap decodeFile(String pathName, Options opts) { in decodeFile() argument 474 stream = new FileInputStream(pathName); in decodeFile() 500 public static Bitmap decodeFile(String pathName) { in decodeFile() argument 501 return decodeFile(pathName, null); in decodeFile()
|
D | BitmapRegionDecoder.java | 143 public static BitmapRegionDecoder newInstance(String pathName, in newInstance() argument 149 stream = new FileInputStream(pathName); in newInstance()
|
/frameworks/base/tools/aapt/ |
D | Package.cpp | 42 bool okayToCompress(Bundle* bundle, const String8& pathName); 366 bool okayToCompress(Bundle* bundle, const String8& pathName) in okayToCompress() argument 368 String8 ext = pathName.getPathExtension(); in okayToCompress() 382 int pos = pathName.length() - strlen(str); in okayToCompress() 386 const char* path = pathName.string(); in okayToCompress()
|
D | AaptAssets.cpp | 702 String8 pathName(srcDir); in slurpFullTree() local 705 pathName.appendPath(fileNames[i].string()); in slurpFullTree() 706 type = getFileType(pathName.string()); in slurpFullTree() 716 ssize_t res = subdir->slurpFullTree(bundle, pathName, kind, in slurpFullTree() 726 sp<AaptFile> file = new AaptFile(pathName, kind, resType); in slurpFullTree() 736 printf(" (ignoring non-file/dir '%s')\n", pathName.string()); in slurpFullTree()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 58 String pathName, boolean isShareable) { in newInstance() argument 60 BitmapRegionDecoder d = BitmapRegionDecoder.newInstance(pathName, isShareable); in newInstance() 65 Log.w("BitmapRegionTileSource", "getting decoder failed for path " + pathName, e); in newInstance() 101 public static DumbBitmapRegionDecoder newInstance(String pathName) { in newInstance() argument 102 Bitmap b = BitmapFactory.decodeFile(pathName); in newInstance()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Drawable.java | 1303 public static Drawable createFromPath(String pathName) { in createFromPath() argument 1304 if (pathName == null) { in createFromPath() 1308 Trace.traceBegin(Trace.TRACE_TAG_RESOURCES, pathName); in createFromPath() 1310 Bitmap bm = BitmapFactory.decodeFile(pathName); in createFromPath() 1312 return drawableFromBitmap(null, bm, null, null, null, pathName); in createFromPath()
|
D | VectorDrawable.java | 1612 final String pathName = a.getString(R.styleable.VectorDrawableClipPath_name); in updateStateFromTypedArray() local 1613 if (pathName != null) { in updateStateFromTypedArray() 1614 mPathName = pathName; in updateStateFromTypedArray() 1916 final String pathName = a.getString(R.styleable.VectorDrawablePath_name); in updateStateFromTypedArray() local 1917 if (pathName != null) { in updateStateFromTypedArray() 1918 mPathName = pathName; in updateStateFromTypedArray()
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
D | VectorDrawableCompat.java | 1617 final String pathName = in updateStateFromTypedArray() local 1619 if (pathName != null) { in updateStateFromTypedArray() 1620 mPathName = pathName; in updateStateFromTypedArray() 1739 final String pathName = a.getString( in updateStateFromTypedArray() local 1741 if (pathName != null) { in updateStateFromTypedArray() 1742 mPathName = pathName; in updateStateFromTypedArray()
|
/frameworks/base/libs/androidfw/ |
D | AssetManager.cpp | 835 Asset* AssetManager::openAssetFromFileLocked(const String8& pathName, in openAssetFromFileLocked() argument 840 if (strcasecmp(pathName.getPathExtension().string(), ".gz") == 0) { in openAssetFromFileLocked() 842 pAsset = Asset::createFromCompressedFile(pathName.string(), mode); in openAssetFromFileLocked() 845 pAsset = Asset::createFromFile(pathName.string(), mode); in openAssetFromFileLocked()
|