summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorBryce Lee <brycelee@google.com>2017-03-21 09:41:37 -0700
committerBryce Lee <brycelee@google.com>2017-03-28 20:23:45 +0000
commit27cec32496090efd153327f4fc5a5cecc6f59d9b (patch)
tree86990e118b6273c6c8eec7b1fd44c214db02a8ab /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentcf1f1d9128853f0fa0cef657e2bbb7bf6904c732 (diff)
Add configuration for maximum UI width.
This changelist adds config_maxUiWidth, a new system resource configuration which specifies the maximum width the user interface can operate in. If the physical or specified width is greater than this value, dimensions and density are scaled down accordingly. The native mode resolution can be still discovered through Display.Mode#getPhysicalWidth/getPhysicalHeight. Test: Defined override for development device and verified values. Test: bit FrameworksServicesTests:com.android.server.wm.DisplayContentTests#testMaxUiWidth Change-Id: I12e7ad52f2aa8014e143bc7e80b020c9b24ed9c8 Fixes: 25820708
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions