Commit Graph

9800 Commits

Author SHA1 Message Date
Romain Guy
f2826c7e21 Remove "Configure..." option from wallpaper chooser.
Change-Id: Iae9719dc3197ea0ee8e7637456b9d76d9ce8622b
2009-11-12 18:38:17 -08:00
Joe Onorato
464c055a7a Bug 2244530 - Disable the attempt at not flickering. It's interfering with the frame rate while rollo animates in. 2009-11-12 18:19:47 -08:00
Jason Sams
e26d9fc287 Update AllApps to defered surface attachment for RS. 2009-11-12 15:09:21 -08:00
Joe Onorato
68ba5ca5d7 Keep banging on the launcher locks up bug. This moves the
delayed zoom stuff into one place, so it should be out of
sync less.
2009-11-12 14:23:43 -08:00
Joe Onorato
24b6fd854f Fix 2257802 - Screen unresponsive when you get a call while moving the shortcuts or widgets on home screen 2009-11-12 13:49:09 -08:00
Joe Onorato
cb75f366cc Fix bug 2258128 - homescreen on Passion unresponsive while still not leaking the contexts. 2009-11-12 13:28:09 -08:00
Romain Guy
e47f55c30b Improve desktop scrolling from the previews switcher.
Change-Id: Iee05120b4363c07294f665f45f561e9d9361ccaa
2009-11-11 19:21:22 -08:00
Romain Guy
9d31e9fa3d Shows all screens in the previews.
Change-Id: Ib8b19492ccb07a135ba95ab75ae03f034275c572
2009-11-11 18:56:51 -08:00
Joe Onorato
fab744014a Fix bug 2249797 - Launcher2 leaking textures on locale change 2009-11-11 16:05:23 -08:00
Joe Onorato
52a653f3ff Fix 2241848 - 3D apps folder does not send accessibility events
It's now sending them.  The beeping and vibrating accessibility things
work, but we only have prebuilts for the speech one and it's not saying
anything and I can't debug it, so this will have to do.
2009-11-11 14:52:11 -08:00
Joe Onorato
a30ce8e6b2 Bug 2231692 - Turn off launcher2 logging. 2009-11-11 09:24:37 -08:00
Daniel Sandler
1325f557bb Stop crashing on invalid wallpaper thumbnail images.
We still won't be able to show a thumbnail, of course, but now instead of
crashing the picker we leave an empty box and write out a helpful Log.e such
as:

	09-21 15:11:45.624: ERROR/Launcher(1539): Error decoding thumbnail resId=2130837544 for wallpaper #14

