64408 Commits

Author SHA1 Message Date
Romain Guy
d3209c1bb2 Merge "GenerationCache::get would return a random value instead of NULL Bug #5401917" 2011-12-08 18:51:03 -08:00
Romain Guy
46b9f7cc20 GenerationCache::get would return a random value instead of NULL
Bug #5401917

This was causing a ton of random crashes in apps.

Change-Id: I9069a060824ec89115cd3bcd38beaeb9ecc4488e
2011-12-08 18:50:27 -08:00
Gilles Debunne
17994a1d04 Blinking cursor in Talk
I verified that this fixes the unblinking cursor problem in Talk.

Change-Id: I5e3e5c8ad5cf3d8479462495107bf93e5e4fb956
2011-12-08 18:40:27 -08:00
Gilles Debunne
1742f20c66 am be5f49fb: Performance improvements for long text edition.
* commit 'be5f49fb6e17e0b9588d3b94022b7e3eb6d47317':
  Performance improvements for long text edition.
2011-12-08 18:35:22 -08:00
Gilles Debunne
be5f49fb6e Performance improvements for long text edition.
Limit each parse to batches of a few words, to keep the UI thread
responsive.

Possible optimizations for the future:
- SpellCheck in a thread, but that requires some locking mecanism
- Only spell check what is visible on screen. Will require additional
  spans to tag the pieces of text.

This is a cherry pick of 145656 into ICS-MR1

Patch Set 2: Make the Runnable shared and stop it when detached.

Change-Id: Ibf8e98274bda84b7176aac181ff267fc1f1fa4cb
2011-12-08 18:26:49 -08:00
Gilles Debunne
afa0a714ac am df372289: Merge "Fixed SpellCheckerSessions leak in TextView" into ics-mr1
* commit 'df3722895172e03c81787f62d922daabaad3e20b':
  Fixed SpellCheckerSessions leak in TextView
2011-12-08 18:19:57 -08:00
Gilles Debunne
df37228951 Merge "Fixed SpellCheckerSessions leak in TextView" into ics-mr1 2011-12-08 18:18:25 -08:00
Gilles Debunne
e912a16ba2 am 316ca505: Merge "Re-use SpanSets in TextLine" into ics-mr1
* commit '316ca5059ebd7270a04da5649d25653c355e158d':
  Re-use SpanSets in TextLine
2011-12-08 18:00:12 -08:00
Gilles Debunne
316ca5059e Merge "Re-use SpanSets in TextLine" into ics-mr1 2011-12-08 17:58:24 -08:00
Alex Sakhartchouk
1fc841ac55 Merge "Sample scene graph" into graphics-dev 2011-12-08 17:55:09 -08:00
Joe Malin
8e94d912c6 am 556e4ca5: am 0a9005ed: Merge "DOC CHANGE: Package text and Formatter javadoc" into ics-mr0
* commit '556e4ca54161be17333ec98fadc113485120a6e8':
  DOC CHANGE: Package text and Formatter javadoc
2011-12-08 17:46:44 -08:00
Joe Malin
556e4ca541 am 0a9005ed: Merge "DOC CHANGE: Package text and Formatter javadoc" into ics-mr0
* commit '0a9005ed58d3a6173e8fffbd72933f7646c6fdba':
  DOC CHANGE: Package text and Formatter javadoc
2011-12-08 17:44:34 -08:00
Joe Malin
0a9005ed58 Merge "DOC CHANGE: Package text and Formatter javadoc" into ics-mr0 2011-12-08 17:42:36 -08:00
The Android Automerger
3f4eac0367 merge in ics-mr1-release history after reset to ics-mr1 2011-12-08 17:35:27 -08:00
Chia-chi Yeh
fa71962fe4 am 46a4e81d: Merge "VPN: delete the "abort" file before starting VPN daemons." into ics-mr1
* commit '46a4e81dbdc9a5f401b5a3c0d26dea2e42b61487':
  VPN: delete the "abort" file before starting VPN daemons.
2011-12-08 17:24:16 -08:00
Chia-chi Yeh
46a4e81dbd Merge "VPN: delete the "abort" file before starting VPN daemons." into ics-mr1 2011-12-08 17:22:16 -08:00
Mangesh Ghiware
66b2ff818b Update computation of reading level scale.
Fixes bug 5726043 (Extra double-tap needed to zoom out to overview mode
on nytimes.com on a Stingray)

Change-Id: I54dc303f4aa81ddc38c234228adc915b9f6749dc
2011-12-08 17:11:16 -08:00
Amith Yamasani
8df9609768 Show the current stream's volume in the volume panel.
Bug: 5409969

