summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2018-11-07 15:11:56 -0800
committerFelipe Leme <felipeal@google.com>2018-11-12 22:29:26 -0800
commit88eae3bc69435ba251843b824bbabd5f46f87196 (patch)
tree78950d088eaf29721970fa345af102d428ac0ad6 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent9c045fe697ba49ee39e44dd6f5dd7409464ea70e (diff)
Added moar ContentCapture APIs (and their initial implementation).
There are 4 new APIs on View: - boolean setImportantForContentCapture() - boolean getImportantForContentCapture() - boolean isImportantForContentCapture() - boolean onProvideContentCaptureStructure() And 4 on IntelligenceManager: - void notifyViewAppeared() - void notifyViewDisappeared() - void notifyViewTextChanged() - ViewStructure newVirtualViewStructure() These methods are similar to the equivalent methods that are used for Autofill and/or Assist, except for the following differences: - The view hierarchy nodes are reported as they are rendered, rather than at once in a tree, recursively. Hence, the ViewStructure implementation does not implement the methods that add children to it, and views that provide virtual hierarchies must manually call IntelligenceManager to create the ViewStructure to their children and notify when their children are added and removed. - It does not support methods added for Autofill to handle HTML pages (such as setHtmlInfo() and setWewbDomain()), as they're not important in the Content Capture context. - Similarly, it also does not support setDataIsSensitive(), because the Intelligence service does not have the same restrictions as the Autofill service. The CL also provides the initial implementation of these APIs, although still full of TODOs (for example, we're not holding the events to send as a batch yet). Test: m -j update-api doc-comment-check-docs Bug: 117944706 Change-Id: I43f06ce82bfe3b14d8d13fb3b2ebee223db83284
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions