diff options
author | Chris Wren <cwren@android.com> | 2014-04-17 10:01:54 -0400 |
---|---|---|
committer | Chris Wren <cwren@android.com> | 2014-05-09 15:48:53 -0400 |
commit | f953664dc17dca23bd724bd64f89189c16c83263 (patch) | |
tree | 4ed0cc919c669a57698daa00e439247781487623 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 91da58ded2e7c0dd3d045244cc78eb0d788736a7 (diff) |
notification ranking infrastructure
Added an ordered list of notifications (n.b. a complete ordering).
Added a mechanism for ranking to be updated asynchronously
Added onNotificationRankingUpdate to NotificationListeners
Added an opaque order update object and a convenience comparator that
uses it to sort notifications for listeners
Repurpose scorers to be ranking preprocessors. The preprocessors will
perform heavy-weight validation of the notification object and memoize
the results to improve efficiency of the ranking comparator.
Current internal comparator implements status quo ordering, except
that notes with a valid contact sort to the top of their priority
bucket.
Change-Id: I7244c65944a9657df41fb313b3cb5a52e149709d
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions