diff options
| author | Aaron Liu <aaronjli@google.com> | 2022-03-04 22:48:18 +0000 |
|---|---|---|
| committer | Aaron Liu <aaronjli@google.com> | 2022-03-07 21:50:12 +0000 |
| commit | c1903b0b1e7581df01667a432a251626ce8f4254 (patch) | |
| tree | 750caea97334d14a522bf7246c14da498ea89651 /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | c6c97b7b84c983f0ba6ee5a4d3fd976b620abf8b (diff) | |
Home Controls: Add max columns for edit activity.
Moved the findMaxColumns function from ControlsUiControllerImpl to
ControlAdapter to be used as a shared functin. It is used across 3
files.
I removed orientation from configChanges in the manifest so that the
recyclerview can recalculate max columns again after rotation.
I moved the spanCount calculation one level higher so that we can set
the spancount for ZONE type view holders to be the max number of
columns. This makes it so that the view holder will take up the whole
row.
Fixes: 222729341
Test: manual test on device
Change-Id: Id0819e417c8d5995474abb0a8060ee9e694fe4a7
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
