summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Disabling widget debugcm-14.1-NOMODSunny Goyal2017-03-261-1/+1
| | | | Change-Id: I876a904358ce455c97a7a25a34c66af5e9316469
* [DO NOT MERGE] Address some spacing issues in all apps related to new ↵Adam Cohen2017-03-264-4/+4
| | | | | | | | support library issue 27581978 Change-Id: If7a1ea19aa586bb3de6bde960b16e59f86061227
* Adding small padding between icons in AllApps.Winson2017-03-261-0/+2
| | | | | Bug: 23948851 Change-Id: If7daf84be0c5b314c5afd896d2601028ee243c80
* Compressing Launcher resources.Winson2017-03-26199-0/+0
| | | | | | Bug: 23812987 Change-Id: I66452a321c3c48661387282ba782ba948e0aae6b
* Bring back the custom wallpaper picker [2/5]d34d2017-03-263-4/+5
| | | | | Change-Id: Iffd0911c0e37a3c27d598f22288b68a682b40154 TICKET: OSS-62
* Trebuchet: Never show page indicator in app drawerScott Mertz2017-03-261-0/+2
| | | | | | | | | | | When rotation is enabled and we rotate the app launcher, we attempt to update the indicator alpha state before the view is attached. This results in the alpha state not applying to the indicator. Instead, always set the view to INVISIBLE when the app drawer is showing and the workspace is attached. FEIJ-998 Change-Id: Ia2691a12c2cc79ea76a7e91d7d13e94b97df09b5
* Move icons to fit within Dynamic grid upon resize.cretin452017-03-262-8/+49
| | | | | | | | | Missed part of this patch during forward port: https://github.com/CyanogenMod/android_packages_apps_Trebuchet/commit/e25ab7bd9525d7a2c67eb8a6d8e88d54940dba58 Issue-id: CYNGNOS-2908 Change-Id: I49fb4e4a1b86d41be263d4f9b84020450f54d3f9
* Trebuchet: Fix possible OOBMichael W2017-03-261-5/+8
| | | | | | | | | In some cases mText is empty and Substring will then throw an OOB Add logic to fix this (Reference: BugReports 13-20160506-12, Line #157) Change-Id: I2b32b0a56a93977d34b780afb9b3047e9fa566b0
* Trebuchet: Rebind QSB in finishBindingItemscretin452017-03-261-0/+1
| | | | | | | | | Sometimes the GMS QSB doesn't bind properly. Especially after going through OOBE without network. Issue-id: CYNGNOS-2833 Change-Id: Ib64fee898b6f55d14f35fe7efc5c36b090422d36
* Check for null provider info when removing widgetSkrilax_CZ2017-03-261-0/+5
| | | | | | | | | | When doing clean installation and restoring backup, any stubs for the widget on the homescreen for apps are not present (downloading them doesn't help) appear to have null provider info. Add a check for that in removeAppWidget to prevent crashing. Change-Id: I207b6a9ba534f572e1937a7b2a0cdc4eb90aff37
* Put apps with uncomputable section names in special bucketArtem Shvadskiy2017-03-261-14/+20
| | | | | Change-Id: I8ec0a2a9a46c3f45f2c52ac6a4d4d812881c52b7 issue-id: CYNGNOS-2683
* Trebuchet: Index folder contents screen and cells on first loadcretin452017-03-263-31/+72
| | | | | | Issue-id: CYNGNOS-2755 Change-Id: I260d1b098e7759a0134bc40f892b8783452c9528
* Trebuchet: Add runtime storage perm check for wallpaper pickercretin452017-03-263-1/+45
| | | | | | Issue-id: FEIJ-441 Change-Id: Iac9a2c249de595568f68313335d337410928d19e
* Prevent widget previews from showing empty images.Artem Shvadskiy2017-03-263-80/+166
| | | | | | | | | | | | | | | | | | | | When scrolling through the widget drawer, we submit multiple AsyncTasks to load and display preview images. On certain devices, attempting to load these images from AppWidgetManagerCompat (when we are generating previews for the first time) on a multi-threaded executor can cause us to receive empty images. To avoid this, we allow preview loading from the cache on a multi-threaded executor, but defer preview generation to a single-threaded executor. Additionally, the read and write db methods were not using the same ComponentName output (flattenToString vs flattenToSimpleString), which was resulting in consistent cache misses that forced unnecessary preview regeneration. This has been unified so we properly load from the cache. Change-Id: I3a90cf88fed531713e5d2df876f4ede822f7d569 issue-id: FEIJ-346
* Use bitmap filtering for shrinking app iconsArtem Shvadskiy2017-03-261-5/+10
| | | | | Change-Id: I54d1bff08c947f54ec0d35ec08b557ddd8e31e23 issue-id: CRACKLING-1051
* Prevent crash when exiting grid size fragmentArtem Shvadskiy2017-03-261-2/+4
| | | | | Change-Id: Iea39713b71a8c54bf4bf79f0b1b0c865a7950fa4 issue-id: FEIJ-197
* Revert "Merge tag 'android-6.0.1_r22' of ↵Michael Bestas2017-03-266-7/+7
| | | | | | | | | https://android.googlesource.com/platform/packages/apps/Launcher3 into HEAD" This reverts commit 1129f556e5097e777bd2071890cc622db6a14f5e, reversing changes made to e48ef94fd67a228c3ab402bdbb2b77c8a5440012. Change-Id: Ie2c86d2cf4856b99ac65030c8af3571b926fde53
* Trebuchet: Don't create shadow on 0 width/height iconcretin452017-03-261-0/+4
| | | | | | Issue-id: CYNGNOS-2646 Change-Id: Iccadeaf28ec5e36b1c5a2f7ce714aa31d4439167
* Trebuchet: Always cancel any pending dim animationscretin452017-03-261-4/+4
| | | | | | Issue-id: CYNGNOS-2470 Change-Id: Id66a6acfa65af63a0c44b73b56769c566b09961c
* avoid NPEMarcos Marado2017-03-261-16/+22
| | | | Change-Id: I8a2d74c8c305112fcbb76d56b126d15a6015de8b
* Trebuchet: Don't crash when AppWidgetService is unavailablecretin452017-03-262-2/+8
| | | | | | Issue-id: CYNGNOS-2437 Change-Id: Ie83f26482539a821f498e07bec6d955c849b02c7
* Ignore tap below scrubber in the app container padding areaKamaljeet Maini2017-03-261-1/+17
| | | | | | | | | | When user taps on the padding area of all apps container below the scrubber, the tap should be ignored. Before this patch, the tap was sent back to parent view, which led to scrolling of the background wallpaper. Now the tap is ignored. Change-Id: Ic8840c9eafaf254d2bfbffe556f3dc7ab20fdccc Issue-Id: CyanogenOS/CYNGNOS-1933
* Trebuchet: Fix NPE while binding unavailable itemscretin452017-03-261-1/+3
| | | | | | Issue-id: CYNGNOS-2282 Change-Id: I6895c3c043a2b8a9506f3dc2f8a357942d8f35c4
* Trebuchet: Fix some issues with the DB upgrade pathcretin452017-03-261-4/+24
| | | | | | Issue-id: CYNGNOS-2249 Change-Id: If124a9ac51c665c869cf5a745390374658b87156
* Show apps as unavailable when on unmounted storaged34d2017-03-264-8/+195
| | | | | | | | | | | This patch allows shortcuts to apps that are currently unavailable due to being on unmounted external storage to remain on the workspace and in folders. The icons will be disabled and grayed out until the external storage is mounted. Issue-id: CYNGNOS-1344 Change-Id: I971483806b27e3a75ef0d5bb89d8dfb86f97511e
* Trebuchet: Guard against NPE while querying for widget updatescretin452017-03-261-2/+5
| | | | | | Issue-id: CYNGNOS-1867 Change-Id: I43db0096da5f35bd2810f8793d8281607afea1ff
* Trebuchet: Highlight section being touched even when not scrolling scrubbercretin452017-03-264-2/+68
| | | | | | Issue-id: CYNGNOS-1882 Change-Id: Ief8b6593528c1a04a95ffaeea44c379659427fd8
* Trebuchet: Handle random crash during theme change / user switchcretin452017-03-261-2/+7
| | | | | | | | | | | Sometimes the IconCacheDB fails to open in writable mode during a theme change or user switch. Don't bother updating the icon cache when this happens. It will update later just fine. Issue-id: CYNGNOS-2083 Change-Id: I022ef436ff07880c188642456afad847ad9f41d3
* Trebuchet: Scale icons in portrait if using condensed gridcretin452017-03-261-2/+5
| | | | | | Issue-id: CYNGNOS-1993 Change-Id: I4b74402ebf61a7faed28a74683d87592121bb090
* Trebuchet: re-enable rotation by default on tabletsAndreas Blaesius2017-03-262-1/+4
| | | | | | | allow rotation pref got moved to overlay panel on commit 72f2ccb08f297836d18b61d5d80de9fcd7a69042 but it wasn't moved on sw600dp overlay. Change-Id: Idbdef7804d50d4144d0a1fb5e6ea7dd6c7f5f257
* Trebuchet: Don't do reveal animation from apps/widgets to overviewcretin452017-03-261-1/+6
| | | | | | Issued-id: OPO-423 Change-Id: I218605be2215d5f6f8a2b2b8b786e0fdddb00643
* Trebuchet: Don't animate folder if locked state changedcretin452017-03-261-2/+6
| | | | | | Issue-id: CYNGNOS-2046 Change-Id: If6488d018b83b8e20874dbe0d32479f19ceac4cc
* Trebuchet: Fix measuring error when reloading app drawercretin452017-03-262-3/+11
| | | | | | Issue-id: CYNGNOS-1883 Change-Id: I77705be7020120bc58a45f507b288838a5eba2bb
* Trebuchet: Handle the NPE when user has no Google Apps installedLuK13372017-03-261-2/+3
| | | | Change-Id: Ie04d940d56497fd5e09fd4b1c44682527b20bdc5
* Trebuchet: Lock orientation while in grid size fragmentcretin452017-03-261-2/+4
| | | | | | Issue-id: CYNGNOS-2013 Change-Id: I14a8dfd98acd615c7ffd4b311027f5c46072cea8
* Trebuchet: Open settings panel when clicking settingscretin452017-03-261-10/+16
| | | | | | Issue-id: CYNGNOS-2002 Change-Id: I4fc2ffd17febc8f1e5fa804e6a26feaa51a29c4b
* Trebuchet: Move allow rotation to home settings sectioncretin452017-03-262-13/+62
| | | | | | Issue-id: CYNGNOS-1929 Change-Id: Ib1e615ccbce7991a31e15a967c942994fc3c01c2
* Trebuchet: Change icon labels setting to switchcretin452017-03-261-11/+17
| | | | | | Issue-id: CYNGNOS-1900 Change-Id: Ife68fe84867be631c59cc1de7c44205817e07130
* Trebuchet: Revise protected app folders UIcretin452017-03-266-608/+96
| | | | | | Issue-id: CYNGNOS-1881 Change-Id: I5cbc5d9fe9358fdf2708376bfe5d7bf2108a0897
* Don't crash if a theme change intent arrives while we're not running.Danny Baumann2017-03-261-1/+5
| | | | Change-Id: I35aede5599d307674ef7a593adc5ffcf529ed99a
* Refactor fastscroll to disable zoom cleanlyArtem Shvadskiy2017-03-261-2/+2
| | | | | Change-Id: I3912986aae78bd5a3244410e4486a52a50834867 issue-id: OPO-424
* Trebuchet: Don't zoom icons on fast scrollcretin452017-03-261-0/+116
| | | | | | Issue-id: OPO-424 Change-Id: I2da15761896e5cdaa2cd622086206dbbb9c88bee
* Trebuchet: Don't animate folder closed when pressing menu keycretin452017-03-262-4/+16
| | | | | | | | * Also don't animate with Y translation if animation boolean is false. Issue-id: OPO-434 Change-Id: I4d2e68d967eca87c3e3d27e4ea22d4126ef3c998
* Trebuchet: Fix background flicker when opening all appscretin452017-03-261-0/+15
| | | | | | Issue-id: OPO-422 Change-Id: I96136f61fe3b2263f77d162952cf189927334b8b
* Trebuchet: Fix adapter derp on grid size itemcretin452017-03-261-3/+3
| | | | | | Issue-id: OPO-421 Change-Id: Ia3bd18b38918e35fe8721399c9a32620c2b184b7
* Trebuchet: Close folder layout when adding shortcutcretin452017-03-261-1/+15
| | | | | | Issue-id: CYNGNOS-1801 Change-Id: I6ee9324f650b5896c5097983b32c0e0963c28b42
* Trebuchet: Fix hidden folder name colorMichael Bestas2017-03-262-2/+2
| | | | | | * Use the same colors as the normal folder view Change-Id: I4b8144710dfb0646617440eea8e7a015f5535da3
* Trebuchet: Fix hidden folder remove icon colorMichael Bestas2017-03-261-1/+1
| | | | Change-Id: I56f50f619547447929d4af06f05d980043c48e13
* Themes: Expose hard coded colors from layoutsBryan Owens2017-03-2612-32/+55
| | | | | Change-Id: I4913f57fb44f234fd140b9c2e0fe59cba49fe702 Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
* Trebuchet: Don't animate open folder if already opencretin452017-03-261-0/+1
| | | | | | Issue-id: CYNGNOS-1603 Change-Id: I3d723ca28ea35b06fa45f5c03b8161291e3ec558