53687 Commits

Author SHA1 Message Date
Daisuke Miyakawa
3746f2d914 Use upper case country codes in Country.java
Previously external/libphonenumber accepted lower case
country codes (e.g. "us") but now it doesn't for performance reason.
Actually ISO 3166-1 doesn't allow lower cases, so we should not rely
on them.

Need to fix unit tests for PhoneNumberUtils, as it implicitly
relies on the previous behavior.

See also I3a3e6db84ed0d24290b1be19651fa9a82de4cc39

Bug: 4941319
Change-Id: If16f6531f274a0faf5e28724854409ca9b00a669
2011-06-27 15:20:46 -07:00
Jake Hamby
da1fa1e42f Merge "Fix race condition in WakeLocks." 2011-06-27 14:54:24 -07:00
Iliyan Malchev
6d63726290 Merge "MemoryHeapBase: Save and binderize the offset" 2011-06-27 14:20:01 -07:00
Iliyan Malchev
72d6d650f3 Merge "CameraService: Decouple dequeue and lock" 2011-06-27 14:19:53 -07:00
Robert Ly
5a99645c38 am d1e78095: am 0711c86c: am 81cbc294: Merge "docs: fixing new superscript for rs" into honeycomb-mr2
* commit 'd1e78095452379e39a354c651d6c6cab351c52d5':
  docs: fixing new superscript for rs
2011-06-27 14:15:46 -07:00
Anirudh Dewani
08c32d54a8 am cf33a02b: am 3ba39ef2: am 1f82dc08: Merge "Typo in spinner tutorial." into honeycomb-mr2
* commit 'cf33a02bef19e1d0f11d119194c4f8439a06f1e2':
  Typo in spinner tutorial.
2011-06-27 14:15:37 -07:00
Dianne Hackborn
1fd0990bc5 am 06ca9b90: (-s ours) am fa5e3b65: am 2dafe771: Merge "DO NOT MERGE. Fix density compat mode." into honeycomb-mr2
* commit '06ca9b90e664235d79304a4611529c09256d060e':
  DO NOT MERGE.  Fix density compat mode.
2011-06-27 14:15:13 -07:00
Jean-Baptiste Queru
a2c8a7b573 am ec5039b3: am 99c070d8: am 4fea5373: Merge "Add WEBP to the list of Image formats that support Compression."
* commit 'ec5039b3720ee9b92fb2a2c6dd9f468d2dcd7172':
  Add WEBP to the list of Image formats that support Compression.
2011-06-27 14:15:01 -07:00
Jean-Baptiste Queru
2fdbb37f68 am 9f1ef6d5: am 7595e84d: (-s ours) am f458d5fd: Merge "Tweak for forward-compatibility"
* commit '9f1ef6d57bbf1ac524eff849c8976acb012b5687':
  Tweak for forward-compatibility
2011-06-27 14:14:57 -07:00
Wink Saville
bf731e7f90 am 7eff4bb3: am f49e4d3f: Merge "Temporary re-enabling iface name change handling on HO" into honeycomb-LTE
* commit '7eff4bb3f9c0cf0335dd1b2769bcb352b137dbaa':
  Temporary re-enabling iface name change handling on HO
2011-06-27 14:14:45 -07:00
Scott Main
0868f458cc am 7c58d671: am f169bae8: am f8d37ab6: Merge "docs: add emphasis to adding a search button in activity UI" into honeycomb-mr2
* commit '7c58d671d542f3a9923a9ea2e63b46005d81a445':
  docs: add emphasis to adding a search button in activity UI
2011-06-27 14:14:37 -07:00
Scott Main
4971c3c4a1 am 44b48a37: am db76388e: am 9a05cfe5: docs: update docs for new screen support attributes and qualifiers
* commit '44b48a377d47bb27b667ab87347f0a88ba3fba0b':
  docs: update docs for new screen support attributes and qualifiers
2011-06-27 14:14:26 -07:00
Bart Sears
e928373596 Merge "Update DroidSansEthiopic to ver 1.03" 2011-06-27 14:10:12 -07:00
Dave Santoro
d7e695876a Merge "Renamed INCLUDE_PROFILE param to ALLOW_PROFILE." 2011-06-27 13:52:00 -07:00
Anu Sundararajan
f24c4cd0f2 MemoryHeapBase: Save and binderize the offset
The offset that is used in the creation of the MemoryHeapBase must be saved, so
that it can be used to recreate the Heap when an IMemory object is passed
across process boundary through the binder.

Change-Id: Ie618fb5c0718e6711f55ed9235616fd801e648dc
Signed-off-by: Anu Sundararajan <sanuradha@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-06-27 13:48:51 -07:00
Sundar Raman
ed9bbf27ba CameraService: Decouple dequeue and lock
Decouple lockBuffer from dequeueBuffer. Add lock_buffer to preview_stream_ops,
so HALs will be fully in charge of managing buffers.

Change-Id: I7b53487d618bdf08ba904c5a0f41af462a7ca773
Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-06-27 13:48:50 -07:00
Chia-chi Yeh
3602153e32 Merge "KeyStore: fix test-keystore" 2011-06-27 13:14:13 -07:00
Mike J. Chen
04b9cafb32 Merge changes I0077e5e5,I42cbed69
* changes:
  Hookup interface status to other clients
  Revert "Revert "Propagate new link-status-change message to any NetworkManagementService""
2011-06-27 12:56:47 -07:00
Svetoslav Ganov
a20cdc06e5 Fixing the build
Change-Id: Ic3664e5cd812d5fe59c9cf2657a441ca76a61135
2011-06-27 12:45:30 -07:00
Svetoslav Ganov
932e4e6139 Merge "AccessibilityInjectorTest did not restore the default key binsings." 2011-06-27 12:40:50 -07:00
Svetoslav Ganov
f2dd2dfb6c AccessibilityInjectorTest did not restore the default key binsings.
1. AccessibilityInjectorTest changes the key bindings and when done
   restores the defatult ones. The restoreation was not working.

bug:4905620

Change-Id: I812bad0b748637ded0ce69ace12517511f62f726
2011-06-27 12:38:35 -07:00
Svetoslav Ganov
cf15bb6197 Merge "ArrayIndexOutOfBounds exception in TouchExplorer." 2011-06-27 12:07:27 -07:00
Svetoslav Ganov
51cccf0845 ArrayIndexOutOfBounds exception in TouchExplorer.
1. The explorer was injecting up/down touch events to
   click with the id of the last pointer that went up
   but the prototype i.e. last touch explore event may
   not contain this pointer. Since we click on the last
   touch explored location then using the action pointer
   index of that event is the right approach.

bug:4551506

Change-Id: I73428b09dc014417096a52e667f58768a2871dc8
2011-06-27 12:06:17 -07:00
Robert Ly
d1e7809545 am 0711c86c: am 81cbc294: Merge "docs: fixing new superscript for rs" into honeycomb-mr2
* commit '0711c86c3886fe869216965b868d30e9bb3abcea':
  docs: fixing new superscript for rs
2011-06-27 11:58:26 -07:00
Robert Ly
0711c86c38 am 81cbc294: Merge "docs: fixing new superscript for rs" into honeycomb-mr2
* commit '81cbc294ddb08c2bc08be9b2abbbcc7c19ec88d9':
  docs: fixing new superscript for rs
2011-06-27 11:49:30 -07:00
Robert Ly
81cbc294dd Merge "docs: fixing new superscript for rs" into honeycomb-mr2 2011-06-27 11:45:41 -07:00
Svetoslav Ganov
46bdc1ebbc Merge "Added scroll and text selection change accessibility events." 2011-06-27 11:41:25 -07:00
Romain Guy
aaad33e0aa Merge "Fixing various broken javadoc comments in framework." 2011-06-27 11:23:58 -07:00
Andreas Huber
b5cc1f1e21 Merge "Fix the new color converter to respect the destination crop rect." 2011-06-27 11:14:19 -07:00
Andreas Huber
e67e99a9fb Merge "Log video dimensions and crop rectangle." 2011-06-27 11:14:12 -07:00
Andreas Huber
f7ee6692a5 Merge "Update paths to test content used to run the omx_tests." 2011-06-27 11:14:05 -07:00
Andy McFadden
3ad2be893b Merge "Reduce definition of monthly rep test" 2011-06-27 11:07:40 -07:00
Dianne Hackborn
fb61fea7ee Merge "Turn on HW accel by default for apps that target ICS." 2011-06-27 10:40:41 -07:00
Chia-chi Yeh
b2b201395a KeyStore: fix test-keystore
Change-Id: I1dcbd5c3cc7569c397d2480cda76288a9e28cd5c
2011-06-27 10:38:10 -07:00
James Dong
654af6c57d Merge "Reduce the number of output buffers and force output buffers in display order for SoftAVC decoder" 2011-06-27 10:34:13 -07:00
Robert Ly
491a6de28d docs: fixing new superscript for rs
Change-Id: I0563842a3a43972b131a2ec30ed8357b8136fc6d
2011-06-27 10:33:01 -07:00
Andreas Huber
cdfa6141d2 Fix the new color converter to respect the destination crop rect.
Also fixes the SoftwareRenderer to request blitting the correct crop rectangles.

Change-Id: I38706cf9b42d96c6d5b35a9380f006ea4fbbf1ea
2011-06-27 09:26:09 -07:00
Andreas Huber
f167f503c9 Log video dimensions and crop rectangle.
Change-Id: Ia56b09df4f6e9a14c4dcc499a6637fc39f8e3bb5
2011-06-27 09:26:09 -07:00
Andreas Huber
1ef4c197a6 Update paths to test content used to run the omx_tests.
Change-Id: I23201ac1541df032426cb05b9dc872b28882f992
2011-06-27 09:26:09 -07:00
Anirudh Dewani
cf33a02bef am 3ba39ef2: am 1f82dc08: Merge "Typo in spinner tutorial." into honeycomb-mr2
* commit '3ba39ef20fdbe4512d3c3ad6ad7c833b14318391':
  Typo in spinner tutorial.
2011-06-27 04:33:59 -07:00
Wu-cheng Li
a084c841aa Merge "Add framework support for camcorder zoom." 2011-06-27 02:29:21 -07:00
repo sync
1aceda35cc Support Invite w/ Replaces request.
bug:3326870
Change-Id: Idbfbe7e3cc6ba83874d42bfb7d149866f454e70a
2011-06-27 16:20:28 +08:00
Wu-cheng Li
42419ce28a Add framework support for camcorder zoom.
The purpose of ICameraRecordingProxy and ICameraRecordingProxyListener is to
allow applications using the camera during recording.

Camera service allows only one client at a time. Since camcorder application
needs to own the camera to do things like zoom, the media recorder cannot
access the camera directly during recording. So ICameraRecordingProxy is a proxy
of ICamera, which allows the media recorder to start/stop the recording and
release recording frames. ICameraRecordingProxyListener is an interface that
allows the recorder to receive video frames during recording.

ICameraRecordingProxy
  startRecording()
  stopRecording()
  releaseRecordingFrame()

ICameraRecordingProxyListener
  dataCallbackTimestamp()

The camcorder app opens the camera and starts the preview. The app passes
ICamera and ICameraRecordingProxy to the media recorder by
MediaRecorder::setCamera(). The recorder uses ICamera to setup the camera in
MediaRecorder::start(). After setup, the recorder disconnects from camera
service. The recorder calls ICameraRecordingProxy::startRecording() and
passes a ICameraRecordingProxyListener to the app. The app connects back to
camera service and starts the recording. The app owns the camera and can do
things like zoom. The media recorder receives the video frames from the
listener and releases them by ICameraRecordingProxy::releaseRecordingFrame.
The recorder calls ICameraRecordingProxy::stopRecording() to stop the
recording.

The call sequences are as follows:
1. The app: Camera.unlock().
2. The app: MediaRecorder.setCamera().
3. Start recording
   (1) The app: MediaRecorder.start().
   (2) The recorder: ICamera.unlock() and ICamera.disconnect().
   (3) The recorder: ICameraRecordingProxy.startRecording().
   (4) The app: ICamera.reconnect().
   (5) The app: ICamera.startRecording().
4. During recording
   (1) The recorder: receive frames from ICameraRecordingProxyListener.dataCallbackTimestamp()
   (2) The recorder: release frames by ICameraRecordingProxy.releaseRecordingFrame().
5. Stop recording
   (1) The app: MediaRecorder.stop()
   (2) The recorder: ICameraRecordingProxy.stopRecording().
   (3) The app: ICamera.stopRecording().

bug:2644213

Change-Id: I15269397defc25cbbcae16abc071c8349c123122
2011-06-27 15:44:57 +08:00
Anirudh Dewani
3ba39ef20f am 1f82dc08: Merge "Typo in spinner tutorial." into honeycomb-mr2
* commit '1f82dc08f1616a83d8d1c43fa9ac16d0d60dd537':
  Typo in spinner tutorial.
2011-06-26 23:06:04 -07:00
Anirudh Dewani
1f82dc08f1 Merge "Typo in spinner tutorial." into honeycomb-mr2 2011-06-26 23:02:56 -07:00
Svetoslav Ganov
a0156177cd Added scroll and text selection change accessibility events.
1. Added scrolling accessibility event to provicde feedback
   when a view is scrolled.

Note: We need scroll events for ICS since even though we have
      touch exploration the user does not know when something
      is scrollable and not feedback is provided while scrolling.

bug:4902097

2. Added a text selection change event to provide feedback
   for selection changes including cursor movement.

Note: We need the text selection change events for ICS since
      even though the IME supports navigation in text fields
      the user receives no feedback for the current selection/
      cursor position.

bug:4586186

3. Added a scrollable property to both AccessibilityEvent and
   AccessibilityNodeInfo. The info has to describe the source
   in terms of all properties that make sense for accessibility
   purposes and the event has this property (kinda duplicated)
   since clients will aways want to know if the source is
   scrollable to provided clue to the user and we want to avoid
   pulling the info of the source for every accessibility event.

Change-Id: I232d6825da78e6a12d52125f51320217e6fadb11
2011-06-26 21:35:22 -07:00
Chia-chi Yeh
14f14863c5 KeyStore: allow system user to get secrets from keystore.
Change-Id: I9cb41344c17fb33e6614a45d46368a9c43e3dce7
2011-06-26 18:24:19 -07:00
Bart Sears
fc9f9e4db5 Update DroidSansEthiopic to ver 1.03
1.03 changed the embedded name table and PostScript name to be
DroidSansEthiopic (it was DroidEthiopic) since we may eventually
add a DroidSerifEthiopic.

Change-Id: I8b0ba085bb7d2c33a52e786cd64122ef53825f5d
2011-06-26 16:26:57 -07:00
Brian Carlstrom
c18e7e7315 Merge "Replace KeyChainActivity placeholder UI with more polished dialog (1 of 5)" 2011-06-26 15:30:37 -07:00
Jamie Gennis
436b50f0dc Merge "SurfaceTexture: detach from Dalvik when necessary." 2011-06-26 12:23:12 -07:00