summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Workspace.java
Commit message (Collapse)AuthorAgeFilesLines
* Center wallpaper when only one screenClark Scheff2014-11-141-2/+2
| | | | Change-Id: I80a4ca3052aadd11712cfc647a4304bf38229cf0
* Add special case for creating Drag Bitmap when dragging All Apps buttonRaj Yengisetty2014-11-111-0/+12
| | | | Change-Id: Ibc2a7a7ab1779c6b2faa7f4ef1c3859262567ba4
* Fix App Info bug where extra empty screen remains after dropping drag objectRaj2014-09-221-0/+5
| | | | | | on the App Info traget. Change-Id: Ibce0b75417cf8682ccdb0c6b755a22f34e735f9d
* Revert "Fix AppInfo drop target bug"Raj Yengisetty2014-09-111-2/+0
| | | | | | | | This reverts commit 498c660baad57f84f2979d0e3e1ebcf45a23f05c. The commit causes breaks adding widget shortcuts to the Workspace. Ex: Floating calculator, contacts, etc. Change-Id: I681669e6b26ddf3ae2dede0eb05532d6779b9aa2
* Fix AppInfo drop target bugRaj Yengisetty2014-07-291-0/+2
| | | | | | | | | Repro: - Pick up a shortcut from Workspace - Drop on AppInfo - Observe extra screen on right has not been removed Change-Id: I6c68df27094d964308cc6e2a95917010784725a6
* Add support for CMHome (1/2)Matt Garnes2014-07-151-6/+8
| | | | | | | | Add permission for DashClock extensions. Change Trebuchet to allow viewing additional screen. Add setting that to configure Google Now / CMHome. Change-Id: I63286a2cce87455ed411bd4c77680200eec89be7
* Fix:Raj Yengisetty2014-07-141-4/+5
| | | | | | | - For devices with HW menu button, pressing menu in app tray doesn't show overview settings panel. - When you click the widgets button from the expanded settings pane, the settings pane eats touch events even when the workspace goes back into normal mode. Change-Id: Ibf5f22c969f257ece72474c6ce91d7896aaba158
* Trebuchet: Further adjustment of panel overview glitch fixArne Coucheron2014-07-141-2/+2
| | | | | | | * These values takes care of the glitch also on legacy 480x800 devices. Change-Id: Ia901699351ed887a9100bbec6d10be9e92b50c14
* Fix Overview Panel glitch when animating Workspace into overview mode.Raj Yengisetty2014-07-101-3/+2
| | | | Change-Id: I12cd8e6e96cdebadfa42590152c4c16e644aded3
* Fixes:Raj Yengisetty2014-07-081-5/+6
| | | | | | | - Hide search bar if live settings are toggled in overview mode - Restore workspace outlines in overview mode after live settings changes Change-Id: Iee9894f674c78ba3c82486de97e34d610c04a2a5
* Fixing issues introduced in 31cc95a0:Raj Yengisetty2014-07-081-1/+4
| | | | | | | - HotSeat needs go visible/invisible when transitioning in and out of overview mode - Animation listener for setting alphas needs to remove itself when the animation finishes Change-Id: I654c0e700c9bc3f77692ed653f8158cec1f2430b
* Smooth out slide in/out animation for the overview panelRaj Yengisetty2014-07-081-14/+45
| | | | Change-Id: I742d2248b7cf70767f9e776d88db6fc1aaa767ce
* Minimize greedy UI updating for Live SettingsRaj Yengisetty2014-07-081-1/+7
| | | | Change-Id: Ib475af4bea7d45e36ca87be6b66a60d15018aa5b
* Trebuchet: always set initial wallpaper offsetsRoman Birg2014-07-071-1/+3
| | | | | | | | | After a fresh boot, computeScrollOffset() always returns false. So the result was the offsets were never properly being set on a fresh boot and they were only being applied on first drag of the home screen, which finally triggered computeScrollOffset() to return true. Change-Id: Iccaedd742bed861fca1f50dd54e2e4537fd4c9b0
* Fix Settings Panel bug causing frozen overview.Matt Garnes2014-07-021-0/+32
| | | | | | | | | Previously, toggling search panel would freeze Overview mode until the user exited back to the regular launcher. Also, the current page would be lost. Fix this by computing the new scroll bounds immediately when the setting is toggled. Change-Id: Ib3587cfcea61e15b3d8b280113ce986cc57f2f9d
* 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