Commit Graph

34 Commits

Author SHA1 Message Date
Adam Cohen
69ce2e5bea Cleaning up Folder accept animation drawing
-> Moved from Workspace to CellLayout, which fixes a bunch
   of bugs with transforms (springloaded mode and page scrolling)

Change-Id: I92510be817f46bd29b8a10aac5512dc1ead87180
2011-07-03 19:28:04 -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
Winson Chung
6a0f57dfaf Populating some more accessibility events.
Change-Id: I7813abdd6dcc0979949caec9e31029486be0396d
2011-06-29 20:11:07 -07:00
Adam Cohen
d63cfa9681 Fix bug 4901543. Shadow now remains on FolderIcon after rename.
Change-Id: I5457d8c958e6d965b5bb0dacf7f1a418966214ef
2011-06-24 14:17:17 -07:00
Adam Cohen
76fc085d28 New folder visualization, renaming, staggering reorder
Change-Id: I62963d225e6ea5d2ec9d8ebc8a6d73099f5d6c7f
2011-06-21 18:00:21 -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
19072da744 Adding visual feedback for folder creation`
Change-Id: I47de931a07e3614e25f54d1ba5752a54993d6153
2011-05-31 20:50:00 -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
f4b0891367 Pushed folder inner ring drawing into workspace during animation
Change-Id: I571b71acbfdd28f921e35e989efd2dceefb54f11
2011-05-18 12:20:57 -07:00
Adam Cohen
073a46ff63 Changed folder hover animations
-> Added outer ring to hover animation
-> Fixed location of items in folder during hover animation
-> Cleaned up the code

Change-Id: I57c5f3cadbd2f289a18f7420a57ced6053fb06db
2011-05-17 17:52:29 -07:00
Adam Cohen
2801cafe62 Shrink-wrapped folders
Change-Id: Ida1b5d0bd4d39eabfde9f8a5bee0d4b6e9b33627
2011-05-16 17:17:27 -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
Michael Jurka
66d72178af Changing folders to use CellLayouts
Change-Id: Ic80bece18855a4f5d2476c224ef66f035ac7c97b
2011-04-15 13:32:42 -07:00
Adam Cohen
df0353815c Enabling user folder creation by dropping shortcut onto shortcut
Change-Id: Ib8de001f5003cd44f1524cb7763fc928fa24aaba
2011-04-15 12:04:25 -07:00
Winson Chung
7a1d16555d Fixing crash where we were assuming an old parent hierarchy.
Change-Id: I5acccab175c150f2fb994e58f0b5592d2015fcfe
2011-03-18 15:56:43 -07:00
Michael Jurka
4a7d4afe87 Removing dead code
Change-Id: Iec1e23a9764b8ef2bb1326c8502f31f5b5c8763a
2011-01-17 16:58:15 -08:00
Michael Jurka
c66a7c2759 removing DimmableBubbleTextView and DimmableAppWidgetHostView
- use of DimmableBubbleTextView might also be causing NPE on user machines
2010-12-04 11:22:18 -08:00
Michael Jurka
c9a961952d Using hdpi icons in Launcher
Known issue: Default activity icon is still showing up as small
2010-11-01 23:06:54 -07:00
Michael Jurka
0280c3be4d Adding support for drag and drop of folders and shortcuts.
also:
- Long press on empty space on workspace now brings up customization tray
- Fixed: while dragging, items appeared to be dropping on folders two cells to the right
- Fixed: Disabling drops on folders when the workspace is shrunken
- Fixed: account for scaling of dragged items when checking if they overlap
          with shrunken workspace screens
- Making folder icons dimmable to match shortcuts and widgets
- When deciding with shrunken workspace screen we're dragging to, we now use the closest screen rather than the one that has been overlapped the most
- Refactored drag/add mechanism, removing array of occupied cells from CellInfo
- Removed dead code/variables
2010-09-24 15:28:20 -07:00
Michael Jurka
f79d5265c6 removing dead code 2010-09-17 10:59:31 -07:00
Patrick Dubroy
379f16080f fix 2841060: Folders appear to accept drag-and-drop of widgets
Change-Id: I6e408c25d52c8b3a5f64149326df901fce1ce597
2010-07-14 11:29:09 -07:00
Patrick Dubroy
440c360bc3 Fix bug with drag visualization and UserFolders.
When dragging an app shortcut, it was possible that we'd show a red rectangle
around a cell occupied by a UserFolder. This shouldn't be possible -- as soon
as that cell becomes the target drop cell, the folder should start handling
the drag and drop events.

Change-Id: I1b7a8b1aa9aeb7e2f1bd51ce8d947c06455e988f
2010-07-13 17:54:03 -07:00
Romain Guy
edcce099c9 Fix the build! 2010-03-04 13:03: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
6665c0f1fe Click on icons. 2009-09-02 15:27:24 -07:00
Joe Onorato
9c1289cb3b Redo the launcher loading code and put the real app icons into rollo. 2009-08-24 14:58:44 -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