Commit Graph

10334 Commits

Author SHA1 Message Date
Jean-Baptiste Queru e90cc3ba6c resolved conflicts for merge of 35e79e32 to gingerbread-plus-aosp
Change-Id: I039355b9d5852436c8352efc5a85590e5f2bc080
2010-10-11 14:44:10 -07:00
Brad Fitzpatrick 700889f504 Serialize background async db updates
Bug: 2983765
Change-Id: I1fdd33ea8ee4fbc79a75ce0450f04d8e18915975
2010-10-11 10:10:40 -07:00
Jason Sams c4d61fc0f5 Merge "Update to use SurfaceConfig." 2010-10-10 18:05:04 -07:00
Jason Sams e5806ba2bf Update to use SurfaceConfig.
Change-Id: Ic99c1406ef8f51fdf7d9d44e378eeb0bb701a69e
2010-10-10 16:18:57 -07:00
Michael Jurka b8f0672d7c Snap workspace back to screen on ACTION_CANCEL.
Bug: 3066123
2010-10-10 16:01:05 -07:00
Brad Fitzpatrick 02e53429c4 Merge "Don't block the UI when rearranging icons." into gingerbread 2010-10-10 15:49:12 -07:00
Brad Fitzpatrick ade2f8122f Don't block the UI when rearranging icons.
The pause is mostly notable when a sync is happening at the same time.

The related function addItemToDatabase() is unchanged by this CL
though as it populates item.id and would need more invasive changes
elsewhere.

Change-Id: I6538445aeb15d9efedf99f262c39f6175f7f1e0e
2010-10-10 15:42:06 -07:00
Michael Jurka c86756c201 Fixed 3073371: Home screen locked after app launch
Change-Id: Iedac4b94d20cc3352aa247c58978a8f60df1a09f
2010-10-10 15:27:31 -07:00
Michael Jurka 3e7c763453 updated Workspace thumbnail behavior
- in All Apps mode, fade thumbnails completely
- while dragging, have thumbnails re-appear
- while dragging, give screen thumbnails that can accept drops a different appearance (green outline instead of blue)

Change-Id: I72ddf8a0f1947d35ef11514b7d4eea9ae5eee6e2
2010-10-10 15:03:45 -07:00
Joe Onorato 5eb7fff487 am 673aefe8: Merge "When the SD card comes back, we need to show the apps on it." into gingerbread
Merge commit '673aefe8b2b27790d704cc15282c8989a132877b'

* commit '673aefe8b2b27790d704cc15282c8989a132877b':
  When the SD card comes back, we need to show the apps on it.
2010-10-10 11:26:02 -07:00
Patrick Dubroy 49250ad530 Fix bug with dragging crosshairs sometimes being too bright
Change-Id: Ieb20ab96e73c5f297ffd69d29472024c11978a13
2010-10-10 11:18:29 -07:00
Stephen Hines b41dbd6d0c Merge "Remove now unnecessary pragma rs export_var()." 2010-10-09 00:23:45 -07:00
Jeff Brown 0db354cba9 Snap workspace back to screen on ACTION_CANCEL.
Bug: 3066123
Change-Id: Icbdf3ef241ec44b5569e7490c1b950d80699ddc8
2010-10-08 22:53:33 -07:00
Michael Jurka 9987a5c45e Fixed 3066306 Widget measurement wrong in customize tray 2010-10-08 16:58:12 -07:00
Stephen Hines b02af38110 Remove now unnecessary pragma rs export_var().
Change-Id: I2863a2f583af648677d2e53ef4167870fd532c5e
2010-10-08 15:52:00 -07:00
Michael Jurka 4516c11039 Fixed dragging over mini-screens
- during dragging, finding the mini-screen closest to the touch point

Change-Id: I4d967803b85de8af3208511c60c1f3bf5691718f
2010-10-08 15:06:43 -07:00
Patrick Dubroy 130c37d309 Merge "fix 3049894: Require fiddle or longer timeout for subsequent page flips" 2010-10-08 10:32:10 -07:00
Adam Cohen 21f12b52a5 -Changing page scroll click regions
-Cleaning up code for page rotations

Change-Id: I046784b108186b6627ce0df3aed57d70c303ef23
2010-10-07 18:20:49 -07:00
Patrick Dubroy a16fd5a6bd 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.
2010-10-07 16:49:10 -07:00
Joe Onorato cec583352c When the SD card comes back, we need to show the apps on it.
The problem was that we were doing startLoader, but once the
apps are loaded, all that does is re-bind everything.  Before
a recent change of mine, we were clearing mWorkspaceLoaded and
mAllAppsLoaded.  But that's not good either, because it meant
that there needed to be a lock that the main thread and the
worker thread were both acquiring, which was causing ANRs.

Instead, now we schedule two messages - one to add the apps
back into the list, and one to update everything to use
those new icons.

Bug: 3065061
Change-Id: If9d36d4b55a7ba72fcf48a5ed8941bb9466bebe6
2010-10-07 14:37:40 -04:00
Chet Haase 00397b1d92 Use new TimeInterpolator interface for interpolation
Change-Id: I53e8fcbabfdb4cb69bec309aeceeddc63e1715ed
2010-10-07 11:13:36 -07:00
Michael Jurka c0e8fcae49 Fixing state transition bugs
- explicitly keeping track of state in Workspace
- cancelling animations before starting new ones
- adding additional state variable for workspace for in-progress transitions
- updating Scroller object if we jump to a certain location

Change-Id: I5ddf51bae543ec89b2a44ab651d7269eb4859a6d
2010-10-06 17:54:12 -07:00
Patrick Dubroy 1262e36948 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
2010-10-06 17:39:05 -07:00
Winson Chung 7ed39f3362 am 6a5f4d85: Merge "Adding more specific title for pick-application dialog." into gingerbread
Merge commit '6a5f4d8526944ad4189072543ec4cc3f6d638b6f'

* commit '6a5f4d8526944ad4189072543ec4cc3f6d638b6f':
  Adding more specific title for pick-application dialog.
2010-10-06 17:09:10 -07:00
Alex Sakhartchouk b2f988d15c Merge "Changing texture coord from vec4 to vec2" 2010-10-06 16:10:15 -07:00
Patrick Dubroy 046e7eb472 Fix 3065611: NPE in Launcher attempting to drag app to home screen 2010-10-06 12:14:55 -07:00
Alex Sakhartchouk 2f3b0b625b Changing texture coord from vec4 to vec2
Change-Id: Ice5c1bf30297dfadfa724163ad6f858c72ef4fea
2010-10-06 09:32:12 -07:00
Michael Jurka 0423dcf286 Resolve global search activity more robustly
Change-Id: I5c25db5dec67c02bf7658f34729584b5393e0a8e
2010-10-05 15:11:10 -07:00
Michael Jurka 79c576457e Merge "Long press on Launcher background no longer brings up customization tray on XLarge devices" 2010-10-05 14:42:35 -07:00
Michael Jurka 5617056f9b Long press on Launcher background no longer
brings up customization tray on XLarge devices
2010-10-05 14:14:56 -07:00
Adam Cohen 9c4949e12c ->Added attribute to PagedView to specify spacing between
adjacent pages
->Fixing crash on phones
Change-Id: I8ea97ce6d569c59b6d51b544dc10b0310d294b43
2010-10-05 14:08:00 -07:00
Michael Jurka 6ae0fcfc80 Pulling search button from metadata in search provider,
or falling back on our default icon.

