OSDN Git Service

android-x86/frameworks-base.git
10 years agoCamera2: Fix availableCapabilities incorrect type
Zhijun He [Thu, 29 May 2014 20:41:49 +0000 (13:41 -0700)]
Camera2: Fix availableCapabilities incorrect type

Bug: 15168075
Change-Id: I50553d740101b7db1b7695344bf4cdf9c5cd1cf9

10 years agoMerge "Remove default toolbar content inset for action bars" into lmp-preview-dev
Adam Powell [Thu, 29 May 2014 20:48:52 +0000 (20:48 +0000)]
Merge "Remove default toolbar content inset for action bars" into lmp-preview-dev

10 years agoMerge "Fix a typo on TvContract." into lmp-preview-dev
Dongwon Kang [Thu, 29 May 2014 20:23:53 +0000 (20:23 +0000)]
Merge "Fix a typo on TvContract." into lmp-preview-dev

10 years agoRemove default toolbar content inset for action bars
Adam Powell [Thu, 29 May 2014 19:39:10 +0000 (12:39 -0700)]
Remove default toolbar content inset for action bars

While this may still be a good idea in the long run, it has a number
of negative effects on the layout for activities that never plan to
use a navigation button. Needs further consideration with UX.

Change-Id: If418e6124601f3978fa169ac9c9f48fc39409fec

10 years agoMerge "Fix for setting Toolbar content descriptions" into lmp-preview-dev
Adam Powell [Thu, 29 May 2014 19:23:48 +0000 (19:23 +0000)]
Merge "Fix for setting Toolbar content descriptions" into lmp-preview-dev

10 years agoFix for setting Toolbar content descriptions
Adam Powell [Thu, 29 May 2014 19:16:09 +0000 (12:16 -0700)]
Fix for setting Toolbar content descriptions

Allow resid 0 as a null content description.

Change-Id: I0663feac229a77d5efffece2bd686de4ee99d840

10 years agoMerge "Implement bind-to-network functionality of android.net.Network." into lmp...
Paul Jensen [Thu, 29 May 2014 19:15:29 +0000 (19:15 +0000)]
Merge "Implement bind-to-network functionality of android.net.Network." into lmp-preview-dev

10 years agoImplement bind-to-network functionality of android.net.Network.
Paul Jensen [Tue, 20 May 2014 15:25:35 +0000 (11:25 -0400)]
Implement bind-to-network functionality of android.net.Network.

This is implemented by calling through to netd_client.
Included are functions to bind-to-network-for-process strictly for DNS to
facilitate startUsingNetworkFeature() reimplementation.

bug: 13885501

Change-Id: Ib22c7d02ea81d251bdfeeb0f64a47ce32eefcb1b
(cherry picked from commit dbf76f898f1f57eb74722358087c926d2f529bda)

10 years agoMerge "Camera2: Test null TonemapCurve behavior" into lmp-preview-dev
Yin-Chia Yeh [Thu, 29 May 2014 18:42:14 +0000 (18:42 +0000)]
Merge "Camera2: Test null TonemapCurve behavior" into lmp-preview-dev

10 years agoMerge "implement keyguardGoingAway() fixes build." into lmp-preview-dev
Craig Mautner [Thu, 29 May 2014 18:32:41 +0000 (18:32 +0000)]
Merge "implement keyguardGoingAway() fixes build." into lmp-preview-dev

10 years agoMerge "Moved shared element motion to be in called Activity." into lmp-preview-dev
George Mount [Thu, 29 May 2014 18:14:48 +0000 (18:14 +0000)]
Merge "Moved shared element motion to be in called Activity." into lmp-preview-dev

10 years agoimplement keyguardGoingAway() fixes build.
Craig Mautner [Thu, 29 May 2014 17:49:10 +0000 (10:49 -0700)]
implement keyguardGoingAway() fixes build.

Fix bug 15326529.

Change-Id: I9095fe70721bfb031dd1080da1d61ff4e1a8c8ab

10 years agoMerge "Revert "Modify task navigation to return to recent tasks." DO NOT MERGE" into...
Craig Mautner [Thu, 29 May 2014 16:51:23 +0000 (16:51 +0000)]
Merge "Revert "Modify task navigation to return to recent tasks." DO NOT MERGE" into lmp-preview-dev

10 years agoRevert "Modify task navigation to return to recent tasks." DO NOT MERGE
Craig Mautner [Thu, 29 May 2014 16:50:59 +0000 (16:50 +0000)]
Revert "Modify task navigation to return to recent tasks." DO NOT MERGE

This reverts commit 1a4e211e03f1f795d935058e27356a0e8bc5df7c.

Change-Id: Ia691b93347c7eb2395933e5a5ba385ea94e08d6f

10 years agoMerge "Add methods to coordinate unlock animation." into lmp-preview-dev
Craig Mautner [Thu, 29 May 2014 16:45:35 +0000 (16:45 +0000)]
Merge "Add methods to coordinate unlock animation." into lmp-preview-dev

10 years agoFix a typo on TvContract.
Dongwon Kang [Thu, 29 May 2014 16:29:08 +0000 (09:29 -0700)]
Fix a typo on TvContract.

Change-Id: I2558f4d463653c7e35de7dccb60189ee9eb0a307

10 years agoMoved shared element motion to be in called Activity.
George Mount [Sat, 24 May 2014 02:21:36 +0000 (19:21 -0700)]
Moved shared element motion to be in called Activity.

Bug 15198605

Change-Id: I07ce4f3366dbdc6957d789f724e49d260fe34faf

10 years agoMerge "DO NOT MERGE: Hide crypto consts from docs" into lmp-preview-dev
Paul Lawrence [Thu, 29 May 2014 16:07:27 +0000 (16:07 +0000)]
Merge "DO NOT MERGE: Hide crypto consts from docs" into lmp-preview-dev

10 years agoDO NOT MERGE: Hide crypto consts from docs
Paul Lawrence [Wed, 28 May 2014 14:14:17 +0000 (07:14 -0700)]
DO NOT MERGE: Hide crypto consts from docs

@bug 15192967

Change-Id: I134b2cb2d2841bc101e63a8a4dbd86f7b7bdca14
(cherry picked from commit 81ab14fb19a2669aa54c1a333c807c22d5c41a8e)

10 years agoMerge "Use DecorToolbar.getViewGroup() to get the view properly." into lmp-preview-dev
Dan Sandler [Thu, 29 May 2014 15:53:02 +0000 (15:53 +0000)]
Merge "Use DecorToolbar.getViewGroup() to get the view properly." into lmp-preview-dev

10 years agoMerge "Recurse into directories to find fonts. [DO NOT MERGE]" into lmp-preview-dev
Deepanshu Gupta [Thu, 29 May 2014 15:38:17 +0000 (15:38 +0000)]
Merge "Recurse into directories to find fonts. [DO NOT MERGE]" into lmp-preview-dev

10 years agoMerge "Parallel processing of the fonts. [DO NOT MERGE]" into lmp-preview-dev
Deepanshu Gupta [Thu, 29 May 2014 15:37:54 +0000 (15:37 +0000)]
Merge "Parallel processing of the fonts. [DO NOT MERGE]" into lmp-preview-dev

10 years agoMerge "Add multiple dir support to build_font.py [DO NOT MERGE]" into lmp-preview-dev
Deepanshu Gupta [Thu, 29 May 2014 15:37:44 +0000 (15:37 +0000)]
Merge "Add multiple dir support to build_font.py [DO NOT MERGE]" into lmp-preview-dev

10 years agoMerge "Layoutlib: Fix FontFamily_Delegate use after unref" into lmp-preview-dev
Deepanshu Gupta [Thu, 29 May 2014 15:37:24 +0000 (15:37 +0000)]
Merge "Layoutlib: Fix FontFamily_Delegate use after unref" into lmp-preview-dev

10 years agoMerge "Update delegates" into lmp-preview-dev
Deepanshu Gupta [Thu, 29 May 2014 15:37:06 +0000 (15:37 +0000)]
Merge "Update delegates" into lmp-preview-dev

10 years agoMerge "DO NOT MERGE Cherry-pick: Additional doc fixes for WearableExtender" into...
Griff Hazen [Thu, 29 May 2014 15:17:26 +0000 (15:17 +0000)]
Merge "DO NOT MERGE Cherry-pick: Additional doc fixes for WearableExtender" into lmp-preview-dev

10 years agoMerge "Don't break things if a network goes back to CONNECTED." into lmp-preview-dev
Robert Greenwalt [Thu, 29 May 2014 15:15:14 +0000 (15:15 +0000)]
Merge "Don't break things if a network goes back to CONNECTED." into lmp-preview-dev

10 years agoUse DecorToolbar.getViewGroup() to get the view properly.
Dan Sandler [Thu, 29 May 2014 15:02:41 +0000 (11:02 -0400)]
Use DecorToolbar.getViewGroup() to get the view properly.

Bug: 15320825
Change-Id: Ib7e162c816fadf2b5c83af1326e7158f6bd69c8e

10 years agoVolumeZen: Don't clear stream type if embedded.
John Spurlock [Thu, 29 May 2014 14:17:51 +0000 (10:17 -0400)]
VolumeZen: Don't clear stream type if embedded.

Clearing the stream type makes sense if the volume panel is
in dialog mode, but not when embedded.

Bug:15186070
Change-Id: Ice5f547ef987e28ef51050faef682c5dfa5f7604

10 years agoQuickSettings: Basic content-resizing for detail panel.
John Spurlock [Thu, 29 May 2014 00:27:44 +0000 (20:27 -0400)]
QuickSettings: Basic content-resizing for detail panel.

Also remove toggle from zen tile + fix bottom padding.

Bug:15315490
Change-Id: Ib839b9280ce60d2f51e4c0c46e41a7743e7ec8f6

10 years agoDon't break things if a network goes back to CONNECTED.
Lorenzo Colitti [Thu, 29 May 2014 05:05:41 +0000 (14:05 +0900)]
Don't break things if a network goes back to CONNECTED.

Currently, if a network goes from CONNECTED to some other "live"
state (e.g., CONNECTING, because it's VERIFYING_POOR_LINK) and
back, ConnectivityService treats it as if a new network had
connected.  This causes it to attempt to create the network
(which fails, since a network with that netid already exists), to
trigger verification, and if the verification succeeds, to tear
down the network because the request it's satisfying is already
satisfied by the network itself.

Instead, if creating the network fails, assume it's because the
network had already been created, and bail out.

Also, when validation completes, ignore NetworkRequests that were
being served by the same NetworkAgent as before.

Bug: 15244052

(cherry picked from commit cfff026ec47afc7e31f60f80e3deea7f4e2f9be5)

Change-Id: I52c2220e8f1d98fca765880be3040593e92722ed

10 years agoDO NOT MERGE Cherry-pick: Additional doc fixes for WearableExtender
Griff Hazen [Thu, 29 May 2014 05:37:13 +0000 (22:37 -0700)]
DO NOT MERGE Cherry-pick: Additional doc fixes for WearableExtender

Change-Id: I3764e4d97c0007b905ff0f3eb553234668fd50e1

10 years agoMerge "Stopgap fix for layoutlib." into lmp-preview-dev
Xavier Ducrohet [Thu, 29 May 2014 05:27:32 +0000 (05:27 +0000)]
Merge "Stopgap fix for layoutlib." into lmp-preview-dev

10 years agoTracking ActionBarView change 1181f77bdfaa7bf8a8250cdd13c7b7a1d6ee0c44
Brian Carlstrom [Thu, 29 May 2014 04:43:35 +0000 (21:43 -0700)]
Tracking ActionBarView change 1181f77bdfaa7bf8a8250cdd13c7b7a1d6ee0c44

Change-Id: I29a486557428806f26f900974e74f42f3afa4ad4

10 years agoTracking IWindowManager change 2ea3814083f27567ae07a1b449da3d596dd4d9d5
Brian Carlstrom [Thu, 29 May 2014 04:37:52 +0000 (21:37 -0700)]
Tracking IWindowManager change 2ea3814083f27567ae07a1b449da3d596dd4d9d5

Change-Id: I6945cc9b4be174b55173ac2081edc5ee1bee6e67

10 years agoMerge "Widget restore documentation tweaks" into lmp-preview-dev
Christopher Tate [Thu, 29 May 2014 01:27:51 +0000 (01:27 +0000)]
Merge "Widget restore documentation tweaks" into lmp-preview-dev

10 years agoWidget restore documentation tweaks
Christopher Tate [Thu, 29 May 2014 00:56:53 +0000 (17:56 -0700)]
Widget restore documentation tweaks

- Fix broken Javadoc @see directives
- Linkify AppWidgetProvider in the documentation for the new
  ACTION_APPWIDGET_RESTORED broadcast
- Minor content edits

Bug 15022842

Change-Id: Ia7d4ad5be476c260492e1be5d83e21f6943a6847

10 years agoMerge "Fixed a bug where the user was unable to pull down statusbar." into lmp-previe...
Selim Cinek [Thu, 29 May 2014 00:20:33 +0000 (00:20 +0000)]
Merge "Fixed a bug where the user was unable to pull down statusbar." into lmp-preview-dev

10 years agoMerge "Add system layer for voice interaction services." into lmp-preview-dev
Dianne Hackborn [Thu, 29 May 2014 00:18:25 +0000 (00:18 +0000)]
Merge "Add system layer for voice interaction services." into lmp-preview-dev

10 years agoAdd system layer for voice interaction services.
Dianne Hackborn [Wed, 28 May 2014 01:24:45 +0000 (18:24 -0700)]
Add system layer for voice interaction services.

New window layer that voice interaction service windows
go in to.  Includes a new voice-specific content rectangle
that voice activities are placed in to.

Add specific animations for this layer, sliding down from
the top (though this can be customized by the voice interaction
service).

Also add the concept of activities running for voice interaction
services for purposes of adjusting the animation used for them,
again sliding from the top, but not (yet?) customizable by the
voice interaction service.

Change-Id: Ic9e0e8c843c2e2972d6abb4087dce0019326155d

10 years agoFixed a bug where the user was unable to pull down statusbar.
Selim Cinek [Thu, 29 May 2014 00:12:47 +0000 (02:12 +0200)]
Fixed a bug where the user was unable to pull down statusbar.

When going to the phone or camera from the lockscreen, touches
where blocked and the statusbar could not be pulled down anymore.

Bug: 15308821
Bug: 15126905
Change-Id: Ic9563346f6a466cb5ada3f4af518fabcd650e9b9

10 years agoStopgap fix for layoutlib.
Deepanshu Gupta [Thu, 22 May 2014 23:03:54 +0000 (16:03 -0700)]
Stopgap fix for layoutlib.

This is a temporary fix for changes made to TypedArray regrading theme
attributes.

Change-Id: I173fde6d8d3259479b0654ff331bc27bf2814fb0

10 years agoMerge "SysUI: Fix bug where ZEN notification icon was shown" into lmp-preview-dev
Christoph Studer [Wed, 28 May 2014 23:40:00 +0000 (23:40 +0000)]
Merge "SysUI: Fix bug where ZEN notification icon was shown" into lmp-preview-dev

10 years agoMerge "Don't crash on boot" into lmp-preview-dev
Christopher Tate [Wed, 28 May 2014 23:37:29 +0000 (23:37 +0000)]
Merge "Don't crash on boot" into lmp-preview-dev

10 years agoDon't crash on boot
Christopher Tate [Wed, 28 May 2014 23:31:58 +0000 (16:31 -0700)]
Don't crash on boot

...when removing dangling preferred-activity entries.

Bug 15310848

Change-Id: Ibe9d82a06f8c608b866a2c3c6b286da2ededacca

10 years agoMerge "Make ViewPropertyAnimator correctly damage shadow receivers" into lmp-preview-dev
Chris Craik [Wed, 28 May 2014 23:16:13 +0000 (23:16 +0000)]
Merge "Make ViewPropertyAnimator correctly damage shadow receivers" into lmp-preview-dev

10 years agoLayoutlib: Fix FontFamily_Delegate use after unref
Deepanshu Gupta [Fri, 23 May 2014 20:22:12 +0000 (13:22 -0700)]
Layoutlib: Fix FontFamily_Delegate use after unref

FontFamily_Delegate was being reused after the nUnref call. The issue is
fixed by storing the reference to the FontFamily_Delegate directly in
the Typeface_Delegate rather than storing the native pointer.

Change-Id: I0db724a83c4be3d7b64ccba0989cd64129f2a785

10 years agoMerge "Respect Z ordering in touch dispatch, software drawing" into lmp-preview-dev
Chris Craik [Wed, 28 May 2014 23:12:57 +0000 (23:12 +0000)]
Merge "Respect Z ordering in touch dispatch, software drawing" into lmp-preview-dev

10 years agoMerge "QuickSettings: Bind notifications tile to the ringer stream." into lmp-preview-dev
John Spurlock [Wed, 28 May 2014 23:11:58 +0000 (23:11 +0000)]
Merge "QuickSettings: Bind notifications tile to the ringer stream." into lmp-preview-dev

10 years agoQuickSettings: Bind notifications tile to the ringer stream.
John Spurlock [Wed, 28 May 2014 23:09:17 +0000 (19:09 -0400)]
QuickSettings: Bind notifications tile to the ringer stream.

So it has the same logic as the dialog version.  The streams
are bound together.

Bug:15314453
Change-Id: Icc8e5f359948b60c52616709cd34a48e108b96cd

10 years agoMerge "Camera2: Update spec for thumbnail cropping behavior" into lmp-preview-dev
Zhijun He [Wed, 28 May 2014 22:49:31 +0000 (22:49 +0000)]
Merge "Camera2: Update spec for thumbnail cropping behavior" into lmp-preview-dev

10 years agoCamera2: Test null TonemapCurve behavior
Yin-Chia Yeh [Wed, 28 May 2014 22:39:50 +0000 (15:39 -0700)]
Camera2: Test null TonemapCurve behavior

Add a test to verify we return null TonemapCurve when at least one
channel of tonemap curve is absent.

Bug: 14628001
Change-Id: I3e89dbcf00e5f21b01fc78fe43fe5c4200690357

10 years agoCamera2: Update spec for thumbnail cropping behavior
Zhijun He [Wed, 28 May 2014 20:52:04 +0000 (13:52 -0700)]
Camera2: Update spec for thumbnail cropping behavior

Also update FULL capability spec (remove ZSL from the requirement list).

Bug: 15168075
Change-Id: I864baf35ffab9047b52facb29011682e724bbc9b

10 years agoMerge "SysUI: Switch to NotificationListenerService" into lmp-preview-dev
Christoph Studer [Wed, 28 May 2014 22:22:16 +0000 (22:22 +0000)]
Merge "SysUI: Switch to NotificationListenerService" into lmp-preview-dev

10 years agoMerge "@hide Telecomm APIs [DO NOT MERGE]" into lmp-preview-dev
Evan Charlton [Wed, 28 May 2014 22:14:07 +0000 (22:14 +0000)]
Merge "@hide Telecomm APIs [DO NOT MERGE]" into lmp-preview-dev

10 years agoMerge "DO NOT MERGE - AudioManager: audio routing extensions" into lmp-preview-dev
Eric Laurent [Wed, 28 May 2014 22:11:19 +0000 (22:11 +0000)]
Merge "DO NOT MERGE - AudioManager: audio routing extensions" into lmp-preview-dev

10 years agoUpdate delegates
Deepanshu Gupta [Wed, 28 May 2014 22:02:29 +0000 (15:02 -0700)]
Update delegates

Update layoutlib delegates in response to commit
a631a36de986acea2ef6fdfbaf3441a28b914b15

Change-Id: I897a7e3a61286bfae9054415d555febe16410106

10 years agoMerge "Camera2: Fix wrong index in ColorSpaceTransform" into lmp-preview-dev
Yin-Chia Yeh [Wed, 28 May 2014 21:54:41 +0000 (21:54 +0000)]
Merge "Camera2: Fix wrong index in ColorSpaceTransform" into lmp-preview-dev

10 years agoMerge "Toolbar factoring and ActionBar functionality integration" into lmp-preview-dev
Adam Powell [Wed, 28 May 2014 21:44:01 +0000 (21:44 +0000)]
Merge "Toolbar factoring and ActionBar functionality integration" into lmp-preview-dev

10 years agoDO NOT MERGE - AudioManager: audio routing extensions
Eric Laurent [Wed, 19 Feb 2014 00:26:17 +0000 (16:26 -0800)]
DO NOT MERGE - AudioManager: audio routing extensions

Added API and classes allowing framework components
to have direct control over audio routing and volumes.

Change-Id: I28225a6ebad86a7836e1ed749d93c0e964e215f1

10 years agoMerge "Move to dalvik.vm.lib.2 to force default to libart" into lmp-preview-dev
Brian Carlstrom [Wed, 28 May 2014 21:39:28 +0000 (21:39 +0000)]
Merge "Move to dalvik.vm.lib.2 to force default to libart" into lmp-preview-dev

10 years agoMerge "DO NOT MERGE - Support disconnecting while trying to connect." into lmp-previe...
Lorenzo Colitti [Wed, 28 May 2014 21:38:02 +0000 (21:38 +0000)]
Merge "DO NOT MERGE - Support disconnecting while trying to connect." into lmp-preview-dev

10 years agoMove to dalvik.vm.lib.2 to force default to libart
Brian Carlstrom [Wed, 28 May 2014 21:31:47 +0000 (14:31 -0700)]
Move to dalvik.vm.lib.2 to force default to libart

Bug: 14298175
Change-Id: I8afa91bddfb6fec6b61c39286a16594eb947830e

10 years agoCamera2: Fix wrong index in ColorSpaceTransform
Yin-Chia Yeh [Wed, 28 May 2014 16:12:03 +0000 (09:12 -0700)]
Camera2: Fix wrong index in ColorSpaceTransform

Bug: 15309870
Change-Id: I89a043a005435695ac8649e20d4e0e58d0f62bc7

10 years agoMake ViewPropertyAnimator correctly damage shadow receivers
Chris Craik [Wed, 28 May 2014 02:18:10 +0000 (19:18 -0700)]
Make ViewPropertyAnimator correctly damage shadow receivers

bug:14313537
Change-Id: Ib0a2fa1bf6b611acd26cec59203075a193e30a1e

10 years agoRespect Z ordering in touch dispatch, software drawing
Chris Craik [Sat, 24 May 2014 00:55:03 +0000 (17:55 -0700)]
Respect Z ordering in touch dispatch, software drawing

bug:14390526
Change-Id: I617a6ea7dbac1facae246491a247cf307452fc0e

10 years agoMerge changes Ia0f54124,I1e085f5e,Ic0a3ff0a,I141847df,I8ae4efa2 into lmp-preview-dev
Eino-Ville Talvala [Wed, 28 May 2014 20:33:42 +0000 (20:33 +0000)]
Merge changes Ia0f54124,I1e085f5e,Ic0a3ff0a,I141847df,I8ae4efa2 into lmp-preview-dev

* changes:
  camera2: Update native/managed key mappings.
  Camera2: switch API interface to java classses
  Camera2: Use ColorSpaceTransform and RggbChannelVector, replace enum byte[]
  camera2: Add new metadata keys, change types for existing range keys
  Camera2: Replace int[] by MeteringRectangle

10 years ago@hide Telecomm APIs [DO NOT MERGE]
Evan Charlton [Wed, 28 May 2014 20:22:05 +0000 (13:22 -0700)]
@hide Telecomm APIs [DO NOT MERGE]

Change-Id: Id2d8d21f5de79bd5ffa468a82b29b77daf07e120

10 years agoMerge "Disable RT animations" into lmp-preview-dev
John Reck [Wed, 28 May 2014 19:38:06 +0000 (19:38 +0000)]
Merge "Disable RT animations" into lmp-preview-dev

10 years agoToolbar factoring and ActionBar functionality integration
Adam Powell [Sat, 24 May 2014 00:27:24 +0000 (17:27 -0700)]
Toolbar factoring and ActionBar functionality integration

Toolbars now can act in the role of ActionBar with the exception of
navigation modes. Expandable action views are now supported as well as
populating menu items from a host window.

Change-Id: If477db9c7ad9f95723f28cf73cbf03a07ce9d6ad

10 years agoDisable RT animations
John Reck [Wed, 28 May 2014 19:35:30 +0000 (12:35 -0700)]
Disable RT animations

 Bug: 15287046

Change-Id: Ib511053726153649ea1bda337d14bc05db4f0bf9

10 years agoMerge "DO NOT MERGE - Run the task manager service at startup" into lmp-preview-dev
Christopher Tate [Wed, 28 May 2014 19:03:02 +0000 (19:03 +0000)]
Merge "DO NOT MERGE - Run the task manager service at startup" into lmp-preview-dev

10 years agoMerge "Adding ITelecommService definition for Telecomm." into lmp-preview-dev
Santos Cordon [Wed, 28 May 2014 18:31:13 +0000 (18:31 +0000)]
Merge "Adding ITelecommService definition for Telecomm." into lmp-preview-dev

10 years agocamera2: Update native/managed key mappings.
Ruben Brunk [Wed, 28 May 2014 01:58:08 +0000 (18:58 -0700)]
camera2: Update native/managed key mappings.

Switches to using managed value classes for the following keys:
- android.sensor.info.sensitivityRange
- android.sensor.info.exposureTimeRange
- android.jpeg.gpsCoordinates
- android.jpeg.gpsTimestamp
- android.jpeg.gpsProcessingMethod
- android.statistics.lensShadingMap
- android.lens.info.shadingMapSize
Also fixes a minor bug in LensShadingMap

Bug: 14628001
Change-Id: Ia0f541242f529ab9ba3111db799306b198f2b40b

10 years agoMerge "Layoutlib fixes for L [DO NOT MERGE]" into lmp-preview-dev
Deepanshu Gupta [Wed, 28 May 2014 17:18:58 +0000 (17:18 +0000)]
Merge "Layoutlib fixes for L [DO NOT MERGE]" into lmp-preview-dev

10 years agoMerge "DO NOT MERGE temporary hide of AudioAttributes" into lmp-preview-dev
Jean-Michel Trivi [Wed, 28 May 2014 16:11:30 +0000 (16:11 +0000)]
Merge "DO NOT MERGE temporary hide of AudioAttributes" into lmp-preview-dev

10 years agoMerge "Implement FlushCaches TODO" into lmp-preview-dev
John Reck [Wed, 28 May 2014 16:02:06 +0000 (16:02 +0000)]
Merge "Implement FlushCaches TODO" into lmp-preview-dev

10 years agoMerge "DO NOT MERGE Cherry-pick: Add full screen size preset to WearableExtender...
Griff Hazen [Wed, 28 May 2014 15:59:13 +0000 (15:59 +0000)]
Merge "DO NOT MERGE Cherry-pick: Add full screen size preset to WearableExtender" into lmp-preview-dev

10 years agoMerge "Appear animation for PIN view." into lmp-preview-dev
Jorim Jaggi [Wed, 28 May 2014 15:34:33 +0000 (15:34 +0000)]
Merge "Appear animation for PIN view." into lmp-preview-dev

10 years agoAppear animation for PIN view.
Jorim Jaggi [Wed, 28 May 2014 14:20:03 +0000 (16:20 +0200)]
Appear animation for PIN view.

Bug: 15163546
Change-Id: I05bc2920cc6e3d19ab64b8b43417b328552e9e2a

10 years agoSysUI: Fix bug where ZEN'd notification wasn't updated
Christoph Studer [Mon, 26 May 2014 21:21:16 +0000 (23:21 +0200)]
SysUI: Fix bug where ZEN'd notification wasn't updated

Bug: 15131411
Change-Id: If6a149a04b34b63052797bbadb3a6fde18c675cd

10 years agoMerge "Use activity transitions when launched from fragments." into lmp-preview-dev
George Mount [Wed, 28 May 2014 14:37:34 +0000 (14:37 +0000)]
Merge "Use activity transitions when launched from fragments." into lmp-preview-dev

10 years agoMerge "fixed mIsReturning initialized too late. DO NOT MERGE." into lmp-preview-dev
George Mount [Wed, 28 May 2014 14:37:18 +0000 (14:37 +0000)]
Merge "fixed mIsReturning initialized too late. DO NOT MERGE." into lmp-preview-dev

10 years agoMerge "SysUI: Reflect notification ranking" into lmp-preview-dev
Christoph Studer [Wed, 28 May 2014 14:33:05 +0000 (14:33 +0000)]
Merge "SysUI: Reflect notification ranking" into lmp-preview-dev

10 years agoIntroduced animations for the clipTopAmount of notifications.
Selim Cinek [Wed, 28 May 2014 12:16:02 +0000 (14:16 +0200)]
Introduced animations for the clipTopAmount of notifications.

Bug: 14081264
Change-Id: I09ca8161807d9dea7ca118601ddff9a28c373de5

10 years agoMerge "Implemented basic camera and phone affordance." into lmp-preview-dev
Selim Cinek [Wed, 28 May 2014 14:17:24 +0000 (14:17 +0000)]
Merge "Implemented basic camera and phone affordance." into lmp-preview-dev

10 years agoImplemented basic camera and phone affordance.
Selim Cinek [Mon, 26 May 2014 17:22:17 +0000 (19:22 +0200)]
Implemented basic camera and phone affordance.

The phone and the camera can now be accessed when swiping anywhere
on the background of the keyguard in the corresponding direction.

Bug: 15126905
Change-Id: If5551078676275764d5b7ddbca6e71cf008a1904

10 years agoSysUI: Reflect notification ranking
Christoph Studer [Mon, 26 May 2014 11:10:30 +0000 (13:10 +0200)]
SysUI: Reflect notification ranking

Respect the ranking received via NotificationListenerService.

Bug: 15131411
Change-Id: I9e3a1530ffb5f4c29eeeccdbc910261d2eb72216

10 years agoSysUI: Switch to NotificationListenerService
Christoph Studer [Wed, 28 May 2014 12:48:15 +0000 (14:48 +0200)]
SysUI: Switch to NotificationListenerService

Switch SysUI to receive notifications via a NotificationListenerService
instead, byapssing StatusBarManagerService callbacks.

Bug: 15131411
Change-Id: I907a1ff28123219db1c08889d723ad1b70b191ab

10 years agoSysUI: Fix bug where ZEN notification icon was shown
Christoph Studer [Wed, 28 May 2014 12:56:15 +0000 (14:56 +0200)]
SysUI: Fix bug where ZEN notification icon was shown

Bug: 15303664
Change-Id: I295293e62ee878be9b4aa7b13e0c014f935072ca

10 years agoMerge "NoMan: Don't unbind system listeners" into lmp-preview-dev
Christoph Studer [Wed, 28 May 2014 12:10:34 +0000 (12:10 +0000)]
Merge "NoMan: Don't unbind system listeners" into lmp-preview-dev

10 years agoMerge "Fix a typo" into lmp-preview-dev
Sungsoo Lim [Wed, 28 May 2014 09:37:27 +0000 (09:37 +0000)]
Merge "Fix a typo" into lmp-preview-dev

10 years agoDO NOT MERGE - Support disconnecting while trying to connect.
Lorenzo Colitti [Fri, 23 May 2014 17:25:55 +0000 (02:25 +0900)]
DO NOT MERGE - Support disconnecting while trying to connect.

Currently, once a NetworkAgent has decided to connect, there's
no way to disconnect without first connecting and having
ConnectivityService tear down the connection. This is suboptimal
because it causes the transport to keep retrying even if it knows
that it will not be able to connect.

Instead, allow the transport to abort a connection request that's
in progress, as long as the agent is not yet registered with
ConnectivityService.

Also add locking to evalScores. evalScores should already have
been taking a lock, because it accesses member variables that are
also accessed by the send*methods.

Bug: 15295359
Change-Id: I913c341bdfc50be9c23b632399f53168e754c1c0
(cherry picked from commit 081e99c3ac341734467b65458f94adc160f50d6c)

10 years agoCamera2: switch API interface to java classses
Yin-Chia Yeh [Tue, 27 May 2014 17:04:54 +0000 (10:04 -0700)]
Camera2: switch API interface to java classses

android.sensor.info.physicalSize: float[] -> SizeF
android.statistics.hotPixelMap: int[] -> Point[]
android.tonemap.curve[Red|Green|Blue]: float[] -> TonemapCurve

Bug: 14628001
Change-Id: I1e085f5e640a059852fcb504b6dd5f884039e653

10 years agoCamera2: Use ColorSpaceTransform and RggbChannelVector, replace enum byte[]
Eino-Ville Talvala [Wed, 28 May 2014 01:16:53 +0000 (18:16 -0700)]
Camera2: Use ColorSpaceTransform and RggbChannelVector, replace enum byte[]

Also fix a minor bug in ColorSpaceTransform copying validation.

Affected keys:
  android.colorCorrection.transform
  android.colorCorrection.gain
  android.control.aeAvailableAntibandingModes
  android.control.aeAvailableModes
  android.control.afAvailableModes
  android.control.availableEffects
  android.control.availableSceneModes
  android.control.availableVideoStabilizationModes
  android.control.awbAvailableModes
  android.edge.availableEdgeModes
  android.hotpixel.availableHotPixelModes
  android.lens.info.availableOpticalStabilization
  android.noiseReduction.availableNoiseReductionModes
  android.sensor.calibrationTransform1
  android.sensor.calibrationTransform2
  android.sensor.colorTransform1
  android.sensor.colorTransform2
  android.sensor.forwardTransform1
  android.sensor.forwardTransform2
  android.statistics.info.availableFaceDetectModes
  android.tonemap.availableToneMapModes

Bug: 14628001
Change-Id: Ic0a3ff0aaa6bfe872cf8fb740870618c3eee3008

10 years agocamera2: Add new metadata keys, change types for existing range keys
Igor Murashkin [Wed, 28 May 2014 01:32:18 +0000 (18:32 -0700)]
camera2: Add new metadata keys, change types for existing range keys

Also adds the following keys:
* android.control.maxRegionsAe
* android.control.maxRegionsAwb
* android.control.maxRegionsAf
* android.request.maxNumOutputRaw
* android.request.maxNumOutputProc
* android.request.maxNumOutputProcStalling

Changes the following keys' type
generations:
* android.control.aeTargetFpsRange
* (Range<Integer>)
* android.control.aeAvailableTargetFpsRanges
* (Range<Integer>[])
* android.control.aeCompensationRange
* (Range<Integer>)
* android.lens.focusRange
* (Range<Float>)

Bug: 14628001
Change-Id: I141847dffc4b0d89cea37c19a54d6d5faf24a9bb

10 years agoCamera2: Replace int[] by MeteringRectangle
Yin-Chia Yeh [Mon, 19 May 2014 17:23:27 +0000 (10:23 -0700)]
Camera2: Replace int[] by MeteringRectangle

Bug: 14628001
Change-Id: I8ae4efa24d41043046a84b04e5209259a8a21063

10 years agoFix a typo
Sungsoo Lim [Tue, 27 May 2014 00:35:30 +0000 (09:35 +0900)]
Fix a typo

Change-Id: I93e7e38a2e3502883b64c38567eaf5957c4197d2

10 years agoMerge "DO NOT MERGE Cherry-pick: Doc fixes for Notification.WearableExtender" into...
Griff Hazen [Wed, 28 May 2014 07:31:25 +0000 (07:31 +0000)]
Merge "DO NOT MERGE Cherry-pick: Doc fixes for Notification.WearableExtender" into lmp-preview-dev

10 years agoAdding ITelecommService definition for Telecomm.
Santos Cordon [Wed, 21 May 2014 22:22:12 +0000 (15:22 -0700)]
Adding ITelecommService definition for Telecomm.

Until telecomm code moves into a system service, we need a way for
other apps to call into it for call-related functionality.

Initial implementation only has silenceRinger.
This is to be implemented by the telecomm code and used by
TelephonyManager (until we have a TelecommManager).

Change-Id: I9180797451dcb2e9029b20bed47f5d5cb8cddb9f
(cherry picked from commit b895606acf18dbb050c9a32106b3c9c2e5111829)