Home
last modified time | relevance | path

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

123

/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/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/task/core/
DTaskJniUtils.java65 try (AssetFileDescriptor assetFileDescriptor = context.getAssets().openFd(filePath)) { in createHandleFromFdAndOptions()
140 try (AssetFileDescriptor fileDescriptor = context.getAssets().openFd(filePath);
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/common/
DFileUtil.java72 try (InputStream inputStream = context.getAssets().open(filePath)) { in loadLabels()
159 try (AssetFileDescriptor fileDescriptor = context.getAssets().openFd(filePath); in loadMappedFile()
/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/tools/android/test/src/org/tensorflow/demo/
DDetectorActivity.java133 getAssets(), in onPreviewSizeChosen()
143 getAssets(), in onPreviewSizeChosen()
155 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/libchrome/base/android/java/src/org/chromium/base/
DApkAssets.java29 AssetManager manager = ContextUtils.getApplicationContext().getAssets(); in open()
DContextUtils.java132 return context.getAssets(); in getApplicationAssets()
DFileUtils.java65 inputStream = context.getAssets().open(assetName); in extractAsset()
/external/skqp/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DViewerApplication.java28 mNativeHandle = createNativeApp(this.getResources().getAssets()); in onCreate()
/external/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DViewerApplication.java28 mNativeHandle = createNativeApp(this.getResources().getAssets()); in onCreate()
/external/oboe/samples/RhythmGame/src/main/java/com/google/oboe/samples/rhythmgame/
DMainActivity.java45 native_onStart(getAssets()); in onResume()
/external/tensorflow/tensorflow/lite/java/ovic/demo/app/
DOvicBenchmarkerActivity.java84 InputStream imageStream = getAssets().open(testImagePath); in loadTestBitmap()
101 AssetManager am = getAssets(); in initializeTest()
/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/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/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/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DImageClassifier.java218 new BufferedReader(new InputStreamReader(activity.getAssets().open(getLabelPath()))); in loadLabelList()
229 AssetFileDescriptor fileDescriptor = activity.getAssets().openFd(getModelPath()); in loadModelFile()
/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/skqp/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/
DSkQP.java44 AssetManager assetManager = context.getResources().getAssets(); in runTests()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/
DAssetDataSource.java54 this.assetManager = context.getAssets(); in AssetDataSource()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/manager/
DFontAssetManager.java37 assetManager = ((View) callback).getContext().getAssets(); in FontAssetManager()

123