summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/util
Commit message (Collapse)AuthorAgeFilesLines
* Adding a utility class to cache views at an activity levelSunny Goyal2019-05-221-0/+73
| | | | | Bug: 122345781 Change-Id: I9a939e0b19c06c1089c1ceb515f8b97fb5dbb49e
* Add developer options for grid change for StylesHyunyoung Song2019-05-161-0/+5
| | | | | | Bug: 118758696 Change-Id: I66cd36cda495d339e0c2550f0957e3fbcddca477
* Implement 3 shades of folder icon/container fill colorHyunyoung Song2019-05-141-2/+4
| | | | | | Bug: 130451254 Change-Id: I36d885a2b0247f1bb84cb98073459853ae723331
* Move theme res logic to Themes static class.Hyunyoung Song2019-05-011-0/+23
| | | | | | Bug: 131310726 Change-Id: Ib46c26c2b44165a4441e109eed6d3ae7e19bcf02
* Merge "Cleanup unnecessary override dump method" into ub-launcher3-qt-devTreeHugger Robot2019-04-251-1/+1
|\
| * Cleanup unnecessary override dump methodHyunyoung Song2019-04-251-1/+1
| | | | | | | | Change-Id: Ic2909a4d382362ddec9bcc2c738d13120e792fd8
* | Merge "Add important dump logging Bug: 130851537 Bug: 119992316" into ↵Hyunyoung Song2019-04-251-0/+4
|\| | | | | | | ub-launcher3-qt-dev
| * Add important dump loggingHyunyoung Song2019-04-251-0/+4
| | | | | | | | | | | | | | Bug: 130851537 Bug: 119992316 Change-Id: I3de7c1d910d1aecd80b47a85284565c79fe0e2cc
* | Filling in content values on the worker threadSunny Goyal2019-04-251-0/+25
|/ | | | | | | | | | Writing to disk hapens on the worker thread, so if we create content values on UI thread, some values can change before it is written to disk. This happens in case of shortcuts, where the badge is applied after the icon is queued, but before it is written Bug: 131303610 Change-Id: Ic35b17071d4ed3e5c5fee9f003a225e4ffdc74f3
* Adding support for showing predicted apps as a floating row in all-appsSunny Goyal2019-04-231-0/+7
| | | | | | | and overview Bug: 130053407 Change-Id: Idb93a0ba6cfea8406f75ab86d9e0acde2fc04b3a
* Listening only for "android" package for overlay changesSunny Goyal2019-04-221-0/+15
| | | | | Bug: 130917995 Change-Id: I37160a886a0afdc02dca8f7da6e8aa54c795882d
* Merge "Fix a bug in bitwise logic" into ub-launcher3-qt-devTreeHugger Robot2019-04-171-1/+1
|\
| * Fix a bug in bitwise logicvadimt2019-04-171-1/+1
| | | | | | | | | | | | | | For an example of the effect, see the bug. Bug: 130415177 Change-Id: I59ed0c0c1a486653b3df0c601dd9af2a07e719f3
* | ShortcutInfo renamed to WorkspaceItemInfoSunny Goyal2019-04-162-6/+6
|/ | | | | | Will get rid of ShortcutInfoCompat in a follow up cl Change-Id: I7d7d9c938635f59b216290ba28bea9d0e0721a7d
* "No recent items" font should use themed fontHyunyoung Song2019-04-111-0/+8
| | | | | | Bug: 126822309 Change-Id: I0311b0b002fa1dcda88b87da31019f4ecbb94f62
* Change task view / all apps/ widgets / folder radius to dialogCornerRadiusHyunyoung Song2019-04-091-2/+3
| | | | | Bug: 123985787 Change-Id: Iaa8088beb51d37dba90d57ad065f9eac0dd46270
* Change the corner radius of ArrowPopup containersHyunyoung Song2019-04-051-0/+13
| | | | | Bug: 123985787 Change-Id: Ibcdd25d2795743225579e8ebc48a4511472f87d8
* Removing unused instant apps methodsSunny Goyal2019-03-271-7/+0
| | | | Change-Id: I82bf86a8604cdb64853e7d0d6f4cbca275f5fa7a
* Move overlay monitoring logic out of config monitorHyunyoung Song2019-03-191-13/+0
| | | | | | Bug: 126417894 Change-Id: I5b474a2a41bbd951fa0a99673fa8bf4342adade5
* Changing min sdk to 25Sunny Goyal2019-01-293-26/+4
| | | | Change-Id: I0d28069967854357ca755bf25dec19d4979bdecf
* Add springs when snapping between pages on the workspace.Jon Miranda2019-01-241-0/+77
| | | | | | | | | - Behind feature flag QUICKSTEP_SPRINGS - Springs control settling the page and allow for overscroll for the first/last pages Bug: 111698021 Change-Id: Ib4a9ef59463cc46e31ac0766bf7705612f6c63c1
* Merge "Optimizing :enter - :exit pairs." into ub-launcher3-masterTreeHugger Robot2019-01-181-1/+3
|\
| * Optimizing :enter - :exit pairs.vadimt2019-01-101-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Doing so by not letting any events between XXX:enter and XXX:exit events. This eliminates unnecessary permutations. Example: 2 threads with 3 enter-exit pairs each would have produced 924 permutations before this, now only 20. Bug: 120628042 Change-Id: Ia243d273a1d90202011679cc7520ea4c9e43918b Tests: All tests that use race condition framework
* | Recycling taskViews instead of inflating & throwing them away everytimeSunny Goyal2019-01-101-0/+115
|/ | | | | Bug: 122345781 Change-Id: If86d22729a42b8d5200f24dbf37a568fb9b11a5b
* Merge "Adding support for putting arbitary attributes in ↵TreeHugger Robot2019-01-091-5/+8
|\ | | | | | | InvariantDeviceProfile" into ub-launcher3-master
| * Adding support for putting arbitary attributes in InvariantDeviceProfileSunny Goyal2019-01-071-5/+8
| | | | | | | | | | | | | | This would allow derivative projects to profile profile specific customization options Change-Id: Id4703dc54d649a8d8a930f72c836c4ec23ffc45d
* | Moving some system calls off the main threadSunny Goyal2019-01-081-0/+23
|/ | | | | Bug: 122345781 Change-Id: I7ab364ac62ea56b7355b86cae3d8d731cc9b2506
* Merge "Moving folder shape logic definition to xml Adding support for ↵TreeHugger Robot2019-01-071-0/+25
|\ | | | | | | storing custom parameters in shape definition" into ub-launcher3-master
| * Moving folder shape logic definition to xmlSunny Goyal2019-01-071-0/+25
| | | | | | | | | | | | Adding support for storing custom parameters in shape definition Change-Id: I06f04f1836b337f8cc0ab2ad8c893bb03ae9c794
* | Refresh icon cache when icon shape path has changedHyunyoung Song2019-01-041-1/+18
|/ | | | | | | | | | | Bug: 120505990 $ adb shell cmd overlay enable --user 0 com.android.theme.icon.roundedrect $ adb shell cmd overlay disable --user 0 com.android.theme.icon.roundedrect $ adb shell cmd overlay enable --user 0 com.android.theme.icon.teardrop $ adb shell cmd overlay disable --user 0 com.android.theme.icon.teardrop Change-Id: I06663b9727f7434aae737d39977f1e6cf09bffbf
* Merge "Do not hold synchronization locks if tracing is not enabled" into ↵TreeHugger Robot2019-01-041-26/+32
|\ | | | | | | ub-launcher3-master
| * Do not hold synchronization locks if tracing is not enabledSunny Goyal2018-12-271-26/+32
| | | | | | | | Change-Id: Ia17e2269d088da472dce2e248fc9f85877be5d77
* | Keeping task list stable across multiple task switchesSunny Goyal2019-01-032-0/+46
| | | | | | | | Change-Id: I3b334a8c8fb13ad54bc19e782cae016fe3c78ff6
* | Removing dummy activity added for preview developmentSunny Goyal2018-12-271-63/+0
|/ | | | | Bug: 121414492 Change-Id: I8ae4643f871af259dab04a5b37acfb49d59d6261
* Merge "Adding tests that would reliably reproduce shifted search." into ↵Vadim Tryshev2018-12-171-0/+21
|\ | | | | | | ub-launcher3-master
| * Adding tests that would reliably reproduce shifted search.vadimt2018-12-171-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This would guaranteed to repro b/118441555 before it was fixed. The test doesn't use the most powerful feature of race condition reproducer, which is enumerating all possible event sequences. Instead, it uses explicit repro sequences, which makes the test much faster. Bug: 120628042 Test: The added test Change-Id: I89a7a9964f160a8a20ba3d9dda2f248237713014
* | Fixing ConcurrentModificationExceptionvadimt2018-12-131-3/+3
|/ | | | | | Bug: 120664974 Test: Manual Change-Id: I67e88c6980fbabb9afb9f4946baf731852f19b19
* Bye bye workspace screens tableSunny Goyal2018-12-101-0/+11
| | | | | | | | | | | | | Removing a separate table for workspace screens. List of screens are automatically parsed using the items in the favorites DB. Order of the screen based on the screen id and rearranging screens is no longer supported. In case the screens need to be rearranged, all the items in the favorites db will need to be updated with new screen ids. This makes backing up the DB (in the same database) easier as only one table needs to be duplicates. Change-Id: I8ba947a898f637d780e2f49925e78604263126e8
* Merge "Add framework for reliably reproducing race conditions." into ↵TreeHugger Robot2018-12-071-0/+38
|\ | | | | | | ub-launcher3-master
| * Add framework for reliably reproducing race conditions.Vadim Tryshev2018-12-061-0/+38
| | | | | | | | | | | | Bug: 120628042 Test: RaceConditionReproducerTest Change-Id: Id658e2b0da6af186b76501ff16edbd135dda3c9b
* | Adding support for launcher preview generationSunny Goyal2018-12-041-0/+63
|/ | | | | | | | Creating a utility class which generates a launcher preview for a provided InvariantDeviceProfile Bug: 118758696 Change-Id: I0aebeb6eed37f72edd1cc305e58eece305aae3ff
* Moving some utility classes to icon libSunny Goyal2018-11-074-276/+0
| | | | Change-Id: I0cc19ea02fb0732e9e1778a18c0d2c229232d179
* Removing some Launcher3 dependencies from BaseIconCacheSunny Goyal2018-11-061-2/+2
| | | | Change-Id: Ic80ed4a5cd2fc414cd6c27096d798e7f0b8efc72
* Merge "Handling configuration changes at runtime instead of killing the ↵TreeHugger Robot2018-10-232-19/+34
|\ | | | | | | process" into ub-launcher3-master
| * Handling configuration changes at runtime instead of killing the processSunny Goyal2018-10-192-19/+34
| | | | | | | | Change-Id: I0c7f7e58ddb690f371c257b6142a4e918e9acb7f
* | Using support lib implementation for launcher preferenceSunny Goyal2018-10-191-142/+0
|/ | | | | Bug: 117519297 Change-Id: Icea5e022a337436e48db9376fd441f805dc34e54
* Using a common class for observing secure settingsSunny Goyal2018-10-172-100/+82
| | | | | Bug: 117519297 Change-Id: Ie9d948130aea50bf10c9fc625fdb16f4cfc4712e
* Merge "Adding some extra logging around draglayer alpha" into ↵TreeHugger Robot2018-10-161-0/+12
|\ | | | | | | ub-launcher3-master
| * Adding some extra logging around draglayer alphaSunny Goyal2018-10-151-0/+12
| | | | | | | | | | Bug: 116853349 Change-Id: I8b7ddbfdd74ea422380097e62bea86e160c1651f
* | Fixing wrong index passed when highlighting a preference during scrollSunny Goyal2018-10-121-1/+1
|/ | | | | Bug: 117656931 Change-Id: I518ac7a309774cb91b64433ccece2b9f272639db