summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorTarandeep Singh <tarandeep@google.com>2018-01-12 14:58:59 -0800
committerTarandeep Singh <tarandeep@google.com>2018-01-18 21:35:39 +0000
commit75a92392218a12eaabd2187724f7175ef38d362b (patch)
tree651cc0e960752b09516ec86a634248f45a83f822 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent4c39196819106ffac6f9b0f8809ff71e8955181e (diff)
Optimize calls to IME's onStartInput
As of today onStartInput is called for every window which gains focus. We can significantly optimize this by restricting calls only to windows that have a text editor. However, if input was already started based on window flags, behavior is unchanged. This behavior is guarded by debug flag "debug.optimize_startinput" and is defaulted to true. Bug: 37617707 Test: atest CtsInputMethodTestCases Test: Verify following command reverts the behavior: adb root && adb shell setprop debug.optimize_startinput false && adb shell cmd input_method refresh_debug_options Change-Id: Ibf9dab3d9c138b5f04e053d41ee4fd248c78e4da
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions