Flutter Engine
The Flutter Engine
|
A |Display| that listens to refresh rate changes. More...
#include <android_display.h>
Public Member Functions | |
AndroidDisplay (std::shared_ptr< PlatformViewAndroidJNI > jni_facade) | |
~AndroidDisplay ()=default | |
double | GetRefreshRate () const override |
virtual double | GetWidth () const override |
The width of the display in physical pixels. More... | |
virtual double | GetHeight () const override |
The height of the display in physical pixels. More... | |
virtual double | GetDevicePixelRatio () const override |
The device pixel ratio of the display. More... | |
Public Member Functions inherited from flutter::Display | |
Display (DisplayId display_id, double refresh_rate, double width, double height, double device_pixel_ratio) | |
Construct a new Display object in case where the display id of the display is known. More... | |
virtual | ~Display ()=default |
virtual double | GetRefreshRate () const |
DisplayId | GetDisplayId () const |
Returns the DisplayId of the display. More... | |
virtual double | GetWidth () const |
The width of the display in physical pixels. More... | |
virtual double | GetHeight () const |
The height of the display in physical pixels. More... | |
virtual double | GetDevicePixelRatio () const |
The device pixel ratio of the display. More... | |
DisplayData | GetDisplayData () |
A |Display| that listens to refresh rate changes.
Definition at line 17 of file android_display.h.
|
explicit |
Definition at line 9 of file android_display.cc.
|
default |
|
overridevirtual |
The device pixel ratio of the display.
Reimplemented from flutter::Display.
Definition at line 30 of file android_display.cc.
|
overridevirtual |
The height of the display in physical pixels.
Reimplemented from flutter::Display.
Definition at line 26 of file android_display.cc.
|
overridevirtual |
Reimplemented from flutter::Display.
Definition at line 18 of file android_display.cc.
|
overridevirtual |
The width of the display in physical pixels.
Reimplemented from flutter::Display.
Definition at line 22 of file android_display.cc.