Commit Graph

45 Commits

Author SHA1 Message Date
Adam Cohen
ac8c87687b Pixel perfect drag animations in workspace and folders, including springloaded
Change-Id: I630c365bdc8e896a21dc17ebe8acb8d4664c77b5
2011-07-14 01:08:27 -07:00
Adam Cohen
4eac29a80b Fixing bug 5011917 - clearing refernce to old folders from FolderInfo
-> Also, ensured that unbind() gets called on all ItemInfos on rotate

Change-Id: I869b68fcae5c66702ec204596f5ecabdc7a32df7
2011-07-11 18:37:16 -07:00
Adam Cohen
e9166b247a Little fix for folders
Change-Id: I2d4eb534640e25bc8c07d06e5d3354473751dd9f
2011-07-08 17:11:11 -07:00
Adam Cohen
8dfcba4af7 Substantially improved performance of dragging and drop animations
-> Took DragView drawing out of the window and put it into the DragLayer
-> Added fade-in/out animations to transition between the final view
   and the DragView, after the view animates
-> Enabled hardware layers on Folder items which improves the
   performance Folder reordering

Change-Id: I4d92ca9fba172d1bab9efc215a99abcaadcdf503
2011-07-07 16:59:45 -07:00
Adam Cohen
95bb800de9 Folders now close in various situations where we want them to:
-> When pressing home, from app or from home
-> When rotating (as per design request)
-> When scrolling to another page

Change-Id: I3b96b216f1ec5da07cd95d2541999866a1c1424e
2011-07-04 23:56:03 -07:00
Adam Cohen
3e8f811f31 Added transitions when dropping items onto Folders, fixed bugs
-> Changed the ordering of the FolderIcon preview to show first items first
-> Folder now closes immediately upon drop of an item from folder to workspace

Change-Id: I66361b604dc5ef81da2413b7dda53d0c4691377e
2011-07-02 18:42:25 -07:00
Adam Cohen
04dc2bc613 Merge "Fixing small folder bugs" 2011-06-30 17:28:09 -07:00
Adam Cohen
0e4857c302 Fixing small folder bugs
-> Issue 4972348
-> Center folder when it extends beyond the workspace

Change-Id: Id5551d17d595151bfd27122e1fd4ddfeab7dbf40
2011-06-30 17:22:07 -07:00
Adam Cohen
716b51e030 Adding transitions after reorder within folder
Change-Id: I52b20fa1b2e4f9ee0b4a68ac703b95a2050dbd4a
2011-06-30 13:53:30 -07:00
Adam Cohen
e87b924efa Making folder items match those on workspace
-> Deleted some unused files

Change-Id: I2e657d7a82140e55ecc674ee759c0c7bcf11ebe1
2011-06-29 14:05:01 -07:00
Adam Cohen
8e776a62c5 Pushing folders up to DragLayer
-> Increasing max num of items in Folders to match the grid
   size of the workspace.
-> Had to push folders up to prevent clipping

Change-Id: I7aae7920cff940b8e88e9bef82162c6ab5ff11e9
2011-06-28 19:55:57 -07:00
Adam Cohen
c508b2d701 Dealing with upgrade from previous Folder implementation
-> We need to truncate the old folder if it had more items
   than are currently supported
-> We need to automatically place the items, since their folder
   location is not stored in the LauncherModel

Change-Id: I4a5955adf2fed4d9b96a1cbd145dd69bbffc1cc7
2011-06-28 14:41:44 -07:00
Adam Cohen
a65beeea13 Fixing a couple folder bugs
-> Issue 4947774 - logic for determining workspace full
-> Issue 4967906 - hiding hint text on begin edit
-> Stripped out some no longer needed code from Workspace

Change-Id: I62b0e5c2dbf424af6b8b29af9b70270d68923eba
2011-06-28 10:19:44 -07:00
Adam Cohen
df1e4e868a Keeping folders synced when applications are uninstalled
-> fix bug 4905712

Change-Id: I4a250fd134e6d03bae30cfde6b33a82ed6f5fcef
2011-06-24 15:58:01 -07:00
Adam Cohen
7a14d0bdde Tweaking input flags for Folder renaming
-> Supress suggestions and capitalize words

Change-Id: I890366a5fa9c93aa3f4a18f9ff330db333d56192
2011-06-24 11:36:35 -07:00
Adam Cohen
afb01ee742 Folder auto-destroys itself when there is only one item left.
Change-Id: I4ea41e0730e3dc474a518eba0a04c11167b5c1df
2011-06-23 18:52:18 -07:00
Adam Cohen
1d9af7d1e7 Fixing bug where touch breaks completely after item removed from folder
Change-Id: If60057e5775853d3ac8c092dffe915f8f5a8bce4
2011-06-22 15:29:56 -07:00
Adam Cohen
4ef610fc88 Adding select all on focus to folder renaming, changed spacing
Change-Id: I34821315b168a37b9b78977adde0e93ba9db7c2e
2011-06-21 22:37:36 -07:00
Adam Cohen
76fc085d28 New folder visualization, renaming, staggering reorder
Change-Id: I62963d225e6ea5d2ec9d8ebc8a6d73099f5d6c7f
2011-06-21 18:00:21 -07:00
Adam Cohen
bfbfd26c62 Initial implementation of folder reordering
Change-Id: I9f700e71f46e3b91afa96742d9e3890d519c391d
2011-06-13 16:55:12 -07:00
Adam Cohen
76078c4ef3 Fixing up some folder-related drag and drop bugs
Change-Id: I712ffd0ccfc0154a5a9e74e3f585157a86986882
2011-06-09 15:10:43 -07:00
Adam Cohen
c0dcf59708 Fixing up some Folder bugs
-> Rendering properly while in spring-loaded mode
-> Fixed bug where sometimes the folder's background would vanish
-> Fixed bug where the folder background was "stuck" in a fixed
   location, not following the folder
-> Can now add to folders and create folders from spring-loaded mode

Change-Id: Ie1c5583a6230a192e6d07763d001b50053daca43
2011-06-08 15:21:29 -07:00
Adam Cohen
badf71e11f Implementing new visualization for folder icon
Change-Id: I6c0658d71109d05c93de7d299cf62bc9a2c99e20
2011-05-26 19:08:29 -07:00
Adam Cohen
cb3382b1bf Refactor of Launcher drag and drop to use a DragObject
-> DragObject contains a bunch of parameters instead of pssing
   them each individually

Change-Id: I709cf320fe4234d71e19325d5c761dd9a9bba405
2011-05-24 16:17:13 -07:00
Adam Cohen
4dbe6d9934 Fix index out of bounds
Change-Id: Id288c01ab7e39fb16e7247030dbb76183436cb79
2011-05-18 17:14:15 -07:00
Adam Cohen
7c6932140d Fixing folder bugs:
-> Folders were not loading with ordering properly persisted
-> When an item was put in the trash directly from a folder
   it was trying to remove the item from the folder again, sometimes
   removing an extra item from the folder
-> Making sure the FolderIcon always shows the _last_ 4 items;
   this was not working when the launcher was being restarted
-> Fixed a tiny rotation bug in the FolderIcon

Change-Id: I27423f17fd2f2b396f844c055f1e7abb4f4d5d19
2011-05-18 15:26:57 -07:00
Adam Cohen
2801cafe62 Shrink-wrapped folders
Change-Id: Ida1b5d0bd4d39eabfde9f8a5bee0d4b6e9b33627
2011-05-16 17:17:27 -07:00
Adam Cohen
0c872ba544 Fixing small folder bugs
-> Preventing duplicate item adds
-> Stopping touch events from falling through to workspace

Change-Id: I0326a1bf442b1705d3790a701649788413e7a633
2011-05-05 10:34:16 -07:00
Adam Cohen
a9cf38f533 Adding folder icon visualization
-> Added new temp assets

Change-Id: If1d7e8ce867b473920f40cd1cc02d189be62b8bf
2011-05-02 17:52:19 -07:00
Adam Cohen
df2cc41acb Stripping LiveFolders from Launcher
Change-Id: Ic105fbeb1289e43469d5975b7d977b2fc7900c0b
2011-04-28 12:28:39 -07:00
Winson Chung
785d2eb2b8 Initial changes to merged AllApps/Customize pane in the Phone UI.
Change-Id: Ifa1676736033fe617dd0cca965156c38fa452948
2011-04-22 12:53:59 -07:00
Adam Cohen
6639687cd6 Adding drag outlines for dragging out of folders
Change-Id: I264f66af5f03035bac17ff00eacc1a1da3d027a4
2011-04-18 14:27:04 -07:00
Michael Jurka
66d72178af Changing folders to use CellLayouts
Change-Id: Ic80bece18855a4f5d2476c224ef66f035ac7c97b
2011-04-15 13:32:42 -07:00
Patrick Dubroy
5f44542560 Add missing animations when dragging from customize.
- Fix 3453751: Moon landing on canceled drag from customize
- Fix 3453595: Use home screen "consume" animation when dragging and dropping

Change-Id: Ia6a83c2d7a8f24c3ce02811547a35a7022d245f6
2011-02-18 20:03:59 -08:00
Patrick Dubroy
a669d79d0d Prevent flicker when starting a drag.
Also, animate item the view to its new position when dragging.
2010-11-24 10:00:55 -08:00
Michael Jurka
0142d49e13 Changed Workspace to inherit from PagedView
- adds support for seeing dimmed side-pages on
home
- adds workspace support for pages that are
smaller than workspace itself
- removing a lot of code duplicated between
PagedView and Workspace
- tested new Workspace on Nexus One, and perf.
was indistinguishable from old Workspace in my
tests

Change-Id: Ie33ab4e8b35ac01b22894cff66650bb0ece8dfcc
2010-09-01 14:54:34 -07:00
Winson Chung
aafa03cbb9 Allow for NxM layout and in-place rotation of items on homescreen.
Currently, rotation is disabled as designs are still in flux, but the NxM grid is enabled (8x4).

Change-Id: I0026f88c674719e3d67de6d6d481d2d4cd606362
2010-06-30 16:24:40 -07:00
Joe Onorato
f984e853f2 fix 2542590 add more logging when launching app fails
Change-Id: I5a1fa261c6e67eb7afb661de39e35ce43e2caa59
2010-03-25 09:47:45 -07:00
Romain Guy
edcce099c9 Fix the build! 2010-03-04 13:03:17 -08:00
Romain Guy
fb5411e982 Correctly position the quick contact badge when opened from a folder.
Bug #2467438
2010-02-24 10:04:17 -08:00
Joe Onorato
0589f0f66c Split ApplicationInfo into ApplicationInfo which is used for AllAppsView and ShortcutInfo which is
used for the workspace.

Consolidate the three icon resampling functions into one.

Ensure that the icons stored in LauncherProvider are the right size, so we don't have to resample
them each time we load them.
2010-02-12 12:18:40 -05:00
Joe Onorato
9244230763 Fix id collision in Home. 2009-09-21 15:37:59 -04:00
Joe Onorato
00acb123c5 Move the drag thing into its own window that goes around on top of everything else. 2009-08-06 12:45:43 -07:00
Joe Onorato
a5902524d4 Launcher2 compiles. 2009-07-30 13:37:37 -07:00
Joe Onorato
fca7c88f9d Move com/android/launcher -> com/android/launcher2 2009-07-30 10:15:07 -07:00