77 Commits

Author SHA1 Message Date
Jeff Hamilton
46000b5841 AI 147250: Fix a nasty typo in the docs for ContentResolver.update(). No code changes.
BUG=1067866

Automated import of CL 147250
2009-04-21 15:12:16 -07:00
Andy Stadler
a1cde99f32 AI 147163: Copy documentation for the various search-by-voice flags that
were already listed in attrs.xml into SearchManager.java.  Add
  a (brief - no time for more) description about how to add search
  by voice to apps.
  JAVADOC ONLY - should be safe change for cupcake sdk.
  BUG=1554704

Automated import of CL 147163
2009-04-21 11:50:39 -07:00
Andy Stadler
54bd245f57 AI 147162: Emphasize in the javadoc that the "pkg" parameters to
InstrumentationTestCase and its descendants should be the
  package manager package name (not the java package name, and
  not the test package) of the package holding the Activity
  under test.
  Added similar notations to the ApiDemos call sites.
  JAVADOC ONLY - should be safe change for cupcake sdk.
  BUG=1783981

Automated import of CL 147162
2009-04-21 11:48:54 -07:00
Eric Shienbrood
18b4d49065 AI 145881: Adding on to CL 145383, unhiding some additional methods and constants
that ought to be exposed. Hid and deprecated the single-arg public
  constructor for NetworkInfo, and modified a CTS test that was testing it.
  Ran the android.net test package to make sure it still works.
  BUG=1779439

Automated import of CL 145881
2009-04-13 10:41:56 -07:00
Jeffrey Sharkey
5671777ecb AI 145568: Hide setStarted() from public API.
It should be renamed to something more meaninful before being exposed.
  BUG=1779168

Automated import of CL 145568
2009-04-09 16:53:25 -07:00
Dianne Hackborn
1c004f0ae1 AI 145561: Fix issue #1710534 (documentation doesn't mention that activity resolver (and others) handle MIME types as case-sensitive).
BUG=1710534

Automated import of CL 145561
2009-04-09 16:26:49 -07:00
Dianne Hackborn
48276ab989 AI 145383: API review: clean up a bunch of @hides that have been pending API review.
Either expose them, or official hide them with an explanation for why.
  BUG=1779439

Automated import of CL 145383
2009-04-09 12:32:19 -07:00
Dianne Hackborn
5eabbd9f27 AI 145382: API review: change new media keycode names to avoid ambiguity.
Updates the key maps.  During this I noticed that the dream keymap didn't have all of the media buttons like the sapphire key map...!  So this is now changed to match.
  BUG=1779435

Automated import of CL 145382
2009-04-09 12:31:13 -07:00
Chris Tate
a48875a7d7 AI 144306: Fix SDK issue 1716562 - Broadcast mechanism documentation should be improved.
BUG=1716562

Automated import of CL 144306
2009-04-02 14:59:14 -07:00
Daisuke Miyakawa
196677cf8c AI 144181: Modify ProgressDialog class and its xml so that it follows the
Android's UI guide line. This modification is based on leland's mock.
  See http://b/issue?id=1748136 for more information.
  Put ProgressNumber left side, next to ProgressPercentage.
  Make ProgressPercentage Bold.
  Put ProgressNumber and ProgressPercentage near to the ProgressBar
  above. This is same as the design of Market application.
  Enable ProgressDialog change the ProgressNumber format. This is hidden
  since the interface is premature.
  BUG=1748136,1612476

Automated import of CL 144181
2009-04-01 19:14:59 -07:00
Chris Tate
d7c1f5d0dd AI 144134: Fix issue 1750132 - SensorManager listener 'rate' parameter units are undocumented
BUG=1750132

Automated import of CL 144134
2009-04-01 15:59:29 -07:00
Tadashi Takaoka
c21cf4a9c5 AI 144001: Fix tiny bug in Rfc822Token.java
BUG=1751496

