6670 Commits

Author SHA1 Message Date
Chris Craik
fd82eeef32 am c011558a: Merge "Add Z property to View"
* commit 'c011558a90329731e87d3eaf25af15b452001c4e':
  Add Z property to View
2014-04-29 19:29:16 +00:00
Chris Craik
f38475bc28 Merge "Add Z property to View" 2014-04-29 19:24:47 +00:00
Jae Seo
e115c5ec83 am 6b60d5ea: Merge "Dispatch input events to the TV input"
* commit '6b60d5ea3df01024069f8f7374251e0e2eee1e47':
  Dispatch input events to the TV input
2014-04-29 07:35:29 +00:00
Jae Seo
19db0f036a Merge "Dispatch input events to the TV input" 2014-04-29 06:22:00 +00:00
Jae Seo
6a6059a29e Dispatch input events to the TV input
TvInputManagerService now creates an InputChannel pair and passes one
end to the app and the other end to the service. Then the TvInputManager
in the app creates an InputEventSender around one end of the channel to
send events and the service creates an InputEventReceiver around the
other end of the channel to receive events.
Most of the newly added code here was borrowed heavily from the IME.

Change-Id: I0bd83847cba0033ccb6f4b6dad267ebeaf5e9c7c
2014-04-29 14:18:55 +09:00
Chris Craik
9103e4f748 Add Z property to View
Change-Id: Iff0b2fc616c650c46e5567a1cc81301afffcbfce
2014-04-28 17:00:44 -07:00
Chris Craik
e3bd1a9a25 am dced3e9a: Fix build
* commit 'dced3e9a8b0bd01d5605a2592304f091fc0b8aab':
  Fix build
2014-04-28 23:43:56 +00:00
Chris Craik
5830df4d59 Fix build
Change-Id: I4f55b27425899f25cb22d4466e3413ad27b5a302
2014-04-28 16:38:31 -07:00
Chris Craik
ceeccd434c am 40310481: Merge "Add elevation, Z properties to View"
* commit '403104813cb424ae28df6b4245bafaab21969917':
  Add elevation, Z properties to View
2014-04-28 23:07:59 +00:00
Chris Craik
139349b7de Merge "Add elevation, Z properties to View" 2014-04-28 23:03:42 +00:00
Chris Craik
cc39e16cb9 Add elevation, Z properties to View
Change-Id: I3dd3b683a66e248a0fdf2ca69d1e962615b0daf9
2014-04-28 14:33:33 -07:00
Yorke Lee
fedd55a424 am a6521d78: Merge "Add setOverlay method to QuickContactsBadge"
* commit 'a6521d78a4ce3c273b241eed214c85ec12a30d32':
  Add setOverlay method to QuickContactsBadge
2014-04-28 21:31:31 +00:00
Yorke Lee
2e9c300b91 Merge "Add setOverlay method to QuickContactsBadge" 2014-04-28 21:24:21 +00:00
Yorke Lee
a702ccdf9f Add setOverlay method to QuickContactsBadge
Allow apps to disable/configure their own overlay to be used
on the QuickContactsBadge

Bug: 13747208

Change-Id: Id84c6ee1ebde6ce17477c12d22522ca19c27ea9b
2014-04-28 13:57:04 -07:00
Alan Viverette
5f1e58eafa am 5cabee8e: Make switchStyle public
* commit '5cabee8e3f636e471fc02d49e12d009b7fa20804':
  Make switchStyle public
2014-04-28 20:38:11 +00:00
Dianne Hackborn
99a58b0e3a am c60f1877: Merge "Rework some of the voice interaction APIs."
* commit 'c60f1877896e795a6add525ee36770e3aa77dc29':
  Rework some of the voice interaction APIs.
2014-04-28 20:37:33 +00:00
Alan Viverette
5ec00ab05c Make switchStyle public
Change-Id: I4960c4ebeb3db09b3d716330b33639c865d37490
2014-04-28 12:39:15 -07:00
Dianne Hackborn
18f0d357f9 Rework some of the voice interaction APIs.
On the app side, requests are now composed by subclassing
from various types of Request objects.

On the service side, starting a voice interaction session
involves starting another service that will then manage the
session.  This leads the service design much more to what
we want, where the long-running main service is very tiny
and all the heavy-weight transient session work is elsewhere
in another process.

Change-Id: I46c074c6fe27b6c1cf2583c6d216aed1de2f1143
2014-04-28 10:54:15 -07:00
Jim Miller
370ff853fa am 96ac3f1e: Fix doc build.
* commit '96ac3f1e4ba9f1c549811c1f3421e636bb501c15':
  Fix doc build.
2014-04-28 03:16:53 +00:00
Jim Miller
df2258be5b Fix doc build.
We probably don't need to deprecate this constant.  It can still be used
by partner devices if they choose to continue to support widgets.

Change-Id: Ie8c33446e0c5c32d96ed0670df1772adedf6a5de
2014-04-27 20:11:44 -07:00
Chris Craik
a398539879 am 79d9d187: Merge "Support Oval GradientDrawable outlines, and ShapeDrawable"
* commit '79d9d187ffbcbbbe1bf19e82606a92c0f5222c2b':
  Support Oval GradientDrawable outlines, and ShapeDrawable
2014-04-26 02:02:29 +00:00
Chris Craik
6689c9700d Merge "Support Oval GradientDrawable outlines, and ShapeDrawable" 2014-04-26 01:59:00 +00:00
Jim Miller
953c4e04fa am 427b7fb5: Merge "Add new DevicePolicyManager disable flags for keyguard."
* commit '427b7fb50b5c2c8f38612a74a7c46ff056e22e68':
  Add new DevicePolicyManager disable flags for keyguard.
2014-04-26 00:35:45 +00:00
Jim Miller
66fbe3dc81 Merge "Add new DevicePolicyManager disable flags for keyguard." 2014-04-26 00:28:44 +00:00
Chris Craik
7979388d4f Support Oval GradientDrawable outlines, and ShapeDrawable
Change-Id: Ifc9e55757d3325cb28a1a812ec696512d4a18b39
2014-04-25 15:59:47 -07:00
Kenny Guy
58b305bb00 am 0ec41abf: Merge "Provide access to ActivityInfo.name from LauncherActivityInfo"
* commit '0ec41abf20df9c27cd995b8ca22fa709aff4434b':
  Provide access to ActivityInfo.name from LauncherActivityInfo
2014-04-25 20:33:55 +00:00
Jim Miller
50e62183d4 Add new DevicePolicyManager disable flags for keyguard.
- KEYGUARD_DISABLE_SECURE_NOTIFICATIONS
- KEYGUARD_DISABLE_UNREDACTED_NOTIFICATIONS
- KEYGUARD_DISABLE_TRUST_AGENTS

Change-Id: I4ed2b9cef78b497d87bb719c57fabdad94c18e82
2014-04-25 13:27:10 -07:00
Kenny Guy
86a6430e52 Provide access to ActivityInfo.name from LauncherActivityInfo
Change-Id: Ia34900f3e232b59f3879dbb3cb3131498023b8ac
2014-04-25 21:21:55 +01:00
Amith Yamasani
9c28d12f48 am b5b77c47: Merge "Allow profile owners to set user restrictions"
* commit 'b5b77c47c4dc41b75e73b42378d3c63647ac4fd0':
  Allow profile owners to set user restrictions
2014-04-25 18:28:25 +00:00
Amith Yamasani
250bb6e3e0 Merge "Allow profile owners to set user restrictions" 2014-04-25 18:23:37 +00:00
Dianne Hackborn
1b27c34fb6 am ed407e04: Merge "Initial implementation of new voice interaction API."
* commit 'ed407e046e63ca1d22a1d9206e2ad558bf821525':
  Initial implementation of new voice interaction API.
2014-04-25 17:05:58 +00:00
Dianne Hackborn
522ff52f88 Merge "Initial implementation of new voice interaction API." 2014-04-25 17:02:19 +00:00
Chris Craik
a5826864ed am 2cfb1caa: Merge "Refactor Drawable outline production, flesh out Outline methods"
* commit '2cfb1caaddd33f768a1fb66a82f373469da995f5':
  Refactor Drawable outline production, flesh out Outline methods
2014-04-25 16:26:21 +00:00
Chris Craik
07f0b8ee73 Merge "Refactor Drawable outline production, flesh out Outline methods" 2014-04-25 16:22:26 +00:00
Ruben Brunk
49b470a76e am 87cfaca4: Merge "camera2: Add DNG creator class."
* commit '87cfaca4760af82fdf85b8a740eac9b79564ee2d':
  camera2: Add DNG creator class.
2014-04-25 16:17:11 +00:00
Chris Craik
3b951a2190 am 06916dcb: Merge "Add floats-only drawRoundRect to Canvas"
* commit '06916dcb05eeee8c809bb18d170a3f73b5ee1427':
  Add floats-only drawRoundRect to Canvas
2014-04-25 15:52:52 +00:00
Ruben Brunk
87cfaca476 Merge "camera2: Add DNG creator class." 2014-04-25 01:10:08 +00:00
Dianne Hackborn
91097de49b Initial implementation of new voice interaction API.
This gives a basic working implementation of a persist
running service that can start a voice interaction when
it wants, with the target activity(s) able to go through
the protocol to interact with it.  It may even work when
the screen is off by putting the activity manager in the
correct state to act like the screen is on.

Includes a sample app that is a voice interation service
and also has an activity it can launch.

Now that I have this initial implementation, I think I
want to rework some aspects of the API.

Change-Id: I7646d0af8fb4ac768c63a18fe3de43f8091f60e9
2014-04-24 17:48:58 -07:00
Chris Craik
e6a39b1265 Refactor Drawable outline production, flesh out Outline methods
Change-Id: I1b8c25384b5f123e86cf5e0b2270eb741bc3159b
2014-04-24 16:58:18 -07:00
Amith Yamasani
be46532c9f Allow profile owners to set user restrictions
Pass the setting along to UserManager.

Fixes a security exception when fetching the profile's enabled state.

Change-Id: If71698cf32c52cce1158cf2027443a339bc58488
2014-04-24 16:24:13 -07:00
Ruben Brunk
ab6c9f75ff camera2: Add DNG creator class.
Change-Id: I11a0e5990adeca6012778f0dc71a421b85cbf53a
2014-04-24 16:18:47 -07:00
Chris Craik
06916dcb05 Merge "Add floats-only drawRoundRect to Canvas" 2014-04-24 21:56:41 +00:00
Chris Craik
4d1c1538e2 Add floats-only drawRoundRect to Canvas
Change-Id: Ib0033a2d2486a808a44984ec4adf7fef76d9ea17
2014-04-24 14:23:52 -07:00
Evan Charlton
5e78e76ad7 resolved conflicts for merge of 806047ca to master-nova
Change-Id: I6754198919b952bd733733572f64a316cb41b101
2014-04-24 13:56:19 -07:00
Dianne Hackborn
b3c90a2bfb Fix api.
Change-Id: I5a04152a55b277b8609b033a0c35db30458e1ee2
2014-04-24 11:59:49 -07:00
Dianne Hackborn
806047caca Merge "Start collecting mobile radio activity from the radio." 2014-04-24 18:28:32 +00:00
Adam Powell
58f54dc59d am 46ca5060: Merge "Nested scrolling!"
* commit '46ca506022cb51543dea0489587477f60c570d5f':
  Nested scrolling!
2014-04-24 18:27:37 +00:00
Dianne Hackborn
2ffa11e4b7 Start collecting mobile radio activity from the radio.
Hook in to the new radio API to find out when the radio
is active and use that to track its state in batter stats.
We also still have the data being tracked from the kernel's
emulation, and continue to use that if we don't get data from
the radio.

Currently this monitoring is turned off until some issues
in the radio can be fixed that are providing bad data.

Also add a new API to get estimated drain and charge times.

Change-Id: Ifc4900fabb8f848f9cda361dce698664ea75f175
2014-04-24 11:21:30 -07:00
Adam Powell
46ca506022 Merge "Nested scrolling!" 2014-04-24 18:20:43 +00:00
Adam Powell
10ba27734e Nested scrolling!
or, "Excuse me, Egon, you said crossing the streams was bad."

Add API for driving a nested scroll from the most deeply nested
applicable scrolling view. The deepest scrolling view dispatches
high-level scrolling events up to cooperative parent views.

Augment ScrollView to support nested scrolling. Next up, more public
framework scrolling views.

Change-Id: I53b5e207fcdece796e08c8592ddb4496b96f600e
2014-04-24 10:48:52 -07:00