diff options
| author | Bill Lin <lbill@google.com> | 2021-12-03 11:46:15 +0800 |
|---|---|---|
| committer | Bill Lin <lbill@google.com> | 2021-12-14 17:28:47 +0800 |
| commit | 87d6ddef8155c9567985bc6fe19d9cc395306892 (patch) | |
| tree | b63ae44e6f8b3d4abbe51301602708c22b9ccf90 /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | ed18bb120e2217a385aa0c7cf813999ded9b9111 (diff) | |
Provides OneHandedController for wm shell features
Provides OneHandedController singleton instance through dagger.
Then Bubble can register OneHandedTransitionCallback to monitor
- onStartFinished(Rect bounds)
- onStopFinished(Rect bounds)
and use the bounds.top to offset dismiss view in one handed mode
Test: Manual, enable and check onStateChanged() callbacks
Test: atest WMShellUnitTests
Bug: 208926540
Change-Id: I2c3f70ce6344a4445049ee6d8be2d4965ea9d11d
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