Automated import of CL 144001
2009-04-01 09:52:01 -07:00
Grace Kloba
3192d4a23a AI 143998: Fix #1750489. Call WebKit's setNetworkOnLine from WebCore thread instead of UI thread as WebKit is not thread safe.
Using the same code pattern as the rest of the file:
  . throw IllegalStateException if BrowserFrame.sJavaBridge is null in pauseTimers/resumeTimers.
  . use (msg.arg1 == 1) to pass the boolean from WebView to WebViewCore as in CLEAR_CACHE
  BUG=1750489

Automated import of CL 143998
2009-04-01 09:44:46 -07:00
Jeffrey Sharkey
e1ae350cb9 AI 143907: Make search widget drop-down wider.
BUG=1749373

Automated import of CL 143907
2009-03-31 18:24:45 -07:00
Dianne Hackborn
b378530714 AI 143896: Fix issue #1748954 and #1737952:
#1748954 (New status bar fades into all white background): FrameLayout wasn't updating its foreground drawable when its padding changed, which would happen as the status bar is shown and hidden.  To fix this I also ended up fixing a problem in the view debug stuff where we couldn't get a bitmap for a view that is the full screen size because it is too big...  actually I just went ahead and added another function to snapshot the view hierarchy which works a lot better for us anyway.
  #1737952 (Home screen icons overlap with the notification bar after exiting any camera app): Originally I punted this because it only happened in rare situations, but now that home is always portrait it happens a lot more so it is more important to fix.  This involved a few things to clean up hiding/showing the status bar:
  - We now determine when to hide and show it during layout, which allows us to do this at the time it is actually needed rather than during animation after we can actually catch it for the initial display of a window.  This required tweaking the layout API so the policy can request a second layout pass if needed.
  - When doing layout, we are now much more aggressive about skipping the layout of windows.  Basically anything that we know will be hidden in the near future is ignored for layout, so that it doesn't glitch as it is transfered out of the screen.  The theory being that it is better to leave it as it was originally placed while we are transitioning it out, than to switch it to something slightly more correct.
  BUG=1748954,1737952

Automated import of CL 143896
2009-03-31 17:58:46 -07:00
Romain Guy
d65addb4c9 AI 143758: Fixes #1749387. When a client of VelocityTracker obtains an instance from the pool, actually remove the object from the pool. Otherwise, several clients can share the same VelocityTracker which can lead to really weird side effects (including concurrency and UI issues.)
BUG=1749387

Automated import of CL 143758
2009-03-31 12:57:35 -07:00
Dianne Hackborn
65c8e11a31 AI 143748: Fix issue #1743326 (More battery stats)
Adds stats for:
  - Number of raw user events that have happened in the system.
  - Number of times user activity has been reported, dividied by UID and type of activity.
  - Duration of screen brightness levels in 4 buckets.
  - Per-UID tracking of who has turned on Wifi and how long we can attribute it being on because of them.
  BUG=1743326

Automated import of CL 143748
2009-03-31 12:11:48 -07:00
Nick Pelly
3f46f0a0cd AI 143740: Don't clear supported profiles in settings app if getRemoteClass returns error.
Also clean up the error codes returned by the framework, so that the settings app can properly detect an error.
  BUG=1748881

Automated import of CL 143740
2009-03-31 12:05:46 -07:00
Evan Millar
ac7df3fdfb AI 143615: -Add more stats:
-total network sent/received
  -total full/partial wakelock times.
  -Format the network sent/received amounts to be more easily readable.
  BUG=1743333

Automated import of CL 143615
2009-03-31 08:56:16 -07:00
Eric Fischer
15095be060 AI 143540: Try not to start TextView lines with non-starter characters.
TextView was previously following the "relaxed" line breaking
  convention and would allow a line break between any two
  ideographic characters.  Tighten that up and do not allow
  line breaks before non-starter characters (sound and iteration
  marks and small Hiragana and Katakana).
  BUG=1735619

Automated import of CL 143540
2009-03-30 15:38:38 -07:00
Eric Fischer
8e13d66b8d AI 143495: Add more accented letters to the character picker.
The hardware keyboard doesn't have all the accents needed for
  Czech and Polish, so round out the selection.
  BUG=1742856

