#include <embedder.h>
Public Attributes | |
| size_t | struct_size |
| The size of this struct. Must be sizeof(FlutterWindowMetricsEvent). | |
| size_t | width |
| Physical width of the window. | |
| size_t | height |
| Physical height of the window. | |
| double | pixel_ratio |
| Scale factor for the physical screen. | |
| size_t | left |
| Horizontal physical location of the left side of the window on the screen. | |
| size_t | top |
| Vertical physical location of the top of the window on the screen. | |
| double | physical_view_inset_top |
| Top inset of window. | |
| double | physical_view_inset_right |
| Right inset of window. | |
| double | physical_view_inset_bottom |
| Bottom inset of window. | |
| double | physical_view_inset_left |
| Left inset of window. | |
| FlutterEngineDisplayId | display_id |
| The identifier of the display the view is rendering on. | |
| int64_t | view_id |
| The view that this event is describing. | |
| bool | has_constraints |
| size_t | min_width_constraint |
| size_t | min_height_constraint |
| size_t | max_width_constraint |
| size_t | max_height_constraint |
Definition at line 1052 of file embedder.h.
| FlutterEngineDisplayId FlutterWindowMetricsEvent::display_id |
The identifier of the display the view is rendering on.
Definition at line 1074 of file embedder.h.
Referenced by fl_engine_add_view(), TEST(), flutter::testing::TEST(), and flutter::testing::TEST_F().
| bool FlutterWindowMetricsEvent::has_constraints |
If true, the window has size constraints. If false, the constraint values are ignored.
Definition at line 1079 of file embedder.h.
Referenced by flutter::testing::TEST_F(), and flutter::testing::TEST_F().
| size_t FlutterWindowMetricsEvent::height |
Physical height of the window.
Definition at line 1058 of file embedder.h.
Referenced by fl_engine_add_view(), TEST(), TEST(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), and flutter::testing::TEST_F().
| size_t FlutterWindowMetricsEvent::left |
Horizontal physical location of the left side of the window on the screen.
Definition at line 1062 of file embedder.h.
Referenced by flutter::testing::TEST_F().
| size_t FlutterWindowMetricsEvent::max_height_constraint |
Maximum physical height of the window.
If |has_constraints| is true, this must be greater than or equal to |min_height_constraint| and |height|.
Definition at line 1099 of file embedder.h.
Referenced by flutter::testing::TEST_F().
| size_t FlutterWindowMetricsEvent::max_width_constraint |
Maximum physical width of the window.
If |has_constraints| is true, this must be greater than or equal to |min_width_constraint| and |width|.
Definition at line 1094 of file embedder.h.
Referenced by flutter::testing::TEST_F().
| size_t FlutterWindowMetricsEvent::min_height_constraint |
Minimum physical height of the window.
If |has_constraints| is true, this must be less than or equal to |max_height_constraint| and |height|.
Definition at line 1089 of file embedder.h.
Referenced by flutter::testing::TEST_F().
| size_t FlutterWindowMetricsEvent::min_width_constraint |
Minimum physical width of the window.
If |has_constraints| is true, this must be less than or equal to |max_width_constraint| and |width|.
Definition at line 1084 of file embedder.h.
Referenced by flutter::testing::TEST_F().
| double FlutterWindowMetricsEvent::physical_view_inset_bottom |
Bottom inset of window.
Definition at line 1070 of file embedder.h.
Referenced by flutter::testing::TEST_F().
| double FlutterWindowMetricsEvent::physical_view_inset_left |
Left inset of window.
Definition at line 1072 of file embedder.h.
Referenced by flutter::testing::TEST_F().
| double FlutterWindowMetricsEvent::physical_view_inset_right |
Right inset of window.
Definition at line 1068 of file embedder.h.
Referenced by flutter::testing::TEST_F().
| double FlutterWindowMetricsEvent::physical_view_inset_top |
Top inset of window.
Definition at line 1066 of file embedder.h.
Referenced by flutter::testing::TEST_F().
| double FlutterWindowMetricsEvent::pixel_ratio |
Scale factor for the physical screen.
Definition at line 1060 of file embedder.h.
Referenced by fl_engine_add_view(), TEST(), TEST(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), and flutter::testing::TEST_F().
| size_t FlutterWindowMetricsEvent::struct_size |
The size of this struct. Must be sizeof(FlutterWindowMetricsEvent).
Definition at line 1054 of file embedder.h.
Referenced by flutter::FlutterWindowsView::CreateWindowMetricsEvent(), flutter::testing::expectSoftwareRenderingOutputMatches(), fl_engine_add_view(), fl_engine_send_window_metrics_event(), GLFWframebufferSizeCallback(), GLFWwindowSizeCallback(), SendWindowMetrics(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_P(), flutter::testing::TEST_P(), flutter::testing::TEST_P(), flutter::testing::TEST_P(), flutter::testing::TEST_P(), and flutter::testing::TEST_P().
| size_t FlutterWindowMetricsEvent::top |
Vertical physical location of the top of the window on the screen.
Definition at line 1064 of file embedder.h.
Referenced by flutter::testing::TEST_F().
| int64_t FlutterWindowMetricsEvent::view_id |
The view that this event is describing.
Definition at line 1076 of file embedder.h.
Referenced by fl_engine_add_view(), TEST(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), and flutter::testing::TEST_F().
| size_t FlutterWindowMetricsEvent::width |
Physical width of the window.
Definition at line 1056 of file embedder.h.
Referenced by fl_engine_add_view(), TEST(), TEST(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), and flutter::testing::TEST_F().