OSDN Git Service

android-x86/frameworks-base.git
12 years agoam d25ad2fd: cherrypick from ics-mr1 to avoid pending merge conflicts: Change-Id...
Scott Main [Thu, 15 Dec 2011 23:55:31 +0000 (15:55 -0800)]
am d25ad2fd: cherrypick from ics-mr1 to avoid pending merge conflicts: Change-Id: If1341cdc456ace9037bd2175479d89454e084e22 docs: remove some "new" tags from side navs

* commit 'd25ad2fdbb4cf86e2a05dbc6b8afb50760c0fe1b':
  cherrypick from ics-mr1 to avoid pending merge conflicts: Change-Id: If1341cdc456ace9037bd2175479d89454e084e22 docs: remove some "new" tags from side navs

12 years agocherrypick from ics-mr1 to avoid pending merge conflicts: Change-Id: If1341cdc456ace9...
Scott Main [Thu, 15 Dec 2011 21:11:12 +0000 (13:11 -0800)]
cherrypick from ics-mr1 to avoid pending merge conflicts: Change-Id: If1341cdc456ace9037bd2175479d89454e084e22
docs: remove some "new" tags from side navs

Change-Id: I1ca718d1e54f7726db93cb3ab5cce410ee942ed5

12 years agodocs: remove some "new" tags from side navs
Scott Main [Thu, 15 Dec 2011 21:11:12 +0000 (13:11 -0800)]
docs: remove some "new" tags from side navs

Change-Id: If1341cdc456ace9037bd2175479d89454e084e22

12 years agoam 3d672e1e: Android U Class: Monetization / Ads without Compromising User Experience
Scott Main [Thu, 15 Dec 2011 19:08:51 +0000 (11:08 -0800)]
am 3d672e1e: Android U Class: Monetization / Ads without Compromising User Experience

* commit '3d672e1e789e171e913605945efe95a477ab0505':
  Android U Class: Monetization / Ads without Compromising User Experience

12 years agoAndroid U Class: Monetization / Ads without Compromising User Experience
Scott Main [Thu, 15 Dec 2011 18:44:11 +0000 (10:44 -0800)]
Android U Class: Monetization / Ads without Compromising User Experience

Change-Id: I1aaddc6bbbc9fc2b53119893f2b70260f1b0d9a7

12 years agoam aed4ced6: Android U Class: Developing Android Applications for the Enterprise...
Scott Main [Thu, 15 Dec 2011 18:41:18 +0000 (10:41 -0800)]
am aed4ced6: Android U Class: Developing Android Applications for the Enterprise. This class uses a sample app.

* commit 'aed4ced6556383483209f454c9e4872e8ad28ebf':
  Android U Class: Developing Android Applications for the Enterprise. This class uses a sample app.

12 years agoAndroid U Class: Developing Android Applications for the Enterprise.
Scott Main [Thu, 15 Dec 2011 18:25:41 +0000 (10:25 -0800)]
Android U Class: Developing Android Applications for the Enterprise.
This class uses a sample app.

Change-Id: I508edbb98c8e9dea1d3ea26c8dcd9da213330d87

12 years agoam f9cca66e: Docs: Training class on Identifying and Authenticating Users.
Scott Main [Thu, 15 Dec 2011 18:13:07 +0000 (10:13 -0800)]
am f9cca66e: Docs: Training class on Identifying and Authenticating Users.

* commit 'f9cca66e8b4acbc8d50713b4ed4b92d8274285c1':
  Docs: Training class on Identifying and Authenticating Users.

12 years agoDocs: Training class on Identifying and Authenticating Users.
Scott Main [Thu, 15 Dec 2011 18:07:03 +0000 (10:07 -0800)]
Docs: Training class on Identifying and Authenticating Users.

Change-Id: Ie2005687ca3baf28d9e01be8c10ee0f6a58a3cc3

12 years agoMerge "Fix some java docs." into ics-mr1
Dianne Hackborn [Thu, 15 Dec 2011 02:18:29 +0000 (18:18 -0800)]
Merge "Fix some java docs." into ics-mr1

12 years agoMerge "Doc change: add MR1 API summary and updated highlights." into ics-mr1
Dirk Dougherty [Thu, 15 Dec 2011 01:21:13 +0000 (17:21 -0800)]
Merge "Doc change: add MR1 API summary and updated highlights." into ics-mr1

