summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Launcher.java
Commit message (Collapse)AuthorAgeFilesLines
* Trebuchet: Don't crash when AppWidgetService is unavailablecretin452016-04-131-1/+2
| | | | | | Issue-id: CYNGNOS-2437 Change-Id: Ie83f26482539a821f498e07bec6d955c849b02c7
* Show apps as unavailable when on unmounted storaged34d2016-03-151-0/+45
| | | | | | | | | | | 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: Featured Apps uses themed composed icons and responds to theme ↵Tyson Miller2016-02-221-1/+1
| | | | | | | changes Issue-Id: CYNGNOS-1789 Change-Id: I1e94b7688c4069932a36319bc6c216839056280e
* Add remote folder hook for view setup.Artem Shvadskiy2016-02-151-0/+2
| | | | | Change-Id: Iffeb93e9344ce17f3aa2fbdc855f59c6f3a3b235 issue-id: CYNGNOS-2025
* Trebuchet: Don't animate folder if locked state changedcretin452016-02-151-2/+6
| | | | | | Issue-id: CYNGNOS-2046 Change-Id: If6488d018b83b8e20874dbe0d32479f19ceac4cc
* Trebuchet: Fix measuring error when reloading app drawercretin452016-02-151-1/+1
| | | | | | Issue-id: CYNGNOS-1883 Change-Id: I77705be7020120bc58a45f507b288838a5eba2bb
* Trebuchet: Handle the NPE when user has no Google Apps installedLuK13372016-02-121-2/+3
| | | | Change-Id: Ie04d940d56497fd5e09fd4b1c44682527b20bdc5
* Trebuchet: Lock orientation while in grid size fragmentcretin452016-02-111-2/+4
| | | | | | Issue-id: CYNGNOS-2013 Change-Id: I14a8dfd98acd615c7ffd4b311027f5c46072cea8
* Refactor Launcher settings.Artem Shvadskiy2016-02-111-0/+3
| | | | | Change-Id: If5dcaaa9f4dad1a3eb151627622357331e8ad4da issue-id: CYNGNOS-1987
* Trebuchet: Open settings panel when clicking settingscretin452016-02-111-21/+16
| | | | | | Issue-id: CYNGNOS-2002 Change-Id: I4fc2ffd17febc8f1e5fa804e6a26feaa51a29c4b
* Trebuchet: Revise protected app folders UIcretin452016-02-101-46/+44
| | | | | | Issue-id: CYNGNOS-1881 Change-Id: I5cbc5d9fe9358fdf2708376bfe5d7bf2108a0897
* Add network/unlock receivers and additional metric eventArtem Shvadskiy2016-02-081-0/+11
| | | | | Change-Id: Ifc6fa10fac09ab735e77b963d869b87007265fe4 issue-id: CYNGNOS-1788
* Trebuchet: Don't animate folder closed when pressing menu keycretin452016-02-031-2/+6
| | | | | | | | * Also don't animate with Y translation if animation boolean is false. Issue-id: OPO-434 Change-Id: I4d2e68d967eca87c3e3d27e4ea22d4126ef3c998
* Add additional setting to launcher options for remote apps in drawer.Artem Shvadskiy2016-01-291-3/+3
| | | | | | issue-id: CYNGNOS-1717 Change-Id: Idaf217a78011a08188f438294a27277183bd1ada
* Port Remote Folder from 12.1 to 13.Tyson Miller2016-01-281-14/+45
| | | | Change-Id: If8cf9d5f054e8948ead702883b79f28db26c4d8b
* Trebuchet: Don't animate open folder if already opencretin452016-01-181-0/+1
| | | | | | Issue-id: CYNGNOS-1603 Change-Id: I3d723ca28ea35b06fa45f5c03b8161291e3ec558
* Trebuchet: Remove app search controller if turned offcretin452016-01-131-7/+16
| | | | | | Issue-id: CYNGNOS-1590 Change-Id: I0e5e8eacfc696380947f1667fd5ebd927252e125
* Trebuchet: Don't crash on widget clickscretin452016-01-081-6/+10
| | | | | | Issue-id: NIGHTLIES-2266 Change-Id: I804614c4d4636f58374c8f5d3e6252fbcd40ae29
* Trebuchet: Ensure workspace is invisibile while in all apps viewcretin452016-01-071-0/+1
| | | | | | Issue-id: CYNGNOS-1544 Change-Id: Ia46172d8b5c113647e996d8bd1e9a05d1201754a
* Trebuchet: Make sure overview arrows point up when collapsedcretin452016-01-061-0/+8
| | | | Change-Id: If72134daeb7424b3474eb59bf4773c9a2c0d4819
* Trebuchet: Move allow rotation pref to overlay panelcretin452016-01-051-2/+2
| | | | Change-Id: I83feccbf5aac5de53ca578c4d62a25561d72b3ee
* Trebuchet Statistics:Martin Brabham2016-01-041-0/+40
| | | | | | | | | | | | | | | | | | | - Add plumbing for sending events. - Add aggregation service that runs on some interval - Hook send events into respective UX interactions Change-Id: I77ba0ab75daf845621d800e0adf3e658096926af Trebuchet: send metrics values as strings - Also refer to the declared intent Change-Id: I3c99cc071aa2f4241ea8d3e6d2e8683f1f748e7d Signed-off-by: Roman Birg <roman@cyngn.com> Stop unnecessary exception posting to logcat. Change-Id: I4f741246dc2ee77b24c3bb94075e12535fcd7ead
* Trebuchet: Auto collapse settings panelcretin452015-12-211-0/+5
| | | | | | Issue-id: CYNGNOS-1425 Change-Id: I26896332431eb42dc4727a4f2bb9c4c0a3cfbcc5
* Trebuchet: Fix some icon size and flush cache issuescretin452015-12-181-1/+1
| | | | Change-Id: I6aa4bc09fd888559d3a1795f4f0968f9b89534d9
* Add app drawer search bar toggle to settingsMartin Herndl2015-12-161-10/+17
| | | | | | | | | | | This adds the possibility to enable or disable the search bar on top of the app drawer. In the Launcher class it will be created with the View.GONE visibility to avoid taking up space if disabled. Per default it behaves like before and is enabled. PS3: Make sure the hasSearchBar boolean is set. Change-Id: I48711aea2b15bf535815d0e453ac33079af26eca
* Fix: Restore workspace gradients when returning from Widget dropRaj Yengisetty2015-12-121-0/+2
| | | | Change-Id: I08927ea359460f60cebe1b942273a24eea8f86d5
* Fix: Workspace background gradientRaj Yengisetty2015-12-121-0/+3
| | | | | | | | | | | | | Repro: - Open App Drawer - Launcher any app - Press back (User should be returned to the App Drawer) - Press back again (User should be returned to the Home Screen) - Note gradient near status bar (Home Screen gradient is missing!) - Press home - Note Home Screen gradient reappears Change-Id: Ib24d94c2deba06f872f42bfffff78317844dd731
* Trebuchet: Add scrubber to widget viewstaging/cm-13.0cretin452015-12-101-0/+13
| | | | Change-Id: I68711e95ed31a962b47e995e979e32de37570b44
* Reimplement CM Settings Overview Panel Part 5Yvonne Wong2015-12-101-4/+42
| | | | | | | | - Enable default screen button - Make UI changes to settings panel - Add a broadcast receiver for hide/unhide search bar setting Change-Id: I849dd412231795b894e7af7ee575e60feb618c70
* Reimplement CM Settings Overview Panel Part 4Yvonne Wong2015-12-081-49/+51
| | | | | | | - Enable protected apps and update workspace/app drawer/widgets view when protected apps change - Change reload launcher to happen after each setting toggle to reduce UI lag Change-Id: I0a4a4a077c3cb94eaccfb4e8c4213135cb99d57e
* Trebuchet: Add app drawer settingscretin452015-12-031-5/+17
| | | | Change-Id: I040420608de64bedc6e9832268796cdf801f5c21
* Reimplement CM Settings Overview Panel Part 3Yvonne Wong2015-12-031-14/+116
| | | | | | - Enable dynamic grid resizing Change-Id: I95a7f20da48e037a94ce5b6191c5597490d91d9d
* Re-Implementation of hidden foldersVineet Patil2015-11-301-1/+68
| | | | Change-Id: I2cdb881eb6a2608279d30a1cdfc1327a89ae7693
* Reimplement CM Settings Overview Panel in the new Launcher Part 2Yvonne Wong2015-11-301-5/+44
| | | | | | | - Enables hiding the search bar from the workspace - Adds a reload launcher flag to reload only during onResume or newIntent if needed Change-Id: I0feb279f9003b268b5a129cef40d3665787ee451
* Reimplement CM Settings Overview Panel in the new Launcher Part 1Yvonne Wong2015-11-301-7/+116
| | | | | | | | | - Adds vertical sliding panel and animations associated with opening and closing the panel - Adds the views for settings and animation for the drawer arrow - Enables hiding workspace icon labels, hiding drawer icon labels, scrolling wallpaper, and larger icons - Changes how ragged grid custom icon sizes gets defined Change-Id: I1a82215a09486b4770494e665e598efdbabd1d3e
* Reimplement the CM scrubber against the new Launchercretin452015-11-231-0/+7
| | | | | | PS4: Implement RTL support Change-Id: I4456d54b5924913d1b36e1cfa9a2269150f6fb3e
* Implementation of folder animation changes as per cm-13.0Vineet Patil2015-11-181-7/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Folder animations in parity with cm. Folder Layout Revision Updated the folder layout to reflect design revisions based on community feedback Change-Id: Ica1bb796dfccf779a954cf0903a1ae94a010ea1a Conflicts: res/drawable-hdpi/folder_bg.9.png res/drawable-hdpi/folder_fill_highlight.9.png res/drawable-mdpi/folder_bg.9.png res/drawable-mdpi/folder_fill_highlight.9.png res/drawable-xhdpi/folder_bg.9.png res/drawable-xhdpi/folder_fill_highlight.9.png res/drawable-xxhdpi/folder_bg.9.png res/drawable-xxhdpi/folder_fill_highlight.9.png res/layout-land/launcher.xml res/layout-port/launcher.xml res/layout-sw720dp/launcher.xml res/layout/user_folder.xml res/values/dimens.xml src/com/android/launcher3/Folder.java src/com/android/launcher3/FolderIcon.java src/com/android/launcher3/Launcher.java Folder animation changes as per cm-13.0 Change-Id: I019511a58bd9f6a60a3c9b68c826726881cec83f Implementing folder animations Change-Id: I83f17c996ecc894ce22fd195b9b33caf58e2e822
* Revert workaround for move to default screen on home intent.Ivan Lee2015-09-031-2/+2
| | | | | | BUG=23556755 Change-Id: Ia268a58389b90fd0503e474f02f33a312c051c0e
* Merge "Adding workaround for regression caused by ag/752175" into ↵Winson Chung2015-08-311-2/+2
|\ | | | | | | ub-launcher3-burnaby
| * Adding workaround for regression caused by ag/752175Winson2015-08-311-2/+2
| | | | | | | | Change-Id: I92617c88f17a5827454e147f93d822975587d5b4
* | Revert "Adding viewId for the QSB"Sunny Goyal2015-08-271-7/+2
| | | | | | | | | | | | | | | | Using QSB widget id from xml This reverts commit 995685913955f33b05fdc0b473df901f2b0652c0. Change-Id: I33c48cf074f2dc1cf509c2d9f1f19b40b91f6a22
* | Adding viewId for the QSBSunny Goyal2015-08-271-1/+7
| | | | | | | | Change-Id: I4ad6bc8c0d94e60a4d354dfc29f456ca561fc500
* | Pending bind callbacks should be cleared before starting the loader,Sunny Goyal2015-08-271-0/+6
| | | | | | | | | | | | | | | | | | similar to startBinding Bug: 23310446 Bug: 19422965 Bug: 23304651 Change-Id: I4821b4c0c7796c33ad9691b6735235a220fa635a
* | Fixing work folder addition logicSunny Goyal2015-08-201-17/+20
|/ | | | | | | | | | | > Showing animation when folder is added > Not showing animation while cling is visible > Checking is loader completed from UI thread > Running bind complete runnables when bind is completed Bug: 21772992 Bug: 23181585 Change-Id: I50742850da8294a877478ce02b107a026f68b563
* Merge "Deferring the move to the default screen until after we callback to ↵Winson Chung2015-08-191-17/+27
|\ | | | | | | the callbacks." into ub-launcher3-burnaby
| * Deferring the move to the default screen until after we callback to the ↵Winson2015-08-191-17/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | callbacks. - Since move to default screen starts the scroller immediately, any delays in handling onNewIntent and onHomeIntent in the callbacks will cause the scroller to skip frames the next time it updates. This change will defer updating the page to the default screen until after onNewIntent is called back (and all its posted runnables). Bug: 22929080 Change-Id: Ibab6106938721702d4da23faaca99039861e10dc
* | Version code cleanupSunny Goyal2015-08-171-39/+15
| | | | | | | | | | | | | | | | > Renaming Lmp to Lollipop > Lollipop_MR1 instead of directly using 22 > Using M APIs directly instead of reflection Change-Id: I10a307f46e3be15b3299f549a2fd7e0e215a6a1b
* | Disabling auto restore of widgets.Sunny Goyal2015-08-141-32/+42
|/ | | | | | | > Always show "Setup" button for a widget which has a config activity. Bug: 23155863 Change-Id: I60683889e76be830a76ac1245e079574aaf0ad10
* Merge "Adding market search." into ub-launcher3-burnabyWinson Chung2015-08-101-1/+14
|\
| * Adding market search.Winson Chung2015-08-061-1/+14
| | | | | | | | Change-Id: Id41615653cd4fa76213add4595418ad0cc6e7852