diff options
author | Joanne Chung <joannechung@google.com> | 2021-04-14 23:24:42 +0800 |
---|---|---|
committer | Joanne Chung <joannechung@google.com> | 2021-05-21 19:11:14 +0800 |
commit | 18b1d3bde4b2437cdeeacd3544274a8f8e80ed81 (patch) | |
tree | 0132607a112cc952279df77fa9131596ff67f325 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | cc0987b12a4b8e3731f39614324a5c28bd4ec52b (diff) |
Refine the ViewTranslationCallback usage.
Currently, TextView uses its default implementation even developers
uses setViewTranslationCallback() to set their customized
ViewTranslationCallback, we should only set default TextView
implementation if developers don't set it.
The onViewTranslationResponse() will call getViewTranslationCallback
instead of getting TextView default implementation directly. This can
make sure we can get the expected ViewTranslationCallback.
Bug: 183467275
Test: manual
Test: atest CtsTranslationTestCases
Change-Id: I41417140f8985aec6c80f1bca3cfba804727d5df
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions