summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Workspace.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix CustomContent/CMHome bugs with settings.Matt Garnes2014-06-201-18/+2
| | | | | | | | | | 1. If Search Panel / CMHome is enabled, it would become visible in overview mode after any setting is toggled. Fixed. 2. If all icons on the last home screen were removed and Search Panel / CMHome is enabled, CMHome would become the only workspace, breaking most things. Fixed. Change-Id: I5a31e8058f71922c2790c6ac43b09ed7bcbe768a
* Add a custom home screen to Trebuchet.Matt Garnes2014-06-171-4/+17
| | | | | | | | Scrolling to the left will now open a custom home screen that can be used to display information provided by the system or third parties via an API. Change-Id: I62991c0634b686ca875d04fa118695050731ba7e
* Trebuchet: don't crash when updating the "All apps" shortcutRoman Birg2014-06-161-0/+4
| | | | | Change-Id: I2afd3e1c8a73248c2b657585739813b1a894a7f6 Signed-off-by: Roman Birg <roman@cyngn.com>
* Move Scrolling Wallpaper to new Trebuchet SettingsRaj Yengisetty2014-06-131-0/+10
| | | | Change-Id: I57961ae9b6f0df334ddd2c4563ddfd7e2939f01e
* GEL Integration (2/2)Matt Garnes2014-06-121-3/+50
| | | | | | | | | | Launch search from extra panel to mimic Google Launcher. Changed Trebuchet to build against CM instead of the AOSP SDK. Added support to swipe left from the home screen to enter Google Now, if it is installed. A right swipe will return the user to the home screen. Change-Id: Ia1a77fedea7e67bcd54a6b6d66099f8366d6b1dc
* When CustomContent is enabled prevent it from displaying in OverView modeRaj Yengisetty2014-06-091-2/+8
| | | | Change-Id: Iebcedb0d2bee3e6cd400847190e05916db87d265
* update placeholder on package install or restoreChris Wren2014-06-071-1/+5
| | | | | Bug: 10778992 Change-Id: I3293d8bab8ae0ef49fc5554531bba5bd6f70932c
* Disabling cling when the user moves the folder before launching it. (Bug ↵Winson Chung2014-06-061-0/+3
| | | | | | 12963868) Change-Id: Iddcdf655c78b7240be123bd549f3d45794d02c83
* Fix NPE in when dropping from all apps (issue 12917451)Adam Cohen2014-06-061-4/+5
| | | | | | | | | When dropping from all apps, accept drop was returning true if the item was above a folder, however, when it came time to complete the drop, the folder wouldn't accept the item. This can be prevented by increasing the criteria in acceptDrop. Change-Id: Ib644ec45984e8366c33bb674f3d3a76e22ed5160
* Fix black flash during rotation of -1 screen with GEL.Derek Prothro2014-06-061-2/+2
| | | | | | | | | | | We need to make sure the custom content is adding synchronously while the rest of the workspace is being created. If we wait for it to be added in a separate run task, we see a black flash during rotation. Also rename a few methods and remove obsolete methods. Bug: 11802691 Change-Id: I3f6500aa1fabe68cef59ad8c764877f954986a99
* Fix bug: Scroll position reported incorrectly to live wallpapersMichael Jurka2014-06-061-2/+22
| | | | | | Bug: 11189265 Change-Id: I410f318df4e43ed13d33889a8158a03438a6174f
* Revert "Workspace: Extra empty screen both left and right"Danesh M2014-06-061-94/+69
| | | | | | This reverts commit d4c825cc639bceae57de6dec2c82d6a7633977f7. Change-Id: I53e036ee56bf7bcd817a01ebc18520021e2b4202
* Fix NPE in Workspace.onDropCompletedJorim Jaggi2014-06-061-1/+7
| | | | | Bug: 11627757 Change-Id: I9dc86856d4bc00253d6350d157be541a8c46888d
* Adding migration Clings. (Bug 11973614)Winson Chung2014-06-061-2/+2
| | | | | | - Refactoring Launcher cling code out to LauncherClings. Change-Id: Iff4f84f5b8bfeb69b1be0b4802022c3eb20b6f2c
* Don't notifyPageSwitchListener until page settles (issue 12069757)Adam Cohen2014-06-061-1/+1
| | | | | | -> Should address the dismiss timer not working quite right Change-Id: I63ad32d8f7c37f1a090ff1dd6024eeb7c0c6ce65
* Create separate project for Wallpaper PickerMichael Jurka2014-06-061-1/+1
| | | | Change-Id: Id9e855780b9fb68c63eb6e9f6c19bcbce28a6fd5
* Fix NPE from feedback (issue 12106858)Adam Cohen2014-06-061-1/+1
| | | | Change-Id: I63f7f73b85d4c1652d1e722f94c51b567a83cc6b
* Fixing issue with Widget sizes being icorrectly reported.Winson Chung2014-06-061-6/+4
| | | | Change-Id: I8474514cc3722d8450c707b7fd1ccea2ea344a59
* Adjusting grid for tablets and fixing incorrect resources for large tablets.Winson Chung2014-06-061-0/+1
| | | | Change-Id: I4c2a058da934bef14f5be3c53ebda940aeb990ca
* Adding reorder hinting, hopefully will help with (issue 10654628)Adam Cohen2014-06-061-6/+11
| | | | | | | -> Adds instant feedback that reorder _will_ happen, so hopefully will improve perceived disambiguation Change-Id: Icd99e7beeb87e79627a6b9fc78a9132781410379
* Update suggested wallpaper dimensions in onResumeMichael Jurka2014-06-061-5/+20
| | | | | | | | | If another launcher runs in between, it might change the suggested dimensions. This fixes that case. Bug: 11667475 Change-Id: I9211016c6b59450c46646737d6d54a11a49f3bba
* Fix NPE when going to All Apps in landscapeMichael Jurka2014-06-061-4/+6
| | | | Change-Id: I4bf1e935ad09e5100a7e54039537af69dd90d7ee
* Generalize support for 'App Info', 'Uninstall' and 'Delete'Mathew Inwood2014-06-061-0/+10
| | | | | | | This allows other DragSource's to allow this behaviour, instead of it being tied to specific source types. Change-Id: I06b7c39b1b34a0ae141245bcc13b6a0873a4c0fd
* Update custom content insets when Workspace insets are setAdam Cohen2014-06-061-0/+8
| | | | | | | | -> Not sure if custom content can be added before insets are set, so this is just a speculative fix. Bug: 11875171 Change-Id: Ia8e07f51f527f464262b7ff99e4db245fe5a7906
* De-parent custom content view before adding to custom content screenAdam Cohen2014-06-061-0/+6
| | | | | Bug: 11666352 Change-Id: Ief35e6e8a16ec0217e0dd27434723ee7a7d5beef
* Making workspace->overview transition smootherMichael Jurka2014-06-061-22/+24
| | | | | | - Also set interpolator on page indicators Change-Id: I06195bed06d773af8f629834d548b8b215e9ff59
* Update the database when converting the final screen. (Bug 11683562, Bug ↵Winson Chung2014-06-061-1/+2
| | | | 11034205)
* Allowing ability to pick up items / enter overview before full page settleAdam Cohen2014-06-061-1/+0
| | | | | | | | -> Fixes issue 11701996 -> Fixes issue where if you tried to longpress a widget before the page settled, it would instead enter overview Change-Id: Ic6321805687dd5e8c69506c6cd6941a11d557ed6
* Syncing up state transition with paging transitionAdam Cohen2014-06-061-4/+11
| | | | Change-Id: Id91e4c046cfe7d9aa6e7de10dbf57ee727ba160e
* Updating LauncherModel filtering to use screen ids. (Bug 11685286)Winson Chung2014-06-061-1/+1
| | | | | | - Fixes the issue with the current page not synchronously binding Change-Id: I3dfa45cc1777f846c77f3e86059dfb715553e1a3
* Adding logs to track down missing workspace screen. (Bug 11683562)Winson Chung2014-06-061-0/+27
| | | | Change-Id: I12ef3331ab81004c75229d33afa0a8dd0fa8521c
* Bit of code cleanup (issue 11648206)Adam Cohen2014-06-061-0/+5
| | | | Change-Id: I2d04bbbdb037de089a16da236dadc4f5950504da
* Fix for transparent CustomContent screen (issue 11549096)Adam Cohen2014-06-061-0/+2
| | | | Change-Id: I8b371e3c556a80b7eb3e145a8d4b78f15421046a
* Use the icon bounds for all calculations.Winson Chung2014-06-061-1/+7
| | | | | | | | - Fixes a drag and drop issue when the dynamic grid scales icons down, due to the drawable bounds not being equal to their bitmap sizes. Change-Id: If7c68b51131de7bac3195a2619e22340f7789432
* Fix issue where custom content would be invisible (issue 11644432)Adam Cohen2014-06-061-1/+8
| | | | | | | -> Also making sure to clear the widget frame when moving to custom content. Change-Id: I460c707f1b6ec34bc6d78c9df43a613d9bfced3c
* Change the way view ids are assigned (issue 11627801)Adam Cohen2014-06-061-3/+3
| | | | Change-Id: I4d9c0542ea3ac581c4a9f4da68824f0b498ea337
* Add logging for NPE (issue 11627249)Adam Cohen2014-06-061-0/+7
| | | | Change-Id: I75352f9eb1249fa5cc46d05cd7c168a868c6f7b7
* Small tweaks to custom content managementAdam Cohen2014-06-061-1/+1
| | | | | | | | -> Never allow the custom content overhang onto the viewport when it is not the current page -> Never fade the custom content screen as a consequence of scrolling Change-Id: I91a4cfb3f740ee8b429084fce1c96258bac8dd9e
* Dyanmically lay out overview mode across all orientations and form factors.Winson Chung2014-06-061-14/+14
| | | | Change-Id: I788bbf289717b30b19afc9ad9d611c85715bc623
* Fix issue with adding widget with config activity to empty screen (issue ↵Adam Cohen2014-06-051-1/+2
| | | | | | 11381059) Change-Id: Ic7eecb30422e7a6cf35ebe8470d9eba8752d406e
* Fixing up PagedView to work in landscape modeAdam Cohen2014-06-051-7/+9
| | | | | | | | | -> separated notion of page spacing and paged view padding -> always position the current page within the rect created by pagedview's viewport + padding -> space pages by a constant amount Change-Id: I6bb35f72f04543f83b51ef981f8c9ded051623ac
* Fix issues with sizing wallpapersMichael Jurka2014-06-051-1/+1
| | | | | | | | | | | - properly sync size across Launcher and wallpaper picker - remove code that was calculating wrong default wallpaper size Bug: 11324470 Change-Id: Ib4e7202363c56e3cb0c09d4448a7f96eef0a0915
* Cleaning some page animationsAdam Cohen2014-06-051-11/+131
| | | | | | | | | | | | -> Fix jump when last page gets delted (issue 10908427) -> Fade out empty screen -> If the final page is empty, and that is the current page when spring loaded mode ends, animate back to the previous page and then fade out the final page. Examples: cancel widget or shortcut drop on the final page, scroll to final page and drop an icon into a the hotseat, etc. Change-Id: I13438fb0af6555b6f0b511b7aff51b3972431438
* Updating folder icons when the shortcut is updated. (Bug 10803060)Winson Chung2014-06-051-19/+35
| | | | Change-Id: Idee158b3458213e441c01890e0db341a3bcce1f7
* Refactor RTL wallpaper code to use getLayoutTransitionOffsetForPageMichael Jurka2014-06-051-3/+1
| | | | | Bug: 11157913 Change-Id: I7bcef8985cc57601bb5936891df22b11ed6f494c
* Fix drop animation issue in springloadedAdam Cohen2014-06-051-1/+1
| | | | Change-Id: I1d8bf9d92ab7b94238e3e6a27b0eebf2c9af6872
* Trebuchet Settings UI RefreshRaj Yengisetty2014-05-241-6/+55
| | | | | | | | | | | | | | | | | | - Overview Panel contains all Launcher Settings - Accessible through long press on Workspace or HW Menu button - Settings are held in a SlidingPanel in the Overview Panel - Replace the Settings shortcut in Overview Panel with Themes shortcut - Replace widgets icon with new widgets icon from Launcher3 - Trebuchet Settings changes no longer require restarting Process - Transition Effects have PNG Sequence to show animation sequence - Remove PageIndicator click event to open Overview Panel in AppTray Contributors: Adrian Foulk - UX Lead Abishek Devkota - Project Manager Hayden Schoen - UX Designer Change-Id: I2186213960cf12e840e814757894fe104551856b
* Fix name of defaultFlamefire2014-05-091-1/+1
| | | | Change-Id: I562dc2572f1d8fdb69f615d1a7f0f425cc27d698
* Fix NPE if a moved cell does not have a parentFlamefire2014-05-031-1/+3
| | | | | | | | | | This NPE should actually never happen. It did however and crashed Trebuchet. Symptom that will lead to this NPE: Drag Shortcut from homescreen to somewhere else. Old icon will not get removed while dragging. This should also be fixed! Change-Id: I5b5070c93077e69f0f63a26d337fb9aee83ec6d2
* Add options to hide icon labels from drawer and homescreenFlamefire2014-04-221-4/+8
| | | | | | | | | | | | | Forward port from CM 10.2 PS3: Fix typo PS4: Rebase and global defaults PS8: Rebase to head Issue: There is already an Icon section in general, move both settings there or leave separate in their categories? Change-Id: I90ae4d2357e5f45fa9261c4eaa0fcf287996e327