summaryrefslogtreecommitdiff
path: root/src/com/android/launcher2/FolderIcon.java
AgeCommit message (Collapse)Author
2014-06-23Don't badge folders with contentDescription.Kenny Guy
No current plans for per-user folders so don't update their contentDescritpion with user badging. Change-Id: If71dbfff5297f6f4496edd79e27d454bb0d463a5
2014-06-19Add content description for apps from profiles.Kenny Guy
Add content description to apps so that apps from the managed profile are described differently to the same app in the personal profile. Bug: 15106236 Change-Id: I3fb151aadd947f48f85392cd9be8222c37b2dfcf
2013-05-30Fix for issue 7178173, item disappearing from folderAdam Cohen
Change-Id: I8e4e2f04053a2fc29ca38dc130f39c57c5c019f7
2013-03-28Fix jumps in the beginning of animationsMichael Jurka
If the first draw frame of an animation is expensive, which it often is, it causes a big jump. Added a helper class which automatically adjusts the animation start time if the first frame is more than 16ms. Change-Id: I100edbc41c2abe930a32d6bcf0a782ea9735f7f9
2012-07-09Remove a database operation that is not requiredAdam Cohen
-> The item will be added to the database by the Folder, which is a FolderListener Change-Id: I3f41e3ef58f5829bd0c834901bf239539eb9d0bc
2012-06-19Remove use of private ValueAnimator apiMichael Jurka
Change-Id: I455edcd17bda83ab51c2c04fa40e66097a4d6975
2012-06-11Adding animation when destroying folder due to single item remainingAdam Cohen
Change-Id: I079af9a50d7d6f63092b725ecd941ab1e298032d
2012-06-07Fix two pieces of folder jankAdam Cohen
-> 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-05-02Support split status bar in launcherAndrew Flynn
Change-Id: I2f6687f52e8326f80e84251e39bf6cd6dc9b2f2b
2012-04-25Remove use of private APIsMichael Jurka
Change-Id: I3e28763075f8e92391796dc009214c9fa8f50008
2012-04-13Fix warnings and remove dead codeMichael Jurka
Change-Id: I574d823fedf4b752c3df5a72599b390f708823ac
2012-04-09Cleanup and refactoring in relation to drag and dropAdam Cohen
-> 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-02-23Lowering long press time for workspace items.Winson Chung
Change-Id: I6a3b0e13681f07d0e50bf2dcec777037c4ef51a5
2012-02-13Animating the drag view scale up and down when dragging items.Winson Chung
Change-Id: Ic97d74a14964c6bdc23305b2d378b13a1f2e3664
2012-02-13Improving widget transitions:Adam Cohen
-> 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-13Reverting: "Animating the drag view scale up and down when dragging items."Winson Chung
Change-Id: I133ff2631834a4b97e1e4750fb7c07793ddeba69
2012-02-07Animating the drag view scale up and down when dragging items.Winson Chung
- Also fixing up how we draw the drag view alpha Change-Id: Ied82aec9d52274b0fe65c989eab818b0264a9eb2
2011-12-14Fixing subtle animation jank when dropping icon on adjacent pageAdam Cohen
-> The old path of the icon wasn't correct from a motion standpoint Change-Id: Icb4b06b5cd5649e983d43953ff369d1d8d8cdee2
2011-11-28Clean up unused code and import declarationsMichael Jurka
Change-Id: If36fd2d99a51b07290b13f697b3ea08d31feb023
2011-10-26Initial changes to make folders accessibleAdam Cohen
Change-Id: Id8c9cbc0ef200967c3b966fbccfdfde184d4211c
2011-10-19Fix NPE when opening a new folder if there were no folders before (issue ↵Adam Cohen
5482523) Change-Id: I41fa39c4766f052c785c7e5635c8243e34af84fc
2011-08-23Fixing folder icon in landscape, issue 5135333Adam Cohen
Change-Id: Idf46b12a947bdc0e56993b8827021855d5349bc1
2011-08-15Fix issue 5064004, can't add shortcut to portal from AllAppsAdam Cohen
Change-Id: I99cd2108af617cf5a80b417f81a86c363fac2377
2011-08-12Fixing blip in animation when creating folderAdam Cohen
Change-Id: Icbb37b4bdd453e1af452125cf42c23b3e90c9629
2011-08-09Adding a progress bar while All Apps is loadingMichael Jurka
- also, removing some unused imports Change-Id: Icf46beb9fa9d89bc06cba33c148ceb7d668cd402
2011-07-29Completing fix for issue 5052078, folder items no longer lostAdam Cohen
Change-Id: I9d9cc4658122816e2a60de2e12da65f3fe42bc5c
2011-07-27Merge "Updating portals visuals:"Adam Cohen
2011-07-26Fixing issue 5064135, issue 5033850Adam Cohen
-> id's were duplicated causing strange behaviour in onRestoreInstanceState Change-Id: I20132942baaec54880c6d765b37d26ac2ffd31ee
2011-07-26Updating portals visuals:Adam Cohen
-> added leave behind asset to dock, issue 5052467 -> new assets -> modified text Change-Id: Ie395b768658dd5c02443b37c4f58a02cf3e86e59
2011-07-21Smoothing out transitions when adding from AllAppsCustomizeAdam Cohen
-> 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-14Pixel perfect drag animations in workspace and folders, including springloadedAdam Cohen
Change-Id: I630c365bdc8e896a21dc17ebe8acb8d4664c77b5
2011-07-11Fixing bug 5011917 - clearing refernce to old folders from FolderInfoAdam Cohen
-> Also, ensured that unbind() gets called on all ItemInfos on rotate Change-Id: I869b68fcae5c66702ec204596f5ecabdc7a32df7
2011-07-11Fixing issues with spring loaded adding.Winson Chung
- 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-07Substantially improved performance of dragging and drop animationsAdam Cohen
-> 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-06Adding transitions during folder creationAdam Cohen
-> 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-03Cleaning up Folder accept animation drawingAdam Cohen
-> Moved from Workspace to CellLayout, which fixes a bunch of bugs with transforms (springloaded mode and page scrolling) Change-Id: I92510be817f46bd29b8a10aac5512dc1ead87180
2011-07-02Added transitions when dropping items onto Folders, fixed bugsAdam Cohen
-> 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-06-29Populating some more accessibility events.Winson Chung
Change-Id: I7813abdd6dcc0979949caec9e31029486be0396d
2011-06-24Fix bug 4901543. Shadow now remains on FolderIcon after rename.Adam Cohen
Change-Id: I5457d8c958e6d965b5bb0dacf7f1a418966214ef
2011-06-21New folder visualization, renaming, staggering reorderAdam Cohen
Change-Id: I62963d225e6ea5d2ec9d8ebc8a6d73099f5d6c7f
2011-06-09Fixing up some folder-related drag and drop bugsAdam Cohen
Change-Id: I712ffd0ccfc0154a5a9e74e3f585157a86986882
2011-06-08Fixing up some Folder bugsAdam Cohen
-> 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-05-31Adding visual feedback for folder creation`Adam Cohen
Change-Id: I47de931a07e3614e25f54d1ba5752a54993d6153
2011-05-26Implementing new visualization for folder iconAdam Cohen
Change-Id: I6c0658d71109d05c93de7d299cf62bc9a2c99e20
2011-05-24Refactor of Launcher drag and drop to use a DragObjectAdam Cohen
-> DragObject contains a bunch of parameters instead of pssing them each individually Change-Id: I709cf320fe4234d71e19325d5c761dd9a9bba405
2011-05-18Fix index out of boundsAdam Cohen
Change-Id: Id288c01ab7e39fb16e7247030dbb76183436cb79
2011-05-18Fixing folder bugs:Adam Cohen
-> 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-18Pushed folder inner ring drawing into workspace during animationAdam Cohen
Change-Id: I571b71acbfdd28f921e35e989efd2dceefb54f11
2011-05-17Changed folder hover animationsAdam Cohen
-> Added outer ring to hover animation -> Fixed location of items in folder during hover animation -> Cleaned up the code Change-Id: I57c5f3cadbd2f289a18f7420a57ced6053fb06db
2011-05-16Shrink-wrapped foldersAdam Cohen
Change-Id: Ida1b5d0bd4d39eabfde9f8a5bee0d4b6e9b33627