3119 Commits

Author SHA1 Message Date
Dianne Hackborn
0cd48879dc A little more wallpaper robustness.
- Recover if a live wallpaper is crashing repeatedly.
- Don't crash when someone tries to set a static wallpaper.
- Make the static wallpaper update correctly when the image changes.
2009-08-13 19:24:07 -07:00
Mathias Agopian
317a6280cc Surface::GPU and Surface::HARDWARE are now deprecated; they will be set automatically if needed.
this also ripples into the window manager API by making some constant there deprecated as well.
2009-08-13 18:19:32 -07:00
Dianne Hackborn
f21adf6fc1 Always have a wallpaper service running. 2009-08-13 17:14:39 -07:00
Grace Kloba
455e3af1f8 Fix #2048199. Enable zoom control in the overview mode. When "+" is pressed,
treat it as double click in the middle of the page.
2009-08-13 15:27:52 -07:00
Christopher Tate
0749dcd193 Backup participants must now hold the BACKUP_DATA permission
Packages that do not use android.permission.BACKUP_DATA will neither be backed
up nor restored.  That permission is currently signature-only.  In the future if
access to the backup/restore infrastructure is made available to arbitrary 3rd
party applications, the permission checks (and indeed, the permission itself)
can simply be removed.
2009-08-13 15:15:55 -07:00
Android (Google) Code Review
98f40163b9 Merge change 21162
* changes:
  more support for bindStatic some minor tweaks to the layout in the hopes I can start using this for gtalk soon
2009-08-13 15:00:34 -07:00
Mark Wagner
97f3209b45 more support for bindStatic
some minor tweaks to the layout in the hopes I can start using this for gtalk soon
2009-08-13 14:30:21 -07:00
Android (Google) Code Review
a9085a59ec Merge change 20853
* changes:
  Add net type to mobile for mobile-required traffic
2009-08-13 14:02:08 -07:00
Android (Google) Code Review
bcda5e039f Merge change 21158
* changes:
  Add brackets, braces, and backslash to alt-space character entry popup.
2009-08-13 13:41:15 -07:00
Eric Fischer
f16da4555f Add brackets, braces, and backslash to alt-space character entry popup.
Bug 2024806
2009-08-13 13:30:17 -07:00
Android (Google) Code Review
0eebab8bf3 Merge change 21153
* changes:
  Increase search radius for adjacent keys, to reduce unpredictability of suggestions.
2009-08-13 13:02:56 -07:00
Amith Yamasani
ae09878698 Increase search radius for adjacent keys, to reduce unpredictability of
suggestions.
2009-08-13 13:00:12 -07:00
Jeff Sharkey
ab13c7792e Add methods for directly setting Contact header data.
Previously, ContactHeaderWidget only allow data binding
through helper methods, or a single static call.  In the
Contacts edit UI, we need to set individual fields directly
based on internal EntityDelta states.  Also added more
documentation and exposed more-direct query helpers.
2009-08-13 12:14:18 -07:00
Cary Clark
543221fc4b handle false results in file.delete
found by findbugs
http://b/issue?id=1856614
2009-08-13 15:04:47 -04:00
Leon Scroggins
6679f2f708 Pass clicks to webkit's textfield to determine the new selection.
Requires a corresponding change to external/webkit.  We were previously
letting WebTextView handle clicks, determine the change in selection,
and pass that down to webkit.  This sometimes resulted in a different
placement of the caret if the WebTextView and the webkit-rendered
textfield did not line up exactly.  Now, we pass the click directly
to webkit, which determines the new selection and passes that info
back to the WebTextView.  This also has the benefit of letting
the WebTextView reflect changes in the selection that originated from
webkit. Also remove some unused parameters.
2009-08-13 14:21:24 -04:00
Benny Wong
da83f4674a Modified the camera HAL interface to use the same generic callback architecture as camera services 2009-08-13 10:46:28 -07:00
Andrei Popescu
385df699a6 remove Gears 2009-08-13 13:07:48 +01:00
Joe Onorato
25660ec2c8 Unbreak the sdk build.
I didn't break it, so if this doesn't fix it, somebody else should give
it a shot.
2009-08-12 22:40:37 -07:00
Dianne Hackborn
5350ffa1cf resolved conflicts for merge of 4431a065 to master 2009-08-12 21:58:34 -07:00
Android (Google) Code Review
d0fc3dded2 Merge change 21044
* changes:
  Add new API to compare certs of two UIDs.
2009-08-12 21:53:24 -07:00
Joe Onorato
168173a698 Don't crash when the window is closing 2009-08-12 21:42:00 -07:00
Dianne Hackborn
766cbfe44b Add new API to compare certs of two UIDs. 2009-08-12 21:40:05 -07:00
Android (Google) Code Review
4431a06507 Merge change 21055 into donut
* changes:
  Lock in final resource identifiers.
2009-08-12 21:36:22 -07:00
Mike LeBeau
2cd0a5c6aa am c41dca14: Merge change 21045 into donut
Merge commit 'c41dca14ee9a9513e547a54a6356b4dab41d781c'

* commit 'c41dca14ee9a9513e547a54a6356b4dab41d781c':
  Last minute change: Replace default app icon with a prettier one - droid on a software box sort of thing. :)
2009-08-12 21:36:16 -07:00
Mike LeBeau
6f9da6b7b6 am 370e1f74: Merge change 21038 into donut
Merge commit '370e1f7439fd2688220bfc9615ea70fa3d397cea'

* commit '370e1f7439fd2688220bfc9615ea70fa3d397cea':
  Propagate info about whether a "call" command was issued in RecognitionResult.