12 years agoFix some java docs.
Dianne Hackborn [Thu, 15 Dec 2011 01:20:54 +0000 (17:20 -0800)]
Fix some java docs.

Change-Id: I0eeba6f9108db74418063fba522ed3ef1c27ae95

12 years agoDoc change: add MR1 API summary and updated highlights.
Dirk Dougherty [Mon, 12 Dec 2011 21:49:31 +0000 (13:49 -0800)]
Doc change: add MR1 API summary and updated highlights.

Change-Id: I9a9b13b9c7b8ae3011772a62735c788762b45f7f

12 years agoam 56a3e326: Merge "docs: add Android U class for "Improving Performance of Layouts...
Scott Main [Wed, 14 Dec 2011 22:55:44 +0000 (14:55 -0800)]
am 56a3e326: Merge "docs: add Android U class for "Improving Performance of Layouts"" into ics-mr0

* commit '56a3e326192c7496b67666b29071dc9f38c59da9':
  docs: add Android U class for "Improving Performance of Layouts"

12 years agoam 4dc763c7: Merge "doc change: Android U lessons for audio and battery" into ics-mr0
Scott Main [Wed, 14 Dec 2011 22:53:40 +0000 (14:53 -0800)]
am 4dc763c7: Merge "doc change: Android U lessons for audio and battery" into ics-mr0

* commit '4dc763c700f79e33030e96eefabf8e5047cb9cb1':
  doc change: Android U lessons for audio and battery

12 years agoMerge "docs: add Android U class for "Improving Performance of Layouts"" into ics-mr0
Scott Main [Wed, 14 Dec 2011 22:53:04 +0000 (14:53 -0800)]
Merge "docs: add Android U class for "Improving Performance of Layouts"" into ics-mr0

12 years agoMerge "doc change: Android U lessons for audio and battery" into ics-mr0
Scott Main [Wed, 14 Dec 2011 22:51:30 +0000 (14:51 -0800)]
Merge "doc change: Android U lessons for audio and battery" into ics-mr0

12 years agoam 70645e36: Docs: Add class for Sharing Content
Scott Main [Wed, 14 Dec 2011 22:40:19 +0000 (14:40 -0800)]
am 70645e36: Docs: Add class for Sharing Content

* commit '70645e363e8601550468b726251f4f52f383b9fc':
  Docs: Add class for Sharing Content

12 years agoDocs: Add class for Sharing Content
Scott Main [Wed, 14 Dec 2011 00:06:16 +0000 (16:06 -0800)]
Docs: Add class for Sharing Content

Change-Id: I078a02d952e652c16f84e1b3f7613f3dc9364c97

12 years agoRevert the following patches because they may lead to power regression because SHA...
James Dong [Wed, 14 Dec 2011 18:57:05 +0000 (10:57 -0800)]
Revert the following patches because they may lead to power regression because SHA/MD5 module is stuck
1. Revert "Fix drm flag setting missed in false drm recognition fix."
   This reverts commit 9f704f6c46a171357e49c411c83458b9d4565f3b.

2. Revert "Fixed the false drm recognition."
   This reverts commit aadbd80b307c817698ce5110ff8e002804d1b230.

3. Revert "Fix drm enumeration order, resolves failure to play forward lock ringtones"
   This reverts commit a5cbf023e349f2394ba6fc58d73b4375cfec4369.

4. Revert "Fix ANRs due to Widevine DRM plugin sniff taking too long."
   This reverts commit d0d19db1ca1c289b069db33f4665bcb9386064e9.

As a result of the reverting, many ANRs from WV sniffing are back.

related-to-bug: 5739618

12 years agodoc change: Android U lessons for audio and battery
Scott Main [Wed, 14 Dec 2011 02:24:34 +0000 (18:24 -0800)]
doc change: Android U lessons for audio and battery

Change-Id: I98d83f8458e3ad62be28d09b85fe099916d1b73d

12 years agoMerge "Doc change: API diff report for 15." into ics-mr1
Dirk Dougherty [Wed, 14 Dec 2011 02:33:04 +0000 (18:33 -0800)]
Merge "Doc change: API diff report for 15." into ics-mr1

