summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorScott Anderson <saa@android.com>2013-11-01 13:27:39 -0700
committerScott Anderson <saa@android.com>2013-11-04 10:33:11 -0800
commit8786ed9b2bfa912a84e298d907bb4d89482d78f9 (patch)
tree354caf6f8610aef1f7819025147d10f400465407 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent59477290cceb5823b47dead8bf6cbd521ebbca4c (diff)
Support dynamic rotation of HDMI displays
To support "giant" phones which are really just normal phones strapped to external HDMI displays, add the property persist.demo.hdmirotates. It defaults to false, but when it is set to true, the FLAG_ROTATES_WITH_CONTENT to set on the display. This allows the external display to show the same display as the built-in display as the "giant" phone display is rotated. Note that previously, FLAG_ROTATES_WITH_CONTENT was only set on the built-in display. The code that checked the flag also explicitly ignored it on any display that was not the built-in display. This added check was removed to allow the flag to be functional on other displays. Change-Id: I55b249140b1f61fb98cac586f7e4d48e2f5b3e30 Signed-off-by: Scott Anderson <saa@android.com>
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions