Home
last modified time | relevance | path

Searched refs:getAssets (Results 1 – 25 of 42) sorted by relevance

12

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLegacyResourcesImpl.java64 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResourcesImpl.getAssets()); in getQuantityString()
85 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResourcesImpl.getAssets()); in openRawResource()
117 ResourceTable resourceTable = legacyShadowOf(realResourcesImpl.getAssets()).getResourceTable(); in newNotFoundException()
128 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResourcesImpl.getAssets()); in loadXmlResourceParser()
145 AssetManager assets = resources.getAssets(); in obtainStyledAttributes()
DShadowResources.java87 return legacyShadowOf(realResources.getAssets()) in obtainAttributes()
108 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResources.getAssets()); in getQuantityString()
135 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResources.getAssets()); in openRawResource()
175 ResourceTable resourceTable = legacyShadowOf(realResources.getAssets()).getResourceTable(); in newNotFoundException()
187 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResources.getAssets()); in obtainTypedArray()
204 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResources.getAssets()); in loadXmlResourceParser()
307 return legacyShadowOf(getResources().getAssets()); in getShadowAssetManager()
DShadowArscResourcesImpl.java89 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResourcesImpl.getAssets()); in getQuantityString()
111 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResourcesImpl.getAssets()); in openRawResource()
147 ResourceTable resourceTable = legacyShadowOf(realResourcesImpl.getAssets()).getResourceTable(); in newNotFoundException()
/external/tensorflow/tensorflow/lite/models/smartreply/demo/app/src/main/java/com/example/android/smartreply/
DSmartReplyClient.java93 try (AssetFileDescriptor fileDescriptor = context.getAssets().openFd(MODEL_PATH); in loadModelFile()
105 new BufferedReader(new InputStreamReader(context.getAssets().open(BACKOFF_PATH)))) { in loadBackoffList()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowTypefaceTest.java74 ApplicationProvider.getApplicationContext().getAssets(), "myFont.ttf"); in createFromAsset_shouldCreateTypeface()
85 ApplicationProvider.getApplicationContext().getAssets(), "nonexistent.ttf"); in createFromAsset_throwsExceptionWhenFontNotFound()
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
DDetectorActivity.java135 getAssets(), in onPreviewSizeChosen()
145 getAssets(), in onPreviewSizeChosen()
157 getAssets(), TF_OD_API_MODEL_FILE, TF_OD_API_LABELS_FILE, TF_OD_API_INPUT_SIZE); in onPreviewSizeChosen()
DSpeechActivity.java123 br = new BufferedReader(new InputStreamReader(getAssets().open(actualFilename))); in onCreate()
152 inferenceInterface = new TensorFlowInferenceInterface(getAssets(), MODEL_FILENAME); in onCreate()
/external/tensorflow/tensorflow/lite/java/ovic/demo/app/
DOvicBenchmarkerActivity.java83 InputStream imageStream = getAssets().open(testImagePath); in loadTestBitmap()
100 AssetManager am = getAssets(); in initializeTest()
/external/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DViewerApplication.java28 mNativeHandle = createNativeApp(this.getResources().getAssets()); in onCreate()
/external/skqp/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DViewerApplication.java28 mNativeHandle = createNativeApp(this.getResources().getAssets()); in onCreate()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/env/
DAssetUtils.java51 AssetManager assets = context.getAssets(); in copy()
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DImageClassifier.java206 new BufferedReader(new InputStreamReader(activity.getAssets().open(getLabelPath()))); in loadLabelList()
217 AssetFileDescriptor fileDescriptor = activity.getAssets().openFd(getModelPath()); in loadModelFile()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/
DSpeechActivity.java139 br = new BufferedReader(new InputStreamReader(getAssets().open(actualLabelFilename))); in onCreate()
169 tfLite = new Interpreter(loadModelFile(getAssets(), actualModelFilename)); in onCreate()
/external/skia/platform_tools/android/apps/arcore/src/main/java/org/skia/arcore/
DHelloArActivity.java156 JniInterface.assetManager = getAssets(); in onCreate()
157 mNativeApplication = JniInterface.createNativeApplication(getAssets()); in onCreate()
/external/skqp/platform_tools/android/apps/arcore/src/main/java/org/skia/arcore/
DHelloArActivity.java156 JniInterface.assetManager = getAssets(); in onCreate()
157 mNativeApplication = JniInterface.createNativeApplication(getAssets()); in onCreate()
/external/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/
DShaderUtil.java91 try (InputStream inputStream = context.getAssets().open(filename); in readRawTextFileFromAssets()
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/
DShaderUtil.java91 try (InputStream inputStream = context.getAssets().open(filename); in readRawTextFileFromAssets()
/external/glide/library/src/main/java/com/bumptech/glide/load/model/stream/
DStreamUriLoader.java56 return new StreamAssetPathFetcher(context.getApplicationContext().getAssets(), assetPath); in getAssetPathFetcher()
/external/glide/library/src/main/java/com/bumptech/glide/load/model/file_descriptor/
DFileDescriptorUriLoader.java53 … return new FileDescriptorAssetPathFetcher(context.getApplicationContext().getAssets(), assetPath); in getAssetPathFetcher()
/external/libchrome/base/android/java/src/org/chromium/base/
DContextUtils.java132 return context.getAssets(); in getApplicationAssets()
/external/grpc-grpc/src/android/test/interop/app/src/androidTest/java/io/grpc/interop/cpp/
DInteropTest.java50 InputStream in = ctx.getAssets().open(sslRootsFile); in setUp()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DHelpActivity.java61 AssetManager am = getAssets(); in onCreate()
/external/skqp/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/
DSkQP.java44 AssetManager assetManager = context.getResources().getAssets(); in runTests()
/external/skia/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/
DSkQP.java44 AssetManager assetManager = context.getResources().getAssets(); in runTests()
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/decoder/
DSkiaPooledImageRegionDecoder.java191 AssetFileDescriptor descriptor = context.getAssets().openFd(assetName); in initialiseDecoder()
196 …decoder = BitmapRegionDecoder.newInstance(context.getAssets().open(assetName, AssetManager.ACCESS_… in initialiseDecoder()

12