/frameworks/base/graphics/java/android/graphics/ |
D | Movie.java | 65 public static Movie decodeFile(String pathName) { in decodeFile() argument 68 is = new FileInputStream(pathName); in decodeFile()
|
D | BitmapFactory.java | 386 public static Bitmap decodeFile(String pathName, Options opts) { in decodeFile() argument 390 stream = new FileInputStream(pathName); in decodeFile() 416 public static Bitmap decodeFile(String pathName) { in decodeFile() argument 417 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 | 726 String8 pathName(srcDir); in slurpFullTree() local 729 pathName.appendPath(fileNames[i].string()); in slurpFullTree() 730 type = getFileType(pathName.string()); in slurpFullTree() 740 ssize_t res = subdir->slurpFullTree(bundle, pathName, kind, in slurpFullTree() 750 sp<AaptFile> file = new AaptFile(pathName, kind, resType); in slurpFullTree() 760 printf(" (ignoring non-file/dir '%s')\n", pathName.string()); in slurpFullTree()
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
D | LayoutLibTestCallback.java | 100 String pathName = PROJECT_CLASSES_LOCATION.concat(name.replace('.', '/')).concat(".class"); in findClass() local 101 InputStream classInputStream = getClass().getResourceAsStream(pathName); in findClass() 103 throw new ClassNotFoundException("Unable to find class " + name + " at " + pathName); in findClass()
|
/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 | 1136 public static Drawable createFromPath(String pathName) { in createFromPath() argument 1137 if (pathName == null) { in createFromPath() 1141 Trace.traceBegin(Trace.TRACE_TAG_RESOURCES, pathName); in createFromPath() 1143 Bitmap bm = BitmapFactory.decodeFile(pathName); in createFromPath() 1145 return drawableFromBitmap(null, bm, null, null, null, pathName); in createFromPath()
|
D | VectorDrawable.java | 1321 final String pathName = a.getString(R.styleable.VectorDrawableClipPath_name); in updateStateFromTypedArray() local 1322 if (pathName != null) { in updateStateFromTypedArray() 1323 mPathName = pathName; in updateStateFromTypedArray() 1429 final String pathName = a.getString(R.styleable.VectorDrawablePath_name); in updateStateFromTypedArray() local 1430 if (pathName != null) { in updateStateFromTypedArray() 1431 mPathName = pathName; in updateStateFromTypedArray()
|
/frameworks/base/libs/androidfw/ |
D | AssetManager.cpp | 1115 Asset* AssetManager::openAssetFromFileLocked(const String8& pathName, in openAssetFromFileLocked() argument 1120 if (strcasecmp(pathName.getPathExtension().string(), ".gz") == 0) { in openAssetFromFileLocked() 1122 pAsset = Asset::createFromCompressedFile(pathName.string(), mode); in openAssetFromFileLocked() 1125 pAsset = Asset::createFromFile(pathName.string(), mode); in openAssetFromFileLocked()
|