(Related to http://b/2113687.)
2009-11-10 21:08:40 -08:00
Joe Onorato
028b624e52 Fix 2226221 - home screen app names do not reflect on locale change 2009-11-10 19:56:02 -08:00
Joe Onorato
3a8820bdba Fix bug 2250457 - Open folder on home screen changes changes the behaviour of the home button
Now, home always goes to the center worksapce screen and back from an
app goes to all apps if it was open.

Getting that animations smooth took a little bit of work.
2009-11-10 19:56:02 -08:00
Joe Onorato
2ca0ae7d7c Fix bug 2250432 - all apps should dismiss when you power off or phone locks
Also cherry-picks this from launcher 1

Fix issue #2133206: dialogs/menus should auto-dismiss when screen turns off

Close things out in various ways.  This should be done for Launcher2 as well.

Change-Id: Id4f1c78e35180b437144c54ddcbf10069cc09071

Conflicts:

	AndroidManifest.xml
	src/com/android/launcher2/Launcher.java
2009-11-10 19:56:01 -08:00
Romain Guy
ff0c2e26ec Add the ability to dismiss previews when touching outside of the popup.u
Change-Id: Ieca2267f3cadd88315a50f0cede97b6c42cab39c
2009-11-10 12:09:59 -08:00
Romain Guy
e6b8e2fa73 Better previews.
Change-Id: I400c6b45fae2f74722985f766dc17c0892550403
2009-11-10 11:56:55 -08:00
Romain Guy
a6abce8464 Improve previews display and allow to jump directly to any screen.
Change-Id: I87e7a6a53f286ab7a04657e1598a947f9302e2a1
2009-11-10 02:54:41 -08:00
Romain Guy
1a304a1198 Better preview visuals.
Smaller thumbnail (removed unnecessary padding), more opaque background.
Uses a white background because the dark background interferes with the
new dark widgets.

Change-Id: I7654741d845609200569fce34b6cde891d2b5d29
2009-11-10 00:02:32 -08:00
Romain Guy
1fbc1c8431 Add previews on long press on the indicators.
Change-Id: I6349d55345255caacc1381e83459544f8b8e085c
2009-11-09 20:45:03 -08:00
Marco Nelissen
c07c79b10b Update Launcher2 to the new wallpaper API 2009-11-09 19:35:07 -08:00
Romain Guy
8a73c51ee8 New position indicators and icons for Launcher2.
Change-Id: Id444943a3cc2e9db78733614141cbe2be837fdbf
2009-11-09 19:19:59 -08:00
Jeff Sharkey
1e2efc8a6d Start listening again after LauncherProvider clears widgets.
After the LauncherProvider resets the database and wipes
out the host info, the Launcher must tell the AppWidgetHost
to listen again.

Originally 87e688d8... in packages/apps/Launcher.

Fixes http://b/2238470
2009-11-09 10:07:56 -08:00
Mike Cleron
b64b67a012 Fix http://b/issue?id=2203681
There is a race between the view system
dispatching focus and mRollo being intialized. Now
if AllApps is supposed to gain focus before mRollo
is ready we remember that state and gain focus 
later.
2009-11-08 15:39:29 -08:00
Joe Onorato
87467d3a21 Fix 2246713 - Bad offset when picking up a widget for the first time. 2009-11-08 14:36:43 -05:00
Joe Onorato
511ab64d25 Fix 2215274 - Duplicate widgets appearing on top of each other
My fix for duplicate icons didn't account for widgets.
2009-11-08 14:14:07 -05:00
Joe Onorato
e6168662d8 Fix bug 2242465 - Can add shortcuts while the "3d all apps" is open.
The more I think about it, the more I think AllApps should just be a separate
activity.  It's not a drawer anymore and you open it by pressing a button.
Also, it will want to derive from RenderScriptActivity or something, and
have all that stuff dealt with automatically too.  It's to late to make a
change like this now, but if we do choose to do it someday, I think we'll want
to reconsider the menu that's shown.

For now, just close all apps when they add a shortcut or change the wallpaper.
2009-11-08 13:39:30 -05:00
Joe Onorato
d753b42d51 Bug 2246631 - Show soft keyboard on launcher dialogs 2009-11-08 13:31:11 -05:00
Joe Onorato
eb8325a9e2 Bug 2239823 - Can't focus "home" icon in 3d all apps 2009-11-08 13:20:30 -05:00
Joe Onorato
c61cff9299 Make the selection indicator and the focus indicator in 3d all apps different colors. Bug 2239818. 2009-11-08 12:06:04 -05:00
Android (Google) Code Review
487de5d1b2 Merge change I74688835 into eclair
* changes:
  Account for the gap at the top of the search widget when animating
2009-11-06 17:08:23 -05:00
Romain Guy
18042c82c5 [Launcher2] Delete app widgets when their configuration is cancelled or there's not enough room on Home.
Bugs #2234228 and #2244729.
Approved by mcleron

Change-Id: I15e4850d8c1a821497df5d32e5fb63b3400d1e44
2009-11-06 13:45:44 -08:00
Joe Onorato
ad72e1705c Fix launcher2 crash. We weren't initializing the list of folders. Bug 2210545. 2009-11-06 16:25:43 -05:00
Mike Cleron
74688835cd Account for the gap at the top of the search widget when animating 2009-11-06 00:15:37 -08:00
Mike Cleron
3a2b3f2be5 If 3 screens are good 5 will be better 2009-11-05 17:17:50 -08:00
Joe Onorato
2d80476997 The apps might not have finished loading by the time we're doing this. Fixes bug 2241755. 2009-11-05 16:03:12 -05:00
Joe Onorato
0ace11a2b0 Add logging to launcher2 to help diagnose 2239265 since QA keeps reassigning it to me without
providing more detailed steps to reproduce.
2009-11-05 16:03:12 -05:00
Jason Sams
20df7c7d72 Fix white square bug when new apps are added while home is not active. 2009-11-05 12:30:24 -08:00
Android (Google) Code Review
1f0bb3ab41 Merge change I44ad9fe5 into eclair
* changes:
  Add android.home.drop even for the live wallpapers.
2009-11-04 18:01:17 -05:00
Romain Guy
84f296c106 Add android.home.drop even for the live wallpapers.
Change-Id: I44ad9fe573dc3d2e5d091fed01300d44b6be9473
2009-11-04 15:00:44 -08:00
Android (Google) Code Review
2d685eaec9 Merge change I2bbe9af6 into eclair
* changes:
  Update the search widget to be vertically centered within it's footprint.
2009-11-04 16:17:01 -05:00
Mike Cleron
2bbe9af65e Update the search widget to be vertically centered within it's footprint. 2009-11-04 12:25:55 -08:00
Joe Onorato
eebd92496e Fix bug 2236111 - right edge of widget chopped-off while dragging
By using resolveSize, we're clamping the size we measure to the
size of the screen, so just use our prefered size instead.  Nobody
is going to otherwise limit us, so this value won't be mismatched
with the size we actually get.
2009-11-04 13:48:32 -05:00
Jason Sams
90396672ba Don't release the GL context when all-apps looses its surface. 2009-11-03 13:59:34 -08:00
Mike Cleron
4a5c1e1ec9 Fix 2209039 and 2220106
Improve trackball handling and menu interaction
2009-11-03 10:17:05 -08:00
Joe Onorato
a13f574e3a Fix 2205899 - unable to access last row using trackball scroll if last row is having less than
4 icons.
2009-11-02 17:15:19 -05:00
Joe Onorato
080d9b614e Adjust logging of launcher2 launch times, and make all apps loading wait a little longer,
even though usually it happens later anyway.

For bug 2226555.
2009-11-02 12:01:11 -05:00
Joe Onorato
a4c0cb9655 Tweak the shape/size of the all apps selection glow.
Bug 2231227
2009-11-02 10:45:15 -05:00
Joe Onorato
b6341e9ee2 Fix launcher crash 2009-11-02 10:41:48 -05:00
Joe Onorato
6f613d2999 Fix bugs 2218563 and 2176751 - Not properly loading icons, and sometimes marking them as cached when
they're not.
2009-10-31 19:50:30 -04:00