108198 Commits

Author SHA1 Message Date
Xia Wang
edc3bb661e Disable a flaky test case
Change-Id: I4ef780ed0c5394b67aa002baefc00e835018c4a0
2013-06-17 17:14:10 -07:00
Chris Craik
49cc5d7119 Merge "Handle all text bounds as post-translated" 2013-06-17 22:50:39 +00:00
Chris Craik
f09b746acb Handle all text bounds as post-translated
We were treating immediate mode bounds as pre translate, which is
inconsistent with using them for quickRejection.

This fixes the overdraw counter not drawing correctly (since it uses
immediate mode drawing.

Change-Id: I1c734d367a00942bd7d9b041822c0a9f284e70a8
2013-06-17 15:17:11 -07:00
Adam Powell
3e0a4633c3 Merge "Don't flip action bar main content and tabs" 2013-06-17 21:23:23 +00:00
Adam Powell
32fa567b52 Don't flip action bar main content and tabs
Nobody ever used or liked this "feature" anyway. Onward and upward!

Change-Id: Ica65c413d13ddb998992c7d8761ad5134f75e4fd
2013-06-17 14:16:02 -07:00
Chris Craik
36d38cb904 Merge "Better handle op size edge cases" 2013-06-17 21:02:56 +00:00
Chris Craik
d72b73cea4 Better handle op size edge cases
bug:9464358

Previously, empty and unknown sized ops are assumed to fully cover
their clip. This is now corrected such that empty sized ops are
pre-rejected before defer. Additionally, unknown sized ops disable
overdraw avoidance.

Change-Id: Icf2ce24f98be5ea6299e24ffcf826790373564a1
2013-06-17 13:52:06 -07:00
Elliott Hughes
f0542ee466 am 704dfbfe: am 48fa06f3: am f6a67139: Merge "Correct Date format for el_GR, sv_SE and tr_TR locales"
* commit '704dfbfec40b4a51000e244a98e8723bb00ba321':
  Correct Date format for el_GR, sv_SE and tr_TR locales
2013-06-17 13:43:53 -07:00
Elliott Hughes
704dfbfec4 am 48fa06f3: am f6a67139: Merge "Correct Date format for el_GR, sv_SE and tr_TR locales"
* commit '48fa06f34fe3098fd820b97d9d28c9f27f8591de':
  Correct Date format for el_GR, sv_SE and tr_TR locales
2013-06-17 13:41:24 -07:00
Romain Guy
fb5c905097 Merge "Cancel layer update when a layer is about to be destroyed Bug #9310706" 2013-06-17 20:39:45 +00:00
Elliott Hughes
48fa06f34f am f6a67139: Merge "Correct Date format for el_GR, sv_SE and tr_TR locales"
* commit 'f6a671394ca3d269835d5f5b882b46f9539e9a96':
  Correct Date format for el_GR, sv_SE and tr_TR locales
2013-06-17 13:38:59 -07:00
Elliott Hughes
f6a671394c Merge "Correct Date format for el_GR, sv_SE and tr_TR locales" 2013-06-17 20:36:53 +00:00
howardb
5ad2451f9f Correct Date format for el_GR, sv_SE and tr_TR locales
Amend DateFormat.getDateFormat to CLDR data from icu4c
instead of locale specific resource entries which are incorrect
for several locales.

No CTS tests are added as they require changing the locale which
is not currently possible.

Bug: https://code.google.com/p/android/issues/detail?id=56385

Change-Id: Ibd11c7fd9b595e19a3e2bf508e1585aa50067e03
Signed-off-by: howardb <android@howardb.com>
2013-06-17 13:35:29 -07:00
Romain Guy
e93482f5ea Cancel layer update when a layer is about to be destroyed
Bug #9310706

Change-Id: I73eea6314c326f15a979617e3a05b525935f0d3f
2013-06-17 13:35:03 -07:00
Chris Craik
61e1ca68fa Merge "Check for layer renderer in flush" 2013-06-17 20:16:37 +00:00
Chris Craik
8c6e17c2a9 Check for layer renderer in flush
bug:9310706

In some cases flush will occur after a layer is destroyed. Avoid
trying to draw after putting the layer in the layer cache.

Change-Id: I55d66f420e7354fe552c82eb3145a7d91b4441e3
2013-06-17 13:04:45 -07:00
Christopher Tate
0a1e9611e9 Merge "Some system apps are more system than others" 2013-06-17 20:01:53 +00:00
Victoria Lease
e8cb257d0e Merge "make setHinting(HINTING_ON) kNormal_Hinting" 2013-06-17 19:56:04 +00:00
Christopher Tate
ccbf84f44c Some system apps are more system than others
"signatureOrSystem" permissions are no longer available to all apps
residing en the /system partition.  Instead, there is a new /system/priv-app
directory, and only apps whose APKs are in that directory are allowed
to use signatureOrSystem permissions without sharing the platform cert.
This will reduce the surface area for possible exploits of system-
bundled applications to try to gain access to permission-guarded
operations.

The ApplicationInfo.FLAG_SYSTEM flag continues to mean what it is
says in the documentation: it indicates that the application apk was
bundled on the /system partition.  A new hidden flag FLAG_PRIVILEGED
has been introduced that reflects the actual right to access these
permissions.

At some point the "system" permission category will be
renamed to "privileged".

Bug 8765951

Change-Id: I6f0fd9cdb9170e076dfc66d83ecea76f8dd7335d
2013-06-17 12:47:35 -07:00
Craig Mautner
d8bb7268e1 Merge "Don't bring stack forward when moving tasks." 2013-06-17 19:34:11 +00:00
Craig Mautner
d213beae75 Don't bring stack forward when moving tasks.
Change-Id: I222eda9e3ea62119c8948a99a63de55b13ca69f4
2013-06-17 12:30:32 -07:00
Victoria Lease
8870538f7c make setHinting(HINTING_ON) kNormal_Hinting
Previously, the default hinting mode for a freshly-constructed Paint
object is equivalent to Skia's kNormal_Hinting mode, in which font
hints are respected if available. Calling
Paint.setHinting(HINTING_ON), however, is equivalent to setting
Skia's kSlight_Hinting mode, in which font hints are ignored in
favour of freetype-generated autohints.

This discrepancy is bad for a variety of reasons:
- Once Paint.setHinting() has been called, it is impossible to return
  to the default hinting level.
- Calling paint.setHinting(otherPaint.getHinting()) can result in
  paint having a different hinting level than otherPaint.
- Paint.setHinting(HINTING_ON) actually results in font hints being
  ignored, which is perhaps the opposite of the intended behaviour.

This commit resolves these discrepancies by making HINTING_ON
correspond to Skia's kNormal_Hinting setting.

Change-Id: Iefb8e051ef53bea783e6f3be37748985ec397bc5
Bug: 9466164
2013-06-17 11:57:37 -07:00
Romain Guy
4ffa23379f Merge "Lazily allocate seldom-used data structures" 2013-06-17 18:34:34 +00:00
Romain Guy
6410c0aaf1 Lazily allocate seldom-used data structures
Change-Id: I8d6b9d2d821168329206c01ed6539a1466af272f
2013-06-17 11:34:09 -07:00
Baligh Uddin
c8d5f0372e Merge "Import translations. DO NOT MERGE" 2013-06-17 18:31:33 +00:00
Romain Guy
65aaec3d39 Merge "Lazily allocate seldom-used data structures" 2013-06-17 18:23:42 +00:00
Romain Guy
16c0318474 Lazily allocate seldom-used data structures
Change-Id: I8d6b9d2d821168329206c01ed6539a1466af272f
2013-06-17 11:21:58 -07:00
Chris Craik
2a0451e54a Merge "Fix clip merging behavior" 2013-06-17 18:11:34 +00:00
Primiano Tucci
4aaf8b3d4b Merge "Deprecate webview.use_chromium and introduce webview.force_provider." 2013-06-17 17:36:38 +00:00
Vladimir Marko
aa5fe3d206 Avoid unnecessary FindClass("java/lang/String").
Use previously retrieved global reference instead.
Check for NULL after creating the global reference.

Change-Id: I21670d2ef0f63ddb5801dd21e7e56359e5519479
2013-06-17 17:54:58 +01:00
Primiano Tucci
eb665d66ba Deprecate webview.use_chromium and introduce webview.force_provider.
The new webview.force_provider property, when set, enforces the use
of Chromium or classic WebView, regardless the value of the
persist.sys.webview.exp (accessible through the settings UI).
This will help telemetry tests to run correctly regardless of UI
settings.

Change-Id: Ica5a0faa7f7539c22332cac5a8946f11fb7df6b2
2013-06-17 16:03:55 +01:00
Baligh Uddin
f46795a707 Import translations. DO NOT MERGE
Change-Id: I3ba51d668bb8a1d650bf442f2012cc25fab115dc
Auto-generated-cl: translation import
2013-06-17 07:08:24 -07:00
Craig Mautner
636f119e2f Merge "Complete doDie() before executing addView()." 2013-06-17 13:59:50 +00:00
John Spurlock
72b29c3abb Merge "More hideytoast stabilization." 2013-06-16 15:36:37 +00:00
The Android Open Source Project
afea5dfb6d am b832dfe7: (-s ours) Reconcile with jb-mr2-release jb-mr2-zeroday-release - do not merge
* commit 'b832dfe72f1bbdec778b50f258eae29f17fd8e0b':
  Temporarily restore some support for icon==0 notifications.
2013-06-16 07:49:22 -07:00
The Android Open Source Project
b832dfe72f Reconcile with jb-mr2-release jb-mr2-zeroday-release - do not merge
Change-Id: I425b496bc37821b3d9c10f92b5799dd6010b89db
2013-06-16 07:44:02 -07:00
The Android Automerger
070a260153 merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev 2013-06-16 05:55:34 -07:00
Baligh Uddin
5e06d17c75 am 5bc35c7a: (-s ours) am 9e7926f2: am 4a9e4226: (-s ours) Import translations. DO NOT MERGE
* commit '5bc35c7a50e7b5c55c88c8aa301a9277e17a4d34':
  Import translations. DO NOT MERGE
2013-06-15 19:26:03 -07:00
Baligh Uddin
5bc35c7a50 am 9e7926f2: am 4a9e4226: (-s ours) Import translations. DO NOT MERGE
* commit '9e7926f28a353f55042247529372848267516f36':
  Import translations. DO NOT MERGE
2013-06-15 19:23:44 -07:00
Baligh Uddin
3c1000c620 am bdb795ba: (-s ours) am 2f9807b8: Import translations. DO NOT MERGE
* commit 'bdb795bab1c16e27ec86f303a96490805e4eb8dc':
  Import translations. DO NOT MERGE
2013-06-15 19:22:30 -07:00
Baligh Uddin
bdb795bab1 am 2f9807b8: Import translations. DO NOT MERGE
* commit '2f9807b8d71fdc1a2336c22e89148325281b684e':
  Import translations. DO NOT MERGE
2013-06-15 19:20:22 -07:00
Baligh Uddin
9e7926f28a am 4a9e4226: (-s ours) Import translations. DO NOT MERGE
* commit '4a9e422680727cd1a8fd683bae98c62baa0710fd':
  Import translations. DO NOT MERGE
2013-06-15 19:19:07 -07:00
Baligh Uddin
3db7115886 Merge "Import translations. DO NOT MERGE" 2013-06-16 02:17:36 +00:00
Daniel Sandler
0e57464d90 Temporarily restore some support for icon==0 notifications.
This is WRONG WRONG WRONG but certain apps rely on it to
poke the LED and so forth. In a future release this will
stop working.

Bug: 8623399
Change-Id: I49bb8ccc6891b1398ceec94c64d6c3a510ad1c38
2013-06-15 12:20:55 -07:00
Craig Mautner
8f303ad970 Complete doDie() before executing addView().
If WindowManager.addView() is called soon after
WindowManager.removeView() then the MSG_DIE in the ViewRootImpl
mHandler queue may not have had time to execute. This will cause
WindowManagerGlobal to throw an exception since the DecorView
is being added before it has been removed.

This fix detects that situation by saving all Views that are queued
up for ViewRootImpl.doDie(). If addView() is called for one of these
Views then doDie() is called immediately and not called when MSG_DIE
eventually makes its way through the queue.

This change also makes doDie() non-reentrant by only allowing it to
carry out its functions the first time it is called. This keeps
dispatchDetachedWindows() from causing destruction by recursively
calling back into doDie(). This is usually caused by calling
dismissDialog() from within dispatchDetachedWindow().

Fixes bug 9404689.
Fixes bug 9406261.

Change-Id: Id4fc8054e273215d82366428fef51b9ba98385fe
2013-06-15 10:52:45 -07:00
John Spurlock
743356ad1a More hideytoast stabilization.
Back to Gravity.TOP workaround to keep the hideybar confirmation
toast stable during navbar enter/exit animation.

Reverts part of Ifa380e387389ed9917336ad19dfde49f67a5fb10

Change-Id: I1e2e54851f2030603d43df611a616101f19bdab3
2013-06-15 11:58:08 -04:00
John Spurlock
de44c828b5 Merge "Remove more unused statusbar.policy items." 2013-06-15 13:03:46 +00:00
John Spurlock
0f6006405d Merge "Remove unused TrackingPatternView." 2013-06-15 13:02:40 +00:00
John Spurlock
5da2651914 Merge "Remove unused CloseDragHandle." 2013-06-15 13:01:44 +00:00
John Spurlock
f5793328b3 Merge "Remove unused CarrierLabel." 2013-06-15 13:00:45 +00:00