#include <embedder.h>
Public Attributes | |
| size_t | struct_size |
| The size of this struct. Must be sizeof(FlutterEngineDisplay). | |
| FlutterEngineDisplayId | display_id |
| bool | single_display |
| double | refresh_rate |
| size_t | width |
| The width of the display, in physical pixels. | |
| size_t | height |
| The height of the display, in physical pixels. | |
| double | device_pixel_ratio |
Definition at line 2289 of file embedder.h.
| double FlutterEngineDisplay::device_pixel_ratio |
The pixel ratio of the display, which is used to convert physical pixels to logical pixels.
Definition at line 2313 of file embedder.h.
Referenced by notify_display_update().
| FlutterEngineDisplayId FlutterEngineDisplay::display_id |
Definition at line 2293 of file embedder.h.
Referenced by notify_display_update(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), and flutter::testing::TEST_F().
| size_t FlutterEngineDisplay::height |
The height of the display, in physical pixels.
Definition at line 2309 of file embedder.h.
Referenced by notify_display_update().
| double FlutterEngineDisplay::refresh_rate |
This represents the refresh period in frames per second. This value may be zero if the device is not running or unavailable or unknown.
Definition at line 2303 of file embedder.h.
Referenced by notify_display_update(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), and flutter::testing::TEST_F().
| bool FlutterEngineDisplay::single_display |
This is set to true if the embedder only has one display. In cases where this is set to true, the value of display_id is ignored. In cases where this is not set to true, it is expected that a valid display_id be provided.
Definition at line 2299 of file embedder.h.
Referenced by notify_display_update(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), and flutter::testing::TEST_F().
| size_t FlutterEngineDisplay::struct_size |
The size of this struct. Must be sizeof(FlutterEngineDisplay).
Definition at line 2291 of file embedder.h.
Referenced by notify_display_update(), TEST(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), and flutter::testing::TEST_F().
| size_t FlutterEngineDisplay::width |
The width of the display, in physical pixels.
Definition at line 2306 of file embedder.h.
Referenced by notify_display_update().