/external/glide/library/src/main/java/com/bumptech/glide/load/data/ |
D | AssetPathFetcher.java | 18 private final AssetManager assetManager; field in AssetPathFetcher 21 public AssetPathFetcher(AssetManager assetManager, String assetPath) { in AssetPathFetcher() argument 22 this.assetManager = assetManager; in AssetPathFetcher() 28 data = loadResource(assetManager, assetPath); in loadData() 64 protected abstract T loadResource(AssetManager assetManager, String path) throws IOException; in loadResource() argument
|
D | StreamAssetPathFetcher.java | 12 public StreamAssetPathFetcher(AssetManager assetManager, String assetPath) { in StreamAssetPathFetcher() argument 13 super(assetManager, assetPath); in StreamAssetPathFetcher() 17 protected InputStream loadResource(AssetManager assetManager, String path) throws IOException { in loadResource() argument 18 return assetManager.open(path); in loadResource()
|
D | FileDescriptorAssetPathFetcher.java | 12 public FileDescriptorAssetPathFetcher(AssetManager assetManager, String assetPath) { in FileDescriptorAssetPathFetcher() argument 13 super(assetManager, assetPath); in FileDescriptorAssetPathFetcher() 17 …protected ParcelFileDescriptor loadResource(AssetManager assetManager, String path) throws IOExcep… in loadResource() argument 18 return assetManager.openFd(path).getParcelFileDescriptor(); in loadResource()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowAssetManagerTest.java | 38 private AssetManager assetManager; field in ShadowAssetManagerTest 44 assetManager = resources.getAssets(); in setUp() 53 assetManager.openFd("deflatedAsset.xml"); in openFd_shouldProvideFileDescriptorForDeflatedAsset() 58 InputStream inputStream = assetManager.openNonAsset(0, "res/drawable/an_image.png", 0); in openNonAssetShouldOpenRealAssetFromResources() 76 InputStream inputStream = assetManager.openNonAsset(0, fileName, 0); in openNonAssetShouldOpenFileFromAndroidJar() 88 assetManager.openNonAsset(0, "res/drawable/does_not_exist.png", 0); in openNonAssetShouldThrowExceptionWhenFileDoesNotExist() 99 assetManager.openNonAsset(0, "res/drawable/does_not_exist.png", 0); in unknownResourceIdsShouldReportPackagesSearched() 110 assetManager.openNonAsset(0, "res/drawable/does_not_exist.png", 0); in forSystemResources_unknownResourceIdsShouldReportPackagesSearched() 118 InputStream inputStream = assetManager.openNonAsset(0, "res/drawable/robolectric.png", 0); in openNonAssetShouldOpenCorrectAssetBasedOnQualifierMdpi() 127 InputStream inputStream = assetManager.openNonAsset(0, "res/drawable/robolectric.png", 0); in openNonAssetShouldOpenCorrectAssetBasedOnQualifierHdpi() [all …]
|
/external/skqp/platform_tools/android/apps/arcore/src/main/java/org/skia/arcore/ |
D | JniInterface.java | 22 static AssetManager assetManager; field in JniInterface 24 public static native long createNativeApplication(AssetManager assetManager); in createNativeApplication() argument 72 return BitmapFactory.decodeStream(assetManager.open(imageName)); in loadImage()
|
/external/skia/platform_tools/android/apps/arcore/src/main/java/org/skia/arcore/ |
D | JniInterface.java | 22 static AssetManager assetManager; field in JniInterface 24 public static native long createNativeApplication(AssetManager assetManager); in createNativeApplication() argument 72 return BitmapFactory.decodeStream(assetManager.open(imageName)); in loadImage()
|
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/ |
D | TensorFlowMultiBoxDetector.java | 80 final AssetManager assetManager, in create() argument 90 d.inferenceInterface = new TensorFlowInferenceInterface(assetManager, modelFilename); in create() 117 d.loadCoderOptions(assetManager, locationFilename, d.boxPriors); in create() 135 final AssetManager assetManager, final String locationFilename, final float[] boxPriors) in loadCoderOptions() argument 141 is = assetManager.open(locationFilename.split(assetPrefix)[1]); in loadCoderOptions()
|
D | TensorFlowImageClassifier.java | 75 AssetManager assetManager, in create() argument 93 br = new BufferedReader(new InputStreamReader(assetManager.open(actualFilename))); in create() 103 c.inferenceInterface = new TensorFlowInferenceInterface(assetManager, modelFilename); in create()
|
D | TensorFlowObjectDetectionAPIModel.java | 72 final AssetManager assetManager, in create() argument 80 labelsInput = assetManager.open(actualFilename); in create() 91 d.inferenceInterface = new TensorFlowInferenceInterface(assetManager, modelFilename); in create()
|
D | TensorFlowYoloDetector.java | 91 final AssetManager assetManager, in create() argument 107 d.inferenceInterface = new TensorFlowInferenceInterface(assetManager, modelFilename); in create()
|
/external/skqp/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/ |
D | SkQP.java | 17 protected native void nInit(AssetManager assetManager, String dataDir); in nInit() argument 44 AssetManager assetManager = context.getResources().getAssets(); in runTests() local 45 this.nInit(assetManager, outputDirPath); in runTests()
|
D | SkQPRunner.java | 52 AssetManager assetManager = context.getResources().getAssets(); in SkQPRunner() local 53 mImpl.nInit(assetManager, mOutputDirectory); in SkQPRunner()
|
/external/skia/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/ |
D | SkQP.java | 17 protected native void nInit(AssetManager assetManager, String dataDir); in nInit() argument 44 AssetManager assetManager = context.getResources().getAssets(); in runTests() local 45 this.nInit(assetManager, outputDirPath); in runTests()
|
D | SkQPRunner.java | 52 AssetManager assetManager = context.getResources().getAssets(); in SkQPRunner() local 53 mImpl.nInit(assetManager, mOutputDirectory); in SkQPRunner()
|
/external/skqp/tools/sk_app/android/ |
D | surface_glue_android.cpp | 33 static void config_resource_mgr(JNIEnv* env, jobject assetManager) { in config_resource_mgr() argument 35 SkASSERT(assetManager); in config_resource_mgr() 36 gAAssetManager = AAssetManager_fromJava(env, assetManager); in config_resource_mgr() 240 jobject assetManager) { in Java_org_skia_viewer_ViewerApplication_createNativeApp() argument 241 config_resource_mgr(env, assetManager); in Java_org_skia_viewer_ViewerApplication_createNativeApp()
|
/external/skia/tools/sk_app/android/ |
D | surface_glue_android.cpp | 33 static void config_resource_mgr(JNIEnv* env, jobject assetManager) { in config_resource_mgr() argument 35 SkASSERT(assetManager); in config_resource_mgr() 36 gAAssetManager = AAssetManager_fromJava(env, assetManager); in config_resource_mgr() 240 jobject assetManager) { in Java_org_skia_viewer_ViewerApplication_createNativeApp() argument 241 config_resource_mgr(env, assetManager); in Java_org_skia_viewer_ViewerApplication_createNativeApp()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowAssetInputStream.java | 17 AssetManager assetManager) { in createAssetInputStream() argument 21 from(AssetManager.class, assetManager), in createAssetInputStream()
|
D | ShadowAssetManager.java | 41 static ShadowLegacyAssetManager legacyShadowOf(AssetManager assetManager) { in legacyShadowOf() argument 42 return (ShadowLegacyAssetManager) Shadow.extract(assetManager); in legacyShadowOf()
|
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/ |
D | TFLiteImageClassifier.java | 86 AssetManager assetManager, String modelFilename, String labelFilename, int inputSize) { in create() argument 94 br = new BufferedReader(new InputStreamReader(assetManager.open(labelFilename))); in create() 110 c.tfLite = new Interpreter(loadModelFile(assetManager, modelFilename)); in create()
|
D | TFLiteObjectDetectionAPIModel.java | 99 final AssetManager assetManager, in create() argument 108 labelsInput = assetManager.open(labelFilename); in create() 121 d.tfLite = new Interpreter(loadModelFile(assetManager, modelFilename)); in create()
|
/external/skia/tools/skqp/src/ |
D | jni_skqp.cpp | 103 void Java_org_skia_skqp_SkQP_nInit(JNIEnv* env, jobject object, jobject assetManager, in Java_org_skia_skqp_SkQP_nInit() argument 112 jassert(env, assetManager,); in Java_org_skia_skqp_SkQP_nInit() 114 gAAssetManager = AAssetManager_fromJava(env, assetManager); in Java_org_skia_skqp_SkQP_nInit()
|
D | skqp_model.h | 56 SkQPAssetManager* assetManager);
|
/external/skqp/tools/skqp/src/ |
D | jni_skqp.cpp | 103 void Java_org_skia_skqp_SkQP_nInit(JNIEnv* env, jobject object, jobject assetManager, in Java_org_skia_skqp_SkQP_nInit() argument 112 jassert(env, assetManager,); in Java_org_skia_skqp_SkQP_nInit() 114 gAAssetManager = AAssetManager_fromJava(env, assetManager); in Java_org_skia_skqp_SkQP_nInit()
|
D | skqp_model.h | 56 SkQPAssetManager* assetManager);
|
/external/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/ |
D | ViewerApplication.java | 22 private native long createNativeApp(AssetManager assetManager); in createNativeApp() argument
|