58404 Commits

Author SHA1 Message Date
Xia Wang
1d4274eb4c Integreate surfacetexture test into our continuous test framework.
Change-Id: Ic481f3a431166851947676d676749543c7afbbf7
2011-08-30 20:07:59 -07:00
Jeff Sharkey
68461961d3 am 4596eba7: Merge "Accessors for frame count and duration."
* commit '4596eba795898674186c800dcc0f5910467008a5':
  Accessors for frame count and duration.
2011-08-30 19:55:50 -07:00
Jeff Sharkey
4596eba795 Merge "Accessors for frame count and duration." 2011-08-30 19:54:34 -07:00
Mathias Agopian
4ca738b6f6 am c21843a8: Merge "fix Surface positions are not floats"
* commit 'c21843a8b5c395cbaae6db0f786bdee556075f5d':
  fix Surface positions are not floats
2011-08-30 19:25:50 -07:00
Mathias Agopian
c21843a8b5 Merge "fix Surface positions are not floats" 2011-08-30 19:24:04 -07:00
Mathias Agopian
2bfa4959dd am 66b665ab: Merge "fix display artifacts in preview screen in timelapse video mode"
* commit '66b665ab8b8b52450310b1a551bfa8f52dbb2c10':
  fix display artifacts in preview screen in timelapse video mode
2011-08-30 19:01:57 -07:00
Mathias Agopian
66b665ab8b Merge "fix display artifacts in preview screen in timelapse video mode" 2011-08-30 19:00:15 -07:00
Mathias Agopian
34cb9f2a96 fix Surface positions are not floats
Added Surface.setPosition(float, float) which allows to set a surface's
position in float.

Bug: 5239859
Change-Id: I903aef4ad5b5999142202fb8ea30fe216d805711
2011-08-30 18:51:54 -07:00
Jean-Michel Trivi
5ad4b9fb96 RemoteControlClient metadata: add method for metadata of long type
Update to the RemoteControlClient.Editor API:
 - new method for setting metadata of type long
 - methods for setting metadata throw an exception if using
    the wrong key with the wrong method.

Note that this change will cause the Music2 application to
 throw an exception when it tries to set the duration as a string.

Change-Id: I17cff86467851a0aff313c07653e752ae6b6180f
2011-08-30 18:42:33 -07:00
Christopher Tate
d5415c3cac am 8ec83219: Merge "Properly handle PACKAGE_REPLACED in addition to _ADDED and _REMOVED"
* commit '8ec83219e8cbac105054fb60101e6d98a972bcc2':
  Properly handle PACKAGE_REPLACED in addition to _ADDED and _REMOVED
2011-08-30 18:36:50 -07:00
Christopher Tate
8ec83219e8 Merge "Properly handle PACKAGE_REPLACED in addition to _ADDED and _REMOVED" 2011-08-30 18:34:30 -07:00
Bart Sears
6457433839 am b394df92: Revert to version 2.51 of DroidSansFallback.ttf
* commit 'b394df9224c9f3c99bf4e808cd81d129c2dd1eb7':
  Revert to version 2.51 of DroidSansFallback.ttf
2011-08-30 18:30:12 -07:00
Christopher Tate
cc55f8136e Properly handle PACKAGE_REPLACED in addition to _ADDED and _REMOVED
Certain kinds of application update generate this broadcast regime rather
than the REMOVE / ADD sequence that results from e.g. using the -r option
when invoking 'adb install'.

We also push the agent classname lookup to the last moment before
actually running the backup, rather than caching it as part of the
record of what apps need a backup pass in the future.  This was causing
a bug in which a package reinstall that renamed the app's agent class
would wind up with a crash at backup time, trying to load the wrong
class.

Fixes bug 5156094 / bug 4308977

Change-Id: I4e3e12d86e6ee40809f14fd12ab762116dbee0b5
2011-08-30 18:23:13 -07:00
Bart Sears
b394df9224 Revert to version 2.51 of DroidSansFallback.ttf
Version 2.53 of DroidSansFallback.ttf included:
    1) Currency: \u060B\u09F2\u09F3\u09FB\u0AF1\u0BF9\u17DB\u20B6-\u20B9
       \uA838\uFDFC
    2) Geometric right arrow: \u25BA
    3) CJK Ext A (about 6000 Simplified Chinese Glyphs)

Item 3 (the ~6000 Simplified Chinese Glyphs) increased the file size by
about 1.6M.  To reduce ROM pressure, we are reverting back to version
2.51.  Version 2.53 has been renamed to DroidSansFallbackFull.ttf and is
available for builds that have enough ROM space.  We are generating a
new version of DroidSansFallback.ttf that has items 1 and 2 and not 3 and
will update DroidSansFallback.ttf once we have that version.

Bug: 5239728
Change-Id: I7467109a9ffec452446a636d35a3befffff09f10
2011-08-30 18:14:15 -07:00
Adam Powell
7c7a99f63d am 38e1c7a8: Merge "Ellipsize marquee TextViews that aren\'t currently animating"
* commit '38e1c7a8a614a491747d08f91aa6eceaee8123fb':
  Ellipsize marquee TextViews that aren't currently animating
2011-08-30 17:42:48 -07:00
Adam Powell
38e1c7a8a6 Merge "Ellipsize marquee TextViews that aren't currently animating" 2011-08-30 17:40:40 -07:00
Adam Powell
282e377d8b Ellipsize marquee TextViews that aren't currently animating
On some devices the fading edge effect can be expensive. Offer an
alternative for screens full of textviews.

Change-Id: I0382b4ea0f8b0c6948cb68611f3679dbf5e2898a
2011-08-30 17:35:15 -07:00
James Dong
58c524ec03 Fix a crash where the EOS was signalled but some output buffer were still pending.
Change-Id: Ide111264501441b51bb10629ae2021accf9e1fb5
related-to-bug: 5234126
2011-08-30 17:06:10 -07:00
Jeff Brown
99ab081212 am 25614758: Merge "Pick up device configuration "device.internal = 0". Before, only "device.internal = 1" had an effect."
* commit '256147581959868044bd92bad281c5c75a1068d7':
  Pick up device configuration "device.internal = 0". Before, only "device.internal = 1" had an effect.
2011-08-30 17:04:59 -07:00
Jeff Brown
2561475819 Merge "Pick up device configuration "device.internal = 0". Before, only "device.internal = 1" had an effect." 2011-08-30 17:03:37 -07:00
Jeff Sharkey
0d32b317c2 Accessors for frame count and duration.
Bug: 5233703
Change-Id: If6a758540248dc9bff56b64add04984ebd7b6833
2011-08-30 16:42:44 -07:00
Wink Saville
5508d81236 am 960ba913: Merge "CDMALTE: Start reading SIM record on SIM_READY"
* commit '960ba9132c02bfe2655268c2e5cb441c025c607f':
  CDMALTE: Start reading SIM record on SIM_READY
2011-08-30 16:06:58 -07:00
Andreas Huber
ebd266c034 ATSParser now supports a mode in which PTS is considered to be absolute time
i.e. PTS 0 <=> media time 0

Change-Id: If10a0f98c129b95e8430dc419664b1def92e547e
2011-08-30 16:06:28 -07:00
Wink Saville
960ba9132c Merge "CDMALTE: Start reading SIM record on SIM_READY" 2011-08-30 16:05:04 -07:00
Gilles Debunne
87c2c9798a am b5305007: Merge "Add EditTextShortcutSpan to provide edit short cut in the text view."
* commit 'b5305007a6eb10457aa97b9791fed62d3542e3c1':
  Add EditTextShortcutSpan to provide edit short cut in the text view.
2011-08-30 15:56:04 -07:00
Gilles Debunne
b5305007a6 Merge "Add EditTextShortcutSpan to provide edit short cut in the text view." 2011-08-30 15:53:33 -07:00
Dianne Hackborn
9a3fe4744e am 9c93db60: Merge "Fix issues #5233826 and #5209847 -- live wallpapers."
* commit '9c93db60e6d9172e1957e5e31a6c5b82e2494420':
  Fix issues #5233826 and #5209847 -- live wallpapers.
2011-08-30 15:50:35 -07:00
Dianne Hackborn
9c93db60e6 Merge "Fix issues #5233826 and #5209847 -- live wallpapers." 2011-08-30 15:47:17 -07:00
Justin Ho
6d55138441 am 9b718682: Merge "Updated action bar/CAB assets Bug: 5156319 5076695"
* commit '9b718682ed8fd06e38598f1a0a24d42025e9267d':
  Updated action bar/CAB assets Bug: 5156319 5076695
2011-08-30 15:43:36 -07:00
Justin Ho
9b718682ed Merge "Updated action bar/CAB assets Bug: 5156319 5076695" 2011-08-30 15:42:26 -07:00
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
Fabrice Di Meglio
8fa6503feb Fix bug #5233207 android.graphics.cts.PaintTest#testBreakText fails on IRK56F trygon-userdebug
- Paint.breakText() API was regressing on the argument validation: a count < 0 is a valid one

Change-Id: I6d09294ee9f21901ba00017ce0d73f757fc7b147
2011-08-30 15:01:39 -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