143143 Commits

Author SHA1 Message Date
John Spurlock
eb2727bb2f Volume: new coat of paint.
- Two sections (lighter header, darker detail) like QS.
- Fewer text variants.
- Remove backgrounds for segmented buttons.
- Remove alarm warning background.
- Fix slider-only style.
- Ensure all touch-targets are 48dp.

Bug:16419191

Change-Id: I220f3a736eba3dd7a1b9ff58a8fe4bf3d21db61a
2014-07-20 02:50:34 -04:00
Baligh Uddin
802603572c Merge "Remove deprecated locales - DO NOT MERGE" into lmp-dev 2014-07-17 19:13:40 +00:00
Baligh Uddin
50af6d7ae6 Remove deprecated locales - DO NOT MERGE
Change-Id: Iac5489639edae2373ed0ce92f7d0fe22629a249a
2014-07-19 13:05:12 -07:00
John Spurlock
7b41467704 Zen mode filtering should use new usage constants.
Refactor stream-based calls to usage-based calls.

Bug:15279516
Change-Id: I3f7757d8123c14670e2ad5f8e6aa4e9803efe7ec
2014-07-19 11:57:51 -04:00
Adam Powell
781104d874 Merge "Don't apply the ActionBar style to a Toolbar as a result of setActionBar" into lmp-dev 2014-07-18 18:24:25 +00:00
Adam Powell
2aa09a94dd Don't apply the ActionBar style to a Toolbar as a result of setActionBar
While this is a convenient idea, it effectively means that any styling
directly applied to a Toolbar in a layout gets stomped by the
theme-global ActionBar style. Obey the more local, specific styling
from the Toolbar instead.

Change-Id: Ief6a7cb90052bdced87f1dc0925c1dfbc0df4792
2014-07-19 16:01:12 -07:00
Adam Powell
5abc26e00a Don't overlay the Material.Light theme's homeAsUpIndicator attribute
Current API expects the default ActionBar styles not to have the
homeAsUpIndicator defined, thereby inheriting it from the theme itself
when changed there. Remove the stray definition in the light material
action bar style that was blocking this from happening.

Bug 15458606

Change-Id: Ia7fdbde814582a1d3eb8743bf76bc019f6ac7488
2014-07-19 15:56:32 -07:00
Yohei Yukawa
ad8f1673f6 Merge "Add FLAG_CURSOR_ANCHOR_INFO_IMMEDIATE support in TextView" into lmp-dev 2014-07-17 21:15:46 +00:00
Yohei Yukawa
ff328ae743 Add FLAG_CURSOR_ANCHOR_INFO_IMMEDIATE support in TextView
This CL adds an initial support of
CursorAnchorInfoRequest#FLAG_CURSOR_ANCHOR_INFO_IMMEDIATE for
TextView.

This implementation is not highly optimized yet, but it just
works as it should.

BUG: 16379288
Change-Id: Iecb32b4c4dcd7db14d8b2a0d929e1d64e161bc58
2014-07-19 12:59:52 +09:00
John Reck
c01bd1167a Return Animator instead of ValueAnimator
Change-Id: I29a7cfdc7ffbb3a4d33f9e64f9d7ca791f5c947c
2014-07-19 02:00:15 +00:00
Fabrice Di Meglio
6eed108eeb Revert "Fix LocalePicker background"
This reverts commit 6bbea8cf4252839d0c6f2a3152f506a7b2b2d753.

Change-Id: I430c725c8e5987fb643528594ef3a9a83827e7be
2014-07-19 01:58:09 +00:00
Wei Wang
685c175890 More API modification of BLE APIs (1/2).
Changed include:

1) Add serviceDataUuid to filter so it matches sanRecord and
AdvertiseData.
2) Add raw bytes to ScanRecord and make ScanResult take a ScanRecord
instead of raw bytes.
3) Change from setServiceUuid(List) to addServiceUuid(ParcelUuid).
4) Added include device name
5) Removed service not registered and added ADVERTISE_DATA_TOO_LARGE.
6) Fixed a few comments.

Change-Id: Ibbe07183b1293835c4a84728d1cd2d61e5d627d3
2014-07-18 18:31:00 -07:00
Wonsik Kim
6b11ea1ab1 Merge "TIF: Reorder TvInputInfo types from old to new." into lmp-dev 2014-07-17 21:07:39 +00:00
Dongwon Kang
1034df8c63 TIF: Reorder TvInputInfo types from old to new.
This change is internal cleanup change. The purpose of this change is
to reorder the types so that new types can be added at the end of the
type list later.

Change-Id: I377c98dc397ef75c3473ee5133b2ffb49d278a50
2014-07-19 18:48:32 +09:00
Wonsik Kim
6e0b960f43 Merge "TIF: misc fix for TvInputHal" into lmp-dev 2014-07-17 21:07:39 +00:00
Wonsik Kim
610ccd9117 TIF: misc fix for TvInputHal
- Fixed synchronization issues
- Add a few debugging logs
- Removed unused types from TvInputHal.

Change-Id: Ia5eb8a496cc3e98cb2c2ed0f77a6a313d33bf6c9
2014-07-19 19:01:00 +09:00
Lajos Molnar
b58dc31322 Extend MediaCodecInfo to describe usable codec limits and features
Bug: 11990470
Bug: 12065651
Bug: 16131974
Change-Id: I841b8507e823f1ddf14754e34029a9bed4f402d8
2014-07-19 02:14:00 -07:00
John Spurlock
a082e35d94 Merge "Volume: No sound effects on the ringer toggle." into lmp-dev 2014-07-17 19:20:15 +00:00
John Spurlock
ab4ea76ede Volume: No sound effects on the ringer toggle.
We beep and blort enough in the rocker when switching modes.

Bug:16377522
Change-Id: I4a61979cb323d6a9623d10e10547a19982db384f
2014-07-19 18:50:16 -04:00
Evan Charlton
1019719e46 Migrate TelecommConstants to TelecommManager
Change-Id: Icdd7637ba1ae27ce7d1f13714257b4a946961037
2014-07-19 15:33:59 -07:00
John Spurlock
9bc41d44d6 Merge "Add audioAttributes to Notification." into lmp-dev 2014-07-17 19:13:40 +00:00
John Spurlock
c0650f02b8 Add audioAttributes to Notification.
@deprecate the old audioStreamType-based metadata in favor
of attribute-based replacements.

Bug:16401631
Change-Id: I2c140f87dd4ad2141c6c0a6f391877c295973866
2014-07-19 13:22:39 -04:00
John Spurlock
50e71cc35b Merge "Volume: restore vibration entering vibrate-mode from rocker." into lmp-dev 2014-07-17 19:20:15 +00:00
John Spurlock
0635b8927e Volume: restore vibration entering vibrate-mode from rocker.
Bug:16418732
Change-Id: I0db18a0ff21cfa1af7005ab9620340d34c2eb63b
2014-07-19 17:52:35 -04:00
Baligh Uddin
cbaac81b70 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-07-18 18:24:25 +00:00
Baligh Uddin
4fc8c66cd4 Import translations. DO NOT MERGE
Change-Id: I7b6175e9d105f252fd57427b2c15ec31905e6184
Auto-generated-cl: translation import
2014-07-19 21:41:31 +00:00
Evan Charlton
222db525ed Add a notion of the subscription number
Expose the actual subscription number so that it can be exposed when
necessary (such as during emergency calls, when it doesn't match the
line 1 number).

Bug: 13333595
Change-Id: I0d3b2cfcea08aeba760c392c116303f21beb70d3
2014-07-19 21:22:31 +00:00
Adam Powell
6b067c3402 Merge "Measure Toolbar titles last" into lmp-dev 2014-07-18 18:24:25 +00:00
Adam Powell
b606a3a312 Measure Toolbar titles last
Give the maximum amount of room to "real" content views before taking
up space for the title and subtitle of a toolbar.

Bug 16039951

Change-Id: I10da9cdc39e84e6fb3975ee40958c57031002dd5
2014-07-19 13:26:16 -07:00
Adam Powell
c80f952285 Fix Toolbar title layout in RTL mode
Welp, that one was embarrassing.

Bug 16192193

Change-Id: I4e94e71ef34b4b08b5dd4c7b7f0dfb22e834ca19
2014-07-19 13:05:26 -07:00
Baligh Uddin
68cbf10b56 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-07-18 18:24:25 +00:00
Baligh Uddin
7bc83dc414 Import translations. DO NOT MERGE
Change-Id: I179193c20f5362e2c1afb3ea15c623e63e15a688
Auto-generated-cl: translation import
2014-07-19 21:41:49 +00:00
Adam Powell
fba286a056 Merge "Adapt ActionBar.LayoutParams to Toolbar.LayoutParams on demand" into lmp-dev 2014-07-18 18:24:25 +00:00
Adam Powell
eb97f473fc Adapt ActionBar.LayoutParams to Toolbar.LayoutParams on demand
When Toolbar is acting in the role of an action bar it needs to handle
the case where app code calls setLayoutParams on a custom view with an
ActionBar.LayoutParams instance. Run the newly set LayoutParams
through the check/generate routine normally performed when adding a
child view whenever LayoutParams are set on an existing child to
correct for it.

This might not be a bad thing to generalize someday but it would make
for very confusing compatibility behavior when running code that
was written to expect it on older platform versions.

Bug 16219488

Change-Id: I568a335fe8ebbbaa666690d1f0e95f313abd2f1e
2014-07-19 11:57:21 -07:00
Baligh Uddin
6b1072e07a Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-07-18 18:24:25 +00:00
Baligh Uddin
2d3347afed Import translations. DO NOT MERGE
Change-Id: I99e29201cdc548124a501255a619e709d1697bb3
Auto-generated-cl: translation import
2014-07-19 21:42:03 +00:00
Adam Powell
00abaa7407 Merge "Remove obsolete (and large) overscroll drawables" into lmp-dev 2014-07-17 21:09:48 +00:00
Adam Powell
1cd8ce1fb6 Remove obsolete (and large) overscroll drawables
Bug 16406278

Change-Id: Ic1dd645ce14338f45cd4d62cd89cd02469b983d3
2014-07-18 18:14:57 -07:00
John Spurlock
a63b497f11 Merge "getMasterStreamType from MUSIC -> NOTIFICATION" into lmp-dev 2014-07-17 19:26:18 +00:00
John Spurlock
6a6641cc4f getMasterStreamType from MUSIC -> NOTIFICATION
For non-voice-capable devices to follow suit with the new policy.

Bug:15592574
Change-Id: I5de36de5cfe157702bbdf6918df51a98f3f0051a
2014-07-19 16:21:17 -04:00
Santos Cordon
23d849569d Merge "InCallService to inherit directly from Service. (1/2)" into lmp-dev 2014-07-17 19:20:15 +00:00
Santos Cordon
2f42b11d40 InCallService to inherit directly from Service. (1/2)
Bug: 16416927
Change-Id: I31584556c79e49132c628a0f8f25c372eb4e9b3c
2014-07-19 13:21:35 -07:00
John Spurlock
335eff4c40 Merge "Non-voice-capable device default stream is now NOTIFICATION." into lmp-dev 2014-07-17 19:13:40 +00:00
John Spurlock
eb1d88ddf9 Non-voice-capable device default stream is now NOTIFICATION.
Policy change, the volume rocker displayed when nothing else
is going on is now consistent with voice-capable devices.

Bug:15592574
Change-Id: I0f5cb3667b76e1d05286937c702e532f6298ec7c
2014-07-19 14:55:42 -04:00
Chelsea Derrick
92a12ead1b Merge "Unhide WifiConfiguration.creatorUid. [DO NOT MERGE]" into lmp-dev 2014-07-17 17:59:02 +00:00
Chelsea Derrick
adae06be9b Unhide WifiConfiguration.creatorUid. [DO NOT MERGE]
Bug: 16153258
Change-Id: Ic4fcf1d5454b9bf5ae31cefb48322dae187338bc
(cherry picked from commit 761f6cb69d3ac20dfc274eed2246f50da942b0c0)
2014-07-18 12:40:10 -07:00
Andre Eisenbach
6ce4db0acf LE: Add connection parameter update request API (4/4)
Change-Id: Ifb531a1b7ab05888817b96fcc89f85e17df7ffe2
2014-07-18 12:13:46 -07:00
Christopher Tate
1787d9c51e Merge "Tear down agents properly at EOD in full restore" into lmp-dev 2014-07-17 21:58:28 +00:00
Winson Chung
3e3365babd Fixing issue where we weren't restoring touch state on dismissed Task cards. (Bug 16322100) 2014-07-18 18:49:53 +00:00
Christopher Tate
89101f7fe8 Tear down agents properly at EOD in full restore
The restore engine wasn't tearing down the bound agent after reaching
the end of data for the app, and furthermore was allowing the restore
operation to resume running the queue before all data had been delivered
to the current target.

Also make LocalTransport deliver data in 2K chunks rather than 32K,
as a first step towards making its timing characteristics more like
we'll see in networked situations.

Finally, added a bunch of MORE_DEBUG output for finding odd bugs
like this.

Change-Id: Icdbe6a070af6cc7c708a938ad044108d40ebce9a
2014-07-17 19:12:09 -07:00