Rate This Document
Findability
Accuracy
Completeness
Readability

resolution

Variable Description

Snapshot resolution.

Restrictions

Width range: 360 to 1080

Hight range: 360 to 2304

Variable Data Definition

struct FrameSize {
    uint32_t width = 720;               // 720 (defaults to 720P)
    uint32_t height = 1280;             // 1280 (defaults to 720P)
    uint32_t widthAligned = 720;        // 720 (not aligned by default)
    uint32_t heightAligned = 1280;      // 1280 (not aligned by default)
} __attribute__((packed));

After you change the video output resolution (to a resolution different from the configuration at the last startup), the rendering resolution of the AOSP system and apps is changed. In this case, a compatibility issue or rendering problem may occur in some apps. Generally, this problem can be solved by restarting the app. It is recommended that you return to the home screen and clear background apps before changing the resolution.