summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/DragLayer.java
Commit message (Collapse)AuthorAgeFilesLines
* Launcher2 is now Launcher3.Daniel Sandler2013-06-051-804/+0
| | | | | | | | | | Changes include - moving from com.android.launcher{,2} to com.android.launcher3 - removing wallpapers - new temporary icon Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b
* Fixing issue where accessibility was reporting items behind an open folder. ↵Winson Chung2013-04-121-0/+26
| | | | | | (Bug 8331717) Change-Id: Ibaec4144ee911c6d784737cf56a4fc8a1dad2886
* Fixing RTL issues with apps ordering and snapping to page. (Bug 8238938, Bug ↵Winson Chung2013-04-011-2/+10
| | | | | | 8374016, Bug 8373578) Change-Id: I57ff58a6202a2794f02cfc13ed6124b10256dbbf
* Fix NPEMichael Jurka2012-10-191-0/+3
| | | | | Bug: 7356682 Change-Id: Ic6522da1ec6ac0d57f1565cef9c43949f2d7fd70
* Merge "Adding the ability to scale the hotseat or items in the hotseat" into ↵Adam Cohen2012-08-241-6/+13
|\ | | | | | | jb-mr1-dev
| * Adding the ability to scale the hotseat or items in the hotseatAdam Cohen2012-08-201-6/+13
| | | | | | | | | | | | | | | | | | | | | | --> A bunch of stuff breaks when scaling the hotseat. More specifically, drag and drop animations between hotseat and workspace, scaling on pick up, folder animations, determination of item placement. This CL fixes these issues so that the hotseat or hotseat items are ready to be scaled. --> For now, using 90% scale factor for 7-inch+ UIs Change-Id: Iac098409347e76139e4d726a071397b56ac684d2
* | Temporary fix for qsb and hotseat clicking issuesAdam Cohen2012-08-231-7/+4
|/ | | | Change-Id: I3fca1e3dada12c8655887c3d7a2200b6fcfac19c
* Clean up warnings and some private API usageMichael Jurka2012-06-121-3/+0
| | | Change-Id: Ic3c0b333942bc3de130e41531017e71358bd5bfb
* Fix drag layerAndrew Flynn2012-05-091-1/+10
| | | | Change-Id: Iac2f53cdd765df9097a5a5a75b37cdacb03fb633
* 7" launcher changes.Andrew Flynn2012-05-081-14/+1
| | | | | | | | - Shrink icons in workspace (keeping hotseat size the same) - Increase width of QSB in landscape - Move QSB voice button to bottom in landscape Change-Id: I2c0bad4229484f516005592f2c14da1a4939acca
* Moving side-page indicators to DragLayer to ensure it draws above hotseat ↵Winson Chung2012-04-271-0/+47
| | | | | | gradient. (Bug 5117499) Change-Id: Id0ab644f6631f4fd6be042b6be36ba8fe58eaae4
* Remove use of private APIsMichael Jurka2012-04-251-9/+13
| | | Change-Id: I3e28763075f8e92391796dc009214c9fa8f50008
* Fix warnings and remove dead codeMichael Jurka2012-04-131-5/+1
| | | Change-Id: I574d823fedf4b752c3df5a72599b390f708823ac
* Widget resizing can now displace itemsAdam Cohen2012-04-121-1/+3
| | | | Change-Id: I005c9aebf64b2d01debe59f86a208075d19476ea
* Merge "Eliminate custom alpha handling in CellLayout"Michael Jurka2012-03-211-1/+1
|\
| * Eliminate custom alpha handling in CellLayoutMichael Jurka2012-03-201-1/+1
| | | | | | | | | | | | Also rename CellLayoutChildren to ShortcutsAndWidgetsView Change-Id: Ic2ebc5497adb153cc2fce99730cc2c6fbdc101e6
* | Adding fling-to-delete.Winson Chung2012-03-201-30/+41
|/ | | | | | - Also fixing issue where the drop target icon changes color slower than the text. Change-Id: I0bfa59da5d202016342f1c3de419ebcafd81ff6f
* Fixing some issues/regressions related to scaled icons.Winson Chung2012-03-081-6/+13
| | | | | | | | | | - Fixes issue with folder icons being clipped in landscape in sw720dp (Bug: 6118397) - Fixes issue with divider being in wrong orientation in sw720dp - Fixes issue with scaled icons not being drawn with filtering - Fixes issue with side pages showing under the hotseat when in landscape in phone UI - Animates the drag view on pick up and drop Change-Id: Iad26427ec63fcbc9bdb3b29a4645689ba445d5c8
* When adding or moving a resizable widget, the widget may resizeAdam Cohen2012-02-271-15/+6
| | | | | | | | | | -> If a widget is resizable, and there is not enough room to add it in its current (or default) size, but can be scaled down to fit a certain area, it will be resized to fit the available space -> The resizing is animated using a crossfade and scale between the original dragView and the widget rendered in the final size Change-Id: I75db9dcabecce11598b3ae55f20b96b2ec6b7e87
* Tweaking pickup animation, vibration and removing glow from drag view.Winson Chung2012-02-231-0/+1
| | | | Change-Id: I8c9741e8b63ca9a0fc4af90e178dbb02fa912d83
* Animating the drag view scale up and down when dragging items.Winson Chung2012-02-131-62/+53
| | | | Change-Id: Ic97d74a14964c6bdc23305b2d378b13a1f2e3664
* Improving widget transitions:Adam Cohen2012-02-131-21/+52
| | | | | | | | | | | | | -> 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-37/+48
| | | | Change-Id: I133ff2631834a4b97e1e4750fb7c07793ddeba69
* Animating the drag view scale up and down when dragging items.Winson Chung2012-02-071-48/+37
| | | | | | - 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-8/+20
| | | | | | -> The old path of the icon wasn't correct from a motion standpoint Change-Id: Icb4b06b5cd5649e983d43953ff369d1d8d8cdee2
* Merge "Clean up unused code and import declarations" into ics-mr1Michael Jurka2011-11-281-1/+0
|\
| * Clean up unused code and import declarationsMichael Jurka2011-11-281-1/+0
| | | | | | | | Change-Id: If36fd2d99a51b07290b13f697b3ea08d31feb023
* | Fixing a few landscape issues.Winson Chung2011-11-281-0/+6
|/ | | | | | | | - Fixing issue where widgets/icon names from side pages show in landscape (Bug 5665226) - Fixing issue where the workspace was rendering over the hotseat in landscape (Bug 5665226) - Fixing regression where the market button had no press feedback Change-Id: Idcd890fdddab2d463195c9b3000fe7a0ab357200
* Unifying overscroll btw phone and tabletAdam Cohen2011-11-111-5/+5
| | | | | | -> Using separate assets for removing and uninstalling Change-Id: I183967c3ca482531ae28f71cd9053b673c6a8d03
* Cleaning up overscroll effect in launcher workspaceAdam Cohen2011-11-031-0/+41
| | | | | | | -> Making sure workspace is drawn above the hotseat and qsb -> Dimming the dock divider and page indicator during overscroll Change-Id: I40766aa88e58db2d102c11d1ae8b2455aa459a07
* Initial changes to make folders accessibleAdam Cohen2011-10-261-3/+79
| | | | Change-Id: Id8c9cbc0ef200967c3b966fbccfdfde184d4211c
* Updating Clings. (5057945, 5056643)Winson Chung2011-09-181-1/+1
| | | | Change-Id: Ifb2d37e92495aeddf9d4b3277eb8d2a846f4aa99
* Grid spacing fixesWinson Chung2011-08-041-0/+5
| | | | | | | | | - Restoring old grid for widgets - Disabling ability to add widgets to hotseat - Updating holo colors - Updating assets Change-Id: I3a639f0afeca9463f8079eb8fbaedf295a41fa0f
* Fixing animation when dropping to adjacent screen, issue 4990545Adam Cohen2011-08-011-4/+10
| | | | Change-Id: I575e9257a211ed72a6aefb119bccf1154d2a0c9f
* Fixing a couple bugs, allapps clicks and weird crashAdam Cohen2011-07-201-2/+2
| | | | | | | -> issue 5021897 (when this was fixed, exposed more bugginess that is now fixed) -> issue 5038392 Change-Id: I49a4e9fca154f75ea22ad2c462641747536102ce
* Bounding folders into their associated cell layout area, excluding dockAdam Cohen2011-07-171-6/+21
| | | | Change-Id: I220ccf1d8b08f9962c63efc92265e3c7acc137f9
* Improving adding widgets animationsAdam Cohen2011-07-171-13/+30
| | | | Change-Id: I9730d3d531736bde58cdf1bf2da049392d4da83a
* Pixel perfect drag animations in workspace and folders, including springloadedAdam Cohen2011-07-141-13/+33
| | | | Change-Id: I630c365bdc8e896a21dc17ebe8acb8d4664c77b5
* Fixing issues with spring loaded adding.Winson Chung2011-07-111-14/+49
| | | | | | | | | - 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-39/+70
| | | | | | | | | | -> 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
* Added transitions when dropping items onto Folders, fixed bugsAdam Cohen2011-07-021-41/+71
| | | | | | | -> 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
* Adding transitions after reorder within folderAdam Cohen2011-06-301-4/+130
| | | | Change-Id: I52b20fa1b2e4f9ee0b4a68ac703b95a2050dbd4a
* Pushing folders up to DragLayerAdam Cohen2011-06-281-1/+1
| | | | | | | | -> Increasing max num of items in Folders to match the grid size of the workspace. -> Had to push folders up to prevent clipping Change-Id: I7aae7920cff940b8e88e9bef82162c6ab5ff11e9
* Fixing bug where touch breaks completely after item removed from folderAdam Cohen2011-06-221-13/+7
| | | | Change-Id: If60057e5775853d3ac8c092dffe915f8f5a8bce4
* New folder visualization, renaming, staggering reorderAdam Cohen2011-06-211-12/+29
| | | | Change-Id: I62963d225e6ea5d2ec9d8ebc8a6d73099f5d6c7f
* Adding drag target bar.Winson Chung2011-06-011-5/+2
| | | | Change-Id: Ia00ed30264ea5f1d3c919111d15588ef441bfe20
* Shrink-wrapped foldersAdam Cohen2011-05-161-0/+22
| | | | Change-Id: Ida1b5d0bd4d39eabfde9f8a5bee0d4b6e9b33627
* Fixing widget resize visual / ux ugliness, Bug: 4082591Adam Cohen2011-03-141-17/+151
| | | | Change-Id: Ib258e02f52dd83418db0c0249efdc90d2424f059
* Fix 4020235: NPE at com.android.launcher2.DragLayer.onInterceptTouchEventPatrick Dubroy2011-03-071-9/+11
| | | | Change-Id: I606573f36270109b156b625b416d05ee16a44316
* Fix 3511340: Exit widget resize mode when home or back clickedPatrick Dubroy2011-03-031-3/+4
| | | | | | Also add an optimization to drastically reduce the number of posted events when a widget is currently being resized. Change-Id: I8839d4bba564028a67fb0355d35b7dd52465b199