diff options
author | Mihai Popa <popam@google.com> | 2018-03-06 14:24:07 +0000 |
---|---|---|
committer | Mihai Popa <popam@google.com> | 2018-03-09 13:32:20 +0000 |
commit | 17ea30584a579a442809f1070e9a67f33b1afb65 (patch) | |
tree | 9e69853b1ea624ead1e6d94ba9f7551d8ee353dd /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 21e331ed2d2d192d66c1141cca7a21e13019ec27 (diff) |
[Magnifier-29] Expose size and zoom in the API
The CL exposes the size and the zoom of the magnifier in the public API.
These are required for implementing a number of UX requests in WebView
and Chrome - see the two bugs referenced.
Also, the CL fixes a bug in the #getContent() TestApi, which was
returning the bitmap before (instead of after) scaling.
Bug: 70608551
Bug: 72314536
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: Idc583b923010d7dca075b05b6f4dbafa74cfec1f
(cherry picked from commit e1b93ddcbd40334664d6360d60525981cf3a3981)
Merged-In: Idc583b923010d7dca075b05b6f4dbafa74cfec1f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions