Flutter Engine
The Flutter Engine
|
Protected Member Functions | |
void | onCreate (@Nullable Bundle savedInstanceState) |
void | onDestroy () |
void | getScenarioParams (@NonNull Map< String, Object > args) |
void | testFlutterLoaderCallbackWhenInitializedTwice () |
Protected Member Functions inherited from dev.flutter.scenarios.TestableFlutterActivity | |
void | onCreate (@Nullable Bundle savedInstanceState) |
void | notifyFlutterRendered () |
Protected Member Functions inherited from io.flutter.embedding.android.FlutterActivity | |
void | onCreate (@Nullable Bundle savedInstanceState) |
OnBackInvokedCallback | getOnBackInvokedCallback () |
void | onStart () |
void | onResume () |
void | onPause () |
void | onStop () |
void | onSaveInstanceState (Bundle outState) |
void | onDestroy () |
void | onActivityResult (int requestCode, int resultCode, Intent data) |
void | onNewIntent (@NonNull Intent intent) |
BackgroundMode | getBackgroundMode () |
FlutterEngine | getFlutterEngine () |
Bundle | getMetaData () throws PackageManager.NameNotFoundException |
Additional Inherited Members | |
Static Public Member Functions inherited from io.flutter.embedding.android.FlutterActivity | |
static Intent | createDefaultIntent (@NonNull Context launchContext) |
static NewEngineIntentBuilder | withNewEngine () |
static CachedEngineIntentBuilder | withCachedEngine (@NonNull String cachedEngineId) |
static NewEngineInGroupIntentBuilder | withNewEngineInGroup (@NonNull String engineGroupId) |
Static Public Attributes inherited from io.flutter.embedding.android.FlutterActivity | |
static final int | FLUTTER_VIEW_ID = View.generateViewId() |
Protected Attributes inherited from io.flutter.embedding.android.FlutterActivity | |
FlutterActivityAndFragmentDelegate | delegate |
Package Functions inherited from io.flutter.embedding.android.FlutterActivity | |
void | setDelegate (@NonNull FlutterActivityAndFragmentDelegate delegate) |
Definition at line 28 of file TestActivity.java.
|
inline |
FlutterActivityAndFragmentDelegate.Host
method that is used by FlutterActivityAndFragmentDelegate
to obtain Flutter shell arguments when initializing Flutter.
Reimplemented from io.flutter.embedding.android.FlutterActivity.
Definition at line 43 of file TestActivity.java.
|
inlineprotected |
Populates test-specific parameters that are sent to the Dart test scenario.
args | The map of test arguments |
Reimplemented in dev.flutter.scenarios.ExternalTextureFlutterActivity.
Definition at line 79 of file TestActivity.java.
|
inlineprotected |
Reimplemented from dev.flutter.scenarios.TestableFlutterActivity.
Reimplemented in dev.flutter.scenarios.ExternalTextureFlutterActivity.
Definition at line 30 of file TestActivity.java.
|
inlineprotected |
Reimplemented from io.flutter.embedding.android.FlutterActivity.
Definition at line 37 of file TestActivity.java.
|
inline |
Invoked by this delegate when its FlutterView
starts painting pixels.
Reimplemented from io.flutter.embedding.android.FlutterActivity.
Reimplemented in dev.flutter.scenarios.ExternalTextureFlutterActivity.
Definition at line 52 of file TestActivity.java.
|
inlineprotected |
This method verifies that io.flutter.embedding.engine.loader.FlutterLoader#ensureInitializationCompleteAsync(Context,
String[], Handler, Runnable)
invokes its callback when called after initialization.
Definition at line 86 of file TestActivity.java.