History log of /packages/apps/Launcher2/src/com/android/launcher2/DragController.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/DragController.java
3f4e1423804d64a38cb69e4511d7b80783564827 17-Nov-2011 Winson Chung <winsonc@google.com> Minor fixes to Launcher

- Tweaking the AllApps tab padding
- Fixing issue where the cling punch out might be in the wrong location
- Removing unused dragging code related to drop/scroll area overlap
- Tweaking padding so that picking up an icon on the top row does not automatically hover over delete (Bug 5636264)
- Fixing issue where multiple bgs in AllApps tab bar line makes it look blurry (Bug 5523822)

Change-Id: I707397c231188a9feee8c0856374e0483cf37296
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
b8c69f3c17a40adc2d85e8e996f754c383c293dc 20-Oct-2011 Winson Chung <winsonc@google.com> Fixing issue where holographic outlines were offset when dragging from/to folders/hotseat. (Bug: 5399792)

Change-Id: Iaa39ef1293b45a1d116210ec9d7fbde17dbc99cc
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
a182096cb20e0580dfca6661b2e5871c8886c834 04-Oct-2011 Winson Chung <winsonc@google.com> Fixing crash when you are dragging an app and the packages change under you. (Bug: 5280181)

- Removing unused dimension for app icon content size

Change-Id: If3910010577e902937d284296479f9a699516de3
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
3e0839e5f830ab7e64223ebe186d97729eda3e22 04-Oct-2011 Winson Chung <winsonc@google.com> Fixing issue where dragging in the hotseat could trigger scrolling to side pages. (Bug: 5151006)

Change-Id: I1b1b98ecc87180fa5994f46194f1b5668e618b91
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
36cc09b07b19198f4ea886583cef462ade27192c 30-Sep-2011 Adam Cohen <adamcohen@google.com> Fixing issue with cancelled drag blocking cell spaces (Issue 5386523)

Change-Id: I9cfc728edeeee2237c21935517107e7a2af49646
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
c57b7a8233d32c6dd8de5057c570afe3f50e3ef2 10-Aug-2011 Michael Jurka <mikejurka@google.com> Adding a progress bar while All Apps is loading

- also, removing some unused imports

Change-Id: Icf46beb9fa9d89bc06cba33c148ceb7d668cd402
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
9932a9b1e66fed4b5f38ce50f13d56331bbdcd7e 03-Aug-2011 Adam Cohen <adamcohen@google.com> Fixing weird deferred click events after deleting folder

-> Fixing issue 5055487

Change-Id: I932f95f29322fa50035b13063ab51fad2d2217e8
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
1c4cf4a11f3f7f24bbf65f958fdd22295d0bbd55 29-Jul-2011 Winson Chung <winsonc@google.com> Minor bug fixes

- Making the spring loaded side page hovers slightly faster
- Fixing issue where you can't drag over another item on another page to create a portal
- Ignoring side pages while hovering over hotseat
- Fixing issue where hotseat may be stuck in shrunken state (and removing the scale on the hotseat)

Change-Id: I87d50a1bdc451704285482c79caed0982a5a7f5a
/packages/apps/Launcher2/src/com/android/launcher2/DragController.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/DragController.java
273c1022405bcc5e0840450b9195622e7476c9dd 11-Jul-2011 Winson Chung <winsonc@google.com> Clamping touch positions to drag layer rect to prevent dragging outside of bounds.

- Fixing small issue with default widget preview aspect ratios

Change-Id: I2dca0524e8aa7c48345b424bad889736fa345386
/packages/apps/Launcher2/src/com/android/launcher2/DragController.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/DragController.java
c07918d0053fc7d2a19d7b013565a5d2e7d4af51 02-Jul-2011 Winson Chung <winsonc@google.com> Cleaning up some spring-loaded related dragging code. Allow cancel spring loaded mode.

Change-Id: Ie1f0468c563bed7abc1aa6416e222cdb0853c03a
/packages/apps/Launcher2/src/com/android/launcher2/DragController.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/DragController.java
bfbfd26c627a18f8e1e3e6d0e53e78feab360203 14-Jun-2011 Adam Cohen <adamcohen@google.com> Initial implementation of folder reordering

Change-Id: I9f700e71f46e3b91afa96742d9e3890d519c391d
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
c0dcf597084d00e4c23a7fea5fd0738f6c095a6b 02-Jun-2011 Adam Cohen <adamcohen@google.com> Fixing up some Folder bugs

-> 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
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
cb3382b1bfe1a534b1b44f5c4def9b2db605ac90 24-May-2011 Adam Cohen <adamcohen@google.com> Refactor of Launcher drag and drop to use a DragObject

-> DragObject contains a bunch of parameters instead of pssing
them each individually

Change-Id: I709cf320fe4234d71e19325d5c761dd9a9bba405
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
e3e27a854f3eca363d3c5ce353d19de475272d87 15-Apr-2011 Adam Cohen <adamcohen@google.com> Cleaning up drag and drop visulization and drop location determination

-Visualization and drop location always match now
-Improved the location determination/visualization for widgets
in spring loaded mode
-Simplified and fixed some other discrepencies

Change-Id: I4b46f415a547e4df778c70a8b87f341a909d10c1
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
b0a6bbeeab0960419dcd1f695c209ca0ec36ab8a 03-Mar-2011 Patrick Dubroy <dubroy@google.com> *Actually* fix 3377113: Mini homescreen outline wrong color

New and improved! 100% fewer regressions!

Change-Id: I079a7842ecfe7e84c3fd599d6156638588a1d2d0
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
bd361f7a854112ba8217213ac15131600726a90b 03-Mar-2011 Patrick Dubroy <dubroy@google.com> Revert "Fix 3377113: Mini homescreen outline wrong color"

This reverts commit ba1ca8cf7ae52f730de9a8d543f8f0d484e76c32.
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
ba1ca8cf7ae52f730de9a8d543f8f0d484e76c32 03-Mar-2011 Patrick Dubroy <dubroy@google.com> Fix 3377113: Mini homescreen outline wrong color

Couldn't repro this reliably, but the only way I could see
it happening is if we got an UP event without a MOVE at the
same location. This patch prevents that from happening.

Change-Id: I473c4ea50474b45da8c5537efe39177c1423ae20
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
5f445425606b2c27276a79e9e871cf7f67b1b719 18-Feb-2011 Patrick Dubroy <dubroy@google.com> Add missing animations when dragging from customize.

- Fix 3453751: Moon landing on canceled drag from customize
- Fix 3453595: Use home screen "consume" animation when dragging and dropping

Change-Id: Ia6a83c2d7a8f24c3ce02811547a35a7022d245f6
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
e3887cc4ec3cebda2333298e56a35acb49ccdf13 20-Jan-2011 Patrick Dubroy <dubroy@google.com> Ensure drag outline & crosshairs disappear on drag cancel

Change-Id: I165d45846c0bfe74eda0d61b55e5b93fbfccdef2
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
304dcde0e301c2f1a0b2bdc80ea8617930691b6e 07-Jan-2011 Winson Chung <winsonc@google.com> Ensuring that we don't start dragging while another drag is in progress.

Change-Id: If3c5a059407efc3ee9a0c9b1b3b7fb942d3a7664
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
621e6406fadba27d6cff1c38b31d5cdf99c0f97a 05-Jan-2011 Winson Chung <winsonc@google.com> Cancelling a drag should signal to the source that the drag is incomplete.

Change-Id: I6464c4ccf15b550dd319e18c2e998131e46ccc0f
/packages/apps/Launcher2/src/com/android/launcher2/DragController.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/DragController.java
a669d79d0dcf034651ce305a8cd334272bec3374 23-Nov-2010 Patrick Dubroy <dubroy@google.com> Prevent flicker when starting a drag.

