OSDN Git Service
Android (Google) Code Review [Wed, 22 Jul 2009 16:01:20 +0000 (09:01 -0700)]
Merge change 8193 into donut
* changes:
Add one more pixel of padding to the top of the Google logo used in the search widget.
Mike LeBeau [Wed, 22 Jul 2009 16:00:41 +0000 (09:00 -0700)]
Add one more pixel of padding to the top of the Google logo used in the search widget.
Android (Google) Code Review [Tue, 21 Jul 2009 17:56:06 +0000 (10:56 -0700)]
Merge change 8034 into donut
* changes:
Remove gestures from Home.
Romain Guy [Tue, 21 Jul 2009 17:55:43 +0000 (10:55 -0700)]
Remove gestures from Home.
Mike LeBeau [Tue, 21 Jul 2009 00:40:46 +0000 (17:40 -0700)]
Display a Google logo in the search widget if Google is the chosen web
search provider. Listen for broadcasts of that setting changing to
correctly update the widget as appropriate.
Romain Guy [Fri, 17 Jul 2009 23:36:31 +0000 (16:36 -0700)]
Prevents BadTokenException on rotation of the gestures window.
Romain Guy [Fri, 17 Jul 2009 23:29:15 +0000 (16:29 -0700)]
Adjust the padding in Home's all apps drawer
Romain Guy [Fri, 17 Jul 2009 23:17:40 +0000 (16:17 -0700)]
Fixes #
1930069. Prevents NPE in GesturesActivity. Ensures the store is always != null.
Romain Guy [Fri, 17 Jul 2009 22:28:42 +0000 (15:28 -0700)]
Remove dead code from Home.
Romain Guy [Fri, 17 Jul 2009 21:59:27 +0000 (14:59 -0700)]
Remove unused asset.
Romain Guy [Fri, 17 Jul 2009 21:18:50 +0000 (14:18 -0700)]
Fixes #
1987902. Do not show the + button when not needed.
Romain Guy [Fri, 17 Jul 2009 08:24:40 +0000 (01:24 -0700)]
Fix back button in gestures panel.
Romain Guy [Fri, 17 Jul 2009 00:45:04 +0000 (17:45 -0700)]
More new gestures UI. Adds a back button at the bottom of the settings activity.
Romain Guy [Thu, 16 Jul 2009 20:21:01 +0000 (13:21 -0700)]
New gestures UI.
Romain Guy [Wed, 15 Jul 2009 22:19:44 +0000 (15:19 -0700)]
Fixes OutOfMemoryError on Home.
Android (Google) Code Review [Tue, 14 Jul 2009 21:51:25 +0000 (14:51 -0700)]
Merge change 7136 into donut
* changes:
Fix the lock issue on Home. This was caused by onPrepareDialog().
Romain Guy [Tue, 14 Jul 2009 20:58:08 +0000 (13:58 -0700)]
Fix the lock issue on Home. This was caused by onPrepareDialog().
onPrepareDialog() is called after a dialog was created/shown at least once. But
onPrepareDialog() does not mean the dialog will be shown. Thus Home would
sometimes lock itself without showing the dialog the user would normally use to
unlock the workspace.
Romain Guy [Tue, 14 Jul 2009 20:18:51 +0000 (13:18 -0700)]
Fixes #
1977560. Prevents NPE when rotating the gestures activity.
Android (Google) Code Review [Tue, 14 Jul 2009 03:46:52 +0000 (20:46 -0700)]
Merge change 7061 into donut
* changes:
Put in new version of search floater background image to put one pixel of padding and one less pixel of margin at the top.
Mike LeBeau [Tue, 14 Jul 2009 03:46:10 +0000 (20:46 -0700)]
Put in new version of search floater background image to put one pixel of padding
and one less pixel of margin at the top.
Eric Fischer [Mon, 13 Jul 2009 22:48:21 +0000 (15:48 -0700)]
Import new translations
Romain Guy [Thu, 9 Jul 2009 21:57:27 +0000 (14:57 -0700)]
Remove unused resources from Home.
Bjorn Bringert [Wed, 8 Jul 2009 11:38:25 +0000 (12:38 +0100)]
Don't call SearchManager.isVisible() in Launcher.
SearchManager.isVisible() is a hidden method that should
not be used by applications. Also, SearchManager.stopSearch()
already checks whether the search dialog is visible before
tryinf to dimiss it, so the check in Launcher was redundant.
Romain Guy [Mon, 6 Jul 2009 18:51:18 +0000 (11:51 -0700)]
Related to #
1444844. Caps fling velocity on Home.
Mike LeBeau [Thu, 2 Jul 2009 22:58:21 +0000 (15:58 -0700)]
Fix the search widget taking characters into it rather than forwarding
them to the search dialog. By setting editable=false and inputType=none,
the TextView can still take focus, but key input is forwarded to the
launcher which knows what to do.
Mike LeBeau [Fri, 3 Jul 2009 00:46:59 +0000 (17:46 -0700)]
Close the search dialog when user gets to Home by pressing home button,
but still keep it up if the user pressed e.g. back button.
Android (Google) Code Review [Thu, 2 Jul 2009 23:05:37 +0000 (16:05 -0700)]
Merge change 6127 into donut
* changes:
Remove SearchAutocompleteTextView from Launcher.
Karl Rosaen [Thu, 2 Jul 2009 21:19:44 +0000 (14:19 -0700)]
Remove SearchAutocompleteTextView from Launcher.
Now that the search widget doesn't actually get focus (it just turns into
the search dialog), it is no longer needed.
Romain Guy [Wed, 1 Jul 2009 23:39:46 +0000 (16:39 -0700)]
Fixes #
1956185. Restores the gesture when changing orientation when creating a shortcut.
Romain Guy [Tue, 30 Jun 2009 23:21:04 +0000 (16:21 -0700)]
Use a plain DataOutputStream instead of SharedPreferences in Home.
Romain Guy [Mon, 29 Jun 2009 21:41:20 +0000 (14:41 -0700)]
Fixes #
1949637. Home was setting waitingForResult=true whenever an app was launched.
Home was incorrectly treating apps launches as subactivties launched to obtain results.
This resulted in a protective flag being set when it should not have been.
Romain Guy [Fri, 26 Jun 2009 23:57:39 +0000 (16:57 -0700)]
Fix use of drawing cache in Launcher.
Romain Guy [Fri, 26 Jun 2009 17:31:07 +0000 (10:31 -0700)]
Fixes #
1945905. Prevents the user from clicking the same button mutiple times.
Dianne Hackborn [Thu, 25 Jun 2009 03:08:36 +0000 (20:08 -0700)]
Change name for home's uid to something more generic.
There are lots of things running under home's uid, so give it a more generic
name. Home no longer to blame for all the world's ills!
Romain Guy [Thu, 25 Jun 2009 00:38:45 +0000 (17:38 -0700)]
Fix the build
Android (Google) Code Review [Thu, 25 Jun 2009 00:29:11 +0000 (17:29 -0700)]
Merge change 5291 into donut
* changes:
Add the few missing strings needed by Home.
Romain Guy [Thu, 25 Jun 2009 00:25:39 +0000 (17:25 -0700)]
Add the few missing strings needed by Home.
Romain Guy [Wed, 24 Jun 2009 20:45:46 +0000 (13:45 -0700)]
Fixes #
1940691. Sync packages when home receives a reinstall notification.
Home was only updating known activities. This change makes home also check for
removed activities and added activities.
Romain Guy [Wed, 24 Jun 2009 00:34:54 +0000 (17:34 -0700)]
Fixes #
1937447. Home was not saving the appropriate state when losing focus.
Romain Guy [Fri, 19 Jun 2009 21:28:51 +0000 (14:28 -0700)]
Fixes #
1930608. Drop the gestures tables before attempting to recreate it.
Romain Guy [Tue, 16 Jun 2009 20:12:53 +0000 (13:12 -0700)]
Fixes #
1919280. Home was leaking the gestures window on configuration change.
Dismisses the popup window upon configuration change and correctly restores the
window after the new activity is created. This change also saves/restores the
current gesture and its match. This change also fixes the handling of the back
key when creating a new gesture-based shortcut: the gestures pad is not dismissed
anymore when pressing back in one of the shortcuts dialogs.
Romain Guy [Wed, 17 Jun 2009 23:18:58 +0000 (16:18 -0700)]
Close the gestures pad when pressing Home. A regression was recently introduced when
ignoring the Home key press when Home's window does not have focus.
Android (Google) Code Review [Wed, 17 Jun 2009 17:41:44 +0000 (10:41 -0700)]
Merge change 4479 into donut
* changes:
Adds checks in Home's broadcast receivers to handle only known actions.
Romain Guy [Wed, 17 Jun 2009 17:28:43 +0000 (10:28 -0700)]
Fix handling of the back key on Home in the gestures panel.
Previously, pressing back in a dialog on top of the gestures panel would
always dismiss the gestures panel. This is because the UP event for the
BACK key is sent to the underlying window after dismissing a dialog.
This fix simply checks for DOWN events only.
Romain Guy [Wed, 17 Jun 2009 17:20:34 +0000 (10:20 -0700)]
Adds checks in Home's broadcast receivers to handle only known actions.
Previously, Home would handle any action sent directly to its broadcast
receivers as if it was an UNINSTALL/INSTALL_SHORTCUT action.
Android (Google) Code Review [Tue, 16 Jun 2009 20:49:15 +0000 (13:49 -0700)]
Merge change 4383 into donut
* changes:
Fixes #
1912902. Handles orientation change when renaming gestures.
Romain Guy [Tue, 16 Jun 2009 20:47:58 +0000 (13:47 -0700)]
Fixes #
1912902. Handles orientation change when renaming gestures.
The GesturesActivity was crashing when changing the orientation while
renaming a gesture. This was due to unimplemented support for orientation
changes.
Romain Guy [Tue, 16 Jun 2009 20:25:29 +0000 (13:25 -0700)]
Fixes #
1921372. Pressing Home with the window shade down would show gestures pad.
This change checks for the window focus before taking action. If the Home's window
does not have focus, then the gestures pad is not shown.
Romain Guy [Fri, 12 Jun 2009 20:52:17 +0000 (13:52 -0700)]
When initiating a drag and drop from a folder in home, you could sometimes see
a black background behind the icon. This was due to uncleared drawing caches.
Android (Google) Code Review [Thu, 11 Jun 2009 21:27:05 +0000 (14:27 -0700)]
Merge change 3947 into donut
* changes:
Fixes #
1824492. Removes the clock from the default Home layout.
Romain Guy [Thu, 11 Jun 2009 21:25:47 +0000 (14:25 -0700)]
Fixes #
1824492. Removes the clock from the default Home layout.
Android (Google) Code Review [Thu, 11 Jun 2009 21:10:09 +0000 (14:10 -0700)]
Merge change 3939 into donut
* changes:
Tweak thread priorities in Home to make first boot experience a little better.
Romain Guy [Thu, 11 Jun 2009 20:58:26 +0000 (13:58 -0700)]
Tweak thread priorities in Home to make first boot experience a little better.
Romain Guy [Thu, 11 Jun 2009 20:07:43 +0000 (13:07 -0700)]
Change recognition matchin in Home to immediate mode.
Instead of waiting for Xms after a finger up event to start the recognition process,
do it right away on a finger up event. This provides immediate feedback.
Romain Guy [Thu, 11 Jun 2009 18:12:51 +0000 (11:12 -0700)]
Improve the threading model in the gestures settings activity.
This change checks for isCancelled() inside the loop to be able to terminate
the thread as early as possible.
Eric Fischer [Wed, 10 Jun 2009 22:11:18 +0000 (15:11 -0700)]
Update Portuguese translations.
Eric Fischer [Wed, 10 Jun 2009 19:29:59 +0000 (12:29 -0700)]
am
72281585: AI 149721: Import Portuguese translations.
Merge commit '
72281585d136353ed3814a96448763a2a6f7cca4' into donut
* commit '
72281585d136353ed3814a96448763a2a6f7cca4':
AI 149721: Import Portuguese translations.
Eric Fischer [Wed, 10 Jun 2009 19:26:08 +0000 (12:26 -0700)]
AI 149721: Import Portuguese translations.
Automated import of CL 149721
Romain Guy [Wed, 10 Jun 2009 18:53:57 +0000 (11:53 -0700)]
Fixes
1909513.
Do not show the gestures pad when the user is in the search dialog.
Romain Guy [Wed, 10 Jun 2009 09:48:37 +0000 (02:48 -0700)]
Fix issues with how the gestures pad was hidden when leaving Home.
Romain Guy [Tue, 9 Jun 2009 19:57:21 +0000 (12:57 -0700)]
Add gestures to Home.
Press the Home key while in Home to enable the gestures pad.
Romain Guy [Mon, 8 Jun 2009 22:52:54 +0000 (15:52 -0700)]
Fix locked workspace in Home.
A dialog can be dismissed without being cancelled. This change simply
adds a dismiss listener to the Add dialog in Home to make sure the
workspace is properly unlocked when the dialog is dismissed.
Romain Guy [Mon, 1 Jun 2009 23:11:41 +0000 (16:11 -0700)]
Fixes #
1876911
Moving the trackball up or down on a screen in Home could send the focus
to the left/right, which can be confusing. This issue was introduced by
a change in the way addFocusables() work and Home did not respect the
new behavior.
Android (Google) Code Review [Mon, 1 Jun 2009 22:37:00 +0000 (15:37 -0700)]
Merge change 2865 into donut
* changes:
Fixes #
1890155.
Romain Guy [Mon, 1 Jun 2009 22:34:04 +0000 (15:34 -0700)]
Fixes #
1890155.
Remove shortcuts from folders (closed and opened) whenever the user
uninstalls an application. Home was removing shortcuts from the
workspace and the database but was not updating the UI correctly
when running.
Romain Guy [Mon, 1 Jun 2009 21:54:59 +0000 (14:54 -0700)]
Fixes #
1889268.
Dragging an icon out of a folder was showing a gray background. This was due to the icon's drawing cache background color. This fix simply temporarily resets that color when capturing the view into a Bitmap.
Mike LeBeau [Sat, 23 May 2009 01:08:43 +0000 (18:08 -0700)]
Do not force the soft keyboard open if the search widget is already at the top of the screen.
Forcing the soft keyboard open is done at a specific time when animating the
search widget to the top of the screen in order to time the two animations well,
but we were doing it anyway even if the search widget was already at the top of
the screen and didn't need to animate.
Okay, so git does kinda rock when you're on a plane. :)
Android (Google) Code Review [Mon, 18 May 2009 21:37:50 +0000 (14:37 -0700)]
Merge change 1209 into donut
* changes:
Make Launcher request BIND_APPWIDGET.
Romain Guy [Fri, 15 May 2009 00:43:39 +0000 (17:43 -0700)]
Fix for #
1855127. When Home cannot decode an icon, it should not interrupt the loading of the workspace, but fallback to the default package icon.
Mitsuru Oshima [Wed, 13 May 2009 02:19:10 +0000 (19:19 -0700)]
* re-scale icons that are loaded using different denstiy metrics.
* fix potential npe
Romain Guy [Wed, 13 May 2009 00:35:41 +0000 (17:35 -0700)]
Fixes #
1844053. Home was accepting all drops, even when there was no room left for a drop. This change fixes this while retaining the 'snap to vacant cell' ability added in Cupcake.
Jeff Sharkey [Tue, 21 Apr 2009 04:03:13 +0000 (21:03 -0700)]
Prevent race condition when cancelling long-press for scroll.
When dragging between workspaces in rapid succession, the canceling of the
original long-press timer wasn't being triggered correctly. (When the timer
fires, it might read an invalid Workspace.allowLongPress() value.)
This patchset correctly cancels any pending long-press timers once a desktop
scroll begins, and we don't need to rely on the allowLongPress() value.
Android (Google) Code Review [Mon, 11 May 2009 22:03:50 +0000 (15:03 -0700)]
Merge change 1372 into donut
* changes:
Fixes #
1596240. Optimize invalidate/draw passes by marking opaque views and avoiding drawing them. Whenever a View requests an invalidate its parent check whether the view is opaque or not. When the view is not opaque, the framework behaves as it used to. However, when a view is opaque, the parent marks itself as being dirty because of an opaque view. Its parent then does the same, and so on. When the framework then starts drawing the views, it does not draw views marked as dirty opaque. If a view is dirty opaque and receives an invalidate request from a non-opaque view, it then clears the dirty opaque flag and behaves as before.
Romain Guy [Mon, 11 May 2009 18:50:46 +0000 (11:50 -0700)]
Fixes #
1596240. Optimize invalidate/draw passes by marking opaque views and avoiding drawing them. Whenever a View requests an invalidate its parent check whether the view is opaque or not. When the view is not opaque, the framework behaves as it used to. However, when a view is opaque, the parent marks itself as being dirty because of an opaque view. Its parent then does the same, and so on. When the framework then starts drawing the views, it does not draw views marked as dirty opaque. If a view is dirty opaque and receives an invalidate request from a non-opaque view, it then clears the dirty opaque flag and behaves as before.
Android (Google) Code Review [Fri, 8 May 2009 21:33:08 +0000 (14:33 -0700)]
Merge change 1274 into donut
* changes:
Modify comments in Launcher strings for global search.
Mike LeBeau [Fri, 8 May 2009 21:27:31 +0000 (14:27 -0700)]
Modify comments in Launcher strings for global search.
Ramanan Rajeswaran [Fri, 8 May 2009 20:17:39 +0000 (13:17 -0700)]
am
c4c1f32: AI 148592: Fix wallpaperchooser from previewing the default_
Merge commit '
c4c1f32159cf125f60c6057e5099aa3e0dc439cf' into donut
* commit '
c4c1f32159cf125f60c6057e5099aa3e0dc439cf':
AI 148592: Fix wallpaperchooser from previewing the default_wallpaper to wallpaper_lake. This issue is exposed
Ramanan Rajeswaran [Fri, 8 May 2009 20:15:08 +0000 (13:15 -0700)]
AI 148592: Fix wallpaperchooser from previewing the default_wallpaper to wallpaper_lake. This issue is exposed
when we override the default wallpaper.
BUG=
1836838
Automated import of CL 148592
Jeff Sharkey [Thu, 7 May 2009 23:12:05 +0000 (16:12 -0700)]
Make Launcher request BIND_APPWIDGET.
See http://b/issue?id=
1839074 for more details.
Romain Guy [Thu, 7 May 2009 00:43:13 +0000 (17:43 -0700)]
Fixes
1543726. Double-clicking Home should not make the workspace disappear. This was caused by the workspace optimization that draws only what is thought to be the current celllayout.
Romain Guy [Tue, 5 May 2009 01:03:43 +0000 (18:03 -0700)]
Fix obsolete javadoc
Eric Fischer [Fri, 1 May 2009 00:37:36 +0000 (17:37 -0700)]
am
f40e4dd: AI 148147: Import lots of zh_TW translation changes.
Merge commit '
f40e4dd1cfb1d1faccd3b28ff8b92fce714a0c7c' into donut
* commit '
f40e4dd1cfb1d1faccd3b28ff8b92fce714a0c7c':
AI 148147: Import lots of zh_TW translation changes.
Eric Fischer [Fri, 1 May 2009 00:32:16 +0000 (17:32 -0700)]
AI 148147: Import lots of zh_TW translation changes.
Automated import of CL 148147
Ramanan Rajeswaran [Fri, 1 May 2009 00:28:22 +0000 (17:28 -0700)]
am
fc1a6d1: AI 148132: Add two wallpapers for tmobile and set the defaul
Merge commit '
fc1a6d11747992ec1cdcc6c71899576c5bf8085f' into donut
* commit '
fc1a6d11747992ec1cdcc6c71899576c5bf8085f':
AI 148132: Add two wallpapers for tmobile and set the default wallpaper to tmobile
Ramanan Rajeswaran [Fri, 1 May 2009 00:25:21 +0000 (17:25 -0700)]
AI 148132: Add two wallpapers for tmobile and set the default wallpaper to tmobile
turtle
BUG=
1808772
Automated import of CL 148132
Eric Fischer [Fri, 1 May 2009 00:10:44 +0000 (17:10 -0700)]
am
9ebccd0: AI 148026: Update zh_TW translations.
Merge commit '
9ebccd0e08317e860c17f5db606b3491a3af1616' into donut
* commit '
9ebccd0e08317e860c17f5db606b3491a3af1616':
AI 148026: Update zh_TW translations.
Eric Fischer [Thu, 30 Apr 2009 23:48:34 +0000 (16:48 -0700)]
AI 148026: Update zh_TW translations.
Automated import of CL 148026
Romain Guy [Thu, 30 Apr 2009 22:11:58 +0000 (15:11 -0700)]
Fixes #
1798818. Enable the appropriate cache color hint for folders to speed up the scrolling.
Eric Fischer [Wed, 29 Apr 2009 04:57:28 +0000 (21:57 -0700)]
am
587c717: AI 147492: Update zh_TW translations.
Merge commit '
587c717d006aaf25c89bec504d1e7feeebd96d83' into donut
* commit '
587c717d006aaf25c89bec504d1e7feeebd96d83':
AI 147492: Update zh_TW translations.
Romain Guy [Tue, 28 Apr 2009 22:18:25 +0000 (15:18 -0700)]
Fixes #
1780990. Do not save the open state of the drawer when the user leaves Home by launching an application.
Karl Rosaen [Fri, 24 Apr 2009 02:01:37 +0000 (19:01 -0700)]
Merge branch 'readonly-p4-donut' into donut
Karl Rosaen [Fri, 24 Apr 2009 02:00:21 +0000 (19:00 -0700)]
AI 147564: Merge back from search branch to donut. Notes:
- all public apis and framework changes have been reviewed by relevant folks in our branch (e.g romainguy)
- all new public apis are @hidden; they will still get reviewed by api council once we're in git
- other than that, it's mostly GlobalSearch and search dialog stuff, a new apps provider, and some tweaks
to the contacts provider that was reviewed by jham
Automated import of CL 147564
Eric Fischer [Thu, 23 Apr 2009 18:59:15 +0000 (11:59 -0700)]
AI 147492: Update zh_TW translations.
Automated import of CL 147492
Jean-Baptiste Queru [Thu, 23 Apr 2009 00:56:59 +0000 (17:56 -0700)]
merge cupcake into donut
Eric Fischer [Wed, 15 Apr 2009 20:30:20 +0000 (13:30 -0700)]
AI 146365: Import revised translations.
DO NOT MERGE
Automated import of CL 146365
Eric Fischer [Tue, 14 Apr 2009 19:10:43 +0000 (12:10 -0700)]
AI 146175: Import updated translations.
Automated import of CL 146175
Android (Google) Code Review [Fri, 10 Apr 2009 23:18:20 +0000 (16:18 -0700)]
Merge change 40 into donut
* changes:
Make Launcher more forgiving when dragging desktop items.
Romain Guy [Thu, 9 Apr 2009 21:21:24 +0000 (14:21 -0700)]
AI 145482: am: CL 145182 Fixes #
1777943. Put the Clock back...
Original author: romainguy
Merged from: //branches/cupcake/...
Automated import of CL 145482
Romain Guy [Thu, 9 Apr 2009 21:12:56 +0000 (14:12 -0700)]
AI 145472: am: CL 145085 Fixes #
1777943. Get rid of the Clock widget on the default Home configuration and bring the Search widget to the center screen.
Original author: romainguy
Merged from: //branches/cupcake/...
Automated import of CL 145472
Eric Fischer [Thu, 9 Apr 2009 01:43:30 +0000 (18:43 -0700)]
AI 145225: Import more revised translations into cupcake.
Automated import of CL 145225