History log of /packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f499b916e64ac776c7c57199985e0ec841141eec 10-Aug-2013 John Spurlock <jspurlock@google.com> Rename method to avoid compilation error.

When building against the framework source instead of stubs.

Change-Id: I365bc130f22322850b2a5045e039fbcc17a2b6b0
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
83ca480941b3dd635b62347008fc8d7859d82002 13-Apr-2013 Winson Chung <winsonc@google.com> Fixing issue where accessibility was reporting items behind an open folder. (Bug 8331717)

Change-Id: Ibaec4144ee911c6d784737cf56a4fc8a1dad2886
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
fe1fe268b6d9ffd99218117795b3524a87e5110b 02-Apr-2013 Winson Chung <winsonc@google.com> Fixing RTL issues with apps ordering and snapping to page. (Bug 8238938, Bug 8374016, Bug 8373578)

Change-Id: I57ff58a6202a2794f02cfc13ed6124b10256dbbf
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
023c71eb3b2bbe63272cb74baaf050c4188c89b0 19-Oct-2012 Michael Jurka <mikejurka@google.com> Fix NPE

Bug: 7356682
Change-Id: Ic6522da1ec6ac0d57f1565cef9c43949f2d7fd70
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
1dc3b9abd5ab0a39bab7694669d6784b89d362ef 24-Aug-2012 Adam Cohen <adamcohen@google.com> Merge "Adding the ability to scale the hotseat or items in the hotseat" into jb-mr1-dev
e29c55ac322f3386327fa5b61e79b00ba3e5d428 23-Aug-2012 Adam Cohen <adamcohen@google.com> Temporary fix for qsb and hotseat clicking issues

Change-Id: I3fca1e3dada12c8655887c3d7a2200b6fcfac19c
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
307fe23f125cbbd5512ad8d4660025f2ab68f30b 17-Aug-2012 Adam Cohen <adamcohen@google.com> Adding the ability to scale the hotseat or items in the hotseat

--> 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
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
9bc8eba3338455c5d915055e8ba044981c512dfa 22-May-2012 Michael Jurka <mikejurka@google.com> Clean up warnings and some private API usage

Change-Id: Ic3c0b333942bc3de130e41531017e71358bd5bfb
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
4497ebf9a2726e2a7dbb7f3c49389308908f8454 09-May-2012 Andrew Flynn <flynn@google.com> Fix drag layer

Change-Id: Iac2f53cdd765df9097a5a5a75b37cdacb03fb633
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
de38e42fe89fd7490221427908cd97c51da21b44 08-May-2012 Andrew Flynn <flynn@google.com> 7" launcher changes.

- 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
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
360e63fd3e77247002b86da2a77bd8dfe8c8a807 27-Apr-2012 Winson Chung <winsonc@google.com> Moving side-page indicators to DragLayer to ensure it draws above hotseat gradient. (Bug 5117499)

Change-Id: Id0ab644f6631f4fd6be042b6be36ba8fe58eaae4
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
8b805b17158886035b38261eb611d8641701ae43 18-Apr-2012 Michael Jurka <mikejurka@google.com> Remove use of private APIs

Change-Id: I3e28763075f8e92391796dc009214c9fa8f50008
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
3a9fcedbcd235372cd2ab64f825a0b5b3937f59e 13-Apr-2012 Michael Jurka <mikejurka@google.com> Fix warnings and remove dead code

Change-Id: I574d823fedf4b752c3df5a72599b390f708823ac
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
bebf042666cffe52039b875a549a582abd78a431 12-Apr-2012 Adam Cohen <adamcohen@google.com> Widget resizing can now displace items

Change-Id: I005c9aebf64b2d01debe59f86a208075d19476ea
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
08c93d7eca03ec2cd1300ce6a085b59a4670a03b 21-Mar-2012 Michael Jurka <mikejurka@google.com> Merge "Eliminate custom alpha handling in CellLayout"
043f2af567178b82b0b41f12d379e7dd12da2936 02-Mar-2012 Winson Chung <winsonc@google.com> Adding fling-to-delete.

- Also fixing issue where the drop target icon changes color slower than the text.

Change-Id: I0bfa59da5d202016342f1c3de419ebcafd81ff6f
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
a52570f8f9ad65b85e33a2f2e87722f9edd6c6f4 20-Mar-2012 Michael Jurka <mikejurka@google.com> Eliminate custom alpha handling in CellLayout

Also rename CellLayoutChildren to ShortcutsAndWidgetsView

Change-Id: Ic2ebc5497adb153cc2fce99730cc2c6fbdc101e6
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
eecf02da58adef5486bf0c9ff7127ea891f457a4 03-Mar-2012 Winson Chung <winsonc@google.com> Fixing some issues/regressions related to scaled icons.

- 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
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
d41fbf5680750e34335bba6b38298186c144a4b7 17-Feb-2012 Adam Cohen <adamcohen@google.com> When adding or moving a resizable widget, the widget may resize

-> 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
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
61b0c69d3fe331d3de338322396d5de691d58613 24-Feb-2012 Winson Chung <winsonc@google.com> Tweaking pickup animation, vibration and removing glow from drag view.

Change-Id: I8c9741e8b63ca9a0fc4af90e178dbb02fa912d83
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
7bd1bbb509f9569fa18d6b4d33242679fd98bc9b 14-Feb-2012 Winson Chung <winsonc@google.com> Animating the drag view scale up and down when dragging items.

Change-Id: Ic97d74a14964c6bdc23305b2d378b13a1f2e3664
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
ed66b2bac7447febe2e405b4ce725cae4f6b5988 24-Jan-2012 Adam Cohen <adamcohen@google.com> Improving widget transitions:

-> 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
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
a1cdab039292f3d809528c0e2e38580b37864d8d 13-Feb-2012 Winson Chung <winsonc@google.com> Reverting: "Animating the drag view scale up and down when dragging items."

Change-Id: I133ff2631834a4b97e1e4750fb7c07793ddeba69
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
42c29aedf2b518c4317fc534f3c87711b57bc9b5 07-Feb-2012 Winson Chung <winsonc@google.com> Animating the drag view scale up and down when dragging items.

- Also fixing up how we draw the drag view alpha

Change-Id: Ied82aec9d52274b0fe65c989eab818b0264a9eb2
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
6441de0ec2a71862798dd51180d0811b42edd514 14-Dec-2011 Adam Cohen <adamcohen@google.com> Fixing subtle animation jank when dropping icon on adjacent page

-> The old path of the icon wasn't correct from a motion standpoint

Change-Id: Icb4b06b5cd5649e983d43953ff369d1d8d8cdee2
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
7e38964c43ecaca90b97d28e3190d71d19feeecc 29-Nov-2011 Michael Jurka <mikejurka@google.com> Merge "Clean up unused code and import declarations" into ics-mr1
e96e5cb768fcc6f1211c8c31fa2da4dcd4e465cc 28-Nov-2011 Winson Chung <winsonc@google.com> Fixing a few landscape issues.

- 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
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
92f3d46cf35e78891f73226e81f8ca7e9a7f4d92 23-Nov-2011 Michael Jurka <mikejurka@google.com> Clean up unused code and import declarations

Change-Id: If36fd2d99a51b07290b13f697b3ea08d31feb023
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
ebea84d1c95f4c38ba8cee46cd586fd757b4fce2 10-Nov-2011 Adam Cohen <adamcohen@google.com> Unifying overscroll btw phone and tablet

-> Using separate assets for removing and uninstalling

Change-Id: I183967c3ca482531ae28f71cd9053b673c6a8d03
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
21b411074e39fd10cbc8dd0220bb159da4af2c76 02-Nov-2011 Adam Cohen <adamcohen@google.com> Cleaning up overscroll effect in launcher workspace

-> Making sure workspace is drawn above the hotseat and qsb
-> Dimming the dock divider and page indicator during overscroll

Change-Id: I40766aa88e58db2d102c11d1ae8b2455aa459a07
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
3371da0159cc54ff8ae1b1b26effb96445f208d5 26-Oct-2011 Adam Cohen <adamcohen@google.com> Initial changes to make folders accessible

Change-Id: Id8c9cbc0ef200967c3b966fbccfdfde184d4211c
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
7d7541e7b48fdc114c24b3b0aa75e70d7228041e 17-Sep-2011 Winson Chung <winsonc@google.com> Updating Clings. (5057945, 5056643)

