Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
FlutterWindowMetricsEvent Struct Reference

#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
 

Detailed Description

Definition at line 1052 of file embedder.h.

Member Data Documentation

◆ display_id

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().

◆ has_constraints

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().

◆ height

◆ left

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().

◆ max_height_constraint

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().

◆ max_width_constraint

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().

◆ min_height_constraint

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().

◆ min_width_constraint

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().

◆ physical_view_inset_bottom

double FlutterWindowMetricsEvent::physical_view_inset_bottom

Bottom inset of window.

Definition at line 1070 of file embedder.h.

Referenced by flutter::testing::TEST_F().

◆ physical_view_inset_left

double FlutterWindowMetricsEvent::physical_view_inset_left

Left inset of window.

Definition at line 1072 of file embedder.h.

Referenced by flutter::testing::TEST_F().

◆ physical_view_inset_right

double FlutterWindowMetricsEvent::physical_view_inset_right

Right inset of window.

Definition at line 1068 of file embedder.h.

Referenced by flutter::testing::TEST_F().

◆ physical_view_inset_top

double FlutterWindowMetricsEvent::physical_view_inset_top

Top inset of window.

Definition at line 1066 of file embedder.h.

Referenced by flutter::testing::TEST_F().

◆ pixel_ratio

◆ struct_size

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().

◆ top

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().

◆ view_id

◆ width


The documentation for this struct was generated from the following file: