AnsweredAssumed Answered

Display Rotation in Android

Question asked by teddy 123 on Mar 1, 2016
Latest reply on Apr 12, 2016 by alejandrolozano

Hi All,

We have interfaced a custom LVDS board which comes with a portrait panel with our sabresd board. Currently we rotated the display buffer by 270 degree in the clock wise direction using SurfaceFlinger to suit our need. This is done using the following System Property, "ro.sf.hwrotation" .


But under some cases[ex. connecting USB Keyboard], display gets switched between landscape and portrait for a moment and returns back to expected position.  This doesnot happen when rotation is not performed. Is there any way to perform this rotation in driver itself?