Commit Graph

48 Commits

Author SHA1 Message Date
Adam Cohen
099f60d51f Fixing folder icon in landscape, issue 5135333
Change-Id: Idf46b12a947bdc0e56993b8827021855d5349bc1
2011-08-23 22:46:56 -07:00
Adam Cohen
558baaf0a0 Fix issue 5064004, can't add shortcut to portal from AllApps
Change-Id: I99cd2108af617cf5a80b417f81a86c363fac2377
2011-08-15 15:36:38 -07:00
Adam Cohen
1d4ee4e462 Fixing blip in animation when creating folder
Change-Id: Icbb37b4bdd453e1af452125cf42c23b3e90c9629
2011-08-12 15:51:59 -07:00
Michael Jurka
c57b7a8233 Adding a progress bar while All Apps is loading
- also, removing some unused imports

Change-Id: Icf46beb9fa9d89bc06cba33c148ceb7d668cd402
2011-08-09 22:36:01 -07:00
Adam Cohen
67bd9ccf85 Completing fix for issue 5052078, folder items no longer lost
Change-Id: I9d9cc4658122816e2a60de2e12da65f3fe42bc5c
2011-07-29 15:17:32 -07:00
Adam Cohen
041b0c09c4 Merge "Updating portals visuals:" 2011-07-27 11:58:22 -07:00
Adam Cohen
d2eca6b66e Fixing issue 5064135, issue 5033850
-> id's were duplicated causing strange behaviour
   in onRestoreInstanceState

Change-Id: I20132942baaec54880c6d765b37d26ac2ffd31ee
2011-07-26 22:55:52 -07:00
Adam Cohen
c51934bfdf Updating portals visuals:
-> added leave behind asset to dock, issue 5052467
-> new assets
-> modified text

Change-Id: Ie395b768658dd5c02443b37c4f58a02cf3e86e59
2011-07-26 21:14:39 -07:00
Adam Cohen
4b285c5a60 Smoothing out transitions when adding from AllAppsCustomize
-> Making sure the dragview animates to the proper final position
-> Preventing add if item is released too early in the transition

Change-Id: I77882c02a6ce569436a6c8b5c3f4ed0023d5807e
2011-07-21 14:26:43 -07:00
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
Winson Chung
557d6ed50c Fixing issues with spring loaded adding.
- Delaying until items are added
- Showing bg when going into spring loaded mode
- Fixing regression where dropping widgets on full page would not trigger a notification
- Fixing regression on tablet where pages were no longer being rotated or shown

Change-Id: Iadc0c406f0c065c5029addea1abfee395eed81b9
2011-07-11 11:38:24 -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
d044526d82 Adding transitions during folder creation
-> Seamless* transition from dropping item onto another
   to the creation of a folder containing those items
-> Seamless* transitions when adding the third item
   to a folder
-> Cleaned up the code in FolderIcon in order to achieve
   above

Change-Id: Iaf2519ac480acfdc928cc2b7585f28bc7d50bd23
2011-07-06 11:35:56 -07:00
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