139855 Commits

Author SHA1 Message Date
ztenghui
7e7ea9da67 Make AnimatedVectorDrawable public.
Clean up some useless VectorDrawable functions.
Add comments, too.

Change-Id: I8cc2165d14d09fd71f5830c4f61f9e8ac1d7c8da
2014-06-23 09:36:52 -07:00
ztenghui
eb034fbca4 AVD now support path morphing.
Basically extended the ValueAnimator to support a new type: pathType.
Add the PathDataEvaluator internally to interpolate path data.
Update test to show the path morphing.

Change-Id: I89db0199cbc12e3041790a6115f3f50b80213cdb
2014-06-20 15:16:47 -07:00
Raph Levien
17e64ffd85 Merge "Use Minikin grapheme cluster breaking" 2014-06-17 21:43:29 +00:00
Baligh Uddin
df2cdc951e am a77addb4: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-preview-dev
* commit 'a77addb428143d1bb648279e5cbe873d37786c65':
  Import translations. DO NOT MERGE
2014-06-19 18:54:41 +00:00
Baligh Uddin
42b8c79a33 am 888b8acf: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-preview-dev
* commit '888b8acfb67c6d0b07a9f206ef27f5d3bf78b285':
  Import translations. DO NOT MERGE
2014-06-19 18:54:35 +00:00
Baligh Uddin
24d18db278 am 32881106: (-s ours) Import translations. DO NOT MERGE
* commit '328811068089bca8e827af97504b7ae67844f9c8':
  Import translations. DO NOT MERGE
2014-06-19 18:54:29 +00:00
Raph Levien
e368b6bcfd Use Minikin grapheme cluster breaking
This patch uses the Minikin implementation of grapheme cluster breaking,
which improves the behavior of left and right arrow keys for moving the
cursor. Among other things, it fixes the behavior of jumping over the
"fi" ligature in Roboto.

Part of a fix for b/15653110 Improve behavior of arrow keys in EditText

Change-Id: I80ca54c973d85c49f23b81d51a0fe07a7a853d81
2014-06-19 11:51:54 -07:00
Raph Levien
3f0d616722 Simple implementation of drawPosText
The existing implementation of drawPosText is broken in various subtle
ways, in any case doesn't work with Minikin. This patch just implements
it by drawing a separate run for each Unicode character, which should
have the least surprising results for complex scripts such as Khmer.

Part of b/11750374 Resolve TODO items for Minikin

Change-Id: I874ae3c163f0cbe3cdf0160564fab04305aed5aa
2014-06-19 11:22:45 -07:00
Baligh Uddin
041a6e315c Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-19 00:17:11 +00:00
Andy McFadden
45b161d24d Merge "Make two Display methods public" 2014-06-18 22:47:18 +00:00
Baligh Uddin
6ef41d58c9 Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-18 18:28:24 +00:00
Baligh Uddin
9211f148a4 Merge "Import translations. DO NOT MERGE" 2014-06-18 18:28:24 +00:00
Baligh Uddin
de978fe283 Merge "Import translations. DO NOT MERGE" 2014-06-18 22:47:18 +00:00
Baligh Uddin
09b75f9aba Merge "Import translations. DO NOT MERGE" 2014-06-19 00:17:11 +00:00
Baligh Uddin
cb70d53859 Merge "Import translations. DO NOT MERGE" 2014-06-19 00:17:11 +00:00
Baligh Uddin
e1f7f2a78a Merge "Import translations. DO NOT MERGE" 2014-06-18 18:28:24 +00:00
Raph Levien
580ecd4b2b Merge "Simple implementation of drawPosText" 2014-06-19 14:48:39 +00:00
ztenghui
65eb8e844e Merge "Add path support into xml files for PathInterpolator and ObjectAnimator." 2014-06-19 14:48:39 +00:00
ztenghui
cf4832f69c Add path support into xml files for PathInterpolator and ObjectAnimator.
The test case is showing that AnimatedVectorDrawable is able to use path to
define time interpolator and object movement now.

Change-Id: If3c0418265d0fd762c8f5f0bb8c39cce3ad34ef3
2014-06-19 10:56:28 -07:00
Adam Powell
adb11e0732 Merge "Fix ActionBar#isShowing when called before first layout" 2014-06-19 14:48:39 +00:00
Adam Powell
f65bfb700b Fix ActionBar#isShowing when called before first layout
Fix a regression introduced by the new hide offset API addition where
an action bar height of 0 (not yet measured) would cause the bar to be
considered hidden.

Bug 14574446

Change-Id: Ic8e22923ab59df6078136daa336e074c4b7adaf5
2014-06-19 10:55:28 -07:00
John Reck
af0b9c83a3 Merge "Revert changes to invalidateChild" 2014-06-19 17:43:18 +00:00
John Reck
96bb8adf4c Revert changes to invalidateChild
Bug: 15682142

 Apparently it's still necessary to invalidate the parent if a child
 is a hardware layer

Change-Id: Iaf4c1b49debd1b78b1fc8a095f685ddfcf752373
2014-06-19 10:54:40 -07:00
vandwalle
150bfcd73d Merge "initial tuning" 2014-06-19 14:48:39 +00:00
Roozbeh Pournader
33bee10eeb Merge "Swap the chess king and queen glyphs in Droid Sans Fallback." 2014-06-19 14:48:39 +00:00
RoboErik
d3c8642dae Remove some more old code and fix Media command
Removes some more hidden apis from AudioService/Manager. This also
fixes up Media.java to support commands for the new service to help
with debugging. Also fixes a couple bugs that were found while fixing
up Media.

Change-Id: I68e4aa80a4de430b98236aafc883664b9432c62b
2014-06-19 10:37:00 -07:00
Eric Laurent
abd7b81b88 Merge "AudioTrack: Add support for compressed audio" 2014-06-19 14:48:39 +00:00
Eric Laurent
ff0d9f098e AudioTrack: Add support for compressed audio
Add AudioFormat encoding definitions for compressed audio
and modify AudioTrack to accept compressed audio data.

Bug: 9428304.

Change-Id: Ib85a4d0d78af45924328f4d2d2ffebe83f4a00c5
2014-06-19 10:13:33 -07:00
vandwalle
d524c78d93 initial tuning
Change-Id: Iffe899225899e7805478a507ce270d537dc84abd
2014-06-18 20:25:54 -07:00
Roozbeh Pournader
de0fe2daaf Swap the chess king and queen glyphs in Droid Sans Fallback.
Also remove the unused DroidSansFallbackLegacy.ttf.

Based on public bug report
https://code.google.com/p/android/issues/detail?id=71389.
The original glyphs were mistakenly swapped.

Following is the code that was run on the font:

import sys
from fontTools import ttLib
WHITE_KING = 0x2654
WHITE_QUEEN = 0x2655
BLACK_KING = 0x265A
BLACK_QUEEN = 0x265B
font_name = sys.argv[1]
font = ttLib.TTFont(font_name)
for table in font['cmap'].tables:
  cmap = table.cmap
  cmap[WHITE_KING], cmap[WHITE_QUEEN] = cmap[WHITE_QUEEN], cmap[WHITE_KING]
  cmap[BLACK_KING], cmap[BLACK_QUEEN] = cmap[BLACK_QUEEN], cmap[BLACK_KING]
font.save(font_name+'-fixed')

Bug: 15643969
Change-Id: Iacee3d72ef8146016e15828f051822460ae2ff4e
2014-06-18 18:15:22 -07:00
Andy McFadden
77db7d09ff Make two Display methods public
Un-hide getAppVsyncOffsetNanos() and getPresentationDeadlineNanos().

Bug 14612039

Change-Id: I76bee166b7bda3b96db36ffcb8d946d2b713ac09
2014-06-18 10:45:27 -07:00
Baligh Uddin
16d24bf417 Import translations. DO NOT MERGE
Change-Id: Ib613546e110970b008f942f4291f6ccb8283847c
Auto-generated-cl: translation import
2014-06-18 10:25:37 -07:00
Baligh Uddin
187f3efe6e Import translations. DO NOT MERGE
Change-Id: Id0dea37ff97571e1bd293705c9b63fd839ed1c70
Auto-generated-cl: translation import
2014-06-18 10:23:21 -07:00
Baligh Uddin
7835f79b54 Import translations. DO NOT MERGE
Change-Id: I7e78e5e9d8a5517ce9c6587869b82c0be2f59e4f
Auto-generated-cl: translation import
2014-06-18 10:15:41 -07:00
Baligh Uddin
127b072b61 Import translations. DO NOT MERGE
Change-Id: I787cdcf9f238c90c5f195a434a3ae73fe2eb7e87
Auto-generated-cl: translation import
2014-06-18 10:14:46 -07:00
Baligh Uddin
f413ccbbab Import translations. DO NOT MERGE
Change-Id: If9bee5ebdc80d406105b43be2c90de77cd4dab76
Auto-generated-cl: translation import
2014-06-18 09:46:21 -07:00
Baligh Uddin
b8b4998e71 Import translations. DO NOT MERGE
Change-Id: I7f81acd62d7f32ba75bfa2e4a963d5de438f26f9
Auto-generated-cl: translation import
2014-06-18 09:41:46 -07:00
Baligh Uddin
d132bb3f28 Import translations. DO NOT MERGE
Change-Id: Id7dc159049bac4f968f722d3f029616c80f4552e
Auto-generated-cl: translation import
2014-06-18 09:39:46 -07:00
Baligh Uddin
e52ee5688d Import translations. DO NOT MERGE
Change-Id: I78454917ebab5e086504ea688c5b6b05991bb27d
Auto-generated-cl: translation import
2014-06-18 09:37:07 -07:00
Christoph Studer
c08cd7cc65 SysUI: Hide grouped notifications
Drop grouped notification received from NoMan.

Bug: 15188947
Change-Id: I8bdb99abd216d771d435d18b2018c843e7750d18
2014-06-17 23:14:12 +00:00
Alan Viverette
e35a0b30ac Merge "Throw exception when a bad adapter is passed to Spinner" 2014-06-17 22:59:52 +00:00
Alan Viverette
d52697784f Throw exception when a bad adapter is passed to Spinner
BUG: 13570583
Change-Id: Ia38fa907bad7634f79d0da15b885905de23c9c46
2014-06-17 16:43:45 -07:00
Alan Viverette
93afb5f1d9 Update accessibility focus color
BUG: 15453163
Change-Id: I1504246cfdf7c4af2c9817c47b6bb71f7dc53573
2014-06-17 16:27:40 -07:00
Robin Lee
aab72f3b0a Merge "Revert "Revert "Publish DevicePolicyManager CA certificate APIs""" 2014-06-17 21:55:55 +00:00
Robin Lee
306fe08ce2 Revert "Revert "Publish DevicePolicyManager CA certificate APIs""
This reverts commit 792b270dbdc980cfe04e8d461bf00a1f45b5e936.

Change-Id: I18c7e0eca39868230cd8e4f4bbeb3c44ff9e8b78
2014-06-19 14:04:24 +00:00
George Mount
54fb7e94d0 Merge "Handle interruptions in Explode and Slide transitions." 2014-06-19 00:17:11 +00:00
George Mount
1f8c01181b Handle interruptions in Explode and Slide transitions.
Bug 15618842

Change-Id: I22431b59c6516ee330d897791b79fa9ed17ba727
2014-06-18 16:48:45 -07:00
George Mount
52cd83e6cf Merge "Don't make translucent window opaque during activity transition." 2014-06-18 22:47:18 +00:00
George Mount
3cc716c445 Don't make translucent window opaque during activity transition.
Bug 15535332

Returning transitions will continue to not work until
Bug 14869070 is fixed.

Change-Id: If0128b58eb852b037924ae6dea8e975fedbe5be7
2014-06-18 20:21:47 +00:00
Chris Craik
e48df00575 Merge "Clean up tessellation cache in prep for other tesselation types" 2014-06-18 19:24:54 +00:00