If the current stream being displayed is different from the
stream being adjusted, rearrange the sliders, unless multiple
sliders are being shown.

Change-Id: Ia48986c1046305d7fee7a32177d78d8ffd84a11b
2011-12-08 17:03:54 -08:00
Chia-chi Yeh
c187273292 VPN: delete the "abort" file before starting VPN daemons.
Bug: 5714296
Change-Id: Idba41b9f3907747a84387ea4f3e930b3a185a06e
2011-12-08 16:51:41 -08:00
Gilles Debunne
c1f4483080 Re-use SpanSets in TextLine
TextLine objects are already stored in a pool to limit allocation.

Associate SpanSet objects to each TextLine to further limit the
allocation of these and re-use their internal arrays (re-sized if needed).

Drastically reduces new objects allocation during rendering.

Priority code removed in init: priorities are already handled by getSpans.

This is a duplicate of the already accepted
https://android-git.corp.google.com/g/#/c/153970/
but without the dependency on an other CL.

Change-Id: Iaa7e2f7a8ea4337c8d60c3a9a620e9e3e60caf12
2011-12-08 16:03:00 -08:00
Irfan Sheriff
c34306e46e am 97ff7893: Merge "Fix wifi bring up at boot up" into ics-mr1
* commit '97ff7893321362020211fae3c5a52b95c3ec19e1':
  Fix wifi bring up at boot up
2011-12-08 16:01:59 -08:00
Irfan Sheriff
97ff789332 Merge "Fix wifi bring up at boot up" into ics-mr1 2011-12-08 15:59:26 -08:00
Jake Hamby
555fe79cdf am c40f70a5: Merge "Swap OK and Cancel buttons in SIM PIN unlock screen to match ICS guidelines." into ics-mr1
* commit 'c40f70a5cb1f24a9ea0b5b0cadea75db8fc1cdd3':
  Swap OK and Cancel buttons in SIM PIN unlock screen to match ICS guidelines.
2011-12-08 15:53:42 -08:00
Jake Hamby
c40f70a5cb Merge "Swap OK and Cancel buttons in SIM PIN unlock screen to match ICS guidelines." into ics-mr1 2011-12-08 15:51:33 -08:00
Irfan Sheriff
5401f0b87b Fix wifi bring up at boot up
Bug: 5719176
Change-Id: Iac879fc634f6ab6289b73c46931d754bc0af2f87
2011-12-08 15:50:47 -08:00
Fabrice Di Meglio
c7f3947c58 am 63b06804: Merge "Clean TextLayout code and remove RTL_USE_HARFBUZZ"
* commit '63b068040f5b8f561ae9d0b9b24bb405156d7029':
  Clean TextLayout code and remove RTL_USE_HARFBUZZ
2011-12-08 15:44:56 -08:00
Fabrice Di Meglio
63b068040f Merge "Clean TextLayout code and remove RTL_USE_HARFBUZZ" 2011-12-08 15:42:28 -08:00
Jake Hamby
48d50958af Swap OK and Cancel buttons in SIM PIN unlock screen to match ICS guidelines.
The ICS navigation guidelines state that the OK action should be to the
right of the cancel action in UI dialogs. Update the SIM PIN unlock and
SIM PUK unlock layouts to swap the OK and Cancel buttons (for soft keypad)
and the OK and Emergency Call buttons for the physical keyboard landscape
layout.

Bug: 5730977
Change-Id: Iaf565bc2b584292a34f5a72a7a763003f9149f27
2011-12-08 15:33:32 -08:00
Fabrice Di Meglio
b02d0ca555 Clean TextLayout code and remove RTL_USE_HARFBUZZ
- remove dependencies on ICU
- use TextLayouCache
- remove RTL_USE_HARFBUZZ define (we *are* using Harfbuzz now)
- also fix compilation warning

Change-Id: I022e11703438d07032e49e42724184f6bf16653e
2011-12-08 15:16:17 -08:00
Andreas Huber
ebfce84f7f am 68f592a8: Merge "Don\'t perform RTSP seeks right away but queue them for 200ms" into ics-mr1
* commit '68f592a8210af27df4339089bbee47fb602cae6a':
  Don't perform RTSP seeks right away but queue them for 200ms
2011-12-08 13:35:53 -08:00
Andreas Huber
aa82c39bdb am 0ba9380a: Merge "Fix Bitreader "putBits" implementation, make sure we emulate timestamps" into ics-mr1
* commit '0ba9380a337d5e2eae9fd9e4eb8039403ed3815b':
  Fix Bitreader "putBits" implementation, make sure we emulate timestamps
