summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/DragLayer.java
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Cleaning up widget resizing codeAdam Cohen2011-03-031-11/+15
| | | | Change-Id: Ib4c0de0080f0b69f873fd88016f23c319a13c6ff
* Implementing resizable widgets in launcherAdam Cohen2011-02-251-0/+13
| | | | Change-Id: I18598493dcf34fc6089fa330a4b66803f658b773
* Disable multitouch to prevent crash in all apps and frozen workspace while ↵Winson Chung2011-02-031-0/+3
| | | | | | dragging. Change-Id: I813e0294a9e3b73f43922d8cd6896e71f3664429
* Adding animations to Customize drawerAdam Cohen2010-12-081-1/+19
| | | | | | | -When you tap to add in customize drawer the widgets / app shortcuts now animate to the mini screens Change-Id: I0a5b5ae561fda3fbbf902003273477a5ed7ca5cc
* Improving home screen customizationMichael Jurka2010-07-091-3/+3
| | | | | | | | | | - Created a drawer with tabs for widgets, folders, shortcuts, wallpapers (wallpapers are currently not implemented) - Tapping outside the drawer dismisses it - Moved the all apps icon to the upper right of the screen - Adding a toast that says "No more space on screen" when dragging a widget to a full screen - Fixed bug where you could stack two equal-sized widgets on top of each other on the homescreen (exposed by the new ability to drag widgets onto the home screen) Change-Id: I03b65ce54a85d24328c94e0c06e249571de449ee
* Fix dpad nav: go left/right when dpad is moved and dots are focused.Romain Guy2010-01-111-1/+6
| | | | Bug #2359364
* Add a lot of logging that can be seen by doing adb shell setprop ↵Joe Onorato2009-11-171-0/+1
| | | | launcher2.dumpstate 1 and presssing volume down
* New position indicators and icons for Launcher2.Romain Guy2009-11-091-16/+0
| | | | Change-Id: Id444943a3cc2e9db78733614141cbe2be837fdbf
* Don't do swipes to open all apps anymore.Joe Onorato2009-10-061-50/+2
| | | | | http://b/issue?id=2169884 http://b/issue?id=2160569
* Add the animation for when you enter the all apps view.Joe Onorato2009-09-111-2/+51
|
* Move the drag thing into its own window that goes around on top of ↵Joe Onorato2009-08-061-567/+8
| | | | everything else.
* Split the wallpaper into its own view (it will be its own surface some day).Joe Onorato2009-07-311-0/+1
|