136904 Commits

Author SHA1 Message Date
Yin-Chia Yeh
884cddcdf4 Camera2: Fix wrong index in ColorSpaceTransform
Bug: 15309870
Change-Id: I89a043a005435695ac8649e20d4e0e58d0f62bc7
2014-05-28 20:54:24 +00:00
Chris Craik
3048545c5a Make ViewPropertyAnimator correctly damage shadow receivers
bug:14313537
Change-Id: Ib0a2fa1bf6b611acd26cec59203075a193e30a1e
2014-05-28 13:35:43 -07:00
Chris Craik
ab008f0c64 Respect Z ordering in touch dispatch, software drawing
bug:14390526
Change-Id: I617a6ea7dbac1facae246491a247cf307452fc0e
2014-05-28 13:35:10 -07:00
Eino-Ville Talvala
b9a65de1f7 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
2014-05-28 20:33:42 +00:00
Evan Charlton
b4eb0c0863 @hide Telecomm APIs [DO NOT MERGE]
Change-Id: Id2d8d21f5de79bd5ffa468a82b29b77daf07e120
2014-05-28 13:22:05 -07:00
John Reck
10d1b4d0b7 Merge "Disable RT animations" into lmp-preview-dev 2014-05-28 19:38:06 +00:00
Adam Powell
e021e6ed89 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
2014-05-28 12:36:38 -07:00
John Reck
4645ab81b7 Disable RT animations
Bug: 15287046

Change-Id: Ib511053726153649ea1bda337d14bc05db4f0bf9
2014-05-28 12:35:30 -07:00
Christopher Tate
560ce61c59 Merge "DO NOT MERGE - Run the task manager service at startup" into lmp-preview-dev 2014-05-28 19:03:03 +00:00
Santos Cordon
63ded51351 Merge "Adding ITelecommService definition for Telecomm." into lmp-preview-dev 2014-05-28 18:31:14 +00:00
Ruben Brunk
574936894d 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
2014-05-28 10:26:21 -07:00
Deepanshu Gupta
dc925857fc Merge "Layoutlib fixes for L [DO NOT MERGE]" into lmp-preview-dev 2014-05-28 17:18:59 +00:00
Jean-Michel Trivi
a0b731363d Merge "DO NOT MERGE temporary hide of AudioAttributes" into lmp-preview-dev 2014-05-28 16:11:30 +00:00
John Reck
45d0192929 Merge "Implement FlushCaches TODO" into lmp-preview-dev 2014-05-28 16:02:06 +00:00
Griff Hazen
10f6de686e Merge "DO NOT MERGE Cherry-pick: Add full screen size preset to WearableExtender" into lmp-preview-dev 2014-05-28 15:59:14 +00:00
Jorim Jaggi
232b1bf550 Cache whether a password/pattern is set.
Bug: 15163546
Change-Id: I15df5111942f0609872a18bd75846900759e49b1
2014-05-28 17:52:55 +02:00
Jorim Jaggi
d5b71cbd7b Merge "Appear animation for PIN view." into lmp-preview-dev 2014-05-28 15:34:34 +00:00
Jorim Jaggi
15a77f7da8 Appear animation for PIN view.
Bug: 15163546
Change-Id: I05bc2920cc6e3d19ab64b8b43417b328552e9e2a
2014-05-28 17:31:33 +02:00
Christoph Studer
e35896885e SysUI: Fix bug where ZEN'd notification wasn't updated
Bug: 15131411
Change-Id: If6a149a04b34b63052797bbadb3a6fde18c675cd
2014-05-28 16:40:18 +02:00
George Mount
1cc3e2e7a0 Merge "Use activity transitions when launched from fragments." into lmp-preview-dev 2014-05-28 14:37:34 +00:00
George Mount
f0ebc5dc21 Merge "fixed mIsReturning initialized too late. DO NOT MERGE." into lmp-preview-dev 2014-05-28 14:37:19 +00:00
Christoph Studer
67e83d5754 Merge "SysUI: Reflect notification ranking" into lmp-preview-dev 2014-05-28 14:33:06 +00:00
Selim Cinek
708a6c120d Introduced animations for the clipTopAmount of notifications.
Bug: 14081264
Change-Id: I09ca8161807d9dea7ca118601ddff9a28c373de5
2014-05-28 14:23:57 +00:00
Selim Cinek
e48bec9689 Merge "Implemented basic camera and phone affordance." into lmp-preview-dev 2014-05-28 14:17:25 +00:00
Selim Cinek
4c6969a512 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
2014-05-28 15:56:22 +02:00
Christoph Studer
37fe693225 SysUI: Reflect notification ranking
Respect the ranking received via NotificationListenerService.