2011-12-08 13:35:51 -08:00
Andreas Huber
68f592a821 Merge "Don't perform RTSP seeks right away but queue them for 200ms" into ics-mr1 2011-12-08 13:33:16 -08:00
Andreas Huber
0ba9380a33 Merge "Fix Bitreader "putBits" implementation, make sure we emulate timestamps" into ics-mr1 2011-12-08 13:33:06 -08:00
Andreas Huber
21902a8a48 Don't perform RTSP seeks right away but queue them for 200ms
and only execute the last one.

Change-Id: I9ab342396ec9c9c03624a4b0306d1e180ceca000
related-to-bug: 5732960
2011-12-08 13:04:50 -08:00
Svetoslav Ganov
33a3b2cecf am 48b428fb: Merge "NumberPicker getting stuck if scroll wheel not wrapable." into ics-mr1
* commit '48b428fb1369a787a15fa6d8ebf10f8b31937a8b':
  NumberPicker getting stuck if scroll wheel not wrapable.
2011-12-08 12:30:14 -08:00
Svetoslav Ganov
48b428fb13 Merge "NumberPicker getting stuck if scroll wheel not wrapable." into ics-mr1 2011-12-08 12:28:11 -08:00
Andreas Huber
f6ae711450 Fix Bitreader "putBits" implementation, make sure we emulate timestamps
if we don't receive npt time mapping from the rtsp server (i.e. live stream)

Change-Id: I5147d665bd90c9a303ad6ffdafbf770f930f917c
related-to-bug: 5660357
2011-12-08 12:27:47 -08:00
Irfan Sheriff
a3c7c35873 am 583fdf00: Merge "Handle emergency call back mode correctly" into ics-mr1
* commit '583fdf0068ac46fb384a5aa2b193faf743f8221c':
  Handle emergency call back mode correctly
2011-12-08 12:23:03 -08:00
Irfan Sheriff
583fdf0068 Merge "Handle emergency call back mode correctly" into ics-mr1 2011-12-08 12:21:20 -08:00
Gilles Debunne
b25d417fce am aa4a5713: Merge "Make the Next key navigate between TextViews" into ics-mr1
* commit 'aa4a5713aab73cf7c9486cd587a0d986a8daf7e3':
  Make the Next key navigate between TextViews
2011-12-08 11:58:33 -08:00
Gilles Debunne
5371a165b5 am 0e7b8020: Merge "Limit created string size in Spell Checker" into ics-mr1
* commit '0e7b8020fd8607957844f7d67e8aaa6dc2ef816f':
  Limit created string size in Spell Checker
2011-12-08 11:58:31 -08:00
Gilles Debunne
aa4a5713aa Merge "Make the Next key navigate between TextViews" into ics-mr1 2011-12-08 11:57:06 -08:00
Gilles Debunne
0e7b8020fd Merge "Limit created string size in Spell Checker" into ics-mr1 2011-12-08 11:56:28 -08:00
Joe Fernandez
890f7eaee2 docs: Android 4.0.2 (SDK Tools r16) Release Notes - RC6
Change-Id: I2216f5187f3027ed727ee0e03f7dd0c129dbb2cd
2011-12-08 11:45:40 -08:00
Alex Sakhartchouk
a7a211b8a6 Sample scene graph
Change-Id: I65b210b770121ac02c5857b48d2ec0d053133dd6
2011-12-08 11:39:14 -08:00
Irfan Sheriff
4494c90616 Handle emergency call back mode correctly
Bug: 5726996
Change-Id: I5815dd402bd73c530b9ba6d545d8956064949aa2
2011-12-08 11:31:52 -08:00
Eric Fischer
8430094cd9 am ab6b816a: Merge "Import revised translations. DO NOT MERGE" into ics-mr1
* commit 'ab6b816a76c77f1ecd9a0ae911026aaba062f6d1':
  Import revised translations. DO NOT MERGE
2011-12-08 11:11:06 -08:00
Eric Fischer
ab6b816a76 Merge "Import revised translations. DO NOT MERGE" into ics-mr1 2011-12-08 11:09:11 -08:00
Gilles Debunne
06a8e9b1ce Make the Next key navigate between TextViews
Bug 5718127

Fixes from changes introduced in
https://android-git.corp.google.com/w/?p=platform/frameworks/base.git;a=commit;h=0500b3cfda5192efc09d6d4344b0c6c785c0a815

Change-Id: I4f6d213cd744b913b053275c4a26194cd030de84
2011-12-08 10:39:39 -08:00
Eric Fischer
24783fcfb7 Import revised translations. DO NOT MERGE
Change-Id: I06d796d48b50c6a459b6ae8a6dad47730126a49d
2011-12-08 10:31:25 -08:00