Change-Id: I59fc59b76a0915a04275e08c88f5d46c3484cc6c
2010-10-04 15:37:02 -07:00
Michael Jurka 16fed41e5e - getting rid of "dimmed" effect for icons and widgets
- re-enabling drawing cache for icons and widgets
2010-10-01 16:12:03 -07:00
Winson Chung 58f2088922 Adding more specific title for pick-application dialog.
Change-Id: I9703f80b34d05b2cfa6239652eae36d1ebcde6e5
2010-10-01 13:51:55 -07:00
Joe Onorato a249304572 am d98979b8: Merge "Reload everything when coming back from the SD being unmounted." into gingerbread
Merge commit 'd98979b8147065878719cd2adb039317ba3abe0a'

* commit 'd98979b8147065878719cd2adb039317ba3abe0a':
  Reload everything when coming back from the SD being unmounted.
2010-09-30 19:46:29 -07:00
Joe Onorato 0585a6112d Merge "the scroll drag area was too small, and should have come from a resource anyway." 2010-09-30 18:18:00 -07:00
Joe Onorato 658db74c24 the scroll drag area was too small, and should have come from a resource anyway.
Change-Id: I11111aff767e21a2582c5c368b5d9ff1ac8f9cd7
2010-09-30 18:17:31 -07:00
Winson Chung 150fbab7de 3029324 wip: Drop target crossfades as it moves from position to position 2010-09-30 17:24:29 -07:00
Joe Onorato 789065d26e Reload everything when coming back from the SD being unmounted.
We could do this more efficiently by only updating the packages that
have changed, but that would involve a big rewrite.

Bug: 3020854
Change-Id: Ie7e3bee20f45dc5efa93d960902e9dfb79c4a3a5
2010-09-30 16:32:11 -07:00
Adam Cohen f34bab59fc -Added 3D effect to home screen scrolling
-Added background outline fade in / out
-Modified the feel of scrolling: now using quintic
 interpolator and modified the influence of
 scroll velocity

Change-Id: Ifddcab5223ac20be7d9f800ccf09442d9b4db781

Conflicts:

	src/com/android/launcher2/CellLayout.java
2010-09-30 14:15:10 -07:00
Michael Jurka fc9f07d425 Fix: on move, items are now dropping where the
visualization says they will drop

Change-Id: I5b1d3d713991468c1b17458356b2ff1a630aa9b9
2010-09-30 13:23:21 -07:00
Winson Chung 2942969e5a Merge "Fixing issue where certain icons in the customization drawer were not being scaled down to size." 2010-09-30 13:15:46 -07:00
Michael Jurka c6ee42e25f Fix: dragging items to adjacent screens would
not properly show the available/unavailable cells

Change-Id: I47d1405315db01f87dfcce3536295d2a0d0dc444
2010-09-30 13:12:29 -07:00
Winson Chung c1f48b9731 Fixing issue where certain icons in the customization drawer were not being scaled down to size.
Change-Id: I5a14146cdd530f22119ced8ca8534ec899abcbdc
2010-09-30 12:07:45 -07:00
Michael Jurka 60587efe1a Slight tweak to the id generation code for items
on home screen
2010-09-30 11:06:13 -07:00
Michael Jurka 845ba3b17b Fix: crash on portrait/landscape switch due to
duplicate View ids

Change-Id: I69d09823d4825dadd7f3e119f9248140256f91b3
2010-09-30 10:54:28 -07:00
Winson Chung f549d62d03 Merge "Re-updating widget set in customization drawer when applications are changed." 2010-09-29 17:14:26 -07:00
Adam Cohen 3db18d2793 Fixing build
Change-Id: I181cfce3b507ffa7e81babeb2723881b6f06423a
2010-09-29 13:47:41 -07:00
Adam Cohen 0fb7db5a37 Fixing boot stall.
Revert "-Added 3D effect to home screen scrolling"

This reverts commit 9415d87eda.

Change-Id: Ib8d6602f5d82884eb1f6cc44c0cc71cc563a3a59
2010-09-29 13:04:32 -07:00
Patrick Dubroy de7658b5e0 Show crosshairs when dragging items around the workspace. 2010-09-29 11:14:28 -07:00