LightBlog

jeudi 25 janvier 2018

Chrome OS is Finally Getting a Display Size Slider in Settings

Display density, which is measured in dots per inch (DPI), determines the size of interface elements on a given device's screen. Higher display densities increase the resolution (in pixels) relative to the device's size (in inches), resulting in a greater number of elements being squeezed into a smaller space. Lower screen densities make interface elements larger.

For a while, Android didn't have software-adjustable display density. That changed in Android Nougat, which introduced a display size adjustment tool that allowed users to change display size on the fly without having to resort to ADB. Unfortunately, Google's other operating system, Chrome OS, hasn't followed suit with a display slider of its own. However, a commit in the Chromium Gerrit shows that Google might be planning to implement one in the near future.

Chrome OS Display Size Slider

Here's the commit's description:

Implements a Display size slider in settings

This patch adds a slider to adjust the size or zoom of a display from
chrome display settings page. The slider is hidden behind a command line
switch which can be toggled from the chrome experiments page.

Adds a check on the API to ensure the values are not abused are always
within reasonable bounds. Added tests for the same.

This patch also updates the minimum allowed device scale factor for a
display from 1.0f to 0.5f.

If and when the commit is merged, Chrome OS users will be able to adjust the size of elements on the screen with a simple slider in the settings menu. It's sure to improve the Chrome OS user experience.



from xda-developers http://ift.tt/2FeNllG
via IFTTT

Aucun commentaire:

Enregistrer un commentaire