12 years agoMerge "Fix issue #5756204: Crespo IME briefly appears shortened when..." into ics-mr1
Dianne Hackborn [Tue, 13 Dec 2011 23:40:18 +0000 (15:40 -0800)]
Merge "Fix issue #5756204: Crespo IME briefly appears shortened when..." into ics-mr1

12 years agoMerge "Do not spell check the foreground ExtractEditText." into ics-mr1
Gilles Debunne [Tue, 13 Dec 2011 23:36:48 +0000 (15:36 -0800)]
Merge "Do not spell check the foreground ExtractEditText." into ics-mr1

12 years agoFix issue #5756204: Crespo IME briefly appears shortened when...
Dianne Hackborn [Tue, 13 Dec 2011 23:08:40 +0000 (15:08 -0800)]
Fix issue #5756204: Crespo IME briefly appears shortened when...

...rotating to landscape

When doing spell checking in the same process as the spell checker, we
need to make sure it is still done asynchronously.

Putting this in I noticed quite a few threading issues in this code, so
I also addressed those (which became very obviously a problem with the
async stuff here now).

Also tweaked the service side to run spell checking at background priority.

Change-Id: I01bafe3bec6bceeca911d6bf2f61a486a2fd4c48

12 years agoDo not spell check the foreground ExtractEditText.
Gilles Debunne [Tue, 13 Dec 2011 22:47:19 +0000 (14:47 -0800)]
Do not spell check the foreground ExtractEditText.

Bug 5755099

In extracted text mode, we spell check the background and the foreground
edit text. All changes in the background are already propagated to the
foreground, and updates on the foreground may trigger a spell check
of the entire text since we use setText.

Change-Id: Ie44c3d9113258082ac6df5890851d0e21c702ea2

12 years agoMerge "Fix issue #5755172: Soft menu key disappears when menu is open" into ics-mr1
Dianne Hackborn [Tue, 13 Dec 2011 21:38:56 +0000 (13:38 -0800)]
Merge "Fix issue #5755172: Soft menu key disappears when menu is open" into ics-mr1

12 years agoMerge "NPE in GMail / TextLine" into ics-mr1
Gilles Debunne [Tue, 13 Dec 2011 21:37:29 +0000 (13:37 -0800)]
Merge "NPE in GMail / TextLine" into ics-mr1

12 years agoam fc279e51: Merge "Created Android University lesson for Multiple APKs." into ics-mr0
Scott Main [Tue, 13 Dec 2011 21:10:45 +0000 (13:10 -0800)]
am fc279e51: Merge "Created Android University lesson for Multiple APKs." into ics-mr0

* commit 'fc279e51c0bca8086b87bd49e95367c400cb61b4':
  Created Android University lesson for Multiple APKs.

12 years agoam 801fda54: AndroidU lesson on designing for multiple screens.
Scott Main [Tue, 13 Dec 2011 21:10:42 +0000 (13:10 -0800)]
am 801fda54: AndroidU lesson on designing for multiple screens.

* commit '801fda548c719a8618e7f4cd64cad8404b0970b9':
  AndroidU lesson on designing for multiple screens.

12 years agoNPE in GMail / TextLine
Gilles Debunne [Tue, 13 Dec 2011 20:37:00 +0000 (12:37 -0800)]
NPE in GMail / TextLine

Bug 5753061

https://android-git.corp.google.com/g/#/c/154756/1 revealed an
other bug in SpanSet. The fitered (non empty) spans were added
in their original position instead of being indexed by count.

The nullation on recycle hence left null holes in the array.

Change-Id: If5c1435cee9a2cb88a608aa8e5f4f2f23382154c

12 years agoMerge "Created Android University lesson for Multiple APKs." into ics-mr0
Scott Main [Tue, 13 Dec 2011 20:25:38 +0000 (12:25 -0800)]
Merge "Created Android University lesson for Multiple APKs." into ics-mr0

12 years agoMerge "DO NOT MERGE: Support for parsing of "folded" RTSP header values" into ics-mr1
Andreas Huber [Tue, 13 Dec 2011 19:59:50 +0000 (11:59 -0800)]
Merge "DO NOT MERGE: Support for parsing of "folded" RTSP header values" into ics-mr1

12 years agoFix issue #5755172: Soft menu key disappears when menu is open
Dianne Hackborn [Tue, 13 Dec 2011 19:16:23 +0000 (11:16 -0800)]
Fix issue #5755172: Soft menu key disappears when menu is open

We need to work more like before in determining whether the menu
key is needed -- in some cases look back in the window list to
determine this if we don't know the value from the current window.

This requires adding a new private flag indicating whether the
compat menu state is known for a window, which is set by
PhoneWindow as part of its existing process of computing the flag
for its own windows.

Now we can have a new API on WindowState to determine the value
of this flag for a window, which if needed walks back in the window list
to find a window the value is known for (or stops at what the policy
has determined is the top full-screen window, so we stop like we used
to at things like the lock screen or the bottom of an application).

Change-Id: I829de6d629b5af8bcb422cb85249ee4041c7205e

12 years agoDO NOT MERGE: Support for parsing of "folded" RTSP header values
Andreas Huber [Fri, 9 Dec 2011 23:09:56 +0000 (15:09 -0800)]
DO NOT MERGE: Support for parsing of "folded" RTSP header values

and some tweaks to the AMR assembler contributed by Samsung (untested).

Change-Id: I6c3df31fa3a35433bfddfdda82747bb4c6ee86a1
related-to-bug: 5669027

12 years agoMerge "Avoid NPE when missing network stats." into ics-mr1
Jeff Sharkey [Tue, 13 Dec 2011 04:19:27 +0000 (20:19 -0800)]
Merge "Avoid NPE when missing network stats." into ics-mr1

12 years agoAvoid NPE when missing network stats.
Jeff Sharkey [Tue, 13 Dec 2011 02:51:26 +0000 (18:51 -0800)]
Avoid NPE when missing network stats.

Bug: 5750339
Change-Id: I4b739dbd076b270a5a2b2e2a1e0f6e445d8c124e

12 years agoDoc change: API diff report for 15.
Dirk Dougherty [Tue, 13 Dec 2011 02:49:17 +0000 (18:49 -0800)]
Doc change: API diff report for 15.

Change-Id: Ifbe3cf600d9397dd42d855c4a271d514b008d45b

12 years agoMerge "Update VIBRATE_ON to a supported value when upgrading from GB." into ics-mr1
Mike Cleron [Tue, 13 Dec 2011 02:15:59 +0000 (18:15 -0800)]
Merge "Update VIBRATE_ON to a supported value when upgrading from GB." into ics-mr1

12 years agoAndroidU lesson on designing for multiple screens.
Scott Main [Sat, 10 Dec 2011 01:27:21 +0000 (17:27 -0800)]
AndroidU lesson on designing for multiple screens.

This change adds the text for the AndroidU lesson "Designing for Multiple
Screens", which shows how to write applications that adapt properly
to screen size, density and orientation for maximum compatibility.
Update makefile and resources-data.js for rendering source in HTML
Add ZIP file for sample

Change-Id: I671bb3063d5bf02681bc547ffe5262a9df22037a

12 years agoFinal API 15.
Dianne Hackborn [Tue, 13 Dec 2011 00:26:38 +0000 (16:26 -0800)]
Final API 15.

Change-Id: Ic356a7b4d56237e928e653c68e87b070e923d145

12 years agoUpdate VIBRATE_ON to a supported value when upgrading from GB.
Amith Yamasani [Mon, 12 Dec 2011 21:14:47 +0000 (13:14 -0800)]
Update VIBRATE_ON to a supported value when upgrading from GB.

Bug: 5738552

If value has ringer set to VIBRATE_OFF, we need to update it to the
now default, as VIBRATE_OFF is inconsistent with the new UI controls.

Make sure notification vibrate setting follows ringer vibrate setting.
Change-Id: I6638c8a8729d850e71db10d27a0b50d24dc11f19

12 years agoMerge "SDK only: now that support lib is in SDK, we can link to it." into ics-mr1
Dianne Hackborn [Tue, 13 Dec 2011 00:09:54 +0000 (16:09 -0800)]
Merge "SDK only: now that support lib is in SDK, we can link to it." into ics-mr1

12 years agoMerge "Prevent a memory leak in TextLine." into ics-mr1
Gilles Debunne [Mon, 12 Dec 2011 23:53:25 +0000 (15:53 -0800)]
Merge "Prevent a memory leak in TextLine." into ics-mr1

12 years agoMerge "Text blinking cursor hard to see." into ics-mr1
Gilles Debunne [Mon, 12 Dec 2011 23:52:39 +0000 (15:52 -0800)]
Merge "Text blinking cursor hard to see." into ics-mr1

12 years agoMerge "Bug 5727679 - CTS test ViewGroupTest#testGetChildVisibleRect" into ics-mr1
Adam Powell [Mon, 12 Dec 2011 23:40:00 +0000 (15:40 -0800)]
Merge "Bug 5727679 - CTS test ViewGroupTest#testGetChildVisibleRect" into ics-mr1

12 years agoSDK only: now that support lib is in SDK, we can link to it.
Dianne Hackborn [Mon, 12 Dec 2011 23:19:26 +0000 (15:19 -0800)]
SDK only: now that support lib is in SDK, we can link to it.

Update some of the platform documentation to directly link to
relevent support lib docs.  Yay!

Also improve BroadcastReceiver documentation to more clearly
discussion security around receivers, and how the support
lib's LocalBroadcastManager can help.

Change-Id: I563c7516d5fbf91ab884c86bc411aff726249e42

12 years agoBug 5727679 - CTS test ViewGroupTest#testGetChildVisibleRect
Adam Powell [Mon, 12 Dec 2011 23:21:57 +0000 (15:21 -0800)]
Bug 5727679 - CTS test ViewGroupTest#testGetChildVisibleRect

Preserve the ability to call getChildVisibleRect without the view
being attached to a window.

Change-Id: I702b19fa1625c346eb22fda4a4ffb6e8f790b689

12 years agoMerge "SurfaceTexture: fix a verbose-log compile error" into ics-mr1
Jamie Gennis [Mon, 12 Dec 2011 22:10:04 +0000 (14:10 -0800)]
Merge "SurfaceTexture: fix a verbose-log compile error" into ics-mr1

12 years agoPrevent a memory leak in TextLine.
Gilles Debunne [Mon, 12 Dec 2011 22:03:40 +0000 (14:03 -0800)]
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

12 years agoText blinking cursor hard to see.
Gilles Debunne [Mon, 12 Dec 2011 18:16:04 +0000 (10:16 -0800)]
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

12 years agoMerge "Merge "AAPT fix printf %zd crash on Windows". Do not merge." into ics-mr1
Raphael [Mon, 12 Dec 2011 21:14:12 +0000 (13:14 -0800)]
Merge "Merge "AAPT fix printf %zd crash on Windows". Do not merge." into ics-mr1

12 years agoMerge "Move broadcastState STATE_TURNING_ON before persistSwitchSetting" into ics-mr1
Matthew Xie [Mon, 12 Dec 2011 20:07:39 +0000 (12:07 -0800)]
Merge "Move broadcastState STATE_TURNING_ON before persistSwitchSetting" into ics-mr1

12 years agoMove broadcastState STATE_TURNING_ON before persistSwitchSetting
Matthew Xie [Mon, 12 Dec 2011 19:36:18 +0000 (11:36 -0800)]
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

12 years agoMerge "Import revised translations. DO NOT MERGE" into ics-mr1
Eric Fischer [Mon, 12 Dec 2011 19:04:39 +0000 (11:04 -0800)]
Merge "Import revised translations.  DO NOT MERGE" into ics-mr1

12 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Mon, 12 Dec 2011 18:59:11 +0000 (10:59 -0800)]
Import revised translations.  DO NOT MERGE

Change-Id: Ia118056259f828ff913d8a9bf2bc3a8fa2c54f9c

12 years agoMerge "AAPT fix printf %zd crash on Windows". Do not merge.
Raphael [Fri, 28 Oct 2011 00:01:31 +0000 (17:01 -0700)]
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

12 years agoFix drm enumeration order, resolves failure to play forward lock ringtones
Jeff Tinker [Sat, 10 Dec 2011 04:04:17 +0000 (20:04 -0800)]
Fix drm enumeration order, resolves failure to play forward lock ringtones

