summaryrefslogtreecommitdiff
path: root/src/com/android/launcher3/util/IntArray.java
AgeCommit message (Collapse)Author
2021-08-26Two panel home empty page removing logic changeAndras Kloczl
- Don't remove a single page if it's empty, only if both pages are empty. - Add back empty pages after they were removed while the phone was on single panel home. - On two panel home don't add new workspace items onto the second screen Test: manual Bug: 196376162 Change-Id: I4c54ffa3b359a236deb3ab67adb54111e77ec896
2021-05-24Add two panel home support for page binding logicAndras Kloczl
There's a logic which prioritizes the binding for the current page and defers the other pages' binding. If two panel home is enabled, we want to bind both pages together. LauncherPageRestoreHelper has been created to contain the logic for persisting restoring and calculating which pages to load immediately. Test: manual + run LauncherPageRestoreHelperTest robo test Bug: 174464691 Change-Id: I57ac3f7150303b95b272e922f44bda26f9d5ce2a
2019-07-17Moving some utilities methods to separate classSunny Goyal
Change-Id: I5094b22ddc77c45590cea1a5f5dead0dc7580abf
2019-01-03Keeping task list stable across multiple task switchesSunny Goyal
Change-Id: I3b334a8c8fb13ad54bc19e782cae016fe3c78ff6
2018-10-08Converting long item IDs to intSunny Goyal
> Items ids were already being typecasted to int when being bound on the UI > Using a consistent type allow better use of platform data-structures > Adding IntArray and IntSet as a replacement for various Collection classes Change-Id: Id3c650ed2420c2bfca3bd7671d2b705b56112371