58322 Commits

Author SHA1 Message Date
Mathias Agopian
ce8e0baeff fix display artifacts in preview screen in timelapse video mode
We were not updating the h/w composer state when the buffer size
changed.

We also didn't update the h/w composer state when the transformation
matrix changed (which is related to the above issue, since it would
probably change when the buffer size changes).

Also moved updating the crop to setGeometry(), since we decided
that the "crop" change requires the GEOMETRY_CHANGED flag (ie:
not need to do this every frame)

Bug: 5238473

Change-Id: Ia7b47e145b48581b568d89d9aa2c14ff778be862
2011-08-30 15:31:51 -07:00
Jean-Michel Trivi
d354ac3860 am 2261c7d6: Merge "Bug 5045498 Force display update when display registers"
* commit '2261c7d6456376ed10a97643fc74a1e4eb2c1c9f':
  Bug 5045498 Force display update when display registers
2011-08-30 15:15:14 -07:00
Jean-Michel Trivi
2261c7d645 Merge "Bug 5045498 Force display update when display registers" 2011-08-30 15:14:12 -07:00
Christopher Tate
a1cf91d033 am 95901a1b: Merge "Fix JNI for warning about failure to unlink DeathRecipients"
* commit '95901a1b8b9ee85a8cfe5603f6fa3cca15b2cb85':
  Fix JNI for warning about failure to unlink DeathRecipients
2011-08-30 15:12:05 -07:00
Christopher Tate
95901a1b8b Merge "Fix JNI for warning about failure to unlink DeathRecipients" 2011-08-30 15:09:54 -07:00
Chia-chi Yeh
182449911e am 1c75e966: Merge "SIP: add the check for expiry time in Contact header."
* commit '1c75e966b28e3d13b91ec47e6d883f7c58a1f247':
  SIP: add the check for expiry time in Contact header.
2011-08-30 15:04:45 -07:00
Chia-chi Yeh
1c75e966b2 Merge "SIP: add the check for expiry time in Contact header." 2011-08-30 15:02:59 -07:00
Dianne Hackborn
9e4e727b4a Fix issues #5233826 and #5209847 -- live wallpapers.
5233826	when a live wallpaper starts, it does so regardless of its visibility

The WallpaperService is now very forceful about telling a wallpaper it is
not visible when it first starts.

5209847	Make launcher turn off the wallpaper in all apps.

Fix a bug in the window manager that would not correctly handle the wallpaper
flag changing.

Change-Id: Ie3314043a84664be72a1304a1705408efd789a15
2011-08-30 14:56:31 -07:00
Jean-Michel Trivi
958bba6862 Bug 5045498 Force display update when display registers
When an IRemoteControlDisplay registers, cause the
 RemoteControlClient to send all its information to the newly
 registered display.
The previous code was only sending a request for update: this
 request didn't here cause the client to send the data because
 a new client generation had not been synchronized among clients
 and displays.
This CL uses the same code path to force an update as when audio
 focus changes, or a new client registers, by calling the same
 method that is called in those cases,
 updateRemoteControlDisplay_syncRcs(flags).
Also in this CL: more method renames to indicate methods that
 are called synchronized on mRCStack.

Change-Id: I54102f45ba1cd4812d958ecd883bec7bc45ae88f
2011-08-30 14:48:31 -07:00
Romain Guy
4600d79c92 am 853921fa: Merge "Text would disappear when the font size is 75px. Bug #5230196"
* commit '853921fa6ded5267c71f601beceda0f4cb94df9d':
  Text would disappear when the font size is 75px. Bug #5230196
2011-08-30 14:44:27 -07:00
Romain Guy
853921fa6d Merge "Text would disappear when the font size is 75px. Bug #5230196" 2011-08-30 14:43:06 -07:00
Romain Guy
799833a8b4 Text would disappear when the font size is 75px.
Bug #5230196

Yes, 75px. Any other font size would work. Don't ask.

Change-Id: I96c7db9926a97f65128d60c8238c3640ee2444ba
2011-08-30 14:41:48 -07:00
Max Braun
e81056f350 Pick up device configuration "device.internal = 0". Before, only "device.internal = 1" had an effect.
Change-Id: Ie88ed66e0841418c147bed2e23806405bdd17ad6
2011-08-30 14:40:43 -07:00
Jamie Gennis
d8cb308f67 am 8d102eb6: Merge changes I33f59705,Ia4c8c822,I2fb695ab,I2e587afc
* commit '8d102eb6720deccfb8b5872fde531ef6ca580077':
  MediaDump: use the MediaPlayer#setSurface method
  HTML5VideoView: switch to MediaPlayer#setSurface
  MediaPlayer: unhide the setSurface method
  Surface: unhide the SurfaceTexture ctor
2011-08-30 14:40:24 -07:00
Jamie Gennis
8d102eb672 Merge changes I33f59705,Ia4c8c822,I2fb695ab,I2e587afc
* changes:
  MediaDump: use the MediaPlayer#setSurface method
  HTML5VideoView: switch to MediaPlayer#setSurface
  MediaPlayer: unhide the setSurface method
  Surface: unhide the SurfaceTexture ctor
2011-08-30 14:38:56 -07:00
Justin Ho
8b9362d65f Updated action bar/CAB assets
Bug: 5156319 5076695

Change-Id: If80d0bf0d3ca4d6bf22ef6231380c07f73fe966b
2011-08-30 14:08:52 -07:00
Christopher Tate
0d4a792e8d Fix JNI for warning about failure to unlink DeathRecipients
We now (a) use the right Class getName() method, and (b) look it
up once at setup time rather than doing that lookup every time we
want to emit the warning.  Verified to work properly and no longer
crash or throw or otherwise complain.

Change-Id: If0767f8845588ba7f34bac21474f4e2ad5c111d6
2011-08-30 14:06:20 -07:00
Chia-chi Yeh
5f760064e1 SIP: add the check for expiry time in Contact header.
There can be three expiry times in the same message header. We
choose the smaller value in Expires header and Contact header,
and then we obey the value defined in Min-Expires header. If
none of them is set, the default value is used.

Bug: 5178284

Change-Id: Ie9d4a48c93863e82e5197bb4a0db3f4fec56857c
2011-08-30 13:59:11 -07:00
Jake Hamby
4ff068271c am be1a0493: Merge "Use the local timezone for CDMA SMS timestamps."
* commit 'be1a0493a8bf589137874bec4222297fbb712185':
  Use the local timezone for CDMA SMS timestamps.
2011-08-30 13:47:43 -07:00
Jake Hamby
be1a0493a8 Merge "Use the local timezone for CDMA SMS timestamps." 2011-08-30 13:45:30 -07:00
Fabrice Di Meglio
e03b7a476c am c6f19da0: Merge "Fix bug #5197549 android.text.cts.StaticLayoutTest#testGetEllipsisCount fails on IRK49E mysid-userdebug"
* commit 'c6f19da0ff703adff8a6a06e0b19ea46abada644':
  Fix bug #5197549 android.text.cts.StaticLayoutTest#testGetEllipsisCount fails on IRK49E mysid-userdebug
2011-08-30 13:44:34 -07:00
Fabrice Di Meglio
c6f19da0ff Merge "Fix bug #5197549 android.text.cts.StaticLayoutTest#testGetEllipsisCount fails on IRK49E mysid-userdebug" 2011-08-30 13:42:34 -07:00
Jim Miller
c943092d5d am 25c82e6c: Merge "Fix 5233681,5230897: Minor tweaks to lockscreen layout on tablets."
* commit '25c82e6cb4d8c056b20bea361c513ff6cfaf8ba7':
  Fix 5233681,5230897: Minor tweaks to lockscreen layout on tablets.
2011-08-30 13:31:31 -07:00
Jim Miller
25c82e6cb4 Merge "Fix 5233681,5230897: Minor tweaks to lockscreen layout on tablets." 2011-08-30 13:29:24 -07:00
Dave Santoro
0834ae4d23 am d49eea78: Merge "Profile API modifications."
* commit 'd49eea7831d7386fc429984eee0e8ef117a1d927':
  Profile API modifications.
