summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2015-09-14 10:49:25 -0400
committerAlan Viverette <alanv@google.com>2015-09-14 10:49:25 -0400
commit92539d5c75922b430b7f69a14144b6a61045f1f4 (patch)
treee35f06732e1cc156e8d073f9c6a97b0c9c503676 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parenta5bf0dea33be6470e2431abde7cc9d8874a9e898 (diff)
Avoid OOBE when AbsListView layout is out of sync with adapter
Views are not synchronized with adapter state until a layout pass occurs, which may cause an OOBE if a list item is removed and an accessibility node is obtained before the next layout pass. This CL caches the item's enabled state on the bound view's layout params, which allows us to avoid relying on the adapter to populate accessibility nodes. It also aborts actions if the target position is no longer valid. Updates the documentation on AdapterView to reflect that the result of getPositionForView() may not be synchronized with the adapter. Bug: 23943664 Change-Id: Ic79eaa2e26bec9cd8d90fdab434271bc4f3d8a68
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions