Home
last modified time | relevance | path

Searched refs:assetManager (Results 1 – 25 of 38) sorted by relevance

12

/third_party/flutter/engine/flutter/lib/web_ui/lib/src/ui/
Dinitialization.dart9 engine.AssetManager assetManager,
15 assetManager ??= const engine.AssetManager();
16 await webOnlySetAssetManager(assetManager);
38 Future<void> webOnlySetAssetManager(engine.AssetManager assetManager) async {
39 assert(assetManager != null, 'Cannot set assetManager to null');
40 if (assetManager == _assetManager) {
44 _assetManager = assetManager;
Dtest_embedding.dart22 assetManager: engine.WebOnlyMockAssetManager());
57 webOnlyInitializePlatform(assetManager: engine.WebOnlyMockAssetManager())
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/engine/dart/
DDartExecutor.java47 private final AssetManager assetManager; field in DartExecutor
67 public DartExecutor(@NonNull FlutterJNI flutterJNI, @NonNull AssetManager assetManager) { in DartExecutor() argument
69 this.assetManager = assetManager; in DartExecutor()
130 assetManager in executeDartEntrypoint()
/third_party/flutter/skia/platform_tools/android/apps/arcore/src/main/java/org/skia/arcore/
DJniInterface.java22 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()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/
Dnative-lib.cpp33 AAssetManager *assetManager = AAssetManager_fromJava(env, jAssetManager); in Java_com_google_oboe_samples_rhythmgame_MainActivity_native_1onStart() local
34 if (assetManager == nullptr) { in Java_com_google_oboe_samples_rhythmgame_MainActivity_native_1onStart()
39 game = std::make_unique<Game>(*assetManager); in Java_com_google_oboe_samples_rhythmgame_MainActivity_native_1onStart()
DGame.cpp23 Game::Game(AAssetManager &assetManager): mAssetManager(assetManager) { in Game() argument
/third_party/flutter/skia/tools/sk_app/android/
Dsurface_glue_android.cpp33 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()
/third_party/skia/tools/sk_app/android/
Dsurface_glue_android.cpp33 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()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/
DAAssetDataSource.cpp37 AAssetManager &assetManager, in newFromCompressedAsset() argument
41 AAsset *asset = AAssetManager_open(&assetManager, filename, AASSET_MODE_UNKNOWN); in newFromCompressedAsset()
DAAssetDataSource.h32 AAssetManager &assetManager,
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/view/
DResourceExtractor.java68 @NonNull AssetManager assetManager) { in ExtractTask() argument
71 mAssetManager = assetManager; in ExtractTask()
154 @NonNull AssetManager assetManager) { in ResourceExtractor() argument
158 mAssetManager = assetManager; in ResourceExtractor()
/third_party/skia/tools/skqp/src/
Djni_skqp.cpp103 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()
Dskqp_model.h56 SkQPAssetManager* assetManager);
/third_party/flutter/skia/tools/skqp/src/
Djni_skqp.cpp103 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()
Dskqp_model.h56 SkQPAssetManager* assetManager);
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/text/
Dfont_collection.dart22 /// Reads the font manifest using the [assetManager] and registers all of the
24 Future<void> registerFonts(AssetManager assetManager) async {
28 byteData = await assetManager.load('FontManifest.json');
78 family, 'url(${assetManager.getAssetUrl(asset)})', descriptors);
/third_party/flutter/skia/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/
DSkQPActivity.java43 AssetManager assetManager = context.getResources().getAssets(); in run() local
44 impl.nInit(assetManager, outputDirPath); in run()
DSkQP.java17 protected native void nInit(AssetManager assetManager, String dataDir); in nInit() argument
DSkQPRunner.java53 AssetManager assetManager = context.getResources().getAssets(); in SkQPRunner() local
54 mImpl.nInit(assetManager, mOutputDirectory); in SkQPRunner()
/third_party/skia/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/
DSkQPActivity.java43 AssetManager assetManager = context.getResources().getAssets(); in run() local
44 impl.nInit(assetManager, outputDirPath); in run()
DSkQP.java17 protected native void nInit(AssetManager assetManager, String dataDir); in nInit() argument
DSkQPRunner.java53 AssetManager assetManager = context.getResources().getAssets(); in SkQPRunner() local
54 mImpl.nInit(assetManager, mOutputDirectory); in SkQPRunner()
/third_party/skia/third_party/externals/oboe/tests/UnitTestRunner/app/src/main/java/com/google/oboe/tests/unittestrunner/
DMainActivity.java59 AssetManager assetManager = getAssets(); in executeBinary() local
67 InputStream inStream = assetManager.open(testBinaryPath); in executeBinary()
/third_party/flutter/engine/flutter/shell/platform/android/
Dapk_asset_provider.h21 jobject assetManager,
/third_party/flutter/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DViewerApplication.java22 private native long createNativeApp(AssetManager assetManager); in createNativeApp() argument

12