2011-08-30 13:14:17 -07:00
Dave Santoro
d49eea7831 Merge "Profile API modifications." 2011-08-30 13:12:50 -07:00
Claudia de Veaux
217e3ebc7a am fbc4fe3e: Merge "Remove unnecessary parenthesees in "No service" lock screen string. Bug: 5221160"
* commit 'fbc4fe3e329285b17f2586c81d6894355dd32b12':
  Remove unnecessary parenthesees in "No service" lock screen string. Bug: 5221160
2011-08-30 11:07:07 -07:00
Claudia de Veaux
fbc4fe3e32 Merge "Remove unnecessary parenthesees in "No service" lock screen string. Bug: 5221160" 2011-08-30 11:05:31 -07:00
Eric Laurent
2e0ae89d18 am 0e35c78d: Merge "226483: A2DP connected, but music out to speaker"
* commit '0e35c78d25a8df8b3bde566ad6c474f9df242ea4':
  226483: A2DP connected, but music out to speaker
2011-08-30 10:53:47 -07:00
Eric Laurent
0e35c78d25 Merge "226483: A2DP connected, but music out to speaker" 2011-08-30 10:51:54 -07:00
Narayan Kamath
97171243f8 Change the heuristics for waiting for audiotracks to finish.
This is made necessary by a bug when the utterance is smaller
than the audio buffer size. In that case, we call stop() to
flush the audio to the mixer, but that causes the playstate to
be set to stopped though some audio is still being mixed. This
breaks our waiting loop.

We now wait a fixed amount of time for such short utterances
and do not observe the playback head position.

bug:5220048
Change-Id: Ic81dec751c1faca0b14164caeda6305c8f9815fe
2011-08-30 18:34:51 +01:00
Scott Main
214dfb094a am d0116b68: cherrypick Change-Id: I2ff5eb2a8e86c0ec30eba4d904221b2e5384d05a docs: fix ndk filename
* commit 'd0116b680a2c194eb3b8713a230151bfb32a6aef':
  cherrypick Change-Id: I2ff5eb2a8e86c0ec30eba4d904221b2e5384d05a docs: fix ndk filename
2011-08-30 10:34:04 -07:00
Scott Main
d0116b680a cherrypick Change-Id: I2ff5eb2a8e86c0ec30eba4d904221b2e5384d05a
docs: fix ndk filename

Change-Id: I7de46a11733bc262aaba61346d334de555408c85
2011-08-30 10:31:34 -07:00
Scott Main
e5d8471060 am 44325215: cherrypick Change-Id: If9ee878fcd7e2ef3161edf58dc3ac98ed9399ea5 docs: add ndk r6b sums and sizes
* commit '44325215f03ba8b214330c68055181761d388607':
  cherrypick Change-Id: If9ee878fcd7e2ef3161edf58dc3ac98ed9399ea5 docs: add ndk r6b sums and sizes
2011-08-30 10:26:09 -07:00
Robert Ly
e9f384d6e9 am ba812693: cherrypick Change-Id: I52ed6e5a97f32d2395cf171009b0b650268cac4e docs: ndk r6b rel notes
* commit 'ba8126938e8ec82502e9db9594ef7036fa4a4b13':
  cherrypick Change-Id: I52ed6e5a97f32d2395cf171009b0b650268cac4e docs: ndk r6b rel notes
2011-08-30 10:26:02 -07:00
Scott Main
44325215f0 cherrypick Change-Id: If9ee878fcd7e2ef3161edf58dc3ac98ed9399ea5
docs: add ndk r6b sums and sizes

Change-Id: I6a72bc2b3c21115208b067a8246b9aa7e70b8738
2011-08-30 10:20:10 -07:00
Robert Ly
ba8126938e cherrypick Change-Id: I52ed6e5a97f32d2395cf171009b0b650268cac4e
docs: ndk r6b rel notes

Change-Id: I3512f11370ddbfbe6c70efe59f216b5c4ea84ae7
2011-08-30 10:19:40 -07:00
Eric Laurent
05ce094164 226483: A2DP connected, but music out to speaker
When the A2DP headset is connected, there is a possible
race condition when the audio tracks are moved from
the mixer thread attached to the speaker output to the thread
attached to A2DP output.
As the request to clear the stream type to output mapping cache in
the client process is asynchronous, it is possible that the flag
indicating to the client audio track to re-create the IAudioTrack
on the new thread is processed before the cache is invalidated.
In this case, the track will be attached to the old thread and
music will continue playing over the device speaker instead of being
redirected to A2DP headset.

Change-Id: Ib2ce1eb5320eaff83287b93779061bf4e7a330df
2011-08-30 10:19:38 -07:00
Tsu Chiang Chuang
78adccbe02 am 67112061: Merge "Adding bandwidth enforcement test app."
* commit '67112061b2a68e4e6f76fb45f7a2285925d6b1cb':
  Adding bandwidth enforcement test app.
2011-08-30 10:14:08 -07:00
Tsu Chiang Chuang
67112061b2 Merge "Adding bandwidth enforcement test app." 2011-08-30 10:12:44 -07:00
Luca Zanolin
e6d3682189 Add EditTextShortcutSpan to provide edit short cut in the text view.
At the moment, EditTextShortcutSpan allows only the deletion of the text. In the future, we may decide to add extra functionality,
like "retry" where all the text is removed and a specific IME is triggered.

Fix the underline. The underline is not defined in thickness, and not as a multiplier of the default underline thickness.

Change the behaviour of SuggestionRangeSpan to match the specification.

Change-Id: I80437d9887c7a2ff8f62c38afbb0cb7add7ee9c8
2011-08-30 18:04:34 +01:00
Mike Lockwood
97bbefac0c Merge "Make Serial Manager APIs public" into ics-aah 2011-08-30 10:01:05 -07:00
Mike Lockwood
20b31a945e Merge "Quick and dirty test app for new SerialPort API" into ics-aah 2011-08-30 09:59:33 -07:00
Mike Lockwood
a72177a4e8 Merge "New Serial Manager API:" into ics-aah 2011-08-30 09:59:19 -07:00
Mike Lockwood
1bf3c4bba2 Make Serial Manager APIs public
Change-Id: I9b96ff288a4757c4c4465a6a5ea3b4ed9c432e06
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-08-30 12:56:33 -04:00
Mike Lockwood
b6d80cf126 Quick and dirty test app for new SerialPort API
Change-Id: Ie1ae6e7387b9f1e2788b798de29a06d551a44d1d
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-08-30 12:56:33 -04:00
Mike Lockwood
8b3b98d622 New Serial Manager API:
SerialManager: provides access to serial ports
SerialPort: for reading and writing data to and from serial ports

IO with both array based and direct ByteBuffers is supported.

Accessing serial ports requires android.permission.SERIAL_PORT permission

Each platform must configure list of supported serial ports in the
config_serialPorts resource overlay
(this is needed to prevent apps from accidentally accessing the bluetooth
or other system UARTs).

In addition, the platform uevent.rc file must set the owner to the
/dev/tty* files to "system" so the framework can access the port.

Change-Id: I6afa78ceacf08486aaebced4156ecd2e33051879
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-08-30 12:56:26 -04:00
Narayan Kamath
777a1254ea am 5cdc720d: Merge "Don\'t allow TTS engines to synthesize too for ahead."
* commit '5cdc720dcadaa517766abb8a2f176de1a78a26a8':
  Don't allow TTS engines to synthesize too for ahead.
2011-08-30 09:54:49 -07:00
Narayan Kamath
5cdc720dca Merge "Don't allow TTS engines to synthesize too for ahead." 2011-08-30 09:52:06 -07:00
Gilles Debunne
02242b9db6 am ce4afc14: Merge "Moving action popup window when moving text selection"
* commit 'ce4afc1425cf74b7168a2d3d35c54efe9b5c98af':
  Moving action popup window when moving text selection
2011-08-30 09:49:31 -07:00