3106 Commits

Author SHA1 Message Date
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
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
Karl Rosaen
f57a1a5117 am b3fa1084: Merge change 20768 into donut
Merge commit 'b3fa1084ba31698fa5c58150a713d7abbadb1cd2'

* commit 'b3fa1084ba31698fa5c58150a713d7abbadb1cd2':
  Docs only change: finish documentation of Android Quick Search Box related information in SearchManager.
2009-08-12 12:04:22 -07:00
android-build SharedAccount
45e503ae91 resolved conflicts for merge of 802527c6 to master skipping preloaded-classes as pre Bob 2009-08-12 12:01:35 -07:00
Evan Millar
773c634124 Add presence to ContactsHeaderWidget 2009-08-12 11:27:45 -07:00
Android (Google) Code Review
b5a72b0e14 Merge change 20945
* changes:
  contrary to popular belief ContentResolver.query can return null. so check.
2009-08-12 10:10:47 -07:00
Jeff Sharkey
62b83b7fc4 Deprecate extra gd:structuredPostalAddress fields.
For the purposes of contact data, there are some postal
address columns that are unsupported, since they don't
directly contribute to a "mailing address" for a person.

http://code.google.com/apis/contacts/docs/3.0/reference.html#structuredPostalAddressRestrictions
http://code.google.com/apis/gdata/docs/2.0/elements.html#gdStructuredPostalAddress
2009-08-12 09:54:19 -07:00
Mark Wagner
93187560b5 contrary to popular belief ContentResolver.query can return null.
so check.
2009-08-12 09:34:51 -07:00
Android (Google) Code Review
f2c9b2c0b4 Merge change 20706
* changes:
  Improve Browser performance by 1-2%. To address domain sanity bug, http://b/issue?id=1022797, we decoded/encoded the url for each request. As the url can be long, getBytes() and String.init are taking 1.5% in nytimes.com and 2.4% in cnn.com. By doing a simple URL encoding test, we can shave 1-2 secs thread time during loading.
2009-08-12 09:27:01 -07:00
Android (Google) Code Review
4c85f133e1 Merge change 20869 into donut
* changes:
  If no interpolator is specified for a progress bar in the theme, default to a LinearInterpolator.
2009-08-12 09:24:05 -07:00
Cynthia Wong
c512760397 Rename gmail-ls log tag to Gmail 2009-08-12 09:13:32 -07:00
Karl Rosaen
4ebc4fb528 If no interpolator is specified for a progress bar in the theme, default to a LinearInterpolator.
Fixes bug 2031844.
2009-08-12 08:07:16 -07:00
Android (Google) Code Review
4cd1b5a15a Merge change 20787
* changes:
  Removing primary/default phone number and email on contact from the API.
2009-08-12 07:46:53 -07:00
Android (Google) Code Review
97732c41c3 Merge change 20744
* changes:
  Adds Java side of browser GeolocationService.
2009-08-12 07:26:48 -07:00
Steve Block
67e1eb6864 Adds Java side of browser GeolocationService. 2009-08-12 15:23:11 +01:00