demo homesreen looks ugly if the display used is not Full-HD resolution. Current behavior is that the homescreen is stretched to the physical screen.
For non-Full HD sfreen, the homesreen aspect ratio should be preserved. I have a patch for this which works very well.
Environment
None
Activity
Takashi Matsuzawa
August 3, 2017 at 1:27 AM
Current code may be just for AGL 3.0/4.0 and may be completely replaced for AGL 4.0, but I think we need minimum fix to avoid showing ugly.
Proposed change in the review (16465) is to add following modes for layer setting, which can be set through environment variable. scale-to-fill is the current behavior. aspect-fit is the proposed new default.
scale-to-fill aspect-fit aspect-fill top bottom left right top-left top-right bottom-left bottom-right
top, bottom, ... could be redundant, but I followed what iPhone UIView defines. For these non-scale modes to be useful, size of the original layer size (currently full-HD) may better to be configurable, but it may be future enhancement.
demo homesreen looks ugly if the display used is not Full-HD resolution.
Current behavior is that the homescreen is stretched to the physical screen.
For non-Full HD sfreen, the homesreen aspect ratio should be preserved.
I have a patch for this which works very well.