Also, animate item the view to its new position when dragging.
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
54fa3b95557c283976e8c1aa8a157b460b0b4513 17-Nov-2010 Patrick Dubroy <dubroy@google.com> 3185132: Allow dropping on adjacent homescreen targets
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
6b879f0a5885274a85333531e091283405d490cc 05-Nov-2010 Adam Lesinski <adamlesinski@google.com> Layout tweaks in Launcher

-Removed All apps and Configure toolbar buttons
from Customization Drawer, removed Configure
button from All apps and added Market icon
to All apps
-Changed spacing of CellLayouts when scrolling
-Modified gap spacing in workspace layout
-Made workspace invisible in All apps but touching
the place where the workspace was takes you back
to workspace

Change-Id: I6e2579bfebeb8f1f80fdae07da442f6d399abe33
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
a34abf8c781485b788fddacb352d586bffca886c 12-Nov-2010 Winson Chung <winsonc@google.com> Fixing issue where dropping on the system bar would not properly cancel the drag.

Change-Id: I3d920cabb99216c222d5c419374527068f1947d0
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
a16fd5a6bd5371d40a5679261d416f06f8efa022 08-Oct-2010 Patrick Dubroy <dubroy@google.com> fix 3049894: Require fiddle or longer timeout for subsequent page flips

After initiating a scroll while dragging an item on the home screen, don't flip
so quickly to the next page. Instead, require a bit of additional movement to
trigger the next scroll.
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
1262e369484ce7f2565655ed80e6299232c70bd7 07-Oct-2010 Patrick Dubroy <dubroy@google.com> wip 3029324: Implement new drag feedback

- Show page borders when dragging
- Enlarge scroll region (landscape only)
- When inside scroll region, show green border on adjacent page
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
658db74c24817892f1a379b16620744f38f60e40 29-Sep-2010 Joe Onorato <joeo@google.com> the scroll drag area was too small, and should have come from a resource anyway.

Change-Id: I11111aff767e21a2582c5c368b5d9ff1ac8f9cd7
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
de7658b5e02ae10010e44fcf8d9c5814f54d9eb0 27-Sep-2010 Patrick Dubroy <dubroy@google.com> Show crosshairs when dragging items around the workspace.
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
0280c3be4d9f8fc6fdf015b7ecd276eb26f76f2d 18-Sep-2010 Michael Jurka <mikejurka@google.com> Adding support for drag and drop of folders and shortcuts.

also:
- Long press on empty space on workspace now brings up customization tray
- Fixed: while dragging, items appeared to be dropping on folders two cells to the right
- Fixed: Disabling drops on folders when the workspace is shrunken
- Fixed: account for scaling of dragged items when checking if they overlap
with shrunken workspace screens
- Making folder icons dimmable to match shortcuts and widgets
- When deciding with shrunken workspace screen we're dragging to, we now use the closest screen rather than the one that has been overlapped the most
- Refactored drag/add mechanism, removing array of occupied cells from CellInfo
- Removed dead code/variables
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
e3193b93ad7bf33e2e45319084a99b9fc986622b 10-Sep-2010 Winson Chung <winsonc@google.com> Initital changes for new customization drawer/widget tab design.

Change-Id: I160c8777fe2657ab303acfa20934f2e90f9e953e
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
a63c452f5bd491ba9b28c332ccedc6c6c7e2f3cc 19-Aug-2010 Michael Jurka <mikejurka@google.com> added support for dragging widgets and app icons to mini screens

- gave mini screens a rounded rect background
- mini screens change color when dragged over
- added a way to specify the active region of dragged items, to allow for clipping of whitespace at borders
- fixed: feedback while dragging was often one cell off
- fixed: bug when adding to almost-full screen
- removed unused classes

