summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorEvan Rosky <erosky@google.com>2017-10-09 15:25:46 -0700
committerEvan Rosky <erosky@google.com>2017-11-14 13:56:54 -0800
commitf6b2c6ecd8b223bd5141832ad6fed99e4ffd0c27 (patch)
treead2998626ff417882a941ae10e156fdecc9dee2c /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent2dd2cbcb12a21adccd3c349590a01e7ed009f679 (diff)
Don't allow 0-sized views to be focused.
These zero-sized views tend to make keyboard navigation difficult for users since focus "disappears" sometimes. This takes a best-effort approach for focus requested prior to layout: If a View hasn't been laid-out and is asked to take focus, it will act as though this size constraint doesn't exist. Then, upon layout, it will defocus itself if it still has no size. Bug: 32072305 Test: Added CTS View_FocusHandlingTest#testSizeHandling Change-Id: I33977247272f4551f3f095680867fd8d1e30682b
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions