128653 Commits

Author SHA1 Message Date
Raph Levien
37938fca72 Enable elegant text metrics in Quantum theme
This changes the default quantum theme to use elegant text metrics,
which make use of a bit of extra vertical space to better render complex
scripts. It depends on the new elegantMetrics text attribute being
available.

Change-Id: Ia693f5129057fe8b9a633609c72eef388b988fea
2014-04-17 11:16:56 -07:00
Raph Levien
53c0077256 Add elegantTextHeight text appearance attribute
This patch adds an elegantTextHeight text appearance attribute and
plumbs it through to the paint. This attribute selects the elegant
variant of fonts (when appropriate, which is typically Arabic and indic
scripts), and also specifies larger vertical metrics, to avoid clipping.

The intent is for this to be the default for quantum themes, but this
patch doesn't change any default behavior, just adds the attribute.

The larger vertical metrics are applied to top and bottom, but should
not affect line spacing in the common case. Also, with the setting,
metrics are no longer dependent on the font, so setting a custom font
will preserve layout and spacing.

Change-Id: If3b7d41f141deff50ca078f479ca90c2aa07829a
2014-04-17 11:16:46 -07:00
Stephen Hines
a48985349c Merge "Fix improper use of JNI_ABORT for operations where Java objects are written." 2014-04-17 18:15:38 +00:00
Alan Viverette
f805b40c44 Merge changes Ia2bf4d17,I8242523d
* changes:
  Fix alert dialog alignment and touch feedback masking
  Fix VectorDrawable states
2014-04-17 18:06:57 +00:00
Vinit Deshapnde
b5ee95edf9 Don't reset country code once it is persisted
This change simply ignores resetting of country code by cellular
networks to avoid disconnecting existing wifi connections. It also
defers setting newly found country code until after existing Wifi
connection is torn down.

Also removes some dead code related to resetting of country codes.

Bug: 13894807
Change-Id: Ie2fcfdd4b3be8ba94542772c132fb1acb6a2c683
2014-04-17 11:05:21 -07:00
Leon Scroggins
7085d138b2 Merge "Call SkShader::isOpaque() to determine opaqueness." 2014-04-17 17:25:22 +00:00
Jason Sams
5170476c5b am a4af5726: am 112d1b94: Merge "Add BiCubic resize instrinsic"
* commit 'a4af5726c4c8c882ca65a049bfa824922609d464':
  Add BiCubic resize instrinsic
2014-04-17 17:07:48 +00:00
Chris Craik
ddd4a9b9c3 Merge "Revert "Add convenience methods, to encourage usage of ALL_SAVE_FLAG"" 2014-04-17 17:06:22 +00:00
Ji-Hwan Lee
e8ee783541 Merge "Minor fix to remove verbose logcat output in SyncStorageEngine" 2014-04-17 17:04:24 +00:00
Jason Sams
a4af5726c4 am 112d1b94: Merge "Add BiCubic resize instrinsic"
* commit '112d1b94ee8456dba16842e6b964eb35aef95818':
  Add BiCubic resize instrinsic
2014-04-17 17:02:10 +00:00
George Mount
99d2ffa126 Merge "Split Activity Transitions out of PhoneWindow." 2014-04-17 16:51:59 +00:00
George Mount
31a217290c Split Activity Transitions out of PhoneWindow.
Bug 13622834
Made it possible to use shared elements without making
Views invisible.

Change-Id: I1e85c6bc19e634a9af225ad7f0309b4f003ea462
2014-04-17 09:49:25 -07:00
Chris Craik
091ddb1374 Revert "Add convenience methods, to encourage usage of ALL_SAVE_FLAG"
This reverts commit 39b7353acacf08a3c0204a9ec122fff420e53310.

Change-Id: I732eab8a2843dd23c86bd1526ec95db5352d39a0
2014-04-17 16:37:23 +00:00
Chris Craik
0932cf87c1 Merge "Deprecate color array drawBitmap methods" 2014-04-17 16:31:16 +00:00
Chris Craik
2632f19728 Merge "Add convenience methods, to encourage usage of ALL_SAVE_FLAG" 2014-04-17 16:30:26 +00:00
Robin Lee
56a0a269cd Merge "Allow ProfileOwner apps to manage app restrictions" 2014-04-17 15:54:54 +00:00
Baligh Uddin
177d9b9a25 am b279f527: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
* commit 'b279f5272e2c7554aeab930ba0aabab12efff9e2':
  Import translations. DO NOT MERGE
2014-04-17 15:53:11 +00:00
Baligh Uddin
5f0f54871f Merge "Import translations. DO NOT MERGE" 2014-04-17 15:49:05 +00:00
Baligh Uddin
cdb6bb59c7 Merge "Import translations. DO NOT MERGE" 2014-04-17 15:49:05 +00:00
Baligh Uddin
0c4d25f799 Merge "Import translations. DO NOT MERGE" 2014-04-17 15:48:48 +00:00
Baligh Uddin
16b5480bd0 Merge "Import translations. DO NOT MERGE" 2014-04-17 15:48:45 +00:00
Baligh Uddin
b279f5272e Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-04-17 15:48:38 +00:00
Baligh Uddin
715ec84d4c Merge "Import translations. DO NOT MERGE" 2014-04-17 15:48:37 +00:00
Baligh Uddin
b1a19c5134 Merge "Import translations. DO NOT MERGE" 2014-04-17 15:48:37 +00:00
Baligh Uddin
48bd1b195f Merge "Import translations. DO NOT MERGE" 2014-04-17 15:48:29 +00:00
Baligh Uddin
72f8056db1 Merge "Import translations. DO NOT MERGE" 2014-04-17 15:48:22 +00:00
Robin Lee
66e5d96cf9 Allow ProfileOwner apps to manage app restrictions
Simple wrapper around the UserManager.{get|set}ApplicationRestrictions
APIs. Also added a new Intent to signal to running apps that the set
of restrictions has changed since startup.

Change-Id: Ifd108108a73f87325b499d9de2e1b2aacc59b264
2014-04-17 15:58:03 +01:00
John Spurlock
9b5d028c69 Merge "Interim quick settings update." 2014-04-17 14:38:05 +00:00
John Spurlock
73203ebf97 Interim quick settings update.
Make existing QS panel available via pulldown from header
(or keyguard status view on keyguard), update the affordances
as a hint.

Don't allow QS to scroll, cap to max rows.

Add scrim over panel to indicate that this is purely temporary.

Bug:14081801
Bug:14059974
Change-Id: I166033975cbc44b91f45ee70ea5c7540390670dd
2014-04-17 10:26:45 -04:00
Skia_Android Canary Bot
5932b0d8fc Call SkShader::isOpaque() to determine opaqueness.
It is invalid to call SkShader::getFlags() before calling
SkShader::setContext() - it will always return 0. Instead, call
SkShader::isOpaque().

Change-Id: If35108dc7f0eca55d2ec8466b8a50fd54dfb13a2
2014-04-17 09:55:59 -04:00
Adrian Roos
379ac2d8b6 Merge "Fix broken status bar when activity is showing above keyguard" 2014-04-17 13:54:57 +00:00
Adrian Roos
25ab3d9438 Fix broken status bar when activity is showing above keyguard
Bug: 14077213
Change-Id: I5d45fd1780498983995a469d0799e024ca25f3c7
2014-04-17 15:46:41 +02:00
Adrian Roos
c8ba7d3f87 Make camera affordance fly away
Stop gap measure to differenciate the accepted vs rejected
response of the camera affordance on the lockscreen.

Bug: 14081010
Change-Id: I04d170aa3f07ce5f440fb1d27f7c62ef2a903a03
2014-04-17 15:09:41 +02:00
Griff Hazen
84f4adc9a5 Merge commit '59dfbb91' into klp-modular-dev-plus-aosp
Remove all changes from the merge to stop propagation.

Conflicts:
	tools/layoutlib/bridge/src/android/content/res/AssetManager_Delegate.java
2014-04-17 02:53:18 -07:00
Stephen Hines
414fa2c93a Fix improper use of JNI_ABORT for operations where Java objects are written.
In these RS API calls, it is possible (and very likely) that some Java objects
are written to via JNI calls into the RS driver. These writes can end up being
discarded if we specify JNI_ABORT, particularly if the Java object has been
moved due to GC. The change introduces a readonly mode for some macro calls
and updates other JNI callers to appropriately skip JNI_ABORT.

Change-Id: I8c5f2ae959b3fbc9008c9d2ac4542f2ebab29b06
2014-04-17 01:02:42 -07:00
Selim Cinek
19cadc203e ViewGroup now applies clipBounds to its children
Fixed a bug where a ViewGroup did not clip its children to the
set clipBounds unless willNotDraw was set to true.

Bug: 14104527
Change-Id: I4892639bb860c1767f1ae6892f3e69525691e55e
2014-04-17 09:55:11 +02:00
Deepanshu Gupta
59dfbb91ca Fix build [DO NOT MERGE]
The branch is missing some CLs for 64-bit support. So, until they are
added, this change will fix the build.

Change-Id: Ia838caf60ca49b406101a3fb48a96afdcfb30c66
2014-04-17 00:14:28 -07:00
Ji-Hwan Lee
886113dfca Minor fix to remove verbose logcat output in SyncStorageEngine
Change-Id: I93b936202a99338329e73a41d4c1651369ecb70f
2014-04-17 14:16:38 +09:00
Sungsoo Lim
33ac0dfc9f Merge "Replace sessionStateMap with sessionTokens." 2014-04-17 04:53:43 +00:00
Sungsoo Lim
7de5e23471 Replace sessionStateMap with sessionTokens.
Change-Id: I6ec3390ca31cd17da35f0b0b83b1b09600d7d6d1
2014-04-17 13:47:14 +09:00
John Reck
c731435649 Merge "Add missing resume() call" 2014-04-17 04:36:52 +00:00
John Reck
3b3d66ef68 Merge "Clear mIgnoreDirtyState after draw" 2014-04-17 04:33:15 +00:00
John Reck
6f07a0dc87 Add missing resume() call
Bug: 14087850

Change-Id: Ic555ca6027e617c7ed6e7e66b5cf713c36ed1c6c
2014-04-16 21:32:25 -07:00
John Reck
6313b9259d Clear mIgnoreDirtyState after draw
Change-Id: I6dfb39e0ebc9a5732678d735d9bc5e8813926096
2014-04-16 21:32:24 -07:00
Chris Craik
cd23df6a08 Deprecate color array drawBitmap methods
Change-Id: I3339214ddaa7a32e9ddbbb1a074fa98e393eaadf
2014-04-16 18:56:35 -07:00
Jeff Brown
92207df753 Add support for dynamically setting the virtual display surface.
Previously, the surface that backs a virtual display had to be set
at the time when the display was created.  This change now makes
it possible to set or remove the surface later.  The virtual display
is treated as if it were "off" while no surface is attached to it.

Change-Id: Ib4fdbbb8b4ee79f0fb9ceb648f9bda4a8fa6a2ca
2014-04-16 18:45:05 -07:00
Jason Sams
112d1b94ee Merge "Add BiCubic resize instrinsic" 2014-04-17 01:22:19 +00:00
Chris Craik
39b7353aca Add convenience methods, to encourage usage of ALL_SAVE_FLAG
Change-Id: I29aefd70071ff49a259db5c06dded3cd531f6ef1
2014-04-16 18:05:52 -07:00
Alan Viverette
dccbe8b02a Fix alert dialog alignment and touch feedback masking
BUG: 13905057
Change-Id: Ia2bf4d170370c83f4ea863ecae24fffecc6fc020
2014-04-16 17:56:29 -07:00
Scott Main
2b7345e4e3 am b04f3f74: am cb38ee51: am a106923e: Merge "add image itemprop to specify image for search result snippet" into klp-docs
* commit 'b04f3f749b565ca075066bbc1fe89153941eaa65':
  add image itemprop to specify image for search result snippet
2014-04-17 00:28:17 +00:00