8import androidx.annotation.Nullable;
9import androidx.test.runner.AndroidJUnitRunner;
10import dev.flutter.scenariosui.ScreenshotUtil;
11import io.flutter.FlutterInjector;
12import io.flutter.embedding.engine.renderer.FlutterRenderer;
16 public void onCreate(@Nullable Bundle arguments) {
17 String[] engineArguments =
null;
18 assert arguments !=
null;
19 if (
"true".
equals(arguments.getString(
"enable-impeller"))) {
23 "--enable-impeller=true",
24 "--impeller-backend=" + arguments.getString(
"impeller-backend",
"vulkan")
27 FlutterRenderer.debugDisableSurfaceClear =
true;
28 if (
"true".
equals(arguments.getString(
"force-surface-producer-surface-texture"))) {
30 FlutterRenderer.debugForceSurfaceProducerGlTextures =
true;
38 super.onCreate(arguments);
42 public void finish(
int resultCode, @Nullable Bundle results) {
44 super.finish(resultCode, results);
bool equals(SkDrawable *a, SkDrawable *b)
void onCreate(@Nullable Bundle arguments)
void finish(int resultCode, @Nullable Bundle results)
static synchronized void finish()
static synchronized void onCreate()
void ensureInitializationComplete( @NonNull Context applicationContext, @Nullable String[] args)
void startInitialization(@NonNull Context applicationContext)