Adam Powell
f93bb6d8fd
Bug 5727679 - CTS test ViewGroupTest#testGetChildVisibleRect
...
Preserve the ability to call getChildVisibleRect without the view
being attached to a window.
Change-Id: I702b19fa1625c346eb22fda4a4ffb6e8f790b689
2011-12-12 15:23:12 -08:00
Jamie Gennis
74e0fcaed1
am a1dee3f5: Merge "SurfaceTexture: fix a verbose-log compile error" into ics-mr1
...
* commit 'a1dee3f500eccedbf5e50d466315fb28ba812cfc':
SurfaceTexture: fix a verbose-log compile error
2011-12-12 14:12:33 -08:00
Jamie Gennis
a1dee3f500
Merge "SurfaceTexture: fix a verbose-log compile error" into ics-mr1
2011-12-12 14:10:04 -08:00
Gilles Debunne
c3fb7a11ad
Prevent a memory leak in TextLine.
...
Bug 5740435
The new SpanSet cached objects should be recycled when the TextLine is
recycled to prevent a reference to their span, which may lead to the
entire activity.
Change-Id: I4469e418a228bd71eb8be1d43ed86de49baba165
2011-12-12 14:03:40 -08:00
Gilles Debunne
961ebb9ab0
Text blinking cursor hard to see.
...
Bug 5738416
This problem was introduced in
https://android-git.corp.google.com/g/#/c/152599
The invalidated cursor region is no longer expanded to include the
cursor drawable (different from the handles' drawables).
Added that code back. Added a flag, since invalidateRegion is also
used to invalidate text span regions in spell check (assumes the decorated
span bounds are not bigger that text boundaries), which is fine in case
of underline.
When the cursor is moved on a single line, invalidate the whole line
(same as what was done before). This is sub-optimal, will file a bug
to fix this. The core problem is that we should invalidate the previous
and the new cursor's positions. We only have one of these.
Change-Id: I9ada9340fb52aad3d80c39efd021fd3f9ec0cc4d
2011-12-12 13:56:04 -08:00
Raphael
ab8d6785dc
am 2ace3b01: Merge "Merge "AAPT fix printf %zd crash on Windows". Do not merge." into ics-mr1
...
* commit '2ace3b01ab9447ce9fda2f578e31c1c11f4837cb':
Merge "AAPT fix printf %zd crash on Windows". Do not merge.
2011-12-12 13:16:35 -08:00
Raphael
2ace3b01ab
Merge "Merge "AAPT fix printf %zd crash on Windows". Do not merge." into ics-mr1
2011-12-12 13:14:12 -08:00
Matthew Xie
18ad6514bb
am ed0830c5: Merge "Move broadcastState STATE_TURNING_ON before persistSwitchSetting" into ics-mr1
...
* commit 'ed0830c502d7403d69abfd8247c046ac2746ac8c':
Move broadcastState STATE_TURNING_ON before persistSwitchSetting
2011-12-12 12:09:13 -08:00
Matthew Xie
ed0830c502
Merge "Move broadcastState STATE_TURNING_ON before persistSwitchSetting" into ics-mr1
2011-12-12 12:07:39 -08:00
Matthew Xie
2d789e58a8
Move broadcastState STATE_TURNING_ON before persistSwitchSetting
...
CTS test revealed that persistSwitchSetting could take more than 1 second.
STATE_TURNING_ON intent missed the test timing. We move the broadcast
before persistSwitchSetting
bug 5740715
Change-Id: I54a0a0afc8d1c4fc28f84e6122809af2f1456ca7
2011-12-12 11:36:18 -08:00
Eric Fischer
f3ea02319f
am 386f2084: Merge "Import revised translations. DO NOT MERGE" into ics-mr1
...
* commit '386f208489d85d81755b64e92a84290953accfc0':
Import revised translations. DO NOT MERGE
2011-12-12 11:06:38 -08:00
Eric Fischer
386f208489
Merge "Import revised translations. DO NOT MERGE" into ics-mr1
2011-12-12 11:04:39 -08:00
Eric Fischer
c1e2aca598
Import revised translations. DO NOT MERGE
...
Change-Id: Ia118056259f828ff913d8a9bf2bc3a8fa2c54f9c
2011-12-12 10:59:11 -08:00
The Android Open Source Project
40375099d1
Reconcile with ics-mr1-release
...
Change-Id: Ic9c27c987ae88da9ab333632b47837b0ff1dd6d3
2011-12-12 07:59:17 -08:00
The Android Open Source Project
f14dc29104
Merge from ics-mr1
...
Change-Id: I209499775ddf68b380d0ec801d558e1dc86ab953
2011-12-12 07:47:43 -08:00
Raphael
7c3bef85da
Merge "AAPT fix printf %zd crash on Windows". Do not merge.
...
There's no printf %zd on Mingw/Cygwin so the verbose
printf crashes aapt.
SDK bugs: 20395, 20986
Bug: 5742142
(cherry picked from commit f51125d8429ffa71c57ba6fbdca9effc72642a9b)
Change-Id: I7545734ce8ce4a1f3e95f8a255daa8a909f870a1
2011-12-11 13:59:02 -08:00
Jeff Tinker
a5cbf023e3
Fix drm enumeration order, resolves failure to play forward lock ringtones
...
Change-Id: I58e8a26849409bc3bf98b066c5e07c2a0c91e0c9
related-to-bug: 5735466
2011-12-09 20:04:17 -08:00
The Android Automerger
c721ba76a4
merge in ics-mr1-release history after reset to ics-mr1
2011-12-09 16:17:04 -08:00
Justin Ho
df83cfc95c
am 1cec30a1: Merge "Quick settings icons updated to match ics style on tablet" into ics-mr1
...
* commit '1cec30a182c1963beda4b6f11cfae9fa38061e68':
Quick settings icons updated to match ics style on tablet
2011-12-09 15:43:48 -08:00
Justin Ho
1cec30a182
Merge "Quick settings icons updated to match ics style on tablet" into ics-mr1
2011-12-09 15:42:10 -08:00
Jamie Gennis
798b9cdf8c
SurfaceTexture: fix a verbose-log compile error
...
Change-Id: I045231207e068d950bb0cb5085717af5d9454ed1
2011-12-09 15:07:44 -08:00
Jeff Tinker
dc44e06ef3
am ef664f62: Merge "Fix drm flag setting missed in false drm recognition fix." into ics-mr1
...
* commit 'ef664f62a1525e8f53d0937e889333544ffef3ad':
Fix drm flag setting missed in false drm recognition fix.
2011-12-09 11:13:39 -08:00
Jeff Tinker
ef664f62a1
Merge "Fix drm flag setting missed in false drm recognition fix." into ics-mr1
2011-12-09 11:11:56 -08:00
Joe Fernandez
a4f49ac528
am 4b3227de: am 89c3bc38: Merge "docs: Android 4.0.2 (SDK Tools r16) Release Notes - RC6" into ics-mr0
...
* commit '4b3227de17b6b4ee776cfb26aa33ce8ff1c195f0':
docs: Android 4.0.2 (SDK Tools r16) Release Notes - RC6
2011-12-09 10:47:59 -08:00
Joe Fernandez
4b3227de17
am 89c3bc38: Merge "docs: Android 4.0.2 (SDK Tools r16) Release Notes - RC6" into ics-mr0
...
* commit '89c3bc38421a3f01b39f0246e53884bdf8b14415':
docs: Android 4.0.2 (SDK Tools r16) Release Notes - RC6
2011-12-09 10:45:44 -08:00
Joe Fernandez
89c3bc3842
Merge "docs: Android 4.0.2 (SDK Tools r16) Release Notes - RC6" into ics-mr0
2011-12-09 10:43:32 -08:00
Gilles Debunne
f107abec56
am caf4ead3: Merge "Blinking cursor in Talk" into ics-mr1
...
* commit 'caf4ead320499cc9a7a2e3eb17beaaf92b391212':
Blinking cursor in Talk
2011-12-09 09:36:23 -08:00
Gilles Debunne
caf4ead320
Merge "Blinking cursor in Talk" into ics-mr1
2011-12-09 09:34:04 -08:00
Jeff Tinker
9f704f6c46
Fix drm flag setting missed in false drm recognition fix.
...
Change-Id: Ie38668c8a32969ef7c7df4ca3350e2364291953c
related-to-bug: 5732033
2011-12-09 09:09:08 -08:00
The Android Open Source Project
175d5d76b0
Reconcile with ics-mr1-release
...
Change-Id: Ieb1f3cdd9a69cff091b73983f68c03cb5d26b9d7
2011-12-09 07:11:10 -08:00
The Android Automerger
1cc6131f6e
merge in ics-mr1-release history after reset to ics-mr1
2011-12-09 06:58:10 -08:00
James Dong
406dd5d1e4
am aadbd80b: Fixed the false drm recognition.
...
* commit 'aadbd80b307c817698ce5110ff8e002804d1b230':
Fixed the false drm recognition.
2011-12-09 00:17:56 -08:00
James Dong
aadbd80b30
Fixed the false drm recognition.
...
Change-Id: If0198e52ff7bbd7422f219f55a37aae97f7d74f1
related-to-bug: 5732033
2011-12-08 21:01:31 -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
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
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