summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/FolderIcon.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix two pieces of folder jankAdam Cohen2012-06-071-6/+1
| | | | | | | | -> 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
* Support split status bar in launcherAndrew Flynn2012-05-021-4/+8
| | | | Change-Id: I2f6687f52e8326f80e84251e39bf6cd6dc9b2f2b
* Remove use of private APIsMichael Jurka2012-04-251-1/+1
| | | Change-Id: I3e28763075f8e92391796dc009214c9fa8f50008
* Fix warnings and remove dead codeMichael Jurka2012-04-131-2/+3
| | | Change-Id: I574d823fedf4b752c3df5a72599b390f708823ac
* Cleanup and refactoring in relation to drag and dropAdam Cohen2012-04-091-1/+4
| | | | | | | | | | | | -> 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
* Lowering long press time for workspace items.Winson Chung2012-02-231-0/+34
| | | | Change-Id: I6a3b0e13681f07d0e50bf2dcec777037c4ef51a5
* Animating the drag view scale up and down when dragging items.Winson Chung2012-02-131-5/+6
| | | | Change-Id: Ic97d74a14964c6bdc23305b2d378b13a1f2e3664
* Improving widget transitions:Adam Cohen2012-02-131-2/+3
| | | | | | | | | | | | | -> 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
* Reverting: "Animating the drag view scale up and down when dragging items."Winson Chung2012-02-131-6/+5
| | | | Change-Id: I133ff2631834a4b97e1e4750fb7c07793ddeba69
* Animating the drag view scale up and down when dragging items.Winson Chung2012-02-071-5/+6
| | | | | | - Also fixing up how we draw the drag view alpha Change-Id: Ied82aec9d52274b0fe65c989eab818b0264a9eb2
* Fixing subtle animation jank when dropping icon on adjacent pageAdam Cohen2011-12-141-1/+1
| | | | | | -> The old path of the icon wasn't correct from a motion standpoint Change-Id: Icb4b06b5cd5649e983d43953ff369d1d8d8cdee2
* Clean up unused code and import declarationsMichael Jurka2011-11-281-1/+0
| | | | Change-Id: If36fd2d99a51b07290b13f697b3ea08d31feb023
* Initial changes to make folders accessibleAdam Cohen2011-10-261-4/+5
| | | | Change-Id: Id8c9cbc0ef200967c3b966fbccfdfde184d4211c
* Fix NPE when opening a new folder if there were no folders before (issue ↵Adam Cohen2011-10-191-6/+1
| | | | | | 5482523) Change-Id: I41fa39c4766f052c785c7e5635c8243e34af84fc
* Fixing folder icon in landscape, issue 5135333Adam Cohen2011-08-231-10/+31
| | | | Change-Id: Idf46b12a947bdc0e56993b8827021855d5349bc1
* Fix issue 5064004, can't add shortcut to portal from AllAppsAdam Cohen2011-08-151-34/+43
| | | | Change-Id: I99cd2108af617cf5a80b417f81a86c363fac2377
* Fixing blip in animation when creating folderAdam Cohen2011-08-121-2/+2
| | | | Change-Id: Icbb37b4bdd453e1af452125cf42c23b3e90c9629
* Adding a progress bar while All Apps is loadingMichael Jurka2011-08-091-1/+0
| | | | | - also, removing some unused imports Change-Id: Icf46beb9fa9d89bc06cba33c148ceb7d668cd402
* Completing fix for issue 5052078, folder items no longer lostAdam Cohen2011-07-291-0/+9
| | | | Change-Id: I9d9cc4658122816e2a60de2e12da65f3fe42bc5c
* Merge "Updating portals visuals:"Adam Cohen2011-07-271-1/+8
|\
| * Updating portals visuals:Adam Cohen2011-07-261-1/+8
| | | | | | | | | | | | | | | | -> added leave behind asset to dock, issue 5052467 -> new assets -> modified text Change-Id: Ie395b768658dd5c02443b37c4f58a02cf3e86e59
* | Fixing issue 5064135, issue 5033850Adam Cohen2011-07-261-1/+1
|/ | | | | | | -> id's were duplicated causing strange behaviour in onRestoreInstanceState Change-Id: I20132942baaec54880c6d765b37d26ac2ffd31ee
* Smoothing out transitions when adding from AllAppsCustomizeAdam Cohen2011-07-211-0/+3
| | | | | | | -> Making sure the dragview animates to the proper final position -> Preventing add if item is released too early in the transition Change-Id: I77882c02a6ce569436a6c8b5c3f4ed0023d5807e
* Pixel perfect drag animations in workspace and folders, including springloadedAdam Cohen2011-07-141-20/+23
| | | | Change-Id: I630c365bdc8e896a21dc17ebe8acb8d4664c77b5
* Fixing bug 5011917 - clearing refernce to old folders from FolderInfoAdam Cohen2011-07-111-1/+0
| | | | | | -> Also, ensured that unbind() gets called on all ItemInfos on rotate Change-Id: I869b68fcae5c66702ec204596f5ecabdc7a32df7
* Fixing issues with spring loaded adding.Winson Chung2011-07-111-5/+8
| | | | | | | | | - 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
* Substantially improved performance of dragging and drop animationsAdam Cohen2011-07-071-3/+3
| | | | | | | | | | -> 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
* Adding transitions during folder creationAdam Cohen2011-07-061-75/+221
| | | | | | | | | | | -> 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
* Cleaning up Folder accept animation drawingAdam Cohen2011-07-031-36/+32
| | | | | | | -> Moved from Workspace to CellLayout, which fixes a bunch of bugs with transforms (springloaded mode and page scrolling) Change-Id: I92510be817f46bd29b8a10aac5512dc1ead87180
* Added transitions when dropping items onto Folders, fixed bugsAdam Cohen2011-07-021-10/+23
| | | | | | | -> 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
* Populating some more accessibility events.Winson Chung2011-06-291-0/+2
| | | | Change-Id: I7813abdd6dcc0979949caec9e31029486be0396d
* Fix bug 4901543. Shadow now remains on FolderIcon after rename.Adam Cohen2011-06-241-3/+1
| | | | Change-Id: I5457d8c958e6d965b5bb0dacf7f1a418966214ef
* New folder visualization, renaming, staggering reorderAdam Cohen2011-06-211-53/+73
| | | | Change-Id: I62963d225e6ea5d2ec9d8ebc8a6d73099f5d6c7f
* Fixing up some folder-related drag and drop bugsAdam Cohen2011-06-091-1/+6
| | | | Change-Id: I712ffd0ccfc0154a5a9e74e3f585157a86986882
* Fixing up some Folder bugsAdam Cohen2011-06-081-52/+63
| | | | | | | | | | -> 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
* Adding visual feedback for folder creation`Adam Cohen2011-05-311-79/+105
| | | | Change-Id: I47de931a07e3614e25f54d1ba5752a54993d6153
* Implementing new visualization for folder iconAdam Cohen2011-05-261-10/+49
| | | | Change-Id: I6c0658d71109d05c93de7d299cf62bc9a2c99e20
* Refactor of Launcher drag and drop to use a DragObjectAdam Cohen2011-05-241-23/+12
| | | | | | | -> DragObject contains a bunch of parameters instead of pssing them each individually Change-Id: I709cf320fe4234d71e19325d5c761dd9a9bba405
* Fix index out of boundsAdam Cohen2011-05-181-1/+1
| | | | Change-Id: Id288c01ab7e39fb16e7247030dbb76183436cb79
* Fixing folder bugs:Adam Cohen2011-05-181-4/+8
| | | | | | | | | | | | -> 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
* Pushed folder inner ring drawing into workspace during animationAdam Cohen2011-05-181-75/+44
| | | | Change-Id: I571b71acbfdd28f921e35e989efd2dceefb54f11
* Changed folder hover animationsAdam Cohen2011-05-171-31/+127
| | | | | | | | -> Added outer ring to hover animation -> Fixed location of items in folder during hover animation -> Cleaned up the code Change-Id: I57c5f3cadbd2f289a18f7420a57ced6053fb06db
* Shrink-wrapped foldersAdam Cohen2011-05-161-4/+62
| | | | Change-Id: Ida1b5d0bd4d39eabfde9f8a5bee0d4b6e9b33627
* Adding folder icon visualizationAdam Cohen2011-05-021-15/+67
| | | | | | -> Added new temp assets Change-Id: If1d7e8ce867b473920f40cd1cc02d189be62b8bf
* Stripping LiveFolders from LauncherAdam Cohen2011-04-281-2/+2
| | | | Change-Id: Ic105fbeb1289e43469d5975b7d977b2fc7900c0b
* Changing folders to use CellLayoutsMichael Jurka2011-04-151-0/+2
| | | Change-Id: Ic80bece18855a4f5d2476c224ef66f035ac7c97b
* Enabling user folder creation by dropping shortcut onto shortcutAdam Cohen2011-04-151-2/+6
| | | | Change-Id: Ib8de001f5003cd44f1524cb7763fc928fa24aaba
* Fixing crash where we were assuming an old parent hierarchy.Winson Chung2011-03-181-1/+4
| | | | Change-Id: I5acccab175c150f2fb994e58f0b5592d2015fcfe
* Removing dead codeMichael Jurka2011-01-171-1/+0
| | | | Change-Id: Iec1e23a9764b8ef2bb1326c8502f31f5b5c8763a
* removing DimmableBubbleTextView and DimmableAppWidgetHostViewMichael Jurka2010-12-041-1/+1
| | | - use of DimmableBubbleTextView might also be causing NPE on user machines