summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Workspace.java
Commit message (Collapse)AuthorAgeFilesLines
* Initial Changes for Dynamic GridWinson Chung2013-08-201-73/+22
| | | | Change-Id: I9e6f1e5167791cf8dc140778dfa447f86424e9bf
* Ensuring that we don't clobber workspace screens map when new apps are added.Winson Chung2013-08-191-8/+8
| | | | | | | - Using Log warnings instead of debugs - Ensuring we don't save negative screen id's Change-Id: I13276d007193c120ee0830abcdc6eb203f22a9da
* Removing custom content paddingAdam Cohen2013-08-151-9/+3
| | | | | | -> Cleaned up extraneous imports Change-Id: I3f9258a893e85f9f6a7cc1eab03d4c5a3dfba786
* Passing right swipes through to custom contentAdam Cohen2013-08-141-5/+21
| | | | | | -> Right swipes must follow page settle by >= 200 ms. Change-Id: Ie5a5ae36e63f28736599a8a846570949447f7a03
* Don't switch pages when dragging out of folderAdam Cohen2013-08-141-2/+1
| | | | | | | | | -> Fix bug where page switch indicator wouldn't draw on right -> Fixed some code related to folder reordering -- no behaviour change yet, but once the new AutoScroll is in, this should behave correctly (ie. shouldn't reorder while in scroll zone) Change-Id: Ic14a8d70858777164f094204472dc6a726dd461a
* Merge "Adding overview mode for reordering, widget adding and wallpaper ↵Adam Cohen2013-08-141-23/+115
|\ | | | | | | switching" into jb-ub-gel-agar
| * Adding overview mode for reordering, widget adding and wallpaper switchingAdam Cohen2013-08-131-23/+115
| | | | | | | | Change-Id: I082ba0b90ca4b3fbba32e8dfdec8ba79486d841c
* | Merge changes I559fae32,Ic4db1a3a into jb-ub-gel-agarWinson Chung2013-08-131-0/+1
|\ \ | | | | | | | | | | | | | | | * changes: More logging. Adding additional logging.
| * | Adding additional logging.Winson Chung2013-08-121-0/+1
| | | | | | | | | | | | Change-Id: Ic4db1a3abe8b735f07e51a2d35ca92273b5f76c8
* | | It is *very important* to call super.onDetachedFromWindow()Romain Guy2013-08-131-0/+1
|/ / | | | | | | | | | | | | Bug #10075732 Change-Id: I515005e35398317d98124964b6bb74f488a213f4 (cherry picked from commit 2361a4daf77ac1f076273d19bc6e171b3b74b22e)
* / Adding additional debugging code to track screen id updates.Winson Chung2013-08-091-0/+10
|/ | | | Change-Id: I1749ab998a4c213b32f1160d5d21f21b2f30e389
* Merge "Removing old new-app animation code, and refactoring ↵Winson Chung2013-08-021-28/+0
|\ | | | | | | InstallShortcutReceiver to use new add/bind logic." into jb-ub-gel-agar
| * Removing old new-app animation code, and refactoring InstallShortcutReceiver ↵Winson Chung2013-07-261-28/+0
| | | | | | | | | | | | to use new add/bind logic. Change-Id: Ide27dbcf1d1b1631fcd33a6c54a51b31e125c2f4
* | Fixing crash due to grabbing oob screen index. (Bug 10114488)Winson Chung2013-07-311-5/+5
| | | | | | | | Change-Id: I9e0c3d9bfcf96f092260a82b930b7ea728b6e98d
* | Merge "Adding hint for launcher to pre-create custom workspace screen." into ↵Winson Chung2013-07-311-13/+19
|\ \ | | | | | | | | | jb-ub-gel-agar
| * | Adding hint for launcher to pre-create custom workspace screen.Winson Chung2013-07-311-13/+19
| | | | | | | | | | | | Change-Id: I150fb8b6ff13053bf4b0b49f2b510630ed50714a
* | | Merge "Verifying that new applications are added and fixing issue with new ↵Winson Chung2013-07-311-1/+7
|\ \ \ | | | | | | | | | | | | items getting wrong ids." into jb-ub-gel-agar
| * | | Verifying that new applications are added and fixing issue with new items ↵Winson Chung2013-07-251-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | getting wrong ids. - Fixing issue where the LauncherModel would be out of sync on first migration, and subsequent crashes Change-Id: I6f58b09b615b28958c7f941e58ff9ae0ee3ba939
* | | | Merge "Prevent dragging workspace items to custom content page." into ↵Winson Chung2013-07-311-0/+5
|\ \ \ \ | | | | | | | | | | | | | | | jb-ub-gel-agar
| * | | | Prevent dragging workspace items to custom content page.Winson Chung2013-07-261-0/+5
| | |_|/ | |/| | | | | | | | | | Change-Id: I4279f5feffb9512af66243969efaaadfb9011962
* | | | Merge "Adding support for custom page indicator markers." into jb-ub-gel-agarWinson Chung2013-07-311-0/+8
|\ \ \ \
| * | | | Adding support for custom page indicator markers.Winson Chung2013-07-261-0/+8
| |/ / / | | | | | | | | | | | | Change-Id: I057b0cccc4194157d92ebb123af2afaf94fb5415
* | | / Call onShow/onHide when visibility changes on -1 screen.Derek Prothro2013-07-301-0/+7
| |_|/ |/| | | | | | | | | | | Bug: 10089616 Change-Id: I4365432d5ff699b3722ca3f30713e0c490d0e4ed
* | | Fix overhang of custom content area into first screen of launcherAdam Cohen2013-07-241-10/+9
| | | | | | | | | | | | Change-Id: I2e8cbedb644c8399be269616e617851136489da5
* | | Giving custom content full screenAdam Cohen2013-07-231-0/+1
|/ / | | | | | | Change-Id: Icd104fff8a1a315b795a60b812048a6218bf0e5a
* / Adding contract for custom content screenAdam Cohen2013-07-221-41/+24
|/ | | | Change-Id: Ia4dae3c641730ab24a0a124fd94b871d248b7dda
* Merge "Fixing performance issues with drawing all visible pages." into ↵Winson Chung2013-07-221-1/+1
|\ | | | | | | jb-ub-gel-agar
| * Fixing performance issues with drawing all visible pages.Winson Chung2013-07-191-1/+1
| | | | | | | | Change-Id: I17736c1e6afa1f4a961c136fe82bf1d632cbe6cc
* | Merge "Just for now, for fun" into jb-ub-gel-agarAdam Cohen2013-07-191-2/+4
|\ \
| * | Just for now, for funAdam Cohen2013-07-191-2/+4
| | | | | | | | | | | | Change-Id: I4105b4299da59f5f34e280f7e7386f6e0e9c1b1a
* | | Merge "Adding layout transition for when pages get deleted" into jb-ub-gel-agarAdam Cohen2013-07-191-2/+26
|\| |
| * | Adding layout transition for when pages get deletedAdam Cohen2013-07-191-2/+26
| |/ | | | | | | | | | | -> Fixing NPE Change-Id: I1e0cb057ff65c2b8831a2e10652acb6db10e50e3
* / Implement ability to uninstall shortcuts from workspaceMichael Jurka2013-07-191-11/+39
|/ | | Change-Id: I14ca94ea719825c4de19ab85d67537155098d50c
* More PagedView cleanupAdam Cohen2013-07-181-4/+32
| | | | | | | | | -> Custom content screen is now full screen (with some padding inserted for now) -> Hiding the hotseat and page indicators when scrolling to the custom content screen -> Adding background scrim fade in to custom content space. Change-Id: I28921318a38af46f11fa836020a590c70d5d96ed
* Merge "Adding notion of fullscreen page to PagedView" into jb-ub-gel-agarAdam Cohen2013-07-171-43/+1
|\
| * Adding notion of fullscreen page to PagedViewAdam Cohen2013-07-161-43/+1
| | | | | | | | | | | | | | -> This will be used for appending custom content to the left of the workspace -> Stripped out a bunch of dead code related to notion of layout scale in PagedView Change-Id: If4dbe28431cb5fb60dc170f6ee6e55a649dac45e
* | Removing old scroll indicator and adding page indicator dots.Winson Chung2013-07-171-22/+3
|/ | | | Change-Id: I44c5b4b532e8464010d45dd0a3dfeccb2d475216
* Merge "Fixing issue where migration all apps folder couldn't be picked up." ↵Adam Cohen2013-07-121-3/+1
|\ | | | | | | into jb-ub-gel-agar
| * Fixing issue where migration all apps folder couldn't be picked up.Winson Chung2013-07-121-3/+1
| | | | | | | | | | | | | | - Ensuring that we add items to the non-primary home page - Fixing issue with drop-target touch handling on tablets Change-Id: Iea5a383dc735a8f6044a00982f05789f8328ab63
* | Fix weird page jumps after dropping itemsAdam Cohen2013-07-121-2/+17
|/ | | | Change-Id: I9f5063d2a9db9e2f2a5c2fd183b45884da11dacc
* Enabling reorderingAdam Cohen2013-07-121-3/+51
| | | | | | | -> Reordering is enabled and persists -> Fixed persistence issue when adding items to empty screen Change-Id: I7c797b2c81a2988c95d8d9383be46d6ef0b7532d
* Ensuring that the db reflects all package added/removed/updated broadcasts.Winson Chung2013-07-111-125/+113
| | | | | | - Also ensuring that newly added pages are added before the empty page Change-Id: I97a01f791c438aa5c5b1fd770d3536b449a871bc
* Fix widget resizing (Which stopped working at some point)Adam Cohen2013-07-091-2/+5
| | | | | | | | -> Also, deferring empty screen removal until after the drop animation in order to reduce buggy transitions -> Also fixing workspace layout on tablet Change-Id: I1ae9fdaf592262f959424f321efa6df4298f85cc
* Porting PagedView from KG to gain simplified scaling model, reorderingAdam Cohen2013-07-081-207/+54
| | | | | | | | | | | | -> We are no longer scaling individual Celllayouts, instead we are scaling the entire Workspace (and the CellLayouts come along for the ride) -> Due to the above change, many assumptions were broken. In particular, our drag and drop / animation archiecture is fairly fragile due to the frequent and complex mapping of points between different bits of the hierarchy. This CL contains a number of fixes which address such breakages. Change-Id: I2e630eab17528729b764b61f587858f6499fd318
* Fix NPE when drags are cancelledMichael Jurka2013-07-021-3/+3
|
* Merge "Lazily instantiate LauncherAppState." into jb-ub-gel-agarDaniel Sandler2013-06-281-14/+12
|\
| * Lazily instantiate LauncherAppState.Daniel Sandler2013-06-271-14/+12
| | | | | | | | | | | | | | | | The application context for LauncherAppState is supplied by the application whenever it starts; don't ask for an instance before that. Change-Id: I1ca8ea04238a357a682f79250f08813ead7ae532
* | Fix now showing on screen 1Adam Cohen2013-06-271-1/+5
|/ | | | Change-Id: I83c3aa0b219e62af8c024229fe00933bcedbf9df
* Using package broadcasts to key adding of shortcuts on the workspace.Winson Chung2013-06-261-4/+7
| | | | Change-Id: Id4f83cb0351d21e3f7c029c7fe39efdacd2d6f17
* Fixing crash in shrink wrap on tablets.Winson Chung2013-06-251-5/+10
| | | | Change-Id: I061960b2ca7a2cf02729665fb032d23d8f463ada