Jump to content

Suggestion for Screen Resolution information


longli

Recommended Posts

Hi developer,

In my android tv device, Screen Resolution is displayed as 1920 x 1080.

In fact, our screen resolution is 4K, but the OSD is displayed by 1080P, playing video can reach 4K resolution.

You may get the resolution by DisplayMetrics, but this method has some limitations. You can refer to Google's solution(get the real resolution by read sys.display-size/vendor.display-size):

image.png.d6cdc130552c51a1b91a816e71ed71e0.png

Link is :https://github.com/google/ExoPlayer/blob/release-v2/library/core/src/main/java/com/google/android/exoplayer2/util/Util.java#L1836

 

For reference only, thank you!

Link to comment
Share on other sites

On 8/11/2020 at 1:52 PM, longli said:

Hi developer,

In my android tv device, Screen Resolution is displayed as 1920 x 1080.

In fact, our screen resolution is 4K, but the OSD is displayed by 1080P, playing video can reach 4K resolution.

You may get the resolution by DisplayMetrics, but this method has some limitations. You can refer to Google's solution(get the real resolution by read sys.display-size/vendor.display-size):

image.png.d6cdc130552c51a1b91a816e71ed71e0.png

Link is :https://github.com/google/ExoPlayer/blob/release-v2/library/core/src/main/java/com/google/android/exoplayer2/util/Util.java#L1836

 

For reference only, thank you!

Thank you, we'll implement those tricks in the next AIDA64 app update.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...