137072 Commits

Author SHA1 Message Date
Selim Cinek
56109b0c9b Fixed that app-info longpress was lost on configuration changes.
Bug:14189139
Change-Id: I14d73085ac8fe79ffa97a72c675b4b7df6324719
2014-06-04 16:47:54 +02:00
Selim Cinek
1408eb5a58 Changed the overscroll and expanding behaviour.
Only the first selected element will be expanded, no subsequent children.
Afterwards, overscrolling is performed.
This improves overscroll consistency a lot and people don't accidentally
expand unwanted notifications, just the one they wanted to.
If the users primary intent is overscrolling (i.e if he drags on a card
which is already expanded), then we allow him to go to the quick settings.

Bug: 14487435
Bug: 15181651
Change-Id: I978cc4e06ae85c2ca69e15a149cb85ac54b2ef35
2014-06-04 16:43:07 +02:00
John Spurlock
d55c56b86e Merge "QuickSettings: Filter signal assets with color filter." into lmp-preview-dev 2014-06-04 05:44:16 +00:00
John Spurlock
faa3262c1d QuickSettings: Filter signal assets with color filter.
Apply static color filter to signal assets to match other
tiles.

Bug:15186962
Bug:15414911
Change-Id: I0732460a5c337ced35be43418f3deda9395fa215
2014-06-04 01:38:34 -04:00
John Spurlock
d47f3856bd QuickSettings: Remove outlined version of location icon.
Bug:15186962
Change-Id: I6a7d04abcc4b5593d436b0ec46ecf77f207c6b54
2014-06-04 01:00:37 -04:00
Lorenzo Colitti
46ccfda1fe Merge "Make requests for restricted networks not require unrestricted access." into lmp-preview-dev 2014-06-04 05:00:22 +00:00
Baligh Uddin
4854456738 Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-04 04:50:43 +00:00
John Spurlock
012d4a229c QuickSettings: Tile label string updates.
Bug:15186962
Change-Id: I4a1167e094de81ffbcb498815bb1c7c03fc2be7b
2014-06-04 00:42:29 -04:00
Baligh Uddin
08dede77d8 Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-04 04:40:42 +00:00
Baligh Uddin
ba7c75284a Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-04 04:40:30 +00:00
John Spurlock
775f7d85d9 Merge "QuickSettings: System accent color for seekbars." into lmp-preview-dev 2014-06-04 04:20:48 +00:00
John Spurlock
ed33da1734 QuickSettings: System accent color for seekbars.
Decouple system ui's seekbar's color from the platform
default.

Bug:15186962
Change-Id: I8e4f5605bf5f8be32b290e588d2d854e908f2387
2014-06-04 00:18:27 -04:00
Lorenzo Colitti
4077acbecc Make requests for restricted networks not require unrestricted access.
Currently, calling startUsingNetworkFeature for a restricted APN
type (e.g., IMS or FOTA) will create a request that requires
NET_CAPABILITY_NOT_RESTRICTED. Because these APNs are restricted,
when we bring them up we conclude that it does not match the
unrestricted requirement, and we tear them down.

1. Clear the NET_CAPABILITY_NOT_RESTRICTED capability when
   creating requests in startUsingNetworkFeature.
2. Refactor the code to a common function so this cannot happen
   again.

Bug: 15191336
Change-Id: Id1ec79c58ff79b1a83457ffaecc57d50b61ed4e4
2014-06-04 12:20:06 +09:00
Alan Viverette
07bfc4ba2e Merge "Fix RadialTimePicker styling" into lmp-preview-dev 2014-06-04 01:43:21 +00:00
Adam Powell
0d523cc394 Fix some brain itch.
Set a default start content inset for quantum action bars.

Change-Id: I97f8b07b52b3afed265691d48caaeb6c54c95f78
2014-06-03 18:39:33 -07:00
Alan Viverette
eb1d3798e3 Fix RadialTimePicker styling
Also sneaks in some whitespace cleanup for PhoneWindow!

Change-Id: I1bc8a889a59d69ae80b6cfbf54d57cd7f8ad4a36
2014-06-03 18:36:03 -07:00
Alan Viverette
ef8f79a928 Merge "Fix action bar menu inflation context" into lmp-preview-dev 2014-06-04 01:17:25 +00:00
Adam Powell
bc1ff4dd7e Merge "Implement action bar tab mode for Toolbar-based decor action bars" into lmp-preview-dev 2014-06-04 01:17:06 +00:00
Robert Greenwalt
7722b379ef Merge "Fix legacy APIs." into lmp-preview-dev 2014-06-04 01:14:38 +00:00
Winson Chung
aef51c63d7 Merge "Fixing back regression in Recents." into lmp-preview-dev 2014-06-04 01:09:58 +00:00
Igor Murashkin
c6b4d9b8d1 Merge "camera2: Implement most of CameraCaptureSession" into lmp-preview-dev 2014-06-04 01:00:06 +00:00
Adam Powell
e002c2fb39 Implement action bar tab mode for Toolbar-based decor action bars
Coordinate between the stacked row, etc. Also fix a silly bug in
Toolbar child views with Gravity.BOTTOM.

Bug 15332084

Change-Id: Ie91b7d5255c63d9befcc65d7939c1523e018809f
2014-06-03 17:58:22 -07:00
Dianne Hackborn
7737ab44b1 Merge "Force write battery stats after a --history-since." into lmp-preview-dev 2014-06-04 00:54:45 +00:00
Dianne Hackborn
16b0b56c79 Force write battery stats after a --history-since.
This should help the stats be more consistent across
system restarts.

Change-Id: If1736608373aada8b55d72ecf80fbbc52bd288bd
2014-06-03 17:50:30 -07:00
Raph Levien
38bd7b9c4d Merge "Better Minikin integration" into lmp-preview-dev 2014-06-04 00:46:25 +00:00
Raph Levien
f2114d5646 Better Minikin integration
This patch improves the Minikin integration in a number of ways,
including:

Software rendering does text decorations and handles alignment
correctly. This fixes bug 15139067 "Centered text isn't working".

Paint implements getTextPath. This fixes bug 15143354 "Text rendering in
Maps Navigation wrong typeface?"

Also a bit of refactoring, since there was duplicated code for iterating
font runs that's now a static method in MinikinUtils.

Change-Id: I4cfdb2c0559982376348325a757d95235fab1768
2014-06-03 17:44:35 -07:00
Alan Viverette
4b002d3251 Fix action bar menu inflation context
Change-Id: I9da159d7721f41974b711e74edbaba6d6740f183
2014-06-03 17:32:19 -07:00
Eric Laurent
8da213917e Merge "AudioManager: fix AudioPort gain query" into lmp-preview-dev 2014-06-04 00:27:50 +00:00
Robert Greenwalt
2d37070ec1 Fix legacy APIs.
Two fixes.  First make sure we mark the request as handled by the network handling it.
Second, convert ensureRouteToHostForAddress to use the new legacyNetworkForType.

bug:14993207
Change-Id: I230968938ca0ed91f834b36a2af60caff2eab682
2014-06-03 17:22:11 -07:00
Craig Mautner
4021b3ba74 Merge "Force all windows to redraw before unblanking screen" into lmp-preview-dev 2014-06-04 00:21:01 +00:00
Craig Mautner
8a0da0184f Force all windows to redraw before unblanking screen
The screen turning on would show windows as they were when the screen
turned off. This fix forces all showing windows to redraw first and
only then allow the screen to turn on.

Fixes bug 15092354.

Change-Id: I52c3f47438176a5ac00ba9a4d5205b56a5aa48f9
2014-06-03 17:08:02 -07:00
Alan Viverette
bb938107b7 Merge "Temporary drawable for Quantum progress indicator" into lmp-preview-dev 2014-06-04 00:00:14 +00:00
Adam Powell
0b4da0c4f2 Merge "Support list navigation mode for toolbar action bars" into lmp-preview-dev 2014-06-03 23:56:43 +00:00
Adam Powell
6790b0502b Support list navigation mode for toolbar action bars
Add support for the list(spinner) navigation mode for ToolbarActionBar
and WindowDecorActionBar when a Toolbar is substituting for an
ActionBarView.

Bug 15332084

Change-Id: Ic618686f7767c4a14410ae359435d7c1b244e4fa
2014-06-03 16:51:25 -07:00
Winson Chung
56f4692a89 Fixing back regression in Recents.
Change-Id: I57f4fce3f2b455085b066dd7daa91cc68844b259
2014-06-03 16:49:00 -07:00
Ruben Brunk
3f6680ad48 Merge "DNG: Write out additional fields." into lmp-preview-dev 2014-06-03 23:38:57 +00:00
John Spurlock
856edebad7 Zen: Stateful condition panel.
When DND is on, expanded panel shows the current time
condition, or time remaining.  The last time bucket
selected is remembered as the default option for the
next time.

Move the server-side countdown helper into a proper
condition provider, but register it in-process as a
system provider.

Move common countdown condition parsing into ZenModeConfig
to reuse from system components.

Keep the manual exit condition around in zen mode config
and add plumbing for getting / listening to the
controller.

Keep the last QS detail panel around instead of
recreating it every time.

Fix the time condition's plus and minus button
enabling logic, and enhance the click handler to
deal properly with the next or previous bucket.

Bug:15344758
Change-Id: Ie7018a1c20e20f6d7e5f9e7874188374e6f8e2ab
2014-06-03 19:05:55 -04:00
Alan Viverette
3567140b04 Temporary drawable for Quantum progress indicator
Also cleans up unused 20dp spinner drawables.

Change-Id: I69aba84eca9f9e8d44a4237d894015caeb3d2308
2014-06-03 16:02:26 -07:00
Alan Viverette
a48e7b5500 Merge "Fix build, fix Drawable loop" into lmp-preview-dev 2014-06-03 22:49:33 +00:00
Alan Viverette
55a54e17df Merge "Update theme colors, fix EditText state transition" into lmp-preview-dev 2014-06-03 22:49:33 +00:00
Alan Viverette
bd4d1c31f3 Merge "Set starting value on ripple exit animation" into lmp-preview-dev 2014-06-03 22:49:33 +00:00
Alan Viverette
910a0b4d02 Fix build, fix Drawable loop
Change-Id: I524b7f40c700ebe601fdbe80644a46e90ab2bba0
2014-06-03 15:48:30 -07:00
Ruben Brunk
b8df8e07d6 DNG: Write out additional fields.
Bug: 15112503

Change-Id: Ib06d9a5e70e6e3d5063a95a7109538ef64f03334
2014-06-03 15:07:50 -07:00
Igor Murashkin
0b27d3453d camera2: Implement most of CameraCaptureSession
Bug: 14964443
Change-Id: I8203842c77a94a3a6e5f89494fce658b00a4160d
2014-06-03 14:55:52 -07:00
Craig Mautner
3ad30bf6d8 Merge "Layout keyguard according to flags." into lmp-preview-dev 2014-06-03 21:49:31 +00:00
Alan Viverette
dcf7b59f84 Update theme colors, fix EditText state transition
BUG: 11218747
BUG: 15200201
Change-Id: I94368897ea9466ae971b25fc80d6ca43433aadd5
2014-06-03 14:43:38 -07:00
Alan Viverette
c213c7a152 Merge "Quantum tab indicators, clean up text appearances" into lmp-preview-dev 2014-06-03 21:39:04 +00:00
Craig Mautner
beac1064f1 Layout keyguard according to flags.
Keyguard layout was being skipped because the previous policy does
not layout the status bar. This change lays out the status bar when
it is serving as the keyguard. This change then allows the keyguard
insets to be resized to make room for the IME when password security
is selected.

Fixes bug 14548156.

Change-Id: Ice4f1072b463a22ec763a0cde69f342206bdd15a
2014-06-03 14:38:57 -07:00
Alan Viverette
560ad617cb Merge "Fix drawable cache, add quantum assets to preload list" into lmp-preview-dev 2014-06-03 21:11:27 +00:00
Jorim Jaggi
e42c72e1b2 Merge "Move owner info to main lockscreen." into lmp-preview-dev 2014-06-03 20:46:39 +00:00