Change-Id: I2fbd2aaaee6831b288cca8dec75e7b446068e8d1
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
4ed6278e518cc6894cb150b606382e8e6a012599 18-Aug-2010 Patrick Dubroy <dubroy@google.com> Implement button to get application info for an app shortcut.

For now, it's just a drag target like the delete zone. Once all apps
and the home screen support a selection mode, this (and delete) will
be implemented as buttons in the Contextual Action Bar.

Change-Id: I6bf43d03eefda672ea34c583a7021137da22b184
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
c1701ad4b2f7e8edf03438df26e1c2161d034847 17-Jul-2010 Patrick Dubroy <dubroy@google.com> Fix null pointer when dragging outside of workspace.
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
440c360bc395c43683fa9ca226e59f9e35f9e926 14-Jul-2010 Patrick Dubroy <dubroy@google.com> Fix bug with drag visualization and UserFolders.

When dragging an app shortcut, it was possible that we'd show a red rectangle
around a cell occupied by a UserFolder. This shouldn't be possible -- as soon
as that cell becomes the target drop cell, the folder should start handling
the drag and drop events.

Change-Id: I1b7a8b1aa9aeb7e2f1bd51ce8d947c06455e988f
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
3f8175a86e24b3568d1f5b12e1d3d5efcc57d691 25-May-2010 Daniel Sandler <dsandler@android.com> Mask bitmap creation errors while dragging shortcuts.

If we're unable to create a bitmap for the drag, e.g. due to
memory pressure, give up.

Bug: 2650809
Change-Id: I5d7360dbb1bd736a629451467e93cccdfc255b67
/packages/apps/Launcher2/src/com/android/launcher2/DragController.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/DragController.java
24b6fd854f75f21700a330c2f0d11938e5dfeab6 12-Nov-2009 Joe Onorato <joeo@android.com> Fix 2257802 - Screen unresponsive when you get a call while moving the shortcuts or widgets on home screen
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
a30ce8e6b25e41f392a41fd4d0d3e0a424a84dad 11-Nov-2009 Joe Onorato <joeo@android.com> Bug 2231692 - Turn off launcher2 logging.
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
87467d3a2168180e8d6437d07d22b4dd0ef59845 08-Nov-2009 Joe Onorato <joeo@android.com> Fix 2246713 - Bad offset when picking up a widget for the first time.
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
2e5c432a0aa7e83031575df73bed43a297e2eed3 06-Oct-2009 Joe Onorato <joeo@android.com> Launcher2: fix 2162230 - Can't add app shortcuts from 3D All Apps
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
e048e8a8eff51e8c2c271d16c864367dac438ca2 25-Sep-2009 Joe Onorato <joeo@android.com> Now that touch events can go off the edge of the screen, clamp
them to the screen size for hit testing purposes while dragging.
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
5162ea9b1f41dbebe00fd9ec4d1e15a697971439 03-Sep-2009 Joe Onorato <joeo@android.com> Add drag and drop from AllAppsView (to the workspace).

Also had to fix AppInfoCache to load the icon as a drawable, which I had broken
when I made AllAppsView use the icons as power of two textures.
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
9c1289cb3bfb74f86e53ec7ac6dd76bb39666b2d 17-Aug-2009 Joe Onorato <joeo@android.com> Redo the launcher loading code and put the real app icons into rollo.
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
7c312c15e33b6cffbda707429e88ade498fc9f5e 14-Aug-2009 Joe Onorato <joeo@android.com> Move the all apps view back into the window with the workspace.
/packages/apps/Launcher2/src/com/android/launcher2/DragController.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/DragController.java
a5902524d4403885eb4c50360bf3465c6be796ef 30-Jul-2009 Joe Onorato <joeo@android.com> Launcher2 compiles.
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java
fca7c88f9dba895d9f6cf52c6f0e656445063e3e 30-Jul-2009 Joe Onorato <joeo@android.com> Move com/android/launcher -> com/android/launcher2
/packages/apps/Launcher2/src/com/android/launcher2/DragController.java