28509 Commits

Author SHA1 Message Date
Michael Jurka
7e52caf6db Don't draw layers in buildLayer()
Creating the layer, if necessary, takes the bulk
of the time - just do the creation, and schedule a
deferred update

Change-Id: I21399ebd5d2929a4f242ec1c08e3f97fed1ef58a
2012-03-06 17:18:00 -08:00
Nicolas Roard
b4827c089f Merge "Pass the version down to native" 2012-03-06 14:13:54 -08:00
Gilles Debunne
957c800ac0 Merge "Ellipsize avoids spaces and starts right after text" 2012-03-06 13:57:16 -08:00
Adam Powell
75d022af1f Action buttons are now 1 view instead of 3.
Change-Id: I42afe0e4bd20c3dbe86e2c43a6bc1d776361dca9
2012-03-06 12:06:15 -08:00
Nicolas Roard
18e9886342 Pass the version down to native
Change-Id: Ie240ea9875862288cf09fcfa1113b8e6cb3a7b1d
2012-03-06 11:53:56 -08:00
Fabrice Di Meglio
42b40c0ed8 Merge "Fix bug #4972463 Update CTS tests for TextView textDirection" 2012-03-06 11:48:14 -08:00
Dianne Hackborn
4f03d35f9c Merge "Fix issues #6103378 and #5959515." 2012-03-06 10:34:18 -08:00
Glenn Kasten
66199cf939 Merge "Remove obsolete references to sched_policy.h" 2012-03-06 08:17:43 -08:00
Jeff Brown
1b0cc3ca65 Merge "Rename remove callback methods." 2012-03-05 20:38:12 -08:00
Jeff Brown
97a355a9a1 Merge "Support posting delayed animation/draw callbacks." 2012-03-05 19:05:02 -08:00
Dianne Hackborn
6569625bee Fix issues #6103378 and #5959515.
Change-Id: I762d86dd7119c9ac02f4b8803c4a250c6b7637c7
6103378: APR: IOOBE at android.content.pm.PackageParser.generatePackageInfo(
    PackageParser.java:355)
5959515: PackageManager doesn't validate className in setComponentEnabledSetting
2012-03-05 18:49:21 -08:00
Glenn Kasten
403475a894 Remove obsolete references to sched_policy.h
As part of scheduling policy cleanup, remove or isolate
all references to the scheduling policy APIs.

Change-Id: Ia1ea2fe711a399039f25217309e061267744b856
2012-03-05 18:12:45 -08:00
Jeff Brown
5bebea436e Rename remove callback methods.
Change-Id: Ib9ef32fedbe0db2ea5efd250693915d626d7d8ae
2012-03-05 18:09:04 -08:00
Jeff Brown
2b6cb9a27e Support posting delayed animation/draw callbacks.
This is especially useful for slow animations such as blinking the
cursor, which only needs to happen after a certain amount of time
has elapsed.

Change-Id: If1163a3480078c75d6461eb8f96d8bf8b625534f
2012-03-05 17:21:01 -08:00
Fabrice Di Meglio
e9c0d1495b Fix bug #4972463 Update CTS tests for TextView textDirection
- move unit tests from Frameworks to CTS

Change-Id: I4598d8e99850f49e660c5bb3fb6025e71c635635
2012-03-05 16:22:22 -08:00
Nick Pelly
3edd8f06cb Merge "Clarify docs for the thread used in BroadcastReceiver.onReceive()" 2012-03-05 15:57:13 -08:00
Jeff Brown
faeac2737d Merge "Change widgets to post invalidate to the animation timer." 2012-03-05 15:38:47 -08:00
Gilles Debunne
e5d076e8d1 Merge "EditText caches only text in its internal display list." 2012-03-05 15:22:28 -08:00
Jeff Brown
6cb7b46c56 Change widgets to post invalidate to the animation timer.
Change-Id: I8377e924529fb9d8afd8a834003a17de616e8e87
2012-03-05 15:19:31 -08:00
Eric Fischer
ffa5514f73 Merge "Import translations. DO NOT MERGE" 2012-03-05 15:18:20 -08:00
Tom Taylor
c1717569db Merge "Remove deleted pdu items from the updated cache" 2012-03-05 14:47:27 -08:00
Fabrice Di Meglio
e6ad12ae38 Merge "Fix bug #5815381 [DA] [Android Gallery] [Cut string in "no-response" box]" 2012-03-05 14:40:50 -08:00
Gilles Debunne
6c488de023 EditText caches only text in its internal display list.
Decorelate background and text in layout display. This allows
to only store the text in the editable TextView's display list.

Selection and cursor changes no longer need to invalidate the
display list, leading to faster rendering.

Change-Id: I3af3a98846e1bfe2d9ec6c42590e71bf3704595e
2012-03-05 14:22:20 -08:00
Eric Fischer
9841174e07 Import translations. DO NOT MERGE
Change-Id: I9eeb25b7b81a0ad7a7a794eb344879c51488ca36
2012-03-05 14:15:03 -08:00
Jim Miller
1e34e1bdc3 Merge "Fix 5958806: Allow play button to be hidden in TransportControlView" 2012-03-05 13:50:48 -08:00
Romain Guy
f51abc7dc5 Merge "Delete display list objects and resources on the UI thread Bug #6073717 Bug #6065504 Bug #6026515 Bug #5971725" 2012-03-05 13:48:55 -08:00
Romain Guy
bb0acdf9e1 Delete display list objects and resources on the UI thread
Bug #6073717
Bug #6065504
Bug #6026515
Bug #5971725

Prior to this patch, the destructor of DisplayList would always run
on the finalizer thread. This could cause a race condition if the UI
thread was busy rendering display lists at the same time leading to
various random native crashes.

Change-Id: Ie11108e3b1538d4b358a1a8b4cce1b2d33152d0c
2012-03-05 13:44:35 -08:00
Jeff Brown
7bcbeb789d Merge "Make SQLiteDatabase final." 2012-03-05 13:38:59 -08:00
Jeff Brown
ef6f68b8c8 Merge "Don't log SQLITE_SCHEMA errors." 2012-03-05 13:38:24 -08:00
Fabrice Di Meglio
21452d1ada Merge "Fix bug #6029615 Update Javadoc for onPaddingChanged()" 2012-03-05 13:36:20 -08:00
Fabrice Di Meglio
085585f466 Fix bug #6029615 Update Javadoc for onPaddingChanged()
Change-Id: I5d66bc76d7084777342e66e6370bf3a52e878ba1
2012-03-05 13:33:57 -08:00
Jeff Brown
baefdfad6e Make SQLiteDatabase final.
The SQLiteDatabase constructor is inaccessible so it is not
possible for applications to subclass it.  To remove all possible
remaining temptation to do so, make the class final.

Change-Id: I4148e9b06f0661ec22aab8e45afde38498d2375a
2012-03-05 13:24:02 -08:00
Romain Guy
fb9c41c206 Merge "Deferred layer updates" 2012-03-05 13:20:46 -08:00
Fabrice Di Meglio
ff3aca3a4d Fix bug #5815381 [DA] [Android Gallery] [Cut string in "no-response" box]
- fix layout for the Holo AlertDialog

Change-Id: I453b497f93bc07f6298c73ccb460be629e26c8c7
2012-03-05 12:49:35 -08:00
Dianne Hackborn
c3b91e9afd Merge "More work on rotation animation." 2012-03-05 11:45:19 -08:00
Dianne Hackborn
9fd74805c8 More work on rotation animation.
The black frame is now a separate animation element.  This allows us
to have it move through the aspect ratio change, without the old
and new screen elements doing weird aspect ratio scalings.  This
makes the animation generally look different (more like a reveal),
not sure if it is better or worse, but definitely has less artifacts
in things like the gallery.

Also tweaked the animation definitions a bit.

Change-Id: I94c274ba04bbc7a675946dc6c1778e19386e4a66
2012-03-05 11:44:10 -08:00
John Reck
5a2b607700 Merge "Delete more navcache stuff" 2012-03-05 11:33:44 -08:00
Jeff Sharkey
09c8f48c10 Merge "Report leaked Context registrations to StrictMode." 2012-03-05 10:49:11 -08:00
Jeff Brown
08cbdad565 Don't log SQLITE_SCHEMA errors.
These errors are usually transient.  SQLite automatically retries
queries up to 5 times before actually reporting an error to the
application.  We expect SQLITE_SCHEMA errors to occur occasionally
due to the prepared statement cache, and it is ok.

If SQLite fails to automatically resolve a schema error, then
a SQLiteException will be thrown as usual.

Bug: 6114391
Change-Id: I0cdafa1a1db5c567b95bec0c41310802fe75a8c7
2012-03-05 10:30:06 -08:00
John Reck
b2676f76b6 Delete more navcache stuff
Change-Id: Ic32559948b90abb3e8e755c5eb533dd9e83b3190
2012-03-05 10:12:15 -08:00
Scott Main
b8b36b8b78 am dc022a6f: am 08e91352: am 93dc642e: docs: fix misc bugs from external tracker
* commit 'dc022a6f9aa30d9282c4f82c1cc4d1c8bde7e808':
  docs: fix misc bugs from external tracker
2012-03-05 10:09:44 -08:00
Scott Main
dc022a6f9a am 08e91352: am 93dc642e: docs: fix misc bugs from external tracker
* commit '08e91352169457ac86a2465e4db867971ce14b10':
  docs: fix misc bugs from external tracker
2012-03-05 10:07:47 -08:00
Scott Main
08e9135216 am 93dc642e: docs: fix misc bugs from external tracker
* commit '93dc642eaf48e3db58c4929df26283fbc5fd663f':
  docs: fix misc bugs from external tracker
2012-03-05 10:06:00 -08:00
Michael Kolb
02b693ecd4 Merge "fix race condition in WebViewClassic.destroy()" 2012-03-05 09:16:35 -08:00
Jeff Sharkey
eb00769e89 Merge "Allow disk I/O while performing dump()." 2012-03-02 18:07:35 -08:00
Scott Main
93dc642eaf docs: fix misc bugs from external tracker
Change-Id: I2be617be23d0ac50baabac561d510633fa9f162a
2012-03-02 16:55:41 -08:00
Casey Ho
c3898820f6 Fix incorrect javadoc
Change-Id: I7f2cd95ced0f525b2c0ee20b64acbb35893664ed
2012-03-02 16:36:32 -08:00
Michael Kolb
6ddf44d815 fix race condition in WebViewClassic.destroy()
Bug: 6088940

Change-Id: If2cf26d4aab73d2d8689e4e3f9ec8e91193c966d
2012-03-02 15:54:52 -08:00
John Reck
dc043b58cb Merge "Fix flash" 2012-03-02 15:37:53 -08:00
Svetoslav Ganov
2e9e02fd33 Merge "Sync of the NumberPicker attributes with the public Java APIs" 2012-03-02 15:33:33 -08:00