Bug: 15131411
Change-Id: I9e3a1530ffb5f4c29eeeccdbc910261d2eb72216
2014-05-28 15:53:34 +02:00
Christoph Studer
c288514cac SysUI: Switch to NotificationListenerService
Switch SysUI to receive notifications via a NotificationListenerService
instead, byapssing StatusBarManagerService callbacks.

Bug: 15131411
Change-Id: I907a1ff28123219db1c08889d723ad1b70b191ab
2014-05-28 15:40:31 +02:00
Christoph Studer
344f0099ab SysUI: Fix bug where ZEN notification icon was shown
Bug: 15303664
Change-Id: I295293e62ee878be9b4aa7b13e0c014f935072ca
2014-05-28 14:56:15 +02:00
Christoph Studer
19a81a616f Merge "NoMan: Don't unbind system listeners" into lmp-preview-dev 2014-05-28 12:10:34 +00:00
Sungsoo Lim
d3ee3ca90c Merge "Fix a typo" into lmp-preview-dev 2014-05-28 09:37:29 +00:00
Lorenzo Colitti
38fe398453 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)
2014-05-28 09:29:07 +00:00
Yin-Chia Yeh
8490ace76f 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
2014-05-28 01:36:54 -07:00
Eino-Ville Talvala
2bb91a7a68 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
2014-05-28 01:36:53 -07:00
Igor Murashkin
78712a8bd7 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
2014-05-28 01:36:53 -07:00
Yin-Chia Yeh
817f8933ee Camera2: Replace int[] by MeteringRectangle
Bug: 14628001
Change-Id: I8ae4efa24d41043046a84b04e5209259a8a21063
2014-05-28 01:36:53 -07:00
Sungsoo Lim
a2c901d430 Fix a typo
Change-Id: I93e7e38a2e3502883b64c38567eaf5957c4197d2
2014-05-28 16:34:21 +09:00
Griff Hazen
197123db24 Merge "DO NOT MERGE Cherry-pick: Doc fixes for Notification.WearableExtender" into lmp-preview-dev 2014-05-28 07:31:26 +00:00
Sebastien Hertz
98d5658562 Report runtime information to DDMS
Reports runtime's ABI and internal flags to be displayed by DDMS.

Bug: 14888999
Bug: 14888124

(cherry picked from commit e901dbdee242182e4c768edebebc5bc9cbf67563)

Change-Id: I248c2558f4a89ebc9bc6b7a4a54db6091d138b33
2014-05-28 09:13:45 +02:00
Jose Lima
58e66d69f9 Only allow 1 Stack on Leanback-only devices
- For Leanback only devices we will force all activities to
   live in the same app stack. This is a design decision for the
   shy/gregarious changes we are planning to implement for
   leanback devices.

Change-Id: I5e65f9b079830a9485b5a136700993755c3f555f
2014-05-27 20:55:11 -07:00
Santos Cordon
3afed57a7d 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)
2014-05-28 03:36:36 +00:00
Fabrice Di Meglio
bbd8e6ffc6 Merge "Revert "Only allow 1 Stack on Leanback-only devices"" into lmp-preview-dev 2014-05-28 01:50:08 +00:00
Fabrice Di Meglio
c82e7d30e3 Revert "Only allow 1 Stack on Leanback-only devices"
This is making a HH device (and probably others) in a reboot loop

This reverts commit 0cac71e9bdee1e9e6b2faafec0f9f894effbcb67.

===

See:

W/dalvikvm( 2320): threadid=1: thread exiting with uncaught exception (group=0x952d3f28)
E/AndroidRuntime( 2320): *** FATAL EXCEPTION IN SYSTEM PROCESS: main
E/AndroidRuntime( 2320): java.lang.RuntimeException: Failed to create service com.android.server.am.ActivityManagerService$Lifecycle: service constructor threw an exception
E/AndroidRuntime( 2320): 	at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:89)
E/AndroidRuntime( 2320): 	at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:304)
E/AndroidRuntime( 2320): 	at com.android.server.SystemServer.run(SystemServer.java:244)
E/AndroidRuntime( 2320): 	at com.android.server.SystemServer.main(SystemServer.java:161)
E/AndroidRuntime( 2320): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2320): 	at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 2320): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:836)
E/AndroidRuntime( 2320): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:631)
E/AndroidRuntime( 2320): 	at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2320): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 2320): 	at java.lang.reflect.Constructor.constructNative(Native Method)
E/AndroidRuntime( 2320): 	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
E/AndroidRuntime( 2320): 	at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:78)
E/AndroidRuntime( 2320): 	... 8 more
E/AndroidRuntime( 2320): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 2320): 	at com.android.server.am.ActivityStackSupervisor.isLeanbackOnlyDevice(ActivityStackSupervisor.java:3508)
E/AndroidRuntime( 2320): 	at com.android.server.am.ActivityStackSupervisor.<init>(ActivityStackSupervisor.java:220)
E/AndroidRuntime( 2320): 	at com.android.server.am.ActivityManagerService.<init>(ActivityManagerService.java:2145)
E/AndroidRuntime( 2320): 	at com.android.server.am.ActivityManagerService$Lifecycle.<init>(ActivityManagerService.java:2073)
E/AndroidRuntime( 2320): 	... 11 more
E/AndroidRuntime( 2320): Error reporting crash
E/AndroidRuntime( 2320): java.lang.NullPointerException
E/AndroidRuntime( 2320): 	at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:89)
E/AndroidRuntime( 2320): 	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
E/AndroidRuntime( 2320): 	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
E/AndroidRuntime( 2320): 	at dalvik.system.NativeStart.main(Native Method)
I/Process ( 2320): Sending signal. PID: 2320 SIG: 9
I/ServiceManager(  174): service 'power' died
I/ServiceManager(  174): service 'sensorservice' died

Change-Id: Ib90ae4dff6542d67f5827b100a3ab6158ce88ae2
2014-05-28 01:46:05 +00:00
Winson Chung
4f70dbbc65 Ensuring that the second card is maximally visible when you go into recents.
Change-Id: Ia13c56941bfc47de341dd57501d156e925a3b2fc
2014-05-27 18:02:52 -07:00
Deepanshu Gupta
baef8c1ffe Layoutlib fixes for L [DO NOT MERGE]
This adds the new delegates that were missing. This starts the work on
changes related to Minikin Fonts.

There are some changes related to TypedArray that still need to be
fixed.

Change-Id: Ic2397b64aa3f1f48926e849b14689c47d9ee7f8c
(cherry picked from commit 7ca3612094270183243938e79337c84effea7ad0)
2014-05-27 18:01:34 -07:00
Deepanshu Gupta
46eff27c32 Recurse into directories to find fonts. [DO NOT MERGE]
We now recurse into directories to find all fonts. This change is needed
to prevent having to list all fonts in external/google-fonts
individually.

As a side effect, we now only copy xml files over.

Change-Id: Ifdea3b8451878c2449ac7c5e17ef3d1b00d1b955
(cherry picked from commit c6364fd90de1600526d3431ce0740b6b856e48f0)
2014-05-27 17:57:05 -07:00
Deepanshu Gupta
d23417ab5d Parallel processing of the fonts. [DO NOT MERGE]
Font renaming for the SDK is now done in parallel.

This now reduces the running time for this script from about 30 mins to
about 5 to 10 mins. More speedup is expected when fonttools is updated.

Change-Id: I2c405f6d3e637e3067c8a1653e3cae206c32c0c3
(cherry picked from commit c6364fd90de1600526d3431ce0740b6b856e48f0)
2014-05-27 17:56:29 -07:00
Deepanshu Gupta
49a60d4d6d Add multiple dir support to build_font.py [DO NOT MERGE]
Change-Id: I705d3fbad688a0db309d3062463bf206442b2709
(cherry picked from commit 7e149f02c4e4403101e7e0e88af36cd4ab6f3554)
2014-05-27 17:55:40 -07:00
Dave Langemak
e2f8183077 Merge "DO NOT MERGE: revert change preventing NULL SSID in a WifiConfiguration" into lmp-preview-dev 2014-05-28 00:48:19 +00:00
vandwalle
f4672ad2e4 DO NOT MERGE: revert change preventing NULL SSID in a WifiConfiguration
bug: 15114340

Change-Id: Ic66363fc7781a1d65e5b8647843a752c048145a1
(cherry picked from commit 7aa05179b970e9f1346374f1e506a2cfeaff060a)
2014-05-28 00:48:04 +00:00
Griff Hazen
d5f11f98d1 DO NOT MERGE Cherry-pick: Add full screen size preset to WearableExtender
Bug: 14838838

Change-Id: Id038d994d61d3c89dba08232a424a5b1b934e5db
2014-05-27 17:36:44 -07:00