summaryrefslogtreecommitdiff
path: root/src/com/android/launcher2/DragLayer.java
AgeCommit message (Collapse)Author
2013-08-09Rename method to avoid compilation error.John Spurlock
When building against the framework source instead of stubs. Change-Id: I365bc130f22322850b2a5045e039fbcc17a2b6b0
2013-04-12Fixing issue where accessibility was reporting items behind an open folder. ↵Winson Chung
(Bug 8331717) Change-Id: Ibaec4144ee911c6d784737cf56a4fc8a1dad2886
2013-04-01Fixing RTL issues with apps ordering and snapping to page. (Bug 8238938, Bug ↵Winson Chung
8374016, Bug 8373578) Change-Id: I57ff58a6202a2794f02cfc13ed6124b10256dbbf
2012-10-19Fix NPEMichael Jurka
Bug: 7356682 Change-Id: Ic6522da1ec6ac0d57f1565cef9c43949f2d7fd70
2012-08-24Merge "Adding the ability to scale the hotseat or items in the hotseat" into ↵Adam Cohen
jb-mr1-dev
2012-08-23Temporary fix for qsb and hotseat clicking issuesAdam Cohen
Change-Id: I3fca1e3dada12c8655887c3d7a2200b6fcfac19c
2012-08-20Adding the ability to scale the hotseat or items in the hotseatAdam Cohen
--> 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
2012-06-12Clean up warnings and some private API usageMichael Jurka
Change-Id: Ic3c0b333942bc3de130e41531017e71358bd5bfb
2012-05-09Fix drag layerAndrew Flynn
Change-Id: Iac2f53cdd765df9097a5a5a75b37cdacb03fb633
2012-05-087" launcher changes.Andrew Flynn
- 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
2012-04-27Moving side-page indicators to DragLayer to ensure it draws above hotseat ↵Winson Chung
gradient. (Bug 5117499) Change-Id: Id0ab644f6631f4fd6be042b6be36ba8fe58eaae4
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-12Widget resizing can now displace itemsAdam Cohen
Change-Id: I005c9aebf64b2d01debe59f86a208075d19476ea
2012-03-21Merge "Eliminate custom alpha handling in CellLayout"Michael Jurka
2012-03-20Adding fling-to-delete.Winson Chung
- Also fixing issue where the drop target icon changes color slower than the text. Change-Id: I0bfa59da5d202016342f1c3de419ebcafd81ff6f
2012-03-20Eliminate custom alpha handling in CellLayoutMichael Jurka
Also rename CellLayoutChildren to ShortcutsAndWidgetsView Change-Id: Ic2ebc5497adb153cc2fce99730cc2c6fbdc101e6
2012-03-08Fixing some issues/regressions related to scaled icons.Winson Chung
- 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
2012-02-27When adding or moving a resizable widget, the widget may resizeAdam Cohen
-> 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
2012-02-23Tweaking pickup animation, vibration and removing glow from drag view.Winson Chung
Change-Id: I8c9741e8b63ca9a0fc4af90e178dbb02fa912d83
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-28Merge "Clean up unused code and import declarations" into ics-mr1Michael Jurka
2011-11-28Fixing a few landscape issues.Winson Chung
- 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
2011-11-28Clean up unused code and import declarationsMichael Jurka
Change-Id: If36fd2d99a51b07290b13f697b3ea08d31feb023
2011-11-11Unifying overscroll btw phone and tabletAdam Cohen
-> Using separate assets for removing and uninstalling Change-Id: I183967c3ca482531ae28f71cd9053b673c6a8d03
2011-11-03Cleaning up overscroll effect in launcher workspaceAdam Cohen
-> Making sure workspace is drawn above the hotseat and qsb -> Dimming the dock divider and page indicator during overscroll Change-Id: I40766aa88e58db2d102c11d1ae8b2455aa459a07
2011-10-26Initial changes to make folders accessibleAdam Cohen
Change-Id: Id8c9cbc0ef200967c3b966fbccfdfde184d4211c
2011-09-18Updating Clings. (5057945, 5056643)Winson Chung
Change-Id: Ifb2d37e92495aeddf9d4b3277eb8d2a846f4aa99
2011-08-04Grid spacing fixesWinson Chung
- Restoring old grid for widgets - Disabling ability to add widgets to hotseat - Updating holo colors - Updating assets Change-Id: I3a639f0afeca9463f8079eb8fbaedf295a41fa0f
2011-08-01Fixing animation when dropping to adjacent screen, issue 4990545Adam Cohen
Change-Id: I575e9257a211ed72a6aefb119bccf1154d2a0c9f
2011-07-20Fixing a couple bugs, allapps clicks and weird crashAdam Cohen
-> issue 5021897 (when this was fixed, exposed more bugginess that is now fixed) -> issue 5038392 Change-Id: I49a4e9fca154f75ea22ad2c462641747536102ce
2011-07-17Bounding folders into their associated cell layout area, excluding dockAdam Cohen
Change-Id: I220ccf1d8b08f9962c63efc92265e3c7acc137f9
2011-07-17Improving adding widgets animationsAdam Cohen
Change-Id: I9730d3d531736bde58cdf1bf2da049392d4da83a
2011-07-14Pixel perfect drag animations in workspace and folders, including springloadedAdam Cohen
Change-Id: I630c365bdc8e896a21dc17ebe8acb8d4664c77b5
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-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-30Adding transitions after reorder within folderAdam Cohen
Change-Id: I52b20fa1b2e4f9ee0b4a68ac703b95a2050dbd4a
2011-06-28Pushing folders up to DragLayerAdam Cohen
-> 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
2011-06-22Fixing bug where touch breaks completely after item removed from folderAdam Cohen
Change-Id: If60057e5775853d3ac8c092dffe915f8f5a8bce4
2011-06-21New folder visualization, renaming, staggering reorderAdam Cohen
Change-Id: I62963d225e6ea5d2ec9d8ebc8a6d73099f5d6c7f
2011-06-01Adding drag target bar.Winson Chung
Change-Id: Ia00ed30264ea5f1d3c919111d15588ef441bfe20
2011-05-16Shrink-wrapped foldersAdam Cohen
Change-Id: Ida1b5d0bd4d39eabfde9f8a5bee0d4b6e9b33627
2011-03-14Fixing widget resize visual / ux ugliness, Bug: 4082591Adam Cohen
Change-Id: Ib258e02f52dd83418db0c0249efdc90d2424f059
2011-03-07Fix 4020235: NPE at com.android.launcher2.DragLayer.onInterceptTouchEventPatrick Dubroy
Change-Id: I606573f36270109b156b625b416d05ee16a44316
2011-03-03Fix 3511340: Exit widget resize mode when home or back clickedPatrick Dubroy
Also add an optimization to drastically reduce the number of posted events when a widget is currently being resized. Change-Id: I8839d4bba564028a67fb0355d35b7dd52465b199