Change-Id: I58e8a26849409bc3bf98b066c5e07c2a0c91e0c9
related-to-bug: 5735466

12 years agoMerge "Quick settings icons updated to match ics style on tablet" into ics-mr1
Justin Ho [Fri, 9 Dec 2011 23:42:10 +0000 (15:42 -0800)]
Merge "Quick settings icons updated to match ics style on tablet" into ics-mr1

12 years agoSurfaceTexture: fix a verbose-log compile error
Jamie Gennis [Fri, 9 Dec 2011 23:07:44 +0000 (15:07 -0800)]
SurfaceTexture: fix a verbose-log compile error

Change-Id: I045231207e068d950bb0cb5085717af5d9454ed1

12 years agoMerge "Fix drm flag setting missed in false drm recognition fix." into ics-mr1
Jeff Tinker [Fri, 9 Dec 2011 19:11:56 +0000 (11:11 -0800)]
Merge "Fix drm flag setting missed in false drm recognition fix." into ics-mr1

12 years agoam 89c3bc38: Merge "docs: Android 4.0.2 (SDK Tools r16) Release Notes - RC6" into...
Joe Fernandez [Fri, 9 Dec 2011 18:45:44 +0000 (10:45 -0800)]
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

12 years agoMerge "docs: Android 4.0.2 (SDK Tools r16) Release Notes - RC6" into ics-mr0
Joe Fernandez [Fri, 9 Dec 2011 18:43:32 +0000 (10:43 -0800)]
Merge "docs: Android 4.0.2 (SDK Tools r16) Release Notes - RC6" into ics-mr0

12 years agoMerge "Blinking cursor in Talk" into ics-mr1
Gilles Debunne [Fri, 9 Dec 2011 17:34:04 +0000 (09:34 -0800)]
Merge "Blinking cursor in Talk" into ics-mr1

12 years agoFix drm flag setting missed in false drm recognition fix.
Jeff Tinker [Fri, 9 Dec 2011 16:57:23 +0000 (08:57 -0800)]
Fix drm flag setting missed in false drm recognition fix.

Change-Id: Ie38668c8a32969ef7c7df4ca3350e2364291953c
related-to-bug: 5732033

12 years agoFixed the false drm recognition.
James Dong [Fri, 9 Dec 2011 03:31:59 +0000 (19:31 -0800)]
Fixed the false drm recognition.

Change-Id: If0198e52ff7bbd7422f219f55a37aae97f7d74f1

related-to-bug: 5732033

12 years agoBlinking cursor in Talk
Gilles Debunne [Fri, 9 Dec 2011 02:40:22 +0000 (18:40 -0800)]
Blinking cursor in Talk

I verified that this fixes the unblinking cursor problem in Talk.

Change-Id: I5e3e5c8ad5cf3d8479462495107bf93e5e4fb956

12 years agoPerformance improvements for long text edition.
Gilles Debunne [Tue, 25 Oct 2011 22:05:16 +0000 (15:05 -0700)]
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

12 years agoMerge "Fixed SpellCheckerSessions leak in TextView" into ics-mr1
Gilles Debunne [Fri, 9 Dec 2011 02:18:25 +0000 (18:18 -0800)]
Merge "Fixed SpellCheckerSessions leak in TextView" into ics-mr1

12 years agoMerge "Re-use SpanSets in TextLine" into ics-mr1
Gilles Debunne [Fri, 9 Dec 2011 01:58:24 +0000 (17:58 -0800)]
Merge "Re-use SpanSets in TextLine" into ics-mr1

12 years agoam 0a9005ed: Merge "DOC CHANGE: Package text and Formatter javadoc" into ics-mr0
Joe Malin [Fri, 9 Dec 2011 01:44:34 +0000 (17:44 -0800)]
am 0a9005ed: Merge "DOC CHANGE: Package text and Formatter javadoc" into ics-mr0

* commit '0a9005ed58d3a6173e8fffbd72933f7646c6fdba':
  DOC CHANGE: Package text and Formatter javadoc

12 years agoMerge "DOC CHANGE: Package text and Formatter javadoc" into ics-mr0
Joe Malin [Fri, 9 Dec 2011 01:42:36 +0000 (17:42 -0800)]
Merge "DOC CHANGE: Package text and Formatter javadoc" into ics-mr0

12 years agoMerge "VPN: delete the "abort" file before starting VPN daemons." into ics-mr1
Chia-chi Yeh [Fri, 9 Dec 2011 01:22:16 +0000 (17:22 -0800)]
Merge "VPN: delete the "abort" file before starting VPN daemons." into ics-mr1

12 years agoVPN: delete the "abort" file before starting VPN daemons.
Chia-chi Yeh [Fri, 9 Dec 2011 00:51:41 +0000 (16:51 -0800)]
VPN: delete the "abort" file before starting VPN daemons.

Bug: 5714296
Change-Id: Idba41b9f3907747a84387ea4f3e930b3a185a06e

12 years agoRe-use SpanSets in TextLine
Gilles Debunne [Fri, 9 Dec 2011 00:03:00 +0000 (16:03 -0800)]
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

12 years agoMerge "Fix wifi bring up at boot up" into ics-mr1
Irfan Sheriff [Thu, 8 Dec 2011 23:59:26 +0000 (15:59 -0800)]
Merge "Fix wifi bring up at boot up" into ics-mr1

12 years agoMerge "Swap OK and Cancel buttons in SIM PIN unlock screen to match ICS guidelines...
Jake Hamby [Thu, 8 Dec 2011 23:51:33 +0000 (15:51 -0800)]
Merge "Swap OK and Cancel buttons in SIM PIN unlock screen to match ICS guidelines." into ics-mr1

12 years agoFix wifi bring up at boot up
Irfan Sheriff [Thu, 8 Dec 2011 00:27:49 +0000 (16:27 -0800)]
Fix wifi bring up at boot up

Bug: 5719176
Change-Id: Iac879fc634f6ab6289b73c46931d754bc0af2f87

12 years agoSwap OK and Cancel buttons in SIM PIN unlock screen to match ICS guidelines.
Jake Hamby [Thu, 8 Dec 2011 23:33:32 +0000 (15:33 -0800)]
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

12 years agoMerge "Don't perform RTSP seeks right away but queue them for 200ms" into ics-mr1
Andreas Huber [Thu, 8 Dec 2011 21:33:16 +0000 (13:33 -0800)]
Merge "Don't perform RTSP seeks right away but queue them for 200ms" into ics-mr1

12 years agoMerge "Fix Bitreader "putBits" implementation, make sure we emulate timestamps" into...
Andreas Huber [Thu, 8 Dec 2011 21:33:06 +0000 (13:33 -0800)]
Merge "Fix Bitreader "putBits" implementation, make sure we emulate timestamps" into ics-mr1

12 years agoDon't perform RTSP seeks right away but queue them for 200ms
Andreas Huber [Thu, 8 Dec 2011 21:04:50 +0000 (13:04 -0800)]
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

12 years agoMerge "NumberPicker getting stuck if scroll wheel not wrapable." into ics-mr1
Svetoslav Ganov [Thu, 8 Dec 2011 20:28:11 +0000 (12:28 -0800)]
Merge "NumberPicker getting stuck if scroll wheel not wrapable." into ics-mr1

12 years agoFix Bitreader "putBits" implementation, make sure we emulate timestamps
Andreas Huber [Thu, 8 Dec 2011 20:27:47 +0000 (12:27 -0800)]
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

12 years agoMerge "Handle emergency call back mode correctly" into ics-mr1
Irfan Sheriff [Thu, 8 Dec 2011 20:21:20 +0000 (12:21 -0800)]
Merge "Handle emergency call back mode correctly" into ics-mr1

12 years agoMerge "Make the Next key navigate between TextViews" into ics-mr1
Gilles Debunne [Thu, 8 Dec 2011 19:57:06 +0000 (11:57 -0800)]
Merge "Make the Next key navigate between TextViews" into ics-mr1

12 years agoMerge "Limit created string size in Spell Checker" into ics-mr1
Gilles Debunne [Thu, 8 Dec 2011 19:56:28 +0000 (11:56 -0800)]
Merge "Limit created string size in Spell Checker" into ics-mr1

12 years agodocs: Android 4.0.2 (SDK Tools r16) Release Notes - RC6
Joe Fernandez [Tue, 29 Nov 2011 01:00:27 +0000 (17:00 -0800)]
docs: Android 4.0.2 (SDK Tools r16) Release Notes - RC6

Change-Id: I2216f5187f3027ed727ee0e03f7dd0c129dbb2cd

12 years agoHandle emergency call back mode correctly
Irfan Sheriff [Thu, 8 Dec 2011 18:47:54 +0000 (10:47 -0800)]
Handle emergency call back mode correctly

Bug: 5726996
Change-Id: I5815dd402bd73c530b9ba6d545d8956064949aa2

12 years agoMerge "Import revised translations. DO NOT MERGE" into ics-mr1
Eric Fischer [Thu, 8 Dec 2011 19:09:11 +0000 (11:09 -0800)]
Merge "Import revised translations. DO NOT MERGE" into ics-mr1

12 years agoMake the Next key navigate between TextViews
Gilles Debunne [Thu, 8 Dec 2011 18:39:39 +0000 (10:39 -0800)]
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

12 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 8 Dec 2011 18:31:25 +0000 (10:31 -0800)]
Import revised translations. DO NOT MERGE

Change-Id: I06d796d48b50c6a459b6ae8a6dad47730126a49d

12 years agoReconcile with ics-mr0-release
The Android Open Source Project [Thu, 8 Dec 2011 18:26:33 +0000 (10:26 -0800)]
Reconcile with ics-mr0-release

Change-Id: I2b2afc572c36ef210d81af16bd2e52cecdd94079

12 years agoMerge "IOOB is Suggestions" into ics-mr1
Gilles Debunne [Thu, 8 Dec 2011 17:59:44 +0000 (09:59 -0800)]
Merge "IOOB is Suggestions" into ics-mr1

12 years agoMerge "Prevent NPE in SuggestionSpan" into ics-mr1
Gilles Debunne [Thu, 8 Dec 2011 17:59:29 +0000 (09:59 -0800)]
Merge "Prevent NPE in SuggestionSpan" into ics-mr1

12 years agoMerge "Fix ANRs due to Widevine DRM plugin sniff taking too long." into ics-mr1
Jeff Tinker [Thu, 8 Dec 2011 08:13:43 +0000 (00:13 -0800)]
Merge "Fix ANRs due to Widevine DRM plugin sniff taking too long." into ics-mr1

12 years agoMerge "Shortcut keys should be handled on down, not up." into ics-mr1
Jeff Brown [Thu, 8 Dec 2011 07:29:52 +0000 (23:29 -0800)]
Merge "Shortcut keys should be handled on down, not up." into ics-mr1

12 years agoMerge "Fix system hotkey handling." into ics-mr1
Jeff Brown [Thu, 8 Dec 2011 07:29:45 +0000 (23:29 -0800)]
Merge "Fix system hotkey handling." into ics-mr1

12 years agoShortcut keys should be handled on down, not up.
Jeff Brown [Thu, 8 Dec 2011 00:55:19 +0000 (16:55 -0800)]
Shortcut keys should be handled on down, not up.

Bug: 5720360
Change-Id: I3afc278e576ea992c76f024c8b6bad14b214239c

12 years agoFix system hotkey handling.
Jeff Brown [Thu, 8 Dec 2011 00:36:01 +0000 (16:36 -0800)]
Fix system hotkey handling.

Fixed a problem where the key up for the ALT or META key was not
delivered to the task switcher dialog because it was deemed
to be inconsistent with the window's observed state.  Consequently
the dialog would not be dismissed when the key was released.

Moved global hotkey handling for META+* shortcuts and ALT/META-TAB
into the window manager policy's interceptKeyBeforeDispatching
method.  This change prevents applications from hijacking these
keys.

The original idea was that these shortcuts would be handled only
if the application did not handle them itself.  That way certain
applications, such as remote desktop tools, could deliberately
override some of these less important system shortcuts.
Unfortunately, that does make the behavior inconsistent across
applications.  What's more, bugs in the onKeyDown handler of
applications can cause the shortcuts to not work at all, for
no good reason.

Perhaps we can add an opt-in feature later to enable specific
applications to repurpose these keys when it makes sense.

Bug: 5720358
Change-Id: I22bf17606d12dbea6549c60d20763e6608576cf7