Searched refs:assetName (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/env/ |
D | AssetUtils.java | 42 public static void copy(Context context, String assetName, String targetName) throws IOException { in copy() argument 44 Log.d(TAG, "creating file " + targetName + " from " + assetName); in copy() 53 inputStream = assets.open(assetName); in copy()
|
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/ |
D | ImageSource.java | 83 public static ImageSource asset(String assetName) { in asset() argument 84 if (assetName == null) { in asset() 87 return uri(ASSET_SCHEME + assetName); in asset()
|
D | SubsamplingScaleImageView.java | 307 … String assetName = typedAttr.getString(styleable.SubsamplingScaleImageView_assetName); in SubsamplingScaleImageView() local 308 if (assetName != null && assetName.length() > 0) { in SubsamplingScaleImageView() 309 setImage(ImageSource.asset(assetName).tilingEnabled()); in SubsamplingScaleImageView()
|
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/decoder/ |
D | SkiaImageDecoder.java | 81 String assetName = uriString.substring(ASSET_PREFIX.length()); in decode() local 82 bitmap = BitmapFactory.decodeStream(context.getAssets().open(assetName), null, options); in decode()
|
D | SkiaImageRegionDecoder.java | 90 String assetName = uriString.substring(ASSET_PREFIX.length()); in init() local 91 …decoder = BitmapRegionDecoder.newInstance(context.getAssets().open(assetName, AssetManager.ACCESS_… in init()
|
D | SkiaPooledImageRegionDecoder.java | 189 String assetName = uriString.substring(ASSET_PREFIX.length()); in initialiseDecoder() local 191 AssetFileDescriptor descriptor = context.getAssets().openFd(assetName); in initialiseDecoder() 196 …decoder = BitmapRegionDecoder.newInstance(context.getAssets().open(assetName, AssetManager.ACCESS_… in initialiseDecoder()
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | CppAssetManager.java | 461 String8 assetName = new String8(kAssetsRoot); in open() local 462 assetName.appendPath(fileName); in open() 470 assetName.string(), mAssetPaths.get(i).path.string()); in open() 471 Asset pAsset = openNonAssetInPathLocked(assetName.string(), mode, in open()
|