2009-08-12 21:36:09 -07:00
Dianne Hackborn
04bfa42078 resolved conflicts for merge of 6550076f to master 2009-08-12 21:32:10 -07:00
Dianne Hackborn
244c99283c Lock in final resource identifiers. 2009-08-12 20:55:20 -07:00
Android (Google) Code Review
c41dca14ee Merge change 21045 into donut
* changes:
  Last minute change: Replace default app icon with a prettier one - droid on a software box sort of thing. :)
2009-08-12 18:40:22 -07:00
Mike LeBeau
e4ad69020c Last minute change: Replace default app icon with a prettier one - droid on a software box sort of thing. :)
Addresses http://b/2000048
2009-08-12 18:38:21 -07:00
Android (Google) Code Review
370e1f7439 Merge change 21038 into donut
* changes:
  Propagate info about whether a "call" command was issued in RecognitionResult.
2009-08-12 18:05:50 -07:00
Mike LeBeau
840d0f528f Propagate info about whether a "call" command was issued in RecognitionResult.
This is needed for the fix of http://b/2018041.
2009-08-12 18:03:31 -07:00
Android (Google) Code Review
6550076f6c Merge change 21025 into donut
* changes:
  The DONUT constant also needs to be updated to the official SDK version.
2009-08-12 18:00:16 -07:00
Dianne Hackborn
fe77ec8e08 The DONUT constant also needs to be updated to the official SDK version.
Also remove all of the resource value padding.
2009-08-12 17:57:14 -07:00
Android (Google) Code Review
7c5ab2b06a Merge change 21032
* changes:
  Default mBaselineAlignedChildIndex to -1 so it will still be valid when a LinearLayout is created programatically.
2009-08-12 17:23:22 -07:00
Android (Google) Code Review
090f47bf15 Merge change 21031
* changes:
  Should clear background.
2009-08-12 17:19:54 -07:00
Dianne Hackborn
9875e6117a Should clear background. 2009-08-12 17:19:03 -07:00
Karl Rosaen
c1f9c40c23 Default mBaselineAlignedChildIndex to -1 so it will still be valid when a LinearLayout is created programatically.
Fixes bug 2038629, and thereby external issue 3484.
2009-08-12 17:18:33 -07:00
Android (Google) Code Review
ed8cb3931d Merge change 20419
* changes:
  new s2d ids table for rmq2; plus Gservices setting for using rmq2 protocol.
2009-08-12 16:56:58 -07:00
Robert Greenwalt
42acef3733 Add net type to mobile for mobile-required traffic
This also refactors ConnectivityService a bit towards supporting multiple simultaneous connections by making each a seem like a seperate Network with it's own stateTracker, etc.
Also adds tracking of process death to clean orphaned startUsingNetworkFeature features.
2009-08-12 16:08:25 -07:00
Eric Fischer
a9f1dd021f Make <font size> and <font height> in string resources respect density.
This unfortunately requires API changes because the existing text markup
classes had no access to the screen density.

TextPaint gains a "density" field so that TextView can pass the density
along.  AbsoluteSizeSpan gains a new flag to indicate that its argument
is in dip instead of in physical pixels.  LineHeightSpan gains an inner
interface whose chooseHeight() method includes a TextPaint argument so
it can get at the density.  And when StringBlock creates the markup
objects, it now uses the density-aware versions.

Bug 1976971, Bug 2031746
2009-08-12 16:04:10 -07:00
Android (Google) Code Review
8967f1f2d2 Merge change 20913
* changes:
  Report wallpaper offset to the wallpaper, use this in the image wallpaper.
2009-08-12 15:55:03 -07:00
Android (Google) Code Review
da8210ac84 Merge change 20998
* changes:
  Add norm() and map() to MathUtils.
2009-08-12 15:24:23 -07:00
Romain Guy
e85c5aa67e Add norm() and map() to MathUtils. 2009-08-12 15:23:56 -07:00
Dianne Hackborn
72c82ab992 Report wallpaper offset to the wallpaper, use this in the image wallpaper.
Wallpapers can now be just the size of the screen, and get told when their
scroll position should change to do the updating on their own.
2009-08-12 14:41:29 -07:00
Android (Google) Code Review
eeb175fb12 Merge change 20982
* changes:
  SystemProperties: eliminate unnecessary string allocation.
2009-08-12 14:32:34 -07:00
Mike Lockwood
d194595045 SystemProperties: eliminate unnecessary string allocation.
getInt(), getLong() and getBoolean() no longer allocate a temporary String object.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-12 17:20:41 -04:00
Jeff Sharkey
a5f743f1fc Add AsyncQueryHandler helper for queryEntities().
Recently we added queryEntities() to the ContentProvider
interface to read out Entity objects atomically.  This
change adds a helper to AsyncQueryHandler to perform these
queries on a background thread, returning the result when
finished.
2009-08-12 12:48:12 -07:00
Karl Rosaen
256f9148fb am 4c85f133: Merge change 20869 into donut
Merge commit '4c85f133e10ceaeb2553adb397d4828a7091e7e6'

* commit '4c85f133e10ceaeb2553adb397d4828a7091e7e6':
  If no interpolator is specified for a progress bar in the theme, default to a LinearInterpolator.
2009-08-12 12:36:29 -07:00
Dianne Hackborn
90f77218a2 am b8546001: Merge change 20878 into donut
Merge commit 'b8546001701405a76dad7e6235046e592296fac2'

* commit 'b8546001701405a76dad7e6235046e592296fac2':
  Fix issue #2048263: More debugging information
2009-08-12 12:36:12 -07:00
Jean-Michel Trivi
337cf910b3 am eccd6fdd: Merge change 20673 into donut
Merge commit 'eccd6fdd0d86b8610b738fc15c707eedc00ec9dc'

* commit 'eccd6fdd0d86b8610b738fc15c707eedc00ec9dc':
  Fix bug 2043140.
2009-08-12 12:04:40 -07:00