summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorNikita Dubrovsky <dubrovsky@google.com>2020-09-29 14:01:07 -0700
committerNikita Dubrovsky <dubrovsky@google.com>2020-10-12 11:03:31 -0700
commit92422b34a2935210865098a7aca971654cb2dc2a (patch)
treecafed0e745de753042e4633080f9efe4c6f8933d /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent94ddd9d4cb1621f27347ca4ba892a77b89553440 (diff)
Add callbacks to notify View when an InputConnection is opened/closed
Added hidden callback methods on View to notify editors when the system has initialized an InputConnection successfully and when the InputConnection is closed. This allows editable views (e.g. EditText) to have access to the final EditorInfo and InputConnection that were created via onCreateInputConnection(). This enables the editor platform code to do things such as * know what type of content can be inserted into the view (ie, the MIME types in EditorInfo.contentMimeTypes) * call APIs on InputConnection, e.g. commitContent() to pass non-text content to the application Bug: 163400105 Test: Manual and unit test atest FrameworksCoreTests:ViewInputConnectionTest Change-Id: Iaafb0a03126c9292c24415f866dbdd72cadfa239
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions