65133 Commits

Author SHA1 Message Date
Mathias Agopian
dcaf1adcb6 Merge "fix an issue with vsync event delivery" 2012-01-31 16:46:27 -08:00
Mathias Agopian
58737fe96d fix an issue with vsync event delivery
vsync events were sometimes delivered to connected
client who didn't request them. this happened if
another client requested the delivery and that client
was first in the client list.

also fix the vsync test which didn't request any events as
well as DisplayEventReveiver documentation which was misleading
about the necessity to request vsync events.

Change-Id: Ie990fda3f337f8f0042745c4b2cde67936c45686
2012-01-31 16:42:54 -08:00
Mathias Agopian
b17932fe84 Merge "Nexus S now reports the proper frame-rate" 2012-01-31 15:54:20 -08:00
Dianne Hackborn
6c997a9e88 aapt now sorts the strings in the resource string pool.
In our current environment with very many translations, this can
save a lot of RAM -- for example over 200K in Gmail just by sorting
the strings in the Gmail .apk (not the framework).

Also add a new aapt command to print the contents of the resource
table string pool.

Change-Id: I1da037b3e2c377b890833ff57ab158965314ac48
2012-01-31 15:41:30 -08:00
Stephen Hines
2247e3f0dc Merge "Test RS struct writing/reading." 2012-01-31 15:32:39 -08:00
Stephen Hines
b1ea64edb0 Test RS struct writing/reading.
BUG=5569561

Note that this only tests the issue described in the bug. It does not actually
produce an error on any recent version of RS.

Change-Id: I0194b13cb3f4ff01ce95d966e8e2dd74119a3946
2012-01-31 15:27:08 -08:00
Jeff Sharkey
df92772fb8 Merge "Dump xt_qtaguid stats to using GID instead of su." 2012-01-31 14:50:30 -08:00
Jeff Sharkey
c797b8a925 Dump xt_qtaguid stats to using GID instead of su.
Change-Id: I77a956cf37c1f1f792f6939b2f32a47f1cbe14c0
2012-01-31 14:21:01 -08:00
Justin Ho
7f8ab4b786 am 66146c4f: am 792d83c5: Merge "Use LTE SNR and RSRP to set signal level bar." into ics-mr1
* commit '66146c4f5b3930f7f5f08b845fb30f2bc24f8c3d':
  Use LTE SNR and RSRP to set signal level bar.
2012-01-31 14:05:26 -08:00
Justin Ho
66146c4f5b am 792d83c5: Merge "Use LTE SNR and RSRP to set signal level bar." into ics-mr1
* commit '792d83c5087a7a6dec4e64f59f5b78d1041c9585':
  Use LTE SNR and RSRP to set signal level bar.
2012-01-31 14:02:44 -08:00
Justin Ho
792d83c508 Merge "Use LTE SNR and RSRP to set signal level bar." into ics-mr1 2012-01-31 14:00:55 -08:00
John Reck
ae4356192e Merge "Support select all" 2012-01-31 13:41:59 -08:00
John Reck
540643bff5 Support select all
external/webkit CL: 161648

Change-Id: I9cdff2e2e9a1e986ef10946924da85c7b577352b
2012-01-31 13:36:59 -08:00
Romain Guy
a403a2e0f0 Merge "Add GradientDrawable.setColors(int[])" 2012-01-31 12:12:38 -08:00
Romain Guy
8bd9698b66 Add GradientDrawable.setColors(int[])
This change also updates the documentation to warn the user about which properties
require a call to mutate().

Change-Id: I84717068bf026669e3eef1ae92db665a964fe08a
2012-01-31 12:11:02 -08:00
James Dong
81bf15ac36 Merge "First step of refactoring 'timedtext' code." 2012-01-31 12:06:43 -08:00
Andreas Huber
3676974d48 Merge "Slighly improve the API to discover if the OMX stack is running in the local" 2012-01-31 11:27:06 -08:00
Andreas Huber
f6b4ca408e Slighly improve the API to discover if the OMX stack is running in the local
process.

Change-Id: Idd3c2f0d4a9542af01a3fdfd3b0bfab90e083505
2012-01-31 11:16:24 -08:00
John Wang
5e39519396 Use LTE SNR and RSRP to set signal level bar.
The LTE signal strength level is the smaller one
between lte rsrp level and lte snr level if both
rsrp and snr are valid.

The lte snr mapping are

  Four  bars: SNR >= 45
  Three bars: 10 <= SNR < 45
  Two   bars: -30 <= SNR < 10
  One   bars: SNR < -30
  No    bars: No Service

The invalid value of lte snr is changed to INVALID_SNR
from -1, since -1 is a valid value of lte snr.

bug:5640958
Change-Id: If26aaba0c7fcc0fee3db488b5adfa02922f06715
2012-01-31 11:15:28 -08:00
John Reck
2bb2323d63 Merge "Webkit text selection" 2012-01-31 11:08:14 -08:00
Chet Haase
4125f0b5ce Merge "Add new ViewPropertyAnimator utility methods" 2012-01-31 11:07:25 -08:00
Romain Guy
b74b84f195 Merge "Proper equals/hashCode impls in Rect and RectF" 2012-01-31 10:51:38 -08:00
Romain Guy
74d7ca133a Proper equals/hashCode impls in Rect and RectF
Change-Id: Ief52d84f134018af4dfd19674de12736c056e3f8
2012-01-31 10:50:38 -08:00
Chet Haase
c1ca665827 Add new ViewPropertyAnimator utility methods
Users have requested the ability to sequence ViewPropertyAnimator
animations. it is not possible with AnimatorSet, which only takes objects
of type Animator (which VPA does not extend). But the AnimatorSet model
is not appropriate for VPA anyway, since it is not possible to set up
a VPA ahead of time to start later; it's just not the way that VPA is
intended to work.

Instead, there are now two new methods on VPA, onStart() and onEnd(). These
methods take a Runnable which is executed when the animation starts or ends.
These methods should allow other VPAs or other arbitrary code to execute at the
start or finish of any particular VPA animation, allowing simple sequencing
without the overhead of creating listeners and monitoring the cancelation status
of the VPA.

Additionally, this change adds a new method withLayer() which sets a hardware
layer on the VPA's target view for the duration of the animation. This
was already possible, but required writing boilerplate code to create a listener
and override the start/end methods to add and remove the layer. This utility method
makes this common use case much simpler and less error-prone.

Change-Id: I819978517e17c647ffb7028063cd0adde68ff691
2012-01-31 10:50:14 -08:00
Jeff Brown
ed73440416 Merge "Use O_CLOEXEC when opening input device." 2012-01-31 10:05:51 -08:00
Jeff Brown
dd3ba43843 Merge "Add basic support for new suspend-block ioctls." 2012-01-31 10:05:09 -08:00
Makoto Onuki
9d36bd0275 Merge "Fix 2 broken PhoneNumberUtilsTest." 2012-01-31 09:14:57 -08:00
Scott Main
dfc6cdf793 am 123ffc1f: am 34260ad7: Merge "docs: fix locale name; South Africa is local en_ZA external issue 23133" into ics-mr1
* commit '123ffc1fa40749dd2f2eef94fa1ab0306604b1ae':
  docs: fix locale name; South Africa is local en_ZA external issue 23133
2012-01-31 08:58:51 -08:00
Scott Main
658310548b am 21e32f20: am 8bfeb10f: Merge "docs: fix typo in market doc external issue 22650" into ics-mr1
* commit '21e32f209794dffa51ad61e85a3e0b5070593790':
  docs: fix typo in market doc external issue 22650
2012-01-31 08:58:49 -08:00
Scott Main
0aa8f3b8db resolved conflicts for merge of 20d06540 to master
Change-Id: I80da9a11b4538c070b0000cfa3ea6cd865e46aef
2012-01-31 08:55:23 -08:00
Scott Main
123ffc1fa4 am 34260ad7: Merge "docs: fix locale name; South Africa is local en_ZA external issue 23133" into ics-mr1
* commit '34260ad79ede2ed35cc9859095b778f194b9650b':
  docs: fix locale name; South Africa is local en_ZA external issue 23133
2012-01-31 08:41:03 -08:00
Scott Main
21e32f2097 am 8bfeb10f: Merge "docs: fix typo in market doc external issue 22650" into ics-mr1
* commit '8bfeb10f98125706d8bb7afa1067ca563e741540':
  docs: fix typo in market doc external issue 22650
2012-01-31 08:41:01 -08:00
Scott Main
b1bb66592d am 665a6693: am b86cba15: docs: fix typo in eclipse doc external issue 21475
* commit '665a6693f72460a0d04a5ab70c10dee5493b9df2':
  docs: fix typo in eclipse doc external issue 21475
2012-01-31 08:40:59 -08:00
Scott Main
20d06540e2 am 4b2eb9a5: Merge "docs: fix typos and clarify some grammar in summary external issue 21548" into ics-mr1
* commit '4b2eb9a50bbead0b756944ebffd01c89916896ad':
  docs: fix typos and clarify some grammar in summary external issue 21548
2012-01-31 08:40:59 -08:00
Scott Main
34260ad79e Merge "docs: fix locale name; South Africa is local en_ZA external issue 23133" into ics-mr1 2012-01-31 08:39:36 -08:00
Scott Main
8bfeb10f98 Merge "docs: fix typo in market doc external issue 22650" into ics-mr1 2012-01-31 08:39:03 -08:00
Scott Main
665a6693f7 am b86cba15: docs: fix typo in eclipse doc external issue 21475
* commit 'b86cba156c78740793d94444e01d17ef21cb53cc':
  docs: fix typo in eclipse doc external issue 21475
2012-01-31 08:38:49 -08:00
Scott Main
4b2eb9a50b Merge "docs: fix typos and clarify some grammar in summary external issue 21548" into ics-mr1 2012-01-31 08:37:59 -08:00
Andreas Huber
0056c739c5 Merge "Make sure our aac decoder handles this parameter." 2012-01-31 08:31:03 -08:00
Shaopeng Jia
374b92b77b Fix 2 broken PhoneNumberUtilsTest.
Change-Id: Iafd5964b3dfb4486b69ab49df5eb4b566ed52183
2012-01-31 16:34:55 +01:00
Wink Saville
cec507f235 Merge "Display roaming indicator icon only based on ERI in CDMA case." 2012-01-31 06:39:52 -08:00
Ben Murdoch
145b340773 Merge "Remove code that quits the webcore watchdog thread." 2012-01-31 02:17:12 -08:00
Scott Main
b86cba156c docs: fix typo in eclipse doc
external issue 21475

Change-Id: I5aeee5710175964e2cf969965c7ed58c01f0e433
2012-01-30 23:56:53 -08:00
Scott Main
6440534660 docs: fix typos and clarify some grammar in summary
external issue 21548

Change-Id: Ic38921cb64390b42651f3971efeb4b76101dfc14
2012-01-30 23:49:26 -08:00
Scott Main
5b259c6e4d docs: fix typo in market doc
external issue 22650

Change-Id: I2bbfddef4692cb6b7567ea3ab04443a6ac421a80
2012-01-30 23:39:45 -08:00
Scott Main
b16965cf65 docs: fix locale name; South Africa is local en_ZA
external issue 23133

Change-Id: Ia17f61e6a4e14506aec5491db0c3fc65707f2c2b
2012-01-30 23:33:01 -08:00
Insun Kang
7c81e52a67 First step of refactoring 'timedtext' code.
Goal
1. Removed dependency of TimedTextPlayer on AwsomePlayer.
2. Generalized TimedTextParser to TimedTextSource and its subclasses.

Summary
1. Introduced TimedTextDriver, TimedTextPlayer (new implementation),
TimedTextSource (and its subclasses).
2. Removed TimedTextParser.

Remaining TODOs
1. Revise VideoVidew, Gallery3D app, AwesomePlayer to check if
'pause' and 'resume' works well.
2. Consider revising MediaPlayer APIs such as setParameter() ->
addTextSource(). Need more thoughts.

Change-Id: Ie0c4f15b9690102de755cef6940f8c31ccf78e27
2012-01-31 14:44:32 +09:00
Mathias Agopian
007a34c27f Nexus S now reports the proper frame-rate
don't hardcode it.

Change-Id: I4b37f37a9809cac937e6334c988b3185af2ebe22
2012-01-30 18:45:15 -08:00
Mathias Agopian
9eb95992ea fix a race condition in eglMakeCurrent()
it would happen when a context was made non-current, in this
case we would call the implementation's eglMakeCurrent() which
would succeed, if we're rescheduled at that point, another
eglMakeCurrent() could make that context current to another thread,
however, when we came back to the original call we would
overwrite egl_context_t internal state.

this is fixed by moving the critical section under
egl_display_t's lock.

Change-Id: I743c85696e13263d3a9570824940263df0caacdc
2012-01-30 18:20:52 -08:00
Mathias Agopian
11c5db5e29 Merge "add all needed GL extension wrappers" 2012-01-30 17:44:09 -08:00