Flutter Engine
The Flutter Engine
|
#include <viewport_metrics.h>
Public Member Functions | |
ViewportMetrics () | |
ViewportMetrics (double p_device_pixel_ratio, double p_physical_width, double p_physical_height, double p_physical_touch_slop, size_t display_id) | |
ViewportMetrics (double p_device_pixel_ratio, double p_physical_width, double p_physical_height, double p_physical_padding_top, double p_physical_padding_right, double p_physical_padding_bottom, double p_physical_padding_left, double p_physical_view_inset_top, double p_physical_view_inset_right, double p_physical_view_inset_bottom, double p_physical_view_inset_left, double p_physical_system_gesture_inset_top, double p_physical_system_gesture_inset_right, double p_physical_system_gesture_inset_bottom, double p_physical_system_gesture_inset_left, double p_physical_touch_slop, const std::vector< double > &p_physical_display_features_bounds, const std::vector< int > &p_physical_display_features_type, const std::vector< int > &p_physical_display_features_state, size_t p_display_id) | |
Public Attributes | |
double | device_pixel_ratio = 1.0 |
double | physical_width = 0 |
double | physical_height = 0 |
double | physical_padding_top = 0 |
double | physical_padding_right = 0 |
double | physical_padding_bottom = 0 |
double | physical_padding_left = 0 |
double | physical_view_inset_top = 0 |
double | physical_view_inset_right = 0 |
double | physical_view_inset_bottom = 0 |
double | physical_view_inset_left = 0 |
double | physical_system_gesture_inset_top = 0 |
double | physical_system_gesture_inset_right = 0 |
double | physical_system_gesture_inset_bottom = 0 |
double | physical_system_gesture_inset_left = 0 |
double | physical_touch_slop = -1.0 |
std::vector< double > | physical_display_features_bounds |
std::vector< int > | physical_display_features_type |
std::vector< int > | physical_display_features_state |
size_t | display_id = 0 |
Definition at line 13 of file viewport_metrics.h.
|
default |
flutter::ViewportMetrics::ViewportMetrics | ( | double | p_device_pixel_ratio, |
double | p_physical_width, | ||
double | p_physical_height, | ||
double | p_physical_touch_slop, | ||
size_t | display_id | ||
) |
Definition at line 13 of file viewport_metrics.cc.
flutter::ViewportMetrics::ViewportMetrics | ( | double | p_device_pixel_ratio, |
double | p_physical_width, | ||
double | p_physical_height, | ||
double | p_physical_padding_top, | ||
double | p_physical_padding_right, | ||
double | p_physical_padding_bottom, | ||
double | p_physical_padding_left, | ||
double | p_physical_view_inset_top, | ||
double | p_physical_view_inset_right, | ||
double | p_physical_view_inset_bottom, | ||
double | p_physical_view_inset_left, | ||
double | p_physical_system_gesture_inset_top, | ||
double | p_physical_system_gesture_inset_right, | ||
double | p_physical_system_gesture_inset_bottom, | ||
double | p_physical_system_gesture_inset_left, | ||
double | p_physical_touch_slop, | ||
const std::vector< double > & | p_physical_display_features_bounds, | ||
const std::vector< int > & | p_physical_display_features_type, | ||
const std::vector< int > & | p_physical_display_features_state, | ||
size_t | p_display_id | ||
) |
Definition at line 24 of file viewport_metrics.cc.
double flutter::ViewportMetrics::device_pixel_ratio = 1.0 |
Definition at line 41 of file viewport_metrics.h.
size_t flutter::ViewportMetrics::display_id = 0 |
Definition at line 60 of file viewport_metrics.h.
std::vector<double> flutter::ViewportMetrics::physical_display_features_bounds |
Definition at line 57 of file viewport_metrics.h.
std::vector<int> flutter::ViewportMetrics::physical_display_features_state |
Definition at line 59 of file viewport_metrics.h.
std::vector<int> flutter::ViewportMetrics::physical_display_features_type |
Definition at line 58 of file viewport_metrics.h.
double flutter::ViewportMetrics::physical_height = 0 |
Definition at line 43 of file viewport_metrics.h.
double flutter::ViewportMetrics::physical_padding_bottom = 0 |
Definition at line 46 of file viewport_metrics.h.
double flutter::ViewportMetrics::physical_padding_left = 0 |
Definition at line 47 of file viewport_metrics.h.
double flutter::ViewportMetrics::physical_padding_right = 0 |
Definition at line 45 of file viewport_metrics.h.
double flutter::ViewportMetrics::physical_padding_top = 0 |
Definition at line 44 of file viewport_metrics.h.
double flutter::ViewportMetrics::physical_system_gesture_inset_bottom = 0 |
Definition at line 54 of file viewport_metrics.h.
double flutter::ViewportMetrics::physical_system_gesture_inset_left = 0 |
Definition at line 55 of file viewport_metrics.h.
double flutter::ViewportMetrics::physical_system_gesture_inset_right = 0 |
Definition at line 53 of file viewport_metrics.h.
double flutter::ViewportMetrics::physical_system_gesture_inset_top = 0 |
Definition at line 52 of file viewport_metrics.h.
double flutter::ViewportMetrics::physical_touch_slop = -1.0 |
Definition at line 56 of file viewport_metrics.h.
double flutter::ViewportMetrics::physical_view_inset_bottom = 0 |
Definition at line 50 of file viewport_metrics.h.
double flutter::ViewportMetrics::physical_view_inset_left = 0 |
Definition at line 51 of file viewport_metrics.h.
double flutter::ViewportMetrics::physical_view_inset_right = 0 |
Definition at line 49 of file viewport_metrics.h.
double flutter::ViewportMetrics::physical_view_inset_top = 0 |
Definition at line 48 of file viewport_metrics.h.
double flutter::ViewportMetrics::physical_width = 0 |
Definition at line 42 of file viewport_metrics.h.