replicant-frameworks_native/services/surfaceflinger/DisplayHardware
Jesse Hall bacc28ef1d surfaceflinger: Use landscape resolution for default dpi
When HWC doesn't provide DPI values for a display, we pick a default
DPI based on resolution. The intent was that 1080p and higher displays
would get XHIGH density, and lower resolutions would get TV density.
In KK (and possibly forever) we had a bug that we'd always use TV
density. That was fixed in L, but that fix exposed a pre-existing bug
that we always used the display's height in its native orientation,
rather than in landscape orientation. So an 800x1280 tablet like N7v1
started getting XHIGH density instead of the intended TV density.

Bug: 17461633
Change-Id: Ia57fa49e61f36bdda63ce283ef62c9953297222c
2014-09-28 22:26:28 +00:00
..
DisplaySurface.h Allow for resizing of Virtual Displays. 2014-07-30 14:36:25 -07:00
FloatRect.h fix SF buffer cropping 2013-07-10 15:08:29 -07:00
FramebufferSurface.cpp am d4dabf87: am cdbf28b3: Merge "native frameworks: 64-bit compile issues" 2014-03-13 23:12:09 +00:00
FramebufferSurface.h Allow for resizing of Virtual Displays. 2014-07-30 14:36:25 -07:00
HWComposer.cpp surfaceflinger: Use landscape resolution for default dpi 2014-09-28 22:26:28 +00:00
HWComposer.h Modified SurfaceFlinger to implment setActiveConfig and getActiveConfig. 2014-07-29 16:56:30 +00:00
PowerHAL.cpp SurfaceFlinger: send VSYNC power hints to IPowerManager 2014-06-18 18:51:24 -07:00
PowerHAL.h SurfaceFlinger: send VSYNC power hints to IPowerManager 2014-06-18 18:51:24 -07:00
VirtualDisplaySurface.cpp Build fix to use the correct source. 2014-07-30 15:39:17 -07:00
VirtualDisplaySurface.h Allow for resizing of Virtual Displays. 2014-07-30 14:36:25 -07:00