OSDN Git Service
Joe Onorato [Tue, 10 Nov 2009 21:14:13 +0000 (13:14 -0800)]
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
Romain Guy [Tue, 10 Nov 2009 20:09:59 +0000 (12:09 -0800)]
Add the ability to dismiss previews when touching outside of the popup.u
Change-Id: Ieca2267f3cadd88315a50f0cede97b6c42cab39c
Romain Guy [Tue, 10 Nov 2009 19:56:55 +0000 (11:56 -0800)]
Better previews.
Change-Id: I400c6b45fae2f74722985f766dc17c0892550403
Romain Guy [Tue, 10 Nov 2009 10:54:41 +0000 (02:54 -0800)]
Improve previews display and allow to jump directly to any screen.
Change-Id: I87e7a6a53f286ab7a04657e1598a947f9302e2a1
Romain Guy [Tue, 10 Nov 2009 08:02:32 +0000 (00:02 -0800)]
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
Romain Guy [Tue, 10 Nov 2009 05:03:58 +0000 (21:03 -0800)]
Fix landscape layout.
Change-Id: I0ef501a95708d487a975bb175c7038dee291efa4
Romain Guy [Tue, 10 Nov 2009 04:43:08 +0000 (20:43 -0800)]
Add previews on long press on the indicators.
Change-Id: I6349d55345255caacc1381e83459544f8b8e085c
Marco Nelissen [Tue, 10 Nov 2009 00:08:03 +0000 (16:08 -0800)]
Update Launcher2 to the new wallpaper API
Romain Guy [Tue, 10 Nov 2009 03:19:59 +0000 (19:19 -0800)]
New position indicators and icons for Launcher2.
Change-Id: Id444943a3cc2e9db78733614141cbe2be837fdbf
Jeff Sharkey [Fri, 6 Nov 2009 23:17:59 +0000 (15:17 -0800)]
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
Android (Google) Code Review [Mon, 9 Nov 2009 05:34:04 +0000 (21:34 -0800)]
Merge change I0bda9c39 into eclair
* changes:
One camera is probably sufficient
Mike Cleron [Mon, 9 Nov 2009 00:23:40 +0000 (16:23 -0800)]
One camera is probably sufficient
Android (Google) Code Review [Sun, 8 Nov 2009 23:54:27 +0000 (15:54 -0800)]
Merge change I4bd71b0f into eclair
* changes:
Fix http://b/issue?id=
2203681
Android (Google) Code Review [Sun, 8 Nov 2009 23:54:13 +0000 (15:54 -0800)]
Merge change I3c675fc6 into eclair
* changes:
New defaults for Passion
Mike Cleron [Sun, 8 Nov 2009 22:56:25 +0000 (14:56 -0800)]
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.
Android (Google) Code Review [Sun, 8 Nov 2009 23:32:18 +0000 (15:32 -0800)]
Merge change I9d34c514 into eclair
* changes:
Disable orientation change based on sensor in the wallpaper picker.
Romain Guy [Sun, 8 Nov 2009 23:31:40 +0000 (15:31 -0800)]
Disable orientation change based on sensor in the wallpaper picker.
Change-Id: I9d34c514fc1eebef7fd655ce4d7eeba66a4b2412
Mike Cleron [Sat, 7 Nov 2009 02:25:36 +0000 (18:25 -0800)]
New defaults for Passion
Joe Onorato [Sun, 8 Nov 2009 19:36:43 +0000 (14:36 -0500)]
Fix
2246713 - Bad offset when picking up a widget for the first time.
Joe Onorato [Sun, 8 Nov 2009 19:14:07 +0000 (14:14 -0500)]
Fix
2215274 - Duplicate widgets appearing on top of each other
My fix for duplicate icons didn't account for widgets.
Joe Onorato [Sun, 8 Nov 2009 18:39:30 +0000 (13:39 -0500)]
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.
Joe Onorato [Sun, 8 Nov 2009 18:31:11 +0000 (13:31 -0500)]
Bug
2246631 - Show soft keyboard on launcher dialogs
Joe Onorato [Sun, 8 Nov 2009 18:20:30 +0000 (13:20 -0500)]
Bug
2239823 - Can't focus "home" icon in 3d all apps
Joe Onorato [Sun, 8 Nov 2009 16:54:39 +0000 (11:54 -0500)]
Make the selection indicator and the focus indicator in 3d all apps different colors. Bug
2239818.
Android (Google) Code Review [Fri, 6 Nov 2009 22:08:23 +0000 (17:08 -0500)]
Merge change I74688835 into eclair
* changes:
Account for the gap at the top of the search widget when animating
Romain Guy [Fri, 6 Nov 2009 19:44:55 +0000 (11:44 -0800)]
[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
Joe Onorato [Fri, 6 Nov 2009 21:25:04 +0000 (16:25 -0500)]
Fix launcher2 crash. We weren't initializing the list of folders. Bug
2210545.
Mike Cleron [Fri, 6 Nov 2009 08:15:37 +0000 (00:15 -0800)]
Account for the gap at the top of the search widget when animating
Android (Google) Code Review [Fri, 6 Nov 2009 03:19:53 +0000 (22:19 -0500)]
Merge change I24a40dc2 into eclair
* changes:
Put launcher2 back into its own process. bug
2241963
Mike Cleron [Fri, 6 Nov 2009 01:17:42 +0000 (17:17 -0800)]
If 3 screens are good 5 will be better
Joe Onorato [Thu, 5 Nov 2009 21:42:25 +0000 (16:42 -0500)]
Put launcher2 back into its own process. bug
2241963
Joe Onorato [Thu, 5 Nov 2009 21:02:32 +0000 (16:02 -0500)]
The apps might not have finished loading by the time we're doing this. Fixes bug
2241755.
Joe Onorato [Thu, 5 Nov 2009 20:41:27 +0000 (15:41 -0500)]
Add logging to launcher2 to help diagnose
2239265 since QA keeps reassigning it to me without
providing more detailed steps to reproduce.
Jason Sams [Thu, 5 Nov 2009 20:30:24 +0000 (12:30 -0800)]
Fix white square bug when new apps are added while home is not active.
Android (Google) Code Review [Wed, 4 Nov 2009 23:01:17 +0000 (18:01 -0500)]
Merge change I44ad9fe5 into eclair
* changes:
Add android.home.drop even for the live wallpapers.
Romain Guy [Wed, 4 Nov 2009 23:00:44 +0000 (15:00 -0800)]
Add android.home.drop even for the live wallpapers.
Change-Id: I44ad9fe573dc3d2e5d091fed01300d44b6be9473
Android (Google) Code Review [Wed, 4 Nov 2009 21:17:01 +0000 (16:17 -0500)]
Merge change I2bbe9af6 into eclair
* changes:
Update the search widget to be vertically centered within it's footprint.
Mike Cleron [Wed, 4 Nov 2009 20:25:55 +0000 (12:25 -0800)]
Update the search widget to be vertically centered within it's footprint.
Joe Onorato [Wed, 4 Nov 2009 18:48:32 +0000 (13:48 -0500)]
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.
Jason Sams [Tue, 3 Nov 2009 21:59:34 +0000 (13:59 -0800)]
Don't release the GL context when all-apps looses its surface.
Mike Cleron [Tue, 3 Nov 2009 18:17:05 +0000 (10:17 -0800)]
Fix
2209039 and
2220106
Improve trackball handling and menu interaction
Joe Onorato [Mon, 2 Nov 2009 22:15:19 +0000 (17:15 -0500)]
Fix
2205899 - unable to access last row using trackball scroll if last row is having less than
4 icons.
Joe Onorato [Mon, 2 Nov 2009 17:01:11 +0000 (12:01 -0500)]
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.
Joe Onorato [Mon, 2 Nov 2009 15:42:02 +0000 (10:42 -0500)]
Tweak the shape/size of the all apps selection glow.
Bug
2231227
Joe Onorato [Mon, 2 Nov 2009 15:41:48 +0000 (10:41 -0500)]
Fix launcher crash
Joe Onorato [Sat, 31 Oct 2009 23:50:30 +0000 (19:50 -0400)]
Fix bugs
2218563 and
2176751 - Not properly loading icons, and sometimes marking them as cached when
they're not.
Joe Onorato [Sat, 31 Oct 2009 23:17:31 +0000 (19:17 -0400)]
fix
2206016 - Passion: Deleted Icons are added again after deleting folder on home screen
Joe Onorato [Sat, 31 Oct 2009 22:34:20 +0000 (18:34 -0400)]
remove unused code.
Joe Onorato [Sat, 31 Oct 2009 22:30:00 +0000 (18:30 -0400)]
When closing a folder, make sure to remove it from the list of drop targets.
This fixes the following bugs:
2222908 2208857
Joe Onorato [Sat, 31 Oct 2009 21:27:36 +0000 (17:27 -0400)]
Fix
2223769 - Uninstalling a widget (via adb uninstall) crashed launcher2 and com.cooliris.media
If we haven't even initialized yet, don't respond to app list changes.
I think this will fix that bug. It's possible that there's some other race in there somehow.
Joe Onorato [Sat, 31 Oct 2009 20:32:02 +0000 (16:32 -0400)]
Fix
2199124 - Sometimes app icons don't go away when deleting the app.
The app list isn't sorted by component name, it's sorted by title, so we can't
binary search on the component name. Duh.
Linear search is fine here.
Android (Google) Code Review [Sat, 31 Oct 2009 00:00:04 +0000 (20:00 -0400)]
Merge change I3134655d into eclair
* changes:
More capabilities for default home configuration
Mike Cleron [Fri, 30 Oct 2009 23:36:56 +0000 (16:36 -0700)]
More capabilities for default home configuration
Added support for adding appwidgets beyond clock and search to the
intital configuration. Also pulled in a previous change in Launcher that
allowed http shortcuts. New syntax looks like this in
default_workspace.xml:
<appwidget
launcher:packageName="com.android.settings"
launcher:className="com.android.settings.widget.SettingsAppWidgetProvider"
launcher:screen="0"
launcher:x="0"
launcher:y="2"
launcher:spanX="4"
launcher:spanY="1" />
<shortcut
launcher:packageName="com.android.settings"
launcher:icon="@drawable/ic_launcher_appwidget"
launcher:title="@string/group_folder"
launcher:uri="http://www.nytimes.com"
launcher:screen="2"
launcher:x="2"
launcher:y="2" />
Android (Google) Code Review [Fri, 30 Oct 2009 21:03:34 +0000 (17:03 -0400)]
Merge change Ia4f871c1 into eclair
* changes:
use table maskfilter for glow
Mike Reed [Thu, 29 Oct 2009 21:27:55 +0000 (17:27 -0400)]
use table maskfilter for glow
http://b/issue?id=
2210685
Jason Sams [Thu, 29 Oct 2009 21:27:29 +0000 (14:27 -0700)]
Wrap text with the curve instead of the fade. Mipmap distant text and icons. Fix two physics bugs. Snapping at end of list was inconsistant between flings and moves. Fix phyiscs boundary condition during low speed movement back to center.
Eric Fischer [Thu, 29 Oct 2009 04:19:01 +0000 (21:19 -0700)]
Import revised translations. DO NOT MERGE
Joe Onorato [Wed, 28 Oct 2009 20:30:34 +0000 (16:30 -0400)]
Fix
2200739 - Crash when you click on an empty icon slot in 3d all apps
Joe Onorato [Wed, 28 Oct 2009 19:47:49 +0000 (15:47 -0400)]
Fix
2201778 - Key click on all apps
Do it by hand, because the default on click handling doesn't do what we want.
Joe Onorato [Wed, 28 Oct 2009 19:17:01 +0000 (15:17 -0400)]
fix bug
2200625 - NPE at com.android.launcher2.AllAppsView.onTouchEvent(AllAppsView.java:259) on Passion
There's no need to do selection if we're not visible.
Jason Sams [Tue, 27 Oct 2009 22:38:42 +0000 (15:38 -0700)]
Fix leak when receiving multiple surface changed messages, typically when exiting a landscape app.
Mike Cleron [Fri, 23 Oct 2009 23:15:16 +0000 (16:15 -0700)]
Make home send tap commands to live wallpaper.
(This only applies to taps on empty spaces)
Android (Google) Code Review [Thu, 22 Oct 2009 22:32:12 +0000 (18:32 -0400)]
Merge change Ia0618e41 into eclair
* changes:
Fix
2198937: Home becomes unresponsive after picking wallpaper
Android (Google) Code Review [Thu, 22 Oct 2009 22:07:15 +0000 (18:07 -0400)]
Merge change I0ae41e06 into eclair
* changes:
Import revised translations. DO NOT MERGE
Android (Google) Code Review [Thu, 22 Oct 2009 21:04:13 +0000 (17:04 -0400)]
Merge change Ia98fd30d into eclair
* changes:
Restore missing string that was still referenced from code.
Mike Cleron [Thu, 22 Oct 2009 20:55:21 +0000 (13:55 -0700)]
Fix
2198937: Home becomes unresponsive after picking wallpaper
THe problem was that the code was relying on mWaitingForResult being
cleared in onActivityResult. This was not being called because the
wallpaper choosing activity was not being invoked with a result code.
We may want to rethink blocking touch events when isWorkspaceLocked().
There may be other places where we can get stuck like this.
Eric Fischer [Wed, 21 Oct 2009 19:00:47 +0000 (12:00 -0700)]
Import revised translations. DO NOT MERGE
Approver: jerryw
Eric Fischer [Wed, 21 Oct 2009 18:36:31 +0000 (11:36 -0700)]
Restore missing string that was still referenced from code.
Approver: jerryw
Jason Sams [Wed, 21 Oct 2009 01:19:55 +0000 (18:19 -0700)]
Return friction table, tweak values for line rather than pages.
Jason Sams [Tue, 20 Oct 2009 21:28:53 +0000 (14:28 -0700)]
Move the home button down slightly.
Mike Cleron [Tue, 20 Oct 2009 21:06:00 +0000 (14:06 -0700)]
Start at adding trackball support to 3D all apps
Known problems: you can outrun the selection by moving the
trackball quickly. Focus can get confused.
Android (Google) Code Review [Tue, 20 Oct 2009 19:07:18 +0000 (15:07 -0400)]
Merge change I461073bb into eclair
* changes:
Fix exit animation of top icon when present.
Jason Sams [Tue, 20 Oct 2009 19:06:28 +0000 (12:06 -0700)]
Fix exit animation of top icon when present.
Mike Cleron [Tue, 20 Oct 2009 00:03:36 +0000 (17:03 -0700)]
Fix trackball selection on the desktop (not all apps, yet)
AllApps view is always visible (in the View sense), which was causing it
to take focus when it should not have. Changed Launcher to manually
turn on/off the focusability of AllApps as it appears/disappears.
Jason Sams [Mon, 19 Oct 2009 21:45:45 +0000 (14:45 -0700)]
Add support for MoveTo.
Jason Sams [Mon, 19 Oct 2009 19:55:43 +0000 (12:55 -0700)]
Remove the competitors to the one true AppApps3D.
Android (Google) Code Review [Sat, 17 Oct 2009 00:24:45 +0000 (20:24 -0400)]
Merge change I09c6fc08 into eclair
* changes:
Change the entry / exit animation.
Jason Sams [Sat, 17 Oct 2009 00:23:23 +0000 (17:23 -0700)]
Change the entry / exit animation.
Romain Guy [Fri, 16 Oct 2009 22:07:32 +0000 (15:07 -0700)]
Remove live wallpaper picker from Launcher2.
Change-Id: I2c48f3624128276c3460939960168163d3c74c08
Joe Onorato [Fri, 16 Oct 2009 04:29:21 +0000 (21:29 -0700)]
Deselect the home icon whenever we zoom, in case we were tracking it.
Joe Onorato [Fri, 16 Oct 2009 04:19:09 +0000 (21:19 -0700)]
Add pressed states for the all apps button and the home button.
We'll need another asset for the selected state, when we do that.
This also updates the all apps icon to be a grid.
Joe Onorato [Fri, 16 Oct 2009 02:49:43 +0000 (19:49 -0700)]
Fix the bug where the icons stop showing up.
I think what's happening here is that when there is a configuration
change, we were restarting the launcher process because the driver
would hang. But now that that's fixed, we need to poke the model
to reload the icons. We were missing the bind apps call.
Joe Onorato [Fri, 16 Oct 2009 02:48:16 +0000 (19:48 -0700)]
Show the orange selection thing.
Joe Onorato [Fri, 16 Oct 2009 00:59:43 +0000 (17:59 -0700)]
Passion - Maybe this will fix bug
2183130 - NPE in AllAppsView.onTouchEvent.
Looking at the code as it was on ERD11, this was mVelocity being null.
That shouldn't be possible if events are ordered correctly. This
change makes AllAppsView a little more rigorous about which value
mTouchTracking has. Hopefully, we can mask any underlying problems
sufficiently. Events aren't supposed to be going out of order.
Joe Onorato [Thu, 15 Oct 2009 23:59:23 +0000 (16:59 -0700)]
Passion - Fix bug
2178628 - Make all apps selection work better.
Jason Sams [Thu, 15 Oct 2009 22:40:54 +0000 (15:40 -0700)]
Implement workaround for GL driver which is slow to render the first frame with new state. This change will render a transparent frame when receiving new state to warm the driver.
Jason Sams [Thu, 15 Oct 2009 03:16:14 +0000 (20:16 -0700)]
Change allApps to new view. Tweak rollo3 phyisics.
Jason Sams [Wed, 14 Oct 2009 00:19:10 +0000 (17:19 -0700)]
Add support for vert movement. Very hackish atm.
Joe Onorato [Wed, 14 Oct 2009 18:13:48 +0000 (11:13 -0700)]
passion - fix
2176920 - all apps cleared after deleting folder
Android (Google) Code Review [Wed, 14 Oct 2009 00:20:30 +0000 (20:20 -0400)]
Merge change I0f505e57 into eclair
* changes:
Checkpoint new rollo scripts. Not currently in use.
Jason Sams [Wed, 14 Oct 2009 00:18:35 +0000 (17:18 -0700)]
Checkpoint new rollo scripts. Not currently in use.
Romain Guy [Tue, 13 Oct 2009 20:34:27 +0000 (13:34 -0700)]
Add more wallpapers from E.
res/drawable-hdpi/wallpaper_zanzibar_small.jpg
Change-Id: I85ac97ee703c546106c424602a618ae167824399
Eric Fischer [Fri, 9 Oct 2009 22:36:52 +0000 (15:36 -0700)]
Import revised translations. DO NOT MERGE
Approver: jerryw
Jason Sams [Thu, 8 Oct 2009 02:58:03 +0000 (19:58 -0700)]
Fix physics bug when the script would go to sleep. The large DT caused the next animation to error. Stop rendering after one frame past last movement.
Android (Google) Code Review [Wed, 7 Oct 2009 18:37:20 +0000 (14:37 -0400)]
Merge change I122ce5c5 into eclair
* changes:
Import revised translations. DO NOT MERGE
Joe Onorato [Wed, 7 Oct 2009 17:58:23 +0000 (10:58 -0700)]
Fix
2167033 - Add bookmark to the home screen in the Browser is not working on Passions
Re-add the permissions, now that we only have one launcher at a time.
Joe Onorato [Wed, 7 Oct 2009 17:35:51 +0000 (10:35 -0700)]
Don't exit all apps when we launch apps.
Joe Onorato [Wed, 7 Oct 2009 17:26:17 +0000 (10:26 -0700)]
Launcher2 - Fix
2171232 Homescreen stopped responding after pressing home in wallpaper selector.
Joe Onorato [Wed, 7 Oct 2009 02:25:30 +0000 (19:25 -0700)]
Launcher2 - make 3d all apps deal with new apps and deleted apps.
Android (Google) Code Review [Wed, 7 Oct 2009 00:19:08 +0000 (20:19 -0400)]
Merge change Ia9d176cb into eclair
* changes:
Don't attempt to draw if we don't have any icons to draw.