36823 Commits

Author SHA1 Message Date
Jean-Michel Trivi
dd688b600c Merge "Unhide android.media.AudioManager.MODE_IN_COMMUNICATION" 2010-11-22 14:08:18 -08:00
Andreas Huber
1bb0ffd098 Squashed commit of the following:
commit 0870f7bdd10a7cd36087d723d1957d8e1b967ca7
Author: Andreas Huber <andih@google.com>
Date:   Mon Nov 22 12:57:04 2010 -0800

    set_surface_crop doesn't seem to work right yet, stop using it in the SoftwareRenderer.

    Change-Id: If0a24f78b7810a6cecaa82eb4f23d0f90c22cc42

commit 4767b52bee3a54ae117a8708d6832276a44e6a6a
Author: Andreas Huber <andih@google.com>
Date:   Mon Nov 22 11:14:57 2010 -0800

    info->mMediaBuffer may still be NULL at this point...

    Change-Id: I25a71569015b1bb87f1ea7efff7588958774426f

commit 0cef79874e1f1ddb10b7402177a87d3cffc7de92
Author: Andreas Huber <andih@google.com>
Date:   Mon Nov 22 10:55:12 2010 -0800

    QCOM's YVU420 color format conversion has now been tested.

    Change-Id: I7fef4b642a928af15d42f006f7cdc107d5ff1d67

commit 84fe05a6c969ede0ce8a85a530e110afca07c7a7
Author: Andreas Huber <andih@google.com>
Date:   Mon Nov 22 09:59:50 2010 -0800

    Removed remaining traces of suspend/resume. Proper reporting of video dimensions based on cropping rectangle.

    Change-Id: Ib238b80cbc1f19e7d312f2422eb5e9ab6b06b1bc

commit 50970cdc837c5c498bcf0cb61b436196ca9e2ef7
Author: Andreas Huber <andih@google.com>
Date:   Fri Nov 19 16:11:06 2010 -0800

    Revamped Software Renderer respects the crop rectangle.

    Removed obsolete ADRENO support code.

    Change-Id: I984cbc8a99c4d97e09e7d1b1292099c88b9ae535

commit 8abbc6a5608bff650f968540f24a2eab75f254ed
Author: Andreas Huber <andih@google.com>
Date:   Fri Nov 19 16:10:41 2010 -0800

    The metadata retriever now respects the crop rectangle while capturing a video frame.

    Change-Id: Id3377176060086d16717f62c77ce26fabe899050

commit 2d42e4466609d304e88bd2cdd6eb7b297340cc21
Author: Andreas Huber <andih@google.com>
Date:   Fri Nov 19 16:09:50 2010 -0800

    Changed ColorConverter APIs to be more general.

    Clients can now refer to crop rectangles in both source and destination.

    Change-Id: Ief151d736818396d0389ec04e7df5650e3ad7c04

commit 273184303d54a54febd3e9c3dd4df30507ea78b5
Author: Andreas Huber <andih@google.com>
Date:   Fri Nov 19 15:04:06 2010 -0800

    The stagefright commandline tool now writes the extracted video frame to /sdcard/out.jpg

    Change-Id: Ieb2ab3fda7a7cd9294beccb8db0eed75096eeef4

commit 2d43390328cadf4ba94c1c3c02e4fb30baa29690
Author: Andreas Huber <andih@google.com>
Date:   Fri Nov 19 14:36:55 2010 -0800

    The AVC software decoder now properly advertises the cropping rectangle.

    Change-Id: Idb7a8a7e2fde5740f0fc34b7e8c92eca2577104b

commit 9a7ed23c2fac8ce19dce7a34a603acee945a89f6
Author: Andreas Huber <andih@google.com>
Date:   Fri Nov 19 13:40:39 2010 -0800

    OMXCodec now signals a format change if the cropping rectangle changes.

    ...and puts the cropping info into its output format.

    Change-Id: I3ffbd8e877ba286fe06a82c536ef20d92548d2e2

commit efe0323947029df1c502599ccc288c8d676dfd31
Author: Andreas Huber <andih@google.com>
Date:   Fri Nov 19 11:29:39 2010 -0800

    Stagefright's MetaData object now supports rectangle items.

    Change-Id: I5667bb5ee6622c76104b99fb57f60abb802a8504

Change-Id: I27cb78f2c5e0353f95fdfc5cb53991949ed75b70
2010-11-22 14:05:21 -08:00
Naomi Luis
637e3fd523 frameworks/base: Destroy the overlay even if there is an error
Allow the overlay object to be destroyed whenever the destroy is
invoked. Currently the destroy call returns if there is an error
encountered, which results in open data and control channels.

Change-Id: I1f2ef4ebb5fb1dcabf05ab50b5bbf6e5e240a63a
2010-11-22 14:03:18 -08:00
Scott Main
131aef5303 am 4f3c40cc: am 8fac7c2e: change sdk version variable to 2.3 (for docs)
* commit '4f3c40cc4d24ba1404b1332dbf1bfcddede8bf99':
  change sdk version variable to 2.3 (for docs)
2010-11-22 13:58:05 -08:00
Scott Main
4f3c40cc4d am 8fac7c2e: change sdk version variable to 2.3 (for docs)
* commit '8fac7c2edc433b6c7d153caac238fef595133663':
  change sdk version variable to 2.3 (for docs)
2010-11-22 13:55:55 -08:00
Jean-Baptiste Queru
4e256eae3c am c8454a85: am b2b0db2d: Merge "SearchDialog: Fix for NullpointerException while using Suggestions in Browser"
* commit 'c8454a851f26b78de77c0f6b1aa746ce3e2517f1':
  SearchDialog: Fix for NullpointerException while using Suggestions in Browser
2010-11-22 13:48:06 -08:00
Jean-Baptiste Queru
c8454a851f am b2b0db2d: Merge "SearchDialog: Fix for NullpointerException while using Suggestions in Browser"
* commit 'b2b0db2d5c89ae8824a4cb5d7944bae3a1dc8bf4':
  SearchDialog: Fix for NullpointerException while using Suggestions in Browser
2010-11-22 13:44:56 -08:00
Jean-Baptiste Queru
b2b0db2d5c Merge "SearchDialog: Fix for NullpointerException while using Suggestions in Browser" 2010-11-22 13:40:29 -08:00
Scott Main
8fac7c2edc change sdk version variable to 2.3 (for docs)
Change-Id: I76f5c69fab08913543c4f3d1ab000f7c4b6c9574
2010-11-22 13:36:39 -08:00
Jean-Michel Trivi
8aa798b244 Unhide android.media.AudioManager.MODE_IN_COMMUNICATION
Unhide new constant for an audio mode for a system state when
 the device has a VoIP (as opposed to telephony) call established.
Update the setMode and getMode javadoc to link to the mode constants
 that can be set or retrieved.

Change-Id: I90c4417679f215eb66e5305086fd077beddaa59c
2010-11-22 13:30:34 -08:00
satok
3ef8b29fa0 Synchronize getCurrentInputMethodSubtype
Change-Id: I8bcedb39baba10e7035d5c1c11f41f74943874d1
2010-11-23 06:20:23 +09:00
Xia Wang
6026d52710 Add Wifi Tethering stress test
Stress Wifi driver loading and unloading by enable/disable access point
mode.

Change-Id: Ie31266d2b9665cb304473f1c14c83bc57e9920f2
2010-11-22 12:00:31 -08:00
Vasu Nori
624002b0d5 print certain rows from downloads.db when bugreports are taken
when downloads fail/get stuck, we need to look at the database state
for those downloads. and when the users report such problems, it is
a royal pain not to have that info and most users don't seem to bother
sending database dumps because it is a bit of work.

so lets just dump info about downloads that failed or
downloads from GSF (OTAs, for example)

helps debugging. there is STOP ship comment to not dump data once
HC is released.

Change-Id: Id1254982fd82b4c55f1816a2491f00966840f024
2010-11-22 11:59:04 -08:00
Gloria Wang
95dbffb241 Notify the playback status to DRM agents before the playback starts
Change-Id: I288eae2d35ab175c720bb0dd9f69e3e08ada9b8a
2010-11-22 11:03:51 -08:00
Gloria Wang
83d97c8c7d Merge "64-bit file size/offset support for DRM framework" 2010-11-22 10:48:30 -08:00
Scott Main
18439bee6f docs: add dev guide for action bar and update other relevant documents
Change-Id: I1d3deda4c35066f7cf05b06fe5b60acfa1fae149
2010-11-22 10:42:36 -08:00
James Dong
56b1b8bb1f Merge "Fixed an issue in SampleTable where the table index was incorrectly wrapped around to -1" 2010-11-22 09:54:21 -08:00
Dmitri Plotnikov
d600836965 Merge "Adding IS_READ_ONLY flag to groups" 2010-11-22 09:48:17 -08:00
Cary Clark
fc8bf749da add select text to context menu
Make select text available as an external interface
so that the browser can initiate it from a context
menu.

Interface is marked hidden pending API council approval.

companion change in packages/apps/Browser

bug:3214410
Change-Id: I7d513a38cc3a5ac9c0d1b3be39c02e0835bea90a
2010-11-22 12:41:58 -05:00
Dmitri Plotnikov
4ccf33acbc Adding IS_READ_ONLY flag to groups
Bug: 3214137

Change-Id: I8acda10e4743888adfed3dfd0a0dd597c945f778
2010-11-22 09:41:01 -08:00
Iain Merrick
dac85cb8a9 Merge "Make maybeSavePassword() a top-level method in BrowserFrame." 2010-11-22 09:34:31 -08:00
Justin Ho
aff153d5a3 Adding new gingerbread notifications and ringtones to master
Change-Id: I5489606fa98dc78c0b864b95a98def41ce6d1f67
2010-11-22 09:33:21 -08:00
Ben Murdoch
b62f8a5450 Fix potential NPE in L10nUtils.
It is possible that a call to the L10nUtils class will
come before it has been properly initialised (if the
user highlights a form very quickly onload for example) so move
the initialisation earlier in the WebView ctor so that it is
set up before the WebCore thread is started.

Change-Id: Iff5a1c16d04c47d001146184f753d2cc0cbbb404
2010-11-22 17:15:38 +00:00
Iain Merrick
9eb2a89f88 Make maybeSavePassword() a top-level method in BrowserFrame.
We need to be able to reuse this logic from the Chrome HTTP
stack. This is just a refactoring that doesn't change any
behaviour; we'll need a separate change in external/webkit
to call this from the code that handles POST requests.

Change-Id: I3f3f84a15a8501f63de974bffa6f7c911a3d3820
2010-11-22 17:03:26 +00:00
Leon Scroggins
1ca5626351 Alter the Layout of WebTextView to match webkit.
Bug:3085564

In order to treat the selection handles properly, the text in
WebTextView needs to line up with the text in webkit.  Use the
line spacing style, or the paint if none provided, to determine
the spacing for WebTextView's Layout.  When no line spacing is
provided, use the floating point values of ascent and descent,
rather than the rounded result, to determine spacing.

Requires a change in external/webkit:
https://android-git.corp.google.com/g/#change,80641

Change-Id: I51081835e128a0e938028c7c7aeb5111aa5f072c
2010-11-22 09:37:57 -05:00
Deepika Sai Amuri
b00d41acd6 SearchDialog: Fix for NullpointerException while using Suggestions in
Browser

Change-Id: Ic208ae51e4f7678363ea6d7de9db97707713bf6d
2010-11-22 01:31:35 -08:00
Erik
3644bf11bf Merge "b/3215774 Fix scrollMode notifications" 2010-11-21 20:08:06 -08:00
Joe Onorato
79418114d3 Merge changes I61331a6e,I5728222b
* changes:
  new battery assets
  Use new nav button assets.
2010-11-21 19:23:36 -08:00
Joe Onorato
794be40f8b new battery assets
Change-Id: I61331a6eb237f8883bf604c0767623b08c2fa41b
2010-11-21 19:22:25 -08:00
Joe Onorato
dab75b66aa Use new nav button assets.
Change-Id: I5728222ba173eedb67e6fa4c599b39b61c923e23
2010-11-21 18:25:49 -08:00
Brad Fitzpatrick
bee248769d StrictMode: dropbox VM-wide violations (e.g. CloseGuard) async
To be clear, the dropbox violations were already async in the
ActivityManager, but the Binder call was often 30 ms anyway.

This optimization was already done for per-thread violations earlier,
but was never done for VM-wide violations because they weren't common,
until CloseGuard came about.  Now that CloseGuard fires a lot, apply
the same optimization to VM-wide violations.

This CL also addresses a concern of Dianne's earlier of too many
threads being outstanding.  So now there's a paranoia check with an
upper bound on how many outstanding ActivityManager calls are
in-flight.

Change-Id: I95e0816105ab862f0f241052b149c9a46a70ce9c
2010-11-21 18:01:41 -08:00
Joe Onorato
6c1af93c17 The ticker shouldn't be modal.
Change-Id: I6bb4df07ad4659d900a95379193f5cb95d7706c3
2010-11-21 17:07:20 -08:00
Joe Onorato
fca14066d9 Api udpate for notification changes
Change-Id: I72d7c2f5d6e3f607a3885efc8120e7c0c8ad5229
2010-11-21 16:45:57 -08:00
Joe Onorato
52f80cd36f The icon sticks out of the ticker.
The ticker still needs to show up over the status bar, which will take a bit of
window manager work, so it's just out of position for now.

Change-Id: Ib5781925db63a22d9352a7b5017a36eec3229395
2010-11-21 16:16:29 -08:00
Joe Onorato
4cddc98a4b Deal with more notifications than fit on screen.
Change-Id: I432b9ee73a473fe4af8b0caeede4993c67be6518
2010-11-21 16:16:29 -08:00
Joe Onorato
561d3858bb The large icon for notifications.
Change-Id: I8537c602b5b5fca03be8980295bfa28330543669
2010-11-21 16:16:28 -08:00
Joe Onorato
3f76aa7755 Test for using the right size of notification info text.
Change-Id: Iac8764542ddcd3ef0375f6d6d03225e9f6c2fc1c
2010-11-21 16:16:28 -08:00
Joe Onorato
3fe7f2f2e3 fix warning
Change-Id: I243e9b81256af13b8296dd121b1204caed7a3996
2010-11-21 16:16:28 -08:00
Joe Onorato
2026e8d468 Show the icon in the compatibilty ticker.
Change-Id: Ib0f466a6773f9e66ad418bf48303504dedf73d21
2010-11-21 16:16:28 -08:00
Joe Onorato
8595a3dd9a Show the number in the expanded notification instead of in the bar.
Change-Id: I248b4fe1732ed290e9f3f9c094de4544a0e396ab
2010-11-21 16:16:28 -08:00
Joe Onorato
46439cec0e Update the look of the notifications. Includes adding a new Notification.Builder class.
Change-Id: I7c57b81c45defe77d6f3d22472e9cf8432bbed03
2010-11-21 16:16:27 -08:00
James Dong
0950b4bd5b Fixed an issue in SampleTable where the table index was incorrectly wrapped around to -1
bug - 3198642

Change-Id: Ia0544172502fc771f48fce22d5c1db19ac3554bb
2010-11-21 10:23:11 -08:00
Wink Saville
804043193a Remove pingtest in GsmDataConnectionTracker.
The pingtest have been disabled since petit-four and ping's use is
being deprecated. Removing the ping test code, if needed use
InetAddress.isReachable instead.

bug: 1824738
Change-Id: I42b3de85b67b82dc6389e7a2234afa7b1d687209
2010-11-20 11:57:56 -08:00
Dirk Dougherty
f5c4111f66 am e489d48f: am 805bddc1: Merge "doc change: Docs for SDK Tools r8, ADT 8" into gingerbread
* commit 'e489d48f7c95b874ee7820d1052d862109244437':
  doc change: Docs for SDK Tools r8, ADT 8
2010-11-19 19:21:04 -08:00
Wu-cheng Li
4e911849ca am fb6f4505: am 589e8381: Merge "Improve camera documentation." into gingerbread
* commit 'fb6f4505ba5c227cebb73f1269b0af5d92e6e5e6':
  Improve camera documentation.
2010-11-19 19:20:59 -08:00
Dirk Dougherty
e489d48f7c am 805bddc1: Merge "doc change: Docs for SDK Tools r8, ADT 8" into gingerbread
* commit '805bddc123c1fc56be333d6ff365f168d4bc2b08':
  doc change: Docs for SDK Tools r8, ADT 8
2010-11-19 19:04:56 -08:00
Dirk Dougherty
805bddc123 Merge "doc change: Docs for SDK Tools r8, ADT 8" into gingerbread 2010-11-19 19:03:03 -08:00
James Dong
482a1b16cb Display AVC video sample profile and level for "stagefright" util
Change-Id: I04b3f67d162cf3827bc74ad98cd1e1a0f5f14172
2010-11-19 18:39:16 -08:00
Wu-cheng Li
fb6f4505ba am 589e8381: Merge "Improve camera documentation." into gingerbread
* commit '589e838116b0dffa696fa39336d0588124877f98':
  Improve camera documentation.
2010-11-19 18:17:24 -08:00
Wu-cheng Li
589e838116 Merge "Improve camera documentation." into gingerbread 2010-11-19 18:14:43 -08:00