Change-Id: Ifb2d37e92495aeddf9d4b3277eb8d2a846f4aa99
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
ea359c6aee44c0fe3bb94f7002c3b49208b32b7f 04-Aug-2011 Winson Chung <winsonc@google.com> Grid spacing fixes

- Restoring old grid for widgets
- Disabling ability to add widgets to hotseat
- Updating holo colors
- Updating assets

Change-Id: I3a639f0afeca9463f8079eb8fbaedf295a41fa0f
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
ed51cc9a12c50d12e7d30ed209a49f1a40858043 02-Aug-2011 Adam Cohen <adamcohen@google.com> Fixing animation when dropping to adjacent screen, issue 4990545

Change-Id: I575e9257a211ed72a6aefb119bccf1154d2a0c9f
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
fc53cd22c9a78708c78c85946443f23ec8c59502 21-Jul-2011 Adam Cohen <adamcohen@google.com> Fixing a couple bugs, allapps clicks and weird crash

-> issue 5021897 (when this was fixed, exposed more bugginess that is now fixed)
-> issue 5038392

Change-Id: I49a4e9fca154f75ea22ad2c462641747536102ce
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
35e7e64d4b98e42c760e5e91489b7014a6ba9073 17-Jul-2011 Adam Cohen <adamcohen@google.com> Bounding folders into their associated cell layout area, excluding dock

Change-Id: I220ccf1d8b08f9962c63efc92265e3c7acc137f9
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
b7e1618c627c6471c565f4f599228648d9e70a10 16-Jul-2011 Adam Cohen <adamcohen@google.com> Improving adding widgets animations

Change-Id: I9730d3d531736bde58cdf1bf2da049392d4da83a
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
ac8c87687b8e063c981f28cb31bab2cc110f26cc 13-Jul-2011 Adam Cohen <adamcohen@google.com> Pixel perfect drag animations in workspace and folders, including springloaded

Change-Id: I630c365bdc8e896a21dc17ebe8acb8d4664c77b5
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
557d6ed50cc6560163440aa134870ef0bb11415b 09-Jul-2011 Winson Chung <winsonc@google.com> Fixing issues with spring loaded adding.

- 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
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
8dfcba4af7a7ece09e8c7d96053e54f3a383e905 08-Jul-2011 Adam Cohen <adamcohen@google.com> Substantially improved performance of dragging and drop animations

-> 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
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
3e8f811f31a2275e778244427271f77f4116c08b 03-Jul-2011 Adam Cohen <adamcohen@google.com> Added transitions when dropping items onto Folders, fixed bugs

-> 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
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
716b51e030f9c6ed34af2b947760e46a280c65a6 30-Jun-2011 Adam Cohen <adamcohen@google.com> Adding transitions after reorder within folder

Change-Id: I52b20fa1b2e4f9ee0b4a68ac703b95a2050dbd4a
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
8e776a62c5cc60737f5cdbbeacfec5f958112fa7 29-Jun-2011 Adam Cohen <adamcohen@google.com> Pushing folders up to DragLayer

-> 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
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
1d9af7d1e75bad13bb10ad37f5900ed59882622e 23-Jun-2011 Adam Cohen <adamcohen@google.com> Fixing bug where touch breaks completely after item removed from folder

Change-Id: If60057e5775853d3ac8c092dffe915f8f5a8bce4
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
76fc085d28178a5d4fb3787ede956281a2cc3179 17-Jun-2011 Adam Cohen <adamcohen@google.com> New folder visualization, renaming, staggering reorder

Change-Id: I62963d225e6ea5d2ec9d8ebc8a6d73099f5d6c7f
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
4c98d9235d164680186180974719f551cf935d08 01-Jun-2011 Winson Chung <winsonc@google.com> Adding drag target bar.

Change-Id: Ia00ed30264ea5f1d3c919111d15588ef441bfe20
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
2801cafe62653131fdc9da402e5c44e5ffd0bf47 14-May-2011 Adam Cohen <adamcohen@google.com> Shrink-wrapped folders

