9663 Commits

Author SHA1 Message Date
Baligh Uddin
25143d58a8 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-25 16:16:06 +00:00
Jorim Jaggi
20060091e2 Merge "Fix password unlock method" into lmp-dev 2014-08-25 16:09:23 +00:00
Jorim Jaggi
e070018b3e Fix password unlock method
- Update layouts/assets to material
- Fix that the virtual keyboard didn't always come up
- Fix window layout of status bar window, so it's above the IME when
  on Keyguard

Bug: 16957208
Change-Id: I1785af9ac73103abe6cd9968ed27582fbfc9a1d9
2014-08-25 17:21:05 +02:00
John Spurlock
6adf1588fd Battery saver: Add period to last sentence of disclosure.
Bug:17166240
Change-Id: I254bc3e396a0d072c379f9b6305ac7c0ef132f6a
2014-08-25 09:03:29 -04:00
Baligh Uddin
602774cd7c Import translations. DO NOT MERGE
Change-Id: I537b8e3ff4b341b93d807253fbc5cb3c7c7fb561
Auto-generated-cl: translation import
2014-08-24 11:09:10 -07:00
Sandeep Siddhartha
a434963fad Merge "Fix the Locale story in the hotword API" into lmp-dev 2014-08-23 01:08:18 +00:00
Jeff Brown
a96a3c1b65 Merge changes I9bd3a235,I9c4dbdef into lmp-dev
* changes:
  Improve adaptive brightness in very dark rooms.
  Hide PowerManager methods that third-party apps can't use.
2014-08-23 00:23:45 +00:00
Jeff Brown
d7761be23d Merge "Poke interactive hint from userActivity and add @SystemApi." into lmp-dev 2014-08-23 00:23:41 +00:00
Sandeep Siddhartha
dcf3068fcb Fix the Locale story in the hotword API
Tighten the API by taking in a locale rather than a string tag.
Tighten the checks when reading the enrollment metadata, bail out if any
attribute is missing or invalid.
Add missing recycle call for a TypedArray

Stop recognition when sound model(s) change. This is needed during
un-enrollment/re-enrollment.

Bug: 17187528
Bug: 17205230
Change-Id: Idb00b51ef8c4ea0a8f8993decea582223181fa3d
2014-08-22 17:23:13 -07:00
Tim Kilbourn
aa6215a0d2 Merge "Update shadow parameters for television." into lmp-dev 2014-08-22 23:45:40 +00:00
Tim Kilbourn
fbc1931d6a Update shadow parameters for television.
Bug: 15859361
Change-Id: If22767a6aa81f897c0705fa0618c314df27b7dcd
2014-08-22 16:44:53 -07:00
Elliott Hughes
ed40256670 Merge "Use CLDR narrow am/pm markers." into lmp-dev 2014-08-22 23:02:14 +00:00
Robert Greenwalt
acb570cd84 Merge "Add config settings for ethernet/wifi tcp buffers" into lmp-dev 2014-08-22 21:14:34 +00:00
Amith Yamasani
6dd08fdd91 Merge "Show a user switching dialog before starting the user switch" into lmp-dev 2014-08-22 21:08:15 +00:00
Amith Yamasani
7805a10c86 Show a user switching dialog before starting the user switch
switchUser() now first shows a dialog and the dialog calls
startUserInForeground to do the actual switch.

Bug: 16661752
Change-Id: Ie4e2e9eec8bf7c2116694072ea8555b8254a0e13
2014-08-22 13:00:22 -07:00
Christian Robertson
3b4a499257 Merge "Changed the color of buttonBarButtonStyle in the Material theme" into lmp-dev 2014-08-22 19:48:00 +00:00
Yigit Boyar
a0a6d224ad Merge "Change actionbar title size for landscape" into lmp-dev 2014-08-22 19:15:25 +00:00
Baligh Uddin
84cd553454 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-22 16:41:28 +00:00
Jessica Hummel
f9220b3953 Merge "Final strings tweaks for work profile" into lmp-dev 2014-08-22 14:26:56 +00:00
Kenny Guy
91d065bcbf Merge "Fix notification badge when line 3 not shown." into lmp-dev 2014-08-22 14:20:31 +00:00
Jessica Hummel
36b4e35a00 Final strings tweaks for work profile
Change-Id: I29ea13d522d867f847e72f5c43170a526e4e7f07
bug:15744182
2014-08-22 15:00:15 +01:00
Kenny Guy
98193ea54f Fix notification badge when line 3 not shown.
Ongoing notifications from chrome and drive
don't have content in line 3 so profile badge
wasn't shown.
Add profile badge to large notifications which
hide line 3.

Bug: 16366324
Change-Id: Ib4f1e888674743aa8ef93b7eaceae72602d8df4d
2014-08-22 13:30:58 +01:00
Jeff Brown
1bfd0f463e Improve adaptive brightness in very dark rooms.
Added config_screenBrightnessDark to configure the minimum value
that will be used for auto-brightness adjustment.  This value is
expected to be less than unadjusted minimum auto-brightness level
to provide some range for the user to make the screen dimmer
in dark rooms.

This configuration value is set to the lowest possible level
by default (1).  Individual devices may need to override this value
in their framework resource overlay depending on their backlight
characteristics.

Change-Id: I9bd3a2355c65f894dff89aeaf7661cdf38f4a6ee
2014-08-22 02:17:41 -07:00
Jeff Brown
0a57112354 Poke interactive hint from userActivity and add @SystemApi.
Previously we only poked the interactive hint for input events that
were dispatched through the regular input system.  However, when
using a car dock in projection mode input events are directly
delivered to apps by other system components, bypassing user activity.
So now we poke the interactive hint on all user activity.

Added an @SystemApi version of userActivity.

Added a new signature|system permission called USER_ACTIVITY
to allow system apps to poke userActivity.  For now it seems
prudent to keep DEVICE_POWER signature only.

Bug: 17043684
Change-Id: Ia84bd03083065b8938a9853c08901fbf71b2e56b
2014-08-21 22:36:45 -07:00
Alan Viverette
8bfd36167e Merge "Add private themes for dialogs spawned from Settings theme" into lmp-dev 2014-08-22 01:03:48 +00:00
Winson Chung
096f36b8db Minor tweaks to recents thumbnails.
- Reducing the size of the recents thumbnails
- Skip persisting if we never update the last thumbnail
- Don't bother loading the last thumbnail file descriptor if we have it in memory
- Fixing warning in getting drawable from resource

Change-Id: Ieddaeac75a5e5d80876a9b6b1d50f7cc84c7d6fd
2014-08-22 01:03:21 +00:00
Robert Greenwalt
bb42274e87 Add config settings for ethernet/wifi tcp buffers
Replaces the old system properties.

bug:16549611
Change-Id: Id9b238888a6e31cf99ca72b10bd9c57f1589c04d
2014-08-21 18:01:58 -07:00
Jing Zhao
1b4771d7c5 Make mAutoAttachOnCreation in DcTracker configuable
Bug: 17131842
Change-Id: Iba63cff2f8f5b3ed28bde2aca42e91d3693cad54
2014-08-22 00:07:15 +00:00
Yigit Boyar
8f64612876 Change actionbar title size for landscape
Bug: 16132120
Change-Id: Ic6d01671e70e338f1539f3f206d7879a67d54f1e
2014-08-21 16:25:39 -07:00
Elliott Hughes
1cc51a6c6c Use CLDR narrow am/pm markers.
Bug: 16938600
Bug: 16842390
Change-Id: Ia1c6470e233966c0d8c399d7c1a22c640fbc40e9
2014-08-21 16:21:30 -07:00
George Mount
99db6030e1 Merge "Add Parent Change to ChangeTransform" into lmp-dev 2014-08-21 23:00:05 +00:00
Dake Gu
c94e2b393f Add Parent Change to ChangeTransform
Bug 16460123

Modified ChangeTransform to support any pivot changes.
Modified ChangeTransform to support changes between parents.

Change-Id: I6374890dab9f3d795f334b951bdb9d51d434b8ee
2014-08-21 15:50:17 -07:00
George Mount
7762e8e798 Merge "Allow Activities to opt into using Overlay for shared elements." into lmp-dev 2014-08-21 22:26:57 +00:00
Alan Viverette
5c88b3b1c7 Add private themes for dialogs spawned from Settings theme
BUG: 16778165
Change-Id: I19ecf735171c55d56dc1072622eeefcef5d233a0
2014-08-21 15:16:31 -07:00
George Mount
b89d5cc2c6 Allow Activities to opt into using Overlay for shared elements.
Bug 17001227

Change-Id: Icc49a81357ee69abd2a15a1d1efcead298ab3fb7
2014-08-21 14:30:51 -07:00
Elliott Hughes
105f6ceb0f Merge "Don't say "Arabic (Egypt)" in Settings." into lmp-dev 2014-08-21 21:24:44 +00:00
Elliott Hughes
fbc4a34a20 Don't say "Arabic (Egypt)" in Settings.
Nexus devices only ship one Arabic locale: ar_EG. This should probably be
changed to ar_001 in a later release (and, really, we should let users
choose _all_ of the Arabic-speaking countries), but there's no time for L.

This adds ar_EG to the list of special cases for LocalePicker so that
we'll show "Arabic" instead of "Arabic (Egypt)" (the actual change uses
the Arabic for "Arabic", obviously).

If you're an OEM trying to ship multiple Arabic locales, please accept
my apologies for making your lives slightly harder and, yes, this is the
patch you want to revert so that ar_EG shows up as "Arabic (Egypt)" again.

Bug: 17150708
Change-Id: Iea2fdf813bf3d7758e667bb1a8134a612ee0317b
2014-08-21 13:23:43 -07:00
Alan Viverette
aa45ff70a2 Merge "Update form spinner and search field assets" into lmp-dev 2014-08-21 20:03:05 +00:00
Alan Viverette
edf82bd269 Merge "Update material switch styling" into lmp-dev 2014-08-21 19:59:04 +00:00
Alan Viverette
88eab02a36 Update form spinner and search field assets
Also cleans up insets in some other Material drawables.

BUG: 17162129
BUG: 16736289
Change-Id: I9b4d77230941522022908bc2939c4026459cf02a
2014-08-21 12:53:27 -07:00
Alan Viverette
125bab40ba Update material switch styling
Also adds switch style to default theme.

BUG: 16984766
Change-Id: Ib90bcd80cd599e3c66a08ae7b327a347f4ca2405
2014-08-21 10:54:14 -07:00
Chris Craik
c56a1a51a9 Merge "Clarify text shadow attribute/method comments" into lmp-dev 2014-08-21 16:46:53 +00:00
Jorim Jaggi
922fb7a7db Merge "Update notification layouts to match redlines" into lmp-dev 2014-08-21 15:21:22 +00:00
Jorim Jaggi
445d3c0a6f Update notification layouts to match redlines
Also fixes a lot of paddings and other small issues with
the notification layouts.

Bug: 15437369
Change-Id: I40b6c69afc160c498b7e2e709814b5b847f615de
2014-08-21 17:13:55 +02:00
Jason Monk
07f82b7942 Don't stack toasts for every user press
Showing a toast on every press was adding up to a long list of
toasts to clear out of the display, now cancel the last so we
don't have that problem.

Also fix unlock strings to not use insertions because of problems
translating the context.

Bug: 16892731
Bug: 16366701
Change-Id: Ia523469089c9f8dd1f3e466a9d4ea901a376d1bc
2014-08-21 09:42:42 -04:00
Jessica Hummel
671be93cbb Merge "Strings: replace work space by work profile" into lmp-dev 2014-08-21 10:08:57 +00:00
Jessica Hummel
98c406c3cd Strings: replace work space by work profile
Change-Id: I3f2dd5f628a34e1df351b3f1a526f3d2beea3ece
bug:16468412
2014-08-21 11:05:50 +01:00
Jae Seo
14355950d5 API Review: android.media.tv
TvContentRating:
- The XML file: attributes should have android: prefix and should allow
  string resource references for labels.

Bug: 17114406
Change-Id: Ife2f4dc6c2c8a5a1714cdeedb27aab40fce73e2b
2014-08-20 20:59:51 -07:00
Christian Robertson
73619e32fd Changed the color of buttonBarButtonStyle in the Material theme
The theme now uses the Button.Borderless.Colored style rather than the Button.Borderless style by default.

Bug: 17063449
Change-Id: Ie88318e86caa19c33219f90d13955bb6632f1425
2014-08-20 18:23:46 -07:00
Chris Craik
5faf85b6dd Clarify text shadow attribute/method comments
bug:17157162

Change-Id: I7abe7c0eb1973ddf7d7a17d9dd85c08833c4bf88
2014-08-20 17:59:25 -07:00