Flutter Engine
The Flutter Engine
|
Classes | |
interface | FirstFrameListener |
interface | Provider |
class | SurfaceTextureRegistryEntry |
class | ViewportMetrics |
Protected Member Functions | |
void | onConfigurationChanged (Configuration newConfig) |
void | onSizeChanged (int width, int height, int oldWidth, int oldHeight) |
void | onAttachedToWindow () |
void | onDetachedFromWindow () |
Package Functions | |
float | getDevicePixelRatio () |
void | assertAttached () |
void | resetAccessibilityTree () |
Deprecated Android view containing a Flutter app.
io.flutter.embedding.android.FlutterView
is the new API that now replaces this class. See https://flutter.dev/go/android-project-migration for more migration details. Definition at line 82 of file FlutterView.java.
|
inline |
Definition at line 160 of file FlutterView.java.
|
inline |
Definition at line 164 of file FlutterView.java.
|
inline |
Definition at line 168 of file FlutterView.java.
|
inline |
Definition at line 301 of file FlutterView.java.
|
inline |
Provide a listener that will be called once when the FlutterView renders its first frame to the underlaying SurfaceView.
Definition at line 341 of file FlutterView.java.
|
inlinepackage |
Definition at line 694 of file FlutterView.java.
|
inline |
Definition at line 469 of file FlutterView.java.
|
inline |
Definition at line 396 of file FlutterView.java.
|
inline |
Definition at line 455 of file FlutterView.java.
|
inline |
Definition at line 390 of file FlutterView.java.
|
inline |
Creates and registers a texture managed by the Flutter engine.
Implements io.flutter.view.TextureRegistry.
Definition at line 901 of file FlutterView.java.
|
inline |
Creates and registers a SurfaceProducer texture managed by the Flutter engine.
Implements io.flutter.view.TextureRegistry.
Definition at line 906 of file FlutterView.java.
|
inline |
Creates and registers a SurfaceTexture managed by the Flutter engine.
Implements io.flutter.view.TextureRegistry.
Definition at line 894 of file FlutterView.java.
|
inline |
Definition at line 439 of file FlutterView.java.
|
inline |
Definition at line 429 of file FlutterView.java.
|
inline |
Disables the ability to queue messages received from Dart.
This can be used after all pending channel handlers have been registered.
Implements io.flutter.plugin.common.BinaryMessenger.
Definition at line 354 of file FlutterView.java.
|
inline |
Reverts this back to the SurfaceView
defaults, at the back of its window and opaque.
Definition at line 359 of file FlutterView.java.
|
inline |
Definition at line 269 of file FlutterView.java.
|
inline |
Enables the ability to queue messages received from Dart.
This is useful when there are pending channel handler registrations. For example, Dart may be initialized concurrently, and prior to the registration of the channel handlers. This implies that Dart may start sending messages while plugins are being registered.
Implements io.flutter.plugin.common.BinaryMessenger.
Definition at line 351 of file FlutterView.java.
|
inline |
Definition at line 801 of file FlutterView.java.
|
inline |
Returns a BinaryMessenger
to send platform messages with.
Implements io.flutter.embedding.android.KeyboardManager.ViewDelegate.
Definition at line 834 of file FlutterView.java.
|
inline |
Return the most recent frame as a bitmap.
Definition at line 722 of file FlutterView.java.
|
inline |
Definition at line 264 of file FlutterView.java.
|
inlinepackage |
Definition at line 425 of file FlutterView.java.
|
inline |
Definition at line 285 of file FlutterView.java.
|
inline |
Definition at line 293 of file FlutterView.java.
|
inline |
Definition at line 297 of file FlutterView.java.
|
inline |
Definition at line 289 of file FlutterView.java.
|
inline |
Gets a system pointer icon object for the given type
.
If typeis not recognized, returns the default pointer icon.
This is typically implemented by calling android.view.PointerIcon#getSystemIcon
with the context associated with this view.
Implements io.flutter.plugin.mouse.MouseCursorPlugin.MouseCursorViewDelegate.
Definition at line 825 of file FlutterView.java.
|
inline |
Returns true if the Flutter experience associated with this FlutterView
has rendered its first frame, or false otherwise.
Definition at line 333 of file FlutterView.java.
|
inline |
Creates a TaskQueue that executes the tasks serially on a background thread.
TaskQueueOptions
can be used to configure the task queue to execute tasks concurrently. Doing so can be more performant, though users need to ensure that the task handlers are thread-safe.
Implements io.flutter.plugin.common.BinaryMessenger.
Definition at line 852 of file FlutterView.java.
|
inline |
Definition at line 591 of file FlutterView.java.
|
inlineprotected |
Definition at line 765 of file FlutterView.java.
|
inlineprotected |
Definition at line 419 of file FlutterView.java.
|
inline |
Definition at line 450 of file FlutterView.java.
|
inlineprotected |
Definition at line 785 of file FlutterView.java.
|
inline |
Definition at line 754 of file FlutterView.java.
|
inline |
Invoked by Android when a generic motion event occurs, e.g., joystick movement, mouse hover, track pad touches, scroll wheel movements, etc.
Flutter handles all of its own gesture detection and processing, therefore this method forwards all MotionEvent
data from Android to Flutter.
Definition at line 506 of file FlutterView.java.
|
inline |
Definition at line 485 of file FlutterView.java.
|
inline |
Definition at line 324 of file FlutterView.java.
|
inline |
Definition at line 309 of file FlutterView.java.
|
inline |
Definition at line 313 of file FlutterView.java.
|
inline |
Definition at line 463 of file FlutterView.java.
|
inline |
Definition at line 305 of file FlutterView.java.
|
inline |
Definition at line 320 of file FlutterView.java.
|
inline |
Send a KeyEvent
that is not handled by the keyboard responders to the text input system.
keyEvent | the KeyEvent that should be processed by the text input system. It must not be null. |
Implements io.flutter.embedding.android.KeyboardManager.ViewDelegate.
Definition at line 839 of file FlutterView.java.
|
inline |
Definition at line 474 of file FlutterView.java.
|
inline |
Definition at line 372 of file FlutterView.java.
|
inline |
Definition at line 368 of file FlutterView.java.
|
inline |
Send a KeyEvent
that is not handled by Flutter back to the platform.
Implements io.flutter.embedding.android.KeyboardManager.ViewDelegate.
Definition at line 844 of file FlutterView.java.
|
inline |
Registers a SurfaceTexture managed by the Flutter engine.
Implements io.flutter.view.TextureRegistry.
Definition at line 913 of file FlutterView.java.
|
inline |
Remove an existing first frame listener.
Definition at line 346 of file FlutterView.java.
|
inlinepackage |
Definition at line 702 of file FlutterView.java.
|
inline |
Definition at line 710 of file FlutterView.java.
|
inline |
Definition at line 858 of file FlutterView.java.
|
inline |
Definition at line 864 of file FlutterView.java.
|
inline |
Definition at line 364 of file FlutterView.java.
|
inline |
Definition at line 880 of file FlutterView.java.
|
inline |
Definition at line 874 of file FlutterView.java.
|
inline |
Definition at line 378 of file FlutterView.java.
|
inline |
Definition at line 384 of file FlutterView.java.