diff options
author | Ashley Rose <ashleyrose@google.com> | 2019-03-05 17:12:00 -0500 |
---|---|---|
committer | Ashley Rose <ashleyrose@google.com> | 2019-03-05 17:16:14 -0500 |
commit | e8914812c92bb79e4b566b2828f7201fd31b4ed4 (patch) | |
tree | ed353205d4c4640e80890b1c19bd280cd923bec9 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 36c9bf1699eb4f9710df11e0b04df3739272c40e (diff) |
Resource ID support for view inspector
This allows for inspectors to do special handling on values known to be
resource IDs, such as converting them to a string format.
+ Add PropertyMapper#mapResourceId(String, int) and
PropertyReader#readResourceId(int, int)
+ Add RESOURCE_ID to @InspectableProperty.ValueType
+ Add code generation support in the annotation processor, and value
type inference for accessors annotated with a resource ID annotation
like @AnyRes.
Bug: 127348933
Test: atest --host view-inspector-annotation-processor-test
Change-Id: I132aea319dcddf51c553057c036ce5609e3c381a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions