OSDN Git Service

android-x86/frameworks-base.git
10 years agoMerge "Platlogo: The icon now matches the activity." into lmp-preview-dev
Dan Sandler [Thu, 5 Jun 2014 02:26:40 +0000 (02:26 +0000)]
Merge "Platlogo: The icon now matches the activity." into lmp-preview-dev

10 years agoMerge "Camera2: Invoke onError callbacks for failure to open" into lmp-preview-dev
Eino-Ville Talvala [Thu, 5 Jun 2014 01:08:53 +0000 (01:08 +0000)]
Merge "Camera2: Invoke onError callbacks for failure to open" into lmp-preview-dev

10 years agoCamera2: Invoke onError callbacks for failure to open
Eino-Ville Talvala [Wed, 4 Jun 2014 01:30:27 +0000 (18:30 -0700)]
Camera2: Invoke onError callbacks for failure to open

When the initial attempt to connect to the remote camera device fails,
fire the onError callback as documented, instead of throwing an
exception from open().

Also ensure the correct exception is sent when methods are called
while in the error state, and make sure onClosed() is called correctly
if closing the device after an initial startup error.

Bug: 14413756
Bug: 14413363
Change-Id: I0822261dad52bcd428a0c4556202f00032499990

10 years agoFix build.
Deepanshu Gupta [Wed, 4 Jun 2014 23:49:26 +0000 (16:49 -0700)]
Fix build.

Change-Id: I877532b5056a035dbd4b0c6c55b5969d6292846a

10 years agoMerge "Add basic support for simulating older versions." into lmp-preview-dev
Deepanshu Gupta [Wed, 4 Jun 2014 23:37:36 +0000 (23:37 +0000)]
Merge "Add basic support for simulating older versions." into lmp-preview-dev

10 years agoMerge "camera2: Change CaptureListener callbacks to include the session (api)" into...
Igor Murashkin [Wed, 4 Jun 2014 23:31:53 +0000 (23:31 +0000)]
Merge "camera2: Change CaptureListener callbacks to include the session (api)" into lmp-preview-dev

10 years agoMerge "Turn off elegantTextHeight in quantum theme" into lmp-preview-dev
Raph Levien [Wed, 4 Jun 2014 23:28:47 +0000 (23:28 +0000)]
Merge "Turn off elegantTextHeight in quantum theme" into lmp-preview-dev

10 years agoMerge "Update ripple spec, fix ripple mask, rotate progress drawable" into lmp-previe...
Alan Viverette [Wed, 4 Jun 2014 23:13:55 +0000 (23:13 +0000)]
Merge "Update ripple spec, fix ripple mask, rotate progress drawable" into lmp-preview-dev

10 years agoTurn off elegantTextHeight in quantum theme
Raph Levien [Wed, 4 Jun 2014 23:09:11 +0000 (16:09 -0700)]
Turn off elegantTextHeight in quantum theme

Setting elegantTextHeight to true was a great experiment, but it led to
too much difficulty getting text to fit in space-constrained spaces
(action bar, list items). A long term solution is optical bounds, but
for the time being, just turn it off.

This patch fixes bug 14227056: "Language name displaying under Personal
dictionary are truncated in landscape mode"

Change-Id: I2b0e1ca2e7a06cd0fd9a4d84c1c07fdea2ddbf03

10 years agoMerge "Fix list navigation callbacks for ActionBarView" into lmp-preview-dev
Adam Powell [Wed, 4 Jun 2014 23:04:56 +0000 (23:04 +0000)]
Merge "Fix list navigation callbacks for ActionBarView" into lmp-preview-dev

10 years agocamera2: Change CaptureListener callbacks to include the session (api)
Igor Murashkin [Wed, 4 Jun 2014 22:21:42 +0000 (15:21 -0700)]
camera2: Change CaptureListener callbacks to include the session (api)

* Also makes CameraDevice an abstract class (API)

Bug: 15428219
Bug: 14964443
Change-Id: I0e8c8309186aad59570aac7e0f998bb615405f0a

10 years agoFix list navigation callbacks for ActionBarView
Adam Powell [Wed, 4 Jun 2014 22:49:04 +0000 (15:49 -0700)]
Fix list navigation callbacks for ActionBarView

Fix a regression from a previous refactoring where the call ordering
between setNavigationMode and setListNavigationCallbacks could result
in the item selection listener being ignored.

Bug 15395053

Change-Id: I5330f2c684a21448c64c6b62eec10b96405758f7

10 years agoDO NOT MERGE Redact SyncService stuff from master
Matthew Williams [Wed, 4 Jun 2014 16:25:11 +0000 (09:25 -0700)]
DO NOT MERGE Redact SyncService stuff from master

Cherry-pick over from master.
This changes the API surface area, deleting things we aren't releasing.
I'll do the internal clean-up at the same time I do the SyncManager
refactor to sit on top of the TaskManager.
Bug: 14997851

Change-Id: Ieebbbcd3324827098e88b36e45e6e82315a51e65

10 years agoMerge "DNG: Hide unimplemented methods." into lmp-preview-dev
Ruben Brunk [Wed, 4 Jun 2014 22:25:17 +0000 (22:25 +0000)]
Merge "DNG: Hide unimplemented methods." into lmp-preview-dev

10 years agoMerge "Distinguish between menus in ActionBar and popup." into lmp-preview-dev
Deepanshu Gupta [Wed, 4 Jun 2014 22:11:36 +0000 (22:11 +0000)]
Merge "Distinguish between menus in ActionBar and popup." into lmp-preview-dev

10 years agoMerge "Query style from asset-created font (Minikin)" into lmp-preview-dev
Raph Levien [Wed, 4 Jun 2014 22:05:41 +0000 (22:05 +0000)]
Merge "Query style from asset-created font (Minikin)" into lmp-preview-dev

10 years agoMerge "Camera2: Update availableStreamConfigurations for JPEG sizes" into lmp-preview-dev
Zhijun He [Wed, 4 Jun 2014 21:56:26 +0000 (21:56 +0000)]
Merge "Camera2: Update availableStreamConfigurations for JPEG sizes" into lmp-preview-dev

10 years agoMerge "Simplified maxPanelHeight logic." into lmp-preview-dev
Selim Cinek [Wed, 4 Jun 2014 21:49:02 +0000 (21:49 +0000)]
Merge "Simplified maxPanelHeight logic." into lmp-preview-dev

10 years agoUpdate ripple spec, fix ripple mask, rotate progress drawable
Alan Viverette [Wed, 4 Jun 2014 21:35:42 +0000 (14:35 -0700)]
Update ripple spec, fix ripple mask, rotate progress drawable

Change-Id: I4fc155bf2f12d9f324c354dee81479f9cddafac4

10 years agoMerge "Launch document sharing into unique activities" into lmp-preview-dev
Craig Mautner [Wed, 4 Jun 2014 21:13:06 +0000 (21:13 +0000)]
Merge "Launch document sharing into unique activities" into lmp-preview-dev

10 years agoCamera2: Update availableStreamConfigurations for JPEG sizes
Zhijun He [Wed, 4 Jun 2014 20:42:41 +0000 (13:42 -0700)]
Camera2: Update availableStreamConfigurations for JPEG sizes

Also Fix some doc issue in availableCapabilities

Bug: 12035686
Change-Id: Ie517a587f4a9e6cd9731fcca042e24adf832d9e3

10 years agoMerge "Fix EdgeEffect clipping and AbsListView's use of it" into lmp-preview-dev
Adam Powell [Wed, 4 Jun 2014 20:55:56 +0000 (20:55 +0000)]
Merge "Fix EdgeEffect clipping and AbsListView's use of it" into lmp-preview-dev

10 years agoFix EdgeEffect clipping and AbsListView's use of it
Adam Powell [Wed, 4 Jun 2014 20:46:55 +0000 (13:46 -0700)]
Fix EdgeEffect clipping and AbsListView's use of it

Make sure that we clip the edge glow against the edges of the view and
not against padding. If we're clipping to padding already, this will
happen automatically.

Bug 15020863

Change-Id: I4645c92f2a372d3c9fa8bb5a9fda44c0d82ac4cf

10 years agoQuery style from asset-created font (Minikin)
Raph Levien [Wed, 4 Jun 2014 20:46:35 +0000 (13:46 -0700)]
Query style from asset-created font (Minikin)

This patch sets fStyle on the TypefaceImpl based on querying the font,
which is important in the Typeface.createFromAsset path. This fixes both
the style returned from getStyle() and also selects fallback fonts to
best match the style of the main font.

Fixes bug 15429916: "Typeface.getStyle always returning 0 in some L
devices".

Change-Id: I1992ba1e65e7f488d331e175f5f12843f67c2faa

10 years agoSimplified maxPanelHeight logic.
Selim Cinek [Wed, 4 Jun 2014 20:41:04 +0000 (22:41 +0200)]
Simplified maxPanelHeight logic.

Bug: 14487435
Change-Id: If171758a3143b24d7a1443c4761890670d03e49a

10 years agoMerge "Fixed an animation bug" into lmp-preview-dev
Selim Cinek [Wed, 4 Jun 2014 20:39:55 +0000 (20:39 +0000)]
Merge "Fixed an animation bug" into lmp-preview-dev

10 years agoFixed an animation bug
Selim Cinek [Wed, 4 Jun 2014 20:24:18 +0000 (22:24 +0200)]
Fixed an animation bug

Reposition animations were generated even if the shade is closed
or animations are disabled.

Bug: 15181880
Change-Id: I278278862f4b4837fe164ce2b769d9d50fa50ced

10 years agoPlatlogo: The icon now matches the activity.
Dan Sandler [Wed, 4 Jun 2014 19:44:04 +0000 (15:44 -0400)]
Platlogo: The icon now matches the activity.

Also tweaked ADB a little. It's just a preview!

Change-Id: I95265400c29272b7ff0593710ed41978e3e53df1

10 years agoDNG: Hide unimplemented methods.
Ruben Brunk [Wed, 4 Jun 2014 20:21:04 +0000 (13:21 -0700)]
DNG: Hide unimplemented methods.

Bug: 15112503
Change-Id: I31187a92b610af68fb854a27a564abf7d0635478

10 years agoMerge "DO NOT MERGE Report new network scores back to factories." into lmp-preview-dev
Robert Greenwalt [Wed, 4 Jun 2014 19:37:19 +0000 (19:37 +0000)]
Merge "DO NOT MERGE Report new network scores back to factories." into lmp-preview-dev

10 years agoMerge "AudioSystem JNI: fix audio gain channel count" into lmp-preview-dev
Eric Laurent [Wed, 4 Jun 2014 19:21:56 +0000 (19:21 +0000)]
Merge "AudioSystem JNI: fix audio gain channel count" into lmp-preview-dev

10 years agoDO NOT MERGE Report new network scores back to factories.
Robert Greenwalt [Tue, 3 Jun 2014 23:43:57 +0000 (16:43 -0700)]
DO NOT MERGE Report new network scores back to factories.

This is a first order approx of what we want - should probably be good enough in most cases.

bug:15277751

Change-Id: I10e3b25f6ad5c7e022ba966ed514d4e6a999180d
(cherry picked from commit 94a5c61cb82401dd777d0a7ac43183d92d955323)

10 years agoMerge "Fix incorrect getStringBounds (Minikin)" into lmp-preview-dev
Raph Levien [Wed, 4 Jun 2014 19:10:48 +0000 (19:10 +0000)]
Merge "Fix incorrect getStringBounds (Minikin)" into lmp-preview-dev

10 years agoMerge "Update permissions assets for Quantum Theme" into lmp-preview-dev
Fabrice Di Meglio [Wed, 4 Jun 2014 18:54:08 +0000 (18:54 +0000)]
Merge "Update permissions assets for Quantum Theme" into lmp-preview-dev

10 years agoUpdate permissions assets for Quantum Theme
Fabrice Di Meglio [Wed, 4 Jun 2014 18:51:07 +0000 (11:51 -0700)]
Update permissions assets for Quantum Theme

See bug: #14258811 Permissions icons are not visible in App info

Change-Id: I7167b636093cf56e3443fb46c89d693ba50eb59c

10 years agoMerge "add permission for AudioManager routing APIs." into lmp-preview-dev
Eric Laurent [Wed, 4 Jun 2014 18:10:25 +0000 (18:10 +0000)]
Merge "add permission for AudioManager routing APIs." into lmp-preview-dev

10 years agoMerge "Hide TrustAgentService in lmp-preview - DO NOT MERGE" into lmp-preview-dev
Adrian Roos [Wed, 4 Jun 2014 18:10:01 +0000 (18:10 +0000)]
Merge "Hide TrustAgentService in lmp-preview - DO NOT MERGE" into lmp-preview-dev

10 years agoLaunch document sharing into unique activities
Craig Mautner [Wed, 4 Jun 2014 18:06:42 +0000 (11:06 -0700)]
Launch document sharing into unique activities

If the same item is shared twice (or more) a new activity for
sharing will be launched each time. Previously the first sharing
activity would be reused.

Fixes bug 14903271.

Change-Id: Ib9e618f3d42079836529e86c138a6c999350cac5

10 years agoMerge "Fix not being able to dismiss notifications with tap." into lmp-preview-dev
Jorim Jaggi [Wed, 4 Jun 2014 17:10:30 +0000 (17:10 +0000)]
Merge "Fix not being able to dismiss notifications with tap." into lmp-preview-dev

10 years agoFix not being able to dismiss notifications with tap.
Jorim Jaggi [Wed, 4 Jun 2014 16:57:14 +0000 (18:57 +0200)]
Fix not being able to dismiss notifications with tap.

Also fixes that the go-to-shade gesture sometimes triggers the unlock
hint animation.

Bug: 14487435
Bug: 15421928
Change-Id: Ie7e01c81a397b9b1a03baed82c1270ba4e7eb799

10 years agoAudioSystem JNI: fix audio gain channel count
Eric Laurent [Wed, 4 Jun 2014 16:49:52 +0000 (09:49 -0700)]
AudioSystem JNI: fix audio gain channel count

Use audio utility function instead of popcount
to get channel count from channel mask

Bug: 14815883.
Change-Id: Ia9a898c9f7f03d22caeefb418be1e33f65f7b7bb

10 years agoMerge "Fixed panel top padding animation regression" into lmp-preview-dev
Selim Cinek [Wed, 4 Jun 2014 16:49:03 +0000 (16:49 +0000)]
Merge "Fixed panel top padding animation regression" into lmp-preview-dev

10 years agoFixed panel top padding animation regression
Selim Cinek [Wed, 4 Jun 2014 16:46:12 +0000 (18:46 +0200)]
Fixed panel top padding animation regression

Bug: 14487435
Change-Id: I50a56d2a3bdbcbce078e96bdb9b9d9f4249b937e

10 years agoMerge "Call a network restricted only if all capabilities are restricted" into lmp...
Robert Greenwalt [Wed, 4 Jun 2014 16:44:54 +0000 (16:44 +0000)]
Merge "Call a network restricted only if all capabilities are restricted" into lmp-preview-dev

10 years agoMerge "Fixed flickering in panel overscroll" into lmp-preview-dev
Selim Cinek [Wed, 4 Jun 2014 16:40:48 +0000 (16:40 +0000)]
Merge "Fixed flickering in panel overscroll" into lmp-preview-dev

10 years agoFixed flickering in panel overscroll
Selim Cinek [Wed, 4 Jun 2014 16:38:21 +0000 (18:38 +0200)]
Fixed flickering in panel overscroll

Bug: 14487435
Change-Id: Id4fe18231397a1bbce42c5baba0b2c4cad955c56

10 years agoMerge "Fix Keyguard crash when in landscape." into lmp-preview-dev
Jorim Jaggi [Wed, 4 Jun 2014 16:07:02 +0000 (16:07 +0000)]
Merge "Fix Keyguard crash when in landscape." into lmp-preview-dev

10 years agoFix Keyguard crash when in landscape.
Jorim Jaggi [Wed, 4 Jun 2014 15:59:37 +0000 (17:59 +0200)]
Fix Keyguard crash when in landscape.

Bug: 15391673
Change-Id: Icb50af358a8478672265a420dd7d500a87fb3fa0

10 years agoMerge "Fix padding in more card." into lmp-preview-dev
Jorim Jaggi [Wed, 4 Jun 2014 15:45:43 +0000 (15:45 +0000)]
Merge "Fix padding in more card." into lmp-preview-dev

10 years agoFix padding in more card.
Jorim Jaggi [Wed, 4 Jun 2014 15:42:12 +0000 (17:42 +0200)]
Fix padding in more card.

Bug: 15392952
Change-Id: Ibcb8b3b5be161e31855f058a22566a6f7a7f326b

10 years agoMerge "In the speedbump view, use hasOverlappingRenderings instead of layers" into...
Selim Cinek [Wed, 4 Jun 2014 15:34:45 +0000 (15:34 +0000)]
Merge "In the speedbump view, use hasOverlappingRenderings instead of layers" into lmp-preview-dev

10 years agoIn the speedbump view, use hasOverlappingRenderings instead of layers
Selim Cinek [Sat, 24 May 2014 16:02:16 +0000 (18:02 +0200)]
In the speedbump view, use hasOverlappingRenderings instead of layers

Bug: 15181880
Change-Id: I49b0dbe1cd0ff9f7804dc68502b73fcfd87c7389

10 years agoMerge "Disabled touch interaction when in Quick settings." into lmp-preview-dev
Selim Cinek [Wed, 4 Jun 2014 15:23:59 +0000 (15:23 +0000)]
Merge "Disabled touch interaction when in Quick settings." into lmp-preview-dev

10 years agoDisabled touch interaction when in Quick settings.
Selim Cinek [Wed, 4 Jun 2014 11:20:41 +0000 (13:20 +0200)]
Disabled touch interaction when in Quick settings.

Bug: 15308429
Change-Id: I7379b7e3d7145033ff733cef9a336e41793ab103

10 years agoMerge "Display time to charge on lock screen" into lmp-preview-dev
Adrian Roos [Wed, 4 Jun 2014 15:18:18 +0000 (15:18 +0000)]
Merge "Display time to charge on lock screen" into lmp-preview-dev

10 years agoDisplay time to charge on lock screen
Adrian Roos [Wed, 4 Jun 2014 11:54:08 +0000 (13:54 +0200)]
Display time to charge on lock screen

Bug: 14410848
Change-Id: I7ffad4dcc83ceeaeb29342439de11c91b4d63ce8

10 years agoMerge "Fixed that app-info longpress was lost on configuration changes." into lmp...
Selim Cinek [Wed, 4 Jun 2014 15:05:04 +0000 (15:05 +0000)]
Merge "Fixed that app-info longpress was lost on configuration changes." into lmp-preview-dev

10 years agoHide TrustAgentService in lmp-preview - DO NOT MERGE
Adrian Roos [Wed, 4 Jun 2014 15:02:57 +0000 (17:02 +0200)]
Hide TrustAgentService in lmp-preview - DO NOT MERGE

Bug: 15287044
Change-Id: Iba0d53b87bcb4bddccec89cf943ed65491aa9d76

10 years agoMerge "Changed the overscroll and expanding behaviour." into lmp-preview-dev
Selim Cinek [Wed, 4 Jun 2014 15:02:54 +0000 (15:02 +0000)]
Merge "Changed the overscroll and expanding behaviour." into lmp-preview-dev

10 years agoMerge "Fix more card appearance to spec from design." into lmp-preview-dev
Jorim Jaggi [Wed, 4 Jun 2014 14:59:45 +0000 (14:59 +0000)]
Merge "Fix more card appearance to spec from design." into lmp-preview-dev

10 years agoFix more card appearance to spec from design.
Jorim Jaggi [Tue, 3 Jun 2014 17:57:26 +0000 (19:57 +0200)]
Fix more card appearance to spec from design.

Bug: 15392952
Change-Id: I4539b48af33dc6838ef0c59dac7ca08fc1a2bd03

10 years agoFixed that app-info longpress was lost on configuration changes.
Selim Cinek [Wed, 4 Jun 2014 14:47:54 +0000 (16:47 +0200)]
Fixed that app-info longpress was lost on configuration changes.

Bug:14189139
Change-Id: I14d73085ac8fe79ffa97a72c675b4b7df6324719

10 years agoChanged the overscroll and expanding behaviour.
Selim Cinek [Mon, 2 Jun 2014 12:45:38 +0000 (14:45 +0200)]
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

10 years agoMerge "Create reasonable Activity Transition defaults for quantum theme." into lmp...
George Mount [Wed, 4 Jun 2014 14:15:48 +0000 (14:15 +0000)]
Merge "Create reasonable Activity Transition defaults for quantum theme." into lmp-preview-dev

10 years agoMerge "Go back to keyguard when in SHADE_LOCKED with single tap." into lmp-preview-dev
Jorim Jaggi [Wed, 4 Jun 2014 13:23:23 +0000 (13:23 +0000)]
Merge "Go back to keyguard when in SHADE_LOCKED with single tap." into lmp-preview-dev

10 years agoMerge "Ensure trust agents are only provided by platform packages" into lmp-preview-dev
Adrian Roos [Wed, 4 Jun 2014 13:18:39 +0000 (13:18 +0000)]
Merge "Ensure trust agents are only provided by platform packages" into lmp-preview-dev

10 years agoCall a network restricted only if all capabilities are restricted
Lorenzo Colitti [Wed, 4 Jun 2014 10:59:21 +0000 (19:59 +0900)]
Call a network restricted only if all capabilities are restricted

When guessing whether a network is restricted or not (e.g., when
constructing a NetworkCapabilities object from an APN type, or
when constructing a request using startUsingNetworkFeature),
only assume the network is restricted if all the capabilities it
provides are typically provided by restricted networks (e.g.,
IMS, FOTA, etc.).

Previous code would conclude a network was restricted even if it
supported one "restricted" capability, so for example an APN
that provides both Internet connectivity and FOTA was marked as
restricted. This caused it to become ineligible to provide the
default Internet connection, because that must be unrestricted.

Also expand the list of restricted APN types a bit.

Bug: 15417453
Change-Id: I8c385f2cc83c695449dc8cf943d918321716fe58

10 years agoMerge "QuickSettings: Filter signal assets with color filter." into lmp-preview-dev
John Spurlock [Wed, 4 Jun 2014 05:44:16 +0000 (05:44 +0000)]
Merge "QuickSettings: Filter signal assets with color filter." into lmp-preview-dev

10 years agoQuickSettings: Filter signal assets with color filter.
John Spurlock [Wed, 4 Jun 2014 05:38:34 +0000 (01:38 -0400)]
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

10 years agoQuickSettings: Remove outlined version of location icon.
John Spurlock [Wed, 4 Jun 2014 04:59:53 +0000 (00:59 -0400)]
QuickSettings: Remove outlined version of location icon.

Bug:15186962
Change-Id: I6a7d04abcc4b5593d436b0ec46ecf77f207c6b54

10 years agoMerge "Make requests for restricted networks not require unrestricted access." into...
Lorenzo Colitti [Wed, 4 Jun 2014 05:00:22 +0000 (05:00 +0000)]
Merge "Make requests for restricted networks not require unrestricted access." into lmp-preview-dev

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-preview-dev
Baligh Uddin [Wed, 4 Jun 2014 04:50:43 +0000 (04:50 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-preview-dev

10 years agoQuickSettings: Tile label string updates.
John Spurlock [Wed, 4 Jun 2014 04:40:18 +0000 (00:40 -0400)]
QuickSettings: Tile label string updates.

Bug:15186962
Change-Id: I4a1167e094de81ffbcb498815bb1c7c03fc2be7b

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-preview-dev
Baligh Uddin [Wed, 4 Jun 2014 04:40:42 +0000 (04:40 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-preview-dev

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-preview-dev
Baligh Uddin [Wed, 4 Jun 2014 04:40:30 +0000 (04:40 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-preview-dev

10 years agoMerge "QuickSettings: System accent color for seekbars." into lmp-preview-dev
John Spurlock [Wed, 4 Jun 2014 04:20:47 +0000 (04:20 +0000)]
Merge "QuickSettings: System accent color for seekbars." into lmp-preview-dev

10 years agoQuickSettings: System accent color for seekbars.
John Spurlock [Wed, 4 Jun 2014 04:15:51 +0000 (00:15 -0400)]
QuickSettings: System accent color for seekbars.

Decouple system ui's seekbar's color from the platform
default.

Bug:15186962
Change-Id: I8e4f5605bf5f8be32b290e588d2d854e908f2387

10 years agoFix incorrect getStringBounds (Minikin)
Raph Levien [Wed, 4 Jun 2014 02:56:05 +0000 (19:56 -0700)]
Fix incorrect getStringBounds (Minikin)

This patch wires up getStringBounds to do the layout with Minikin to get
accurate bounds, and with the correct typeface. It fixes bug 15416575
"getStringBounds gives wrong result in Minikin".

Change-Id: I5c020bc372acb1d785a33c3c296239c151bd8c87

10 years agoMake requests for restricted networks not require unrestricted access.
Lorenzo Colitti [Wed, 4 Jun 2014 03:20:06 +0000 (12:20 +0900)]
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

10 years agoMerge "Fix RadialTimePicker styling" into lmp-preview-dev
Alan Viverette [Wed, 4 Jun 2014 01:43:21 +0000 (01:43 +0000)]
Merge "Fix RadialTimePicker styling" into lmp-preview-dev

10 years agoFix some brain itch.
Adam Powell [Wed, 4 Jun 2014 01:39:33 +0000 (18:39 -0700)]
Fix some brain itch.

Set a default start content inset for quantum action bars.

Change-Id: I97f8b07b52b3afed265691d48caaeb6c54c95f78

10 years agoFix RadialTimePicker styling
Alan Viverette [Wed, 4 Jun 2014 01:36:03 +0000 (18:36 -0700)]
Fix RadialTimePicker styling

Also sneaks in some whitespace cleanup for PhoneWindow!

Change-Id: I1bc8a889a59d69ae80b6cfbf54d57cd7f8ad4a36

10 years agoMerge "Fix action bar menu inflation context" into lmp-preview-dev
Alan Viverette [Wed, 4 Jun 2014 01:17:25 +0000 (01:17 +0000)]
Merge "Fix action bar menu inflation context" into lmp-preview-dev

10 years agoMerge "Implement action bar tab mode for Toolbar-based decor action bars" into lmp...
Adam Powell [Wed, 4 Jun 2014 01:17:06 +0000 (01:17 +0000)]
Merge "Implement action bar tab mode for Toolbar-based decor action bars" into lmp-preview-dev

10 years agoMerge "Fix legacy APIs." into lmp-preview-dev
Robert Greenwalt [Wed, 4 Jun 2014 01:14:37 +0000 (01:14 +0000)]
Merge "Fix legacy APIs." into lmp-preview-dev

10 years agoMerge "Fixing back regression in Recents." into lmp-preview-dev
Winson Chung [Wed, 4 Jun 2014 01:09:58 +0000 (01:09 +0000)]
Merge "Fixing back regression in Recents." into lmp-preview-dev

10 years agoadd permission for AudioManager routing APIs.
Eric Laurent [Thu, 29 May 2014 21:42:54 +0000 (14:42 -0700)]
add permission for AudioManager routing APIs.

Add signature or system permission
"android.permission.MODIFY_AUDIO_ROUTING" for AudioManager APIs
allowing system services and applications to modify audio routing.

Bug: 14815883.
Change-Id: If09f6f3a166a6b2f3761b65dbde0c86873850f07

10 years agoMerge "camera2: Implement most of CameraCaptureSession" into lmp-preview-dev
Igor Murashkin [Wed, 4 Jun 2014 01:00:06 +0000 (01:00 +0000)]
Merge "camera2: Implement most of CameraCaptureSession" into lmp-preview-dev

10 years agoImplement action bar tab mode for Toolbar-based decor action bars
Adam Powell [Wed, 4 Jun 2014 00:54:34 +0000 (17:54 -0700)]
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

10 years agoMerge "Force write battery stats after a --history-since." into lmp-preview-dev
Dianne Hackborn [Wed, 4 Jun 2014 00:54:45 +0000 (00:54 +0000)]
Merge "Force write battery stats after a --history-since." into lmp-preview-dev

10 years agoForce write battery stats after a --history-since.
Dianne Hackborn [Wed, 4 Jun 2014 00:24:42 +0000 (17:24 -0700)]
Force write battery stats after a --history-since.

This should help the stats be more consistent across
system restarts.

Change-Id: If1736608373aada8b55d72ecf80fbbc52bd288bd

10 years agoMerge "Better Minikin integration" into lmp-preview-dev
Raph Levien [Wed, 4 Jun 2014 00:46:24 +0000 (00:46 +0000)]
Merge "Better Minikin integration" into lmp-preview-dev

10 years agoBetter Minikin integration
Raph Levien [Sun, 1 Jun 2014 22:54:47 +0000 (15:54 -0700)]
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

10 years agoFix action bar menu inflation context
Alan Viverette [Wed, 4 Jun 2014 00:32:19 +0000 (17:32 -0700)]
Fix action bar menu inflation context

Change-Id: I9da159d7721f41974b711e74edbaba6d6740f183

10 years agoCreate reasonable Activity Transition defaults for quantum theme.
George Mount [Mon, 2 Jun 2014 23:47:07 +0000 (16:47 -0700)]
Create reasonable Activity Transition defaults for quantum theme.

Bug 15390838

Change-Id: I55c2138176bd00074aa0320a64c3e595d9b9ea13

10 years agoMerge "AudioManager: fix AudioPort gain query" into lmp-preview-dev
Eric Laurent [Wed, 4 Jun 2014 00:27:50 +0000 (00:27 +0000)]
Merge "AudioManager: fix AudioPort gain query" into lmp-preview-dev

10 years agoFix legacy APIs.
Robert Greenwalt [Wed, 4 Jun 2014 00:22:11 +0000 (17:22 -0700)]
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

10 years agoMerge "Force all windows to redraw before unblanking screen" into lmp-preview-dev
Craig Mautner [Wed, 4 Jun 2014 00:21:00 +0000 (00:21 +0000)]
Merge "Force all windows to redraw before unblanking screen" into lmp-preview-dev

10 years agoForce all windows to redraw before unblanking screen
Craig Mautner [Sat, 31 May 2014 22:13:37 +0000 (15:13 -0700)]
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

10 years agoMerge "Temporary drawable for Quantum progress indicator" into lmp-preview-dev
Alan Viverette [Wed, 4 Jun 2014 00:00:13 +0000 (00:00 +0000)]
Merge "Temporary drawable for Quantum progress indicator" into lmp-preview-dev