Change-Id: Ida1b5d0bd4d39eabfde9f8a5bee0d4b6e9b33627
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
6788269814a678af976dfc7d6135993e172ce586 12-Mar-2011 Adam Cohen <adamcohen@google.com> Fixing widget resize visual / ux ugliness, Bug: 4082591

Change-Id: Ib258e02f52dd83418db0c0249efdc90d2424f059
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
d1837cc69eb222371afdd30890f7215d117510f2 07-Mar-2011 Patrick Dubroy <dubroy@google.com> Fix 4020235: NPE at com.android.launcher2.DragLayer.onInterceptTouchEvent

Change-Id: I606573f36270109b156b625b416d05ee16a44316
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
758a9239f045ff4eb85c421a2f67a720b5b3c621 04-Mar-2011 Patrick Dubroy <dubroy@google.com> Fix 3511340: Exit widget resize mode when home or back clicked

Also add an optimization to drastically reduce the number of
posted events when a widget is currently being resized.

Change-Id: I8839d4bba564028a67fb0355d35b7dd52465b199
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
1b607ed454ed22c2fd855cb3e428376520fb2388 04-Mar-2011 Adam Cohen <adamcohen@google.com> Cleaning up widget resizing code

Change-Id: Ib4c0de0080f0b69f873fd88016f23c319a13c6ff
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
d4844c3e731b00547a31f23a00f8bd4a271e2b62 19-Feb-2011 Adam Cohen <adamcohen@google.com> Implementing resizable widgets in launcher

Change-Id: I18598493dcf34fc6089fa330a4b66803f658b773
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
be62afa34d58edab0fc9ba7499f0dd543039c903 04-Feb-2011 Winson Chung <winsonc@google.com> Disable multitouch to prevent crash in all apps and frozen workspace while dragging.

Change-Id: I813e0294a9e3b73f43922d8cd6896e71f3664429
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
120980bd00f5eecec5717f49a3d7db96571025a9 08-Dec-2010 Adam Cohen <adamcohen@google.com> Adding animations to Customize drawer

-When you tap to add in customize drawer the widgets
/ app shortcuts now animate to the mini screens

Change-Id: I0a5b5ae561fda3fbbf902003273477a5ed7ca5cc
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
0e26059548e429e5d1c973bebe4c561bead2926f 01-Jul-2010 Michael Jurka <mikejurka@google.com> Improving home screen customization

- 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
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
ea3763c2672f77539538af8cdd395ad97058eaab 12-Jan-2010 Romain Guy <romainguy@android.com> Fix dpad nav: go left/right when dpad is moved and dots are focused.
Bug #2359364
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
be38609f875f9b9374ceaf723135c0a624637fcb 18-Nov-2009 Joe Onorato <joeo@android.com> Add a lot of logging that can be seen by doing adb shell setprop launcher2.dumpstate 1 and presssing volume down
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
8a73c51ee87b6d9b12daba188034889caf7a905b 10-Nov-2009 Romain Guy <romainguy@android.com> New position indicators and icons for Launcher2.

Change-Id: Id444943a3cc2e9db78733614141cbe2be837fdbf
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
4db52312c10e822162a21c60404f06f6e507f0d6 06-Oct-2009 Joe Onorato <joeo@android.com> Don't do swipes to open all apps anymore.

http://b/issue?id=2169884
http://b/issue?id=2160569
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
85a02a8d13eced310aee4c2a795e9c9c5435038f 08-Sep-2009 Joe Onorato <joeo@android.com> Add the animation for when you enter the all apps view.
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
00acb123c5100f06b8e89e8ec8978ebafc6f6d26 04-Aug-2009 Joe Onorato <joeo@android.com> Move the drag thing into its own window that goes around on top of everything else.
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
5979117dc26fe8939e7af3116401b4ea93a0adb2 01-Aug-2009 Joe Onorato <joeo@android.com> Split the wallpaper into its own view (it will be its own surface some day).
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
a5902524d4403885eb4c50360bf3465c6be796ef 30-Jul-2009 Joe Onorato <joeo@android.com> Launcher2 compiles.
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java
fca7c88f9dba895d9f6cf52c6f0e656445063e3e 30-Jul-2009 Joe Onorato <joeo@android.com> Move com/android/launcher -> com/android/launcher2
/packages/apps/Launcher2/src/com/android/launcher2/DragLayer.java