Automated import of CL 143495
2009-03-30 12:01:15 -07:00
Dianne Hackborn
2b4d828e1d Automated import from //branches/cupcake/...@143009,143009 2009-03-26 16:28:25 -07:00
Evan Millar
2323bf7181 Automated import from //branches/cupcake/...@142996,142996 2009-03-26 15:33:04 -07:00
Satoshi Kataoka
4194592b9c Automated import from //branches/cupcake/...@142964,142964 2009-03-26 12:42:10 -07:00
Nicolas Roard
33b7987c5c Automated import from //branches/cupcake/...@142930,142930 2009-03-26 10:00:25 -07:00
Mathias Agopian
c75c4364ea Automated import from //branches/cupcake/...@142873,142873 2009-03-25 23:18:56 -07:00
Dianne Hackborn
02771bcb5d Automated import from //branches/cupcake/...@142870,142870 2009-03-25 22:39:21 -07:00
Eric Fischer
ffacbe5d36 Automated import from //branches/cupcake/...@142861,142861 2009-03-25 21:53:33 -07:00
Suchi Amalapurapu
a110047298 Automated import from //branches/cupcake/...@142858,142858 2009-03-25 21:48:28 -07:00
Jeffrey Sharkey
5104518fd7 Automated import from //branches/cupcake/...@142855,142855 2009-03-25 21:37:10 -07:00
Dianne Hackborn
73fbd70263 Automated import from //branches/cupcake/...@142829,142829 2009-03-25 18:37:33 -07:00
Jim Miller
7e4ad35590 Automated import from //branches/cupcake/...@142825,142825 2009-03-25 18:16:41 -07:00
Romain Guy
d6ab043da8 Automated import from //branches/cupcake/...@142818,142818 2009-03-25 17:57:49 -07:00
Andreas Huber
b3b366a7a5 Automated import from //branches/cupcake/...@142799,142799 2009-03-25 16:45:05 -07:00
Romain Guy
3661101005 Automated import from //branches/cupcake/...@142788,142788 2009-03-25 16:28:37 -07:00
Amith Yamasani
2d548b56cd Automated import from //branches/cupcake/...@142786,142786 2009-03-25 16:26:35 -07:00
Nick Pelly
289befd72b Automated import from //branches/cupcake/...@142761,142761 2009-03-25 15:43:42 -07:00
Mark Womack
ecacd2f6a3 Automated import from //branches/cupcake/...@142633,142633 2009-03-25 15:18:27 -07:00
Chris Tate
76eef491e1 Automated import from //branches/cupcake/...@142614,142614 2009-03-25 15:12:25 -07:00
Eric Fischer
d5e6a90c75 Automated import from //branches/cupcake/...@142564,142564 2009-03-25 10:14:01 -07:00
Daisuke Miyakawa
c76f908ea8 Automated import from //branches/cupcake/...@142508,142508 2009-03-24 22:31:34 -07:00
Romain Guy
edbabeb7fa Automated import from //branches/cupcake/...@142469,142469 2009-03-24 19:46:34 -07:00
Dianne Hackborn
99c6026218 Automated import from //branches/cupcake/...@142342,142342 2009-03-24 19:27:53 -07:00
Cedric Beust
49fc71f3f9 Automated import from //branches/cupcake/...@142317,142317 2009-03-24 19:22:00 -07:00
Joe Onorato
aaf678a8a5 Automated import from //branches/cupcake/...@142233,142233 2009-03-24 19:20:16 -07:00
Suchi Amalapurapu
9cb3e09ec4 Automated import from //branches/cupcake/...@142231,142231 2009-03-24 19:18:40 -07:00
Ficus Kirkpatrick
df5f5ec07f Automated import from //branches/cupcake/...@141995,141995 2009-03-24 18:48:25 -07:00
Nick Pelly
07c7dbbab6 Automated import from //branches/cupcake/...@141977,141977 2009-03-24 18:46:44 -07:00
Mike Lockwood
c68d9988a7 Automated import from //branches/cupcake/...@141894,141894 2009-03-24 18:36:06 -07:00
Romain Guy
32f2ccd393 Automated import from //branches/cupcake/...@141884,141884 2009-03-24 18:35:16 -07:00