Commit Graph

65 Commits

Author SHA1 Message Date
Adam Cohen cf48426ebe Remove a database operation that is not required
-> The item will be added to the database by the
   Folder, which is a FolderListener

Change-Id: I3f41e3ef58f5829bd0c834901bf239539eb9d0bc
2012-07-09 18:02:02 -07:00
Michael Jurka 2ecf995e0d Remove use of private ValueAnimator api
Change-Id: I455edcd17bda83ab51c2c04fa40e66097a4d6975
2012-06-19 11:44:57 -07:00
Adam Cohen fb91f303f5 Adding animation when destroying folder due to single item remaining
Change-Id: I079af9a50d7d6f63092b725ecd941ab1e298032d
2012-06-11 18:44:17 -07:00
Adam Cohen 268c4751b5 Fix two pieces of folder jank
-> Folder icon gets clipped when animating from dock
   as well as a couple other cases (issue 5849615)
-> Blip when creating folder (issue 6623095)

Change-Id: I638c9a7876de2f87eb8e96a9eb192fa4a127fb4a
2012-06-07 11:53:34 -07:00
Andrew Flynn 850d2e7185 Support split status bar in launcher
Change-Id: I2f6687f52e8326f80e84251e39bf6cd6dc9b2f2b
2012-05-02 14:15:00 -07:00
Michael Jurka 8b805b1715 Remove use of private APIs
Change-Id: I3e28763075f8e92391796dc009214c9fa8f50008
2012-04-25 16:24:03 -07:00
Michael Jurka 3a9fcedbcd Fix warnings and remove dead code
Change-Id: I574d823fedf4b752c3df5a72599b390f708823ac
2012-04-13 14:52:51 -07:00
Adam Cohen c6cc61d458 Cleanup and refactoring in relation to drag and drop
-> folder creation, adding to folders, reordering, switching pages
-> ensuring parity of dragEnter and dragExit in cell layouts and workspace
   (neither were consistently getting an even number of each)
-> actually enforced above with exceptions -- probably want to
   take these out, but maybe we can leave them in as warnings
-> fixed bug with mapping points to hotseat
-> fixes other bugs with drag and drop

Change-Id: I564568f810f2784d122ec6135012b67c2e8e7551
2012-04-09 11:41:59 -07:00
Winson Chung 88f334571f Lowering long press time for workspace items.
Change-Id: I6a3b0e13681f07d0e50bf2dcec777037c4ef51a5
2012-02-23 15:23:56 -08:00
Winson Chung 7bd1bbb509 Animating the drag view scale up and down when dragging items.
Change-Id: Ic97d74a14964c6bdc23305b2d378b13a1f2e3664
2012-02-13 19:05:25 -08:00
Adam Cohen ed66b2bac7 Improving widget transitions:
-> When a widget has no configuration activity, we bind
   and inflate it when the user picks it up. This allows
   us to smoothly transition between it's preview and
   some actual state of the widget when it is dropped.
-> When a widget has a configuration activity, we delay
   the above process until the configuration activity
   has been run at which time we transition between
   the preview and the actual widget.

Change-Id: I5265cd98400d70e5e75c3dcd21e322ed0b352d7b
2012-02-13 13:30:32 -08:00
Winson Chung a1cdab0392 Reverting: "Animating the drag view scale up and down when dragging items."
Change-Id: I133ff2631834a4b97e1e4750fb7c07793ddeba69
2012-02-13 13:03:52 -08:00
Winson Chung 42c29aedf2 Animating the drag view scale up and down when dragging items.
- Also fixing up how we draw the drag view alpha

Change-Id: Ied82aec9d52274b0fe65c989eab818b0264a9eb2
2012-02-07 16:16:27 -08:00
Adam Cohen 6441de0ec2 Fixing subtle animation jank when dropping icon on adjacent page
-> The old path of the icon wasn't correct from a motion standpoint

Change-Id: Icb4b06b5cd5649e983d43953ff369d1d8d8cdee2
2011-12-14 14:38:06 -08:00
Michael Jurka 92f3d46cf3 Clean up unused code and import declarations
Change-Id: If36fd2d99a51b07290b13f697b3ea08d31feb023
2011-11-28 10:51:22 -08:00
Adam Cohen 3371da0159 Initial changes to make folders accessible
Change-Id: Id8c9cbc0ef200967c3b966fbccfdfde184d4211c
2011-10-26 14:08:19 -07:00
Adam Cohen df6af5740d Fix NPE when opening a new folder if there were no folders before (issue 5482523)
Change-Id: I41fa39c4766f052c785c7e5635c8243e34af84fc
2011-10-19 14:38:16 -07:00
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