55632 Commits

Author SHA1 Message Date
Kenny Guy
4f7384a68c am 84201f75: Merge "Revert "Revert "Remove String version of getBadgedLabel""" into lmp-dev
* commit '84201f75fe6aae78899c790bd3ea104ef23d1f25':
  Revert "Revert "Remove String version of getBadgedLabel""
2014-08-07 21:40:46 +00:00
Adam Powell
0e7f544cf4 am 886f54b5: Add AbsListView#fling
* commit '886f54b5b4c38d8fdcffee46f1525979f5dd3f1d':
  Add AbsListView#fling
2014-08-07 21:29:14 +00:00
Adam Powell
4884c64288 Add AbsListView#fling
ScrollViews can programmatically fling from public API and now
ListViews/GridViews can too. This helps support applications that wish
to propagate flings across scrolling containers as part of nested
scrolling.

Bug 15538504

Change-Id: I0318c6717c7fb8788a006f96c8f8170556dd8b9e
2014-08-07 14:19:25 -07:00
Igor Murashkin
2f5bb33cfc am 89b3f042: Merge "camera2: (LEGACY) Add face detection support and vstab modes" into lmp-dev
* commit '89b3f042a6e82635e60038e5441b685f715e56a5':
  camera2: (LEGACY) Add face detection support and vstab modes
2014-08-07 20:56:12 +00:00
Alan Viverette
77ef7abc5c am 515ed510: Merge "Use translatable strings for time picker AM/PM labels" into lmp-dev
* commit '515ed51033859dc8e4d156355de0d9de8ad912b1':
  Use translatable strings for time picker AM/PM labels
2014-08-07 20:42:55 +00:00
Eino-Ville Talvala
5609c1cf0f am 90952cfd: Merge topic \'camera2-remove-hidden\' into lmp-dev
* commit '90952cfdb43e769da1a177e294973e3aacca12eb':
  Camera2: Fix session shutdown race, frequent warning log
  Camera2: Remove hidden parts of public CameraDevice
  Camera2: Fix null-listener capture for CameraCaptureSession
2014-08-07 20:20:14 +00:00
Michael Wright
cd4750dd60 am 97b2b671: Allow media projections to create public presentations.
* commit '97b2b67155910079d122ecb1d2bc69c42d8e24c4':
  Allow media projections to create public presentations.
2014-08-07 20:11:58 +00:00
Michael Wright
6720be4e8c Allow media projections to create public presentations.
Change-Id: I3b6e0b54d658352942a38be6a24486bdfc179efd
2014-08-07 20:07:04 +00:00
Prerepa Viswanadham
af3dec5e72 am 2792be93: OnLost/OnFound integration - onfound match is done in framework, whereas hw signal is used to report onlost.
* commit '2792be930bb082fcd18ab47ea60fc723396144ba':
  OnLost/OnFound integration - onfound match is done in framework, whereas hw signal is used to report onlost.
2014-08-07 19:57:10 +00:00
Prerepa Viswanadham
d5324e4183 OnLost/OnFound integration - onfound match is done in framework,
whereas hw signal is used to report onlost.

Bug 16733710

Change-Id: I7b177b7afd730341c336818857436c095735b53b
2014-08-07 19:51:59 +00:00
Christopher Tate
a95cd4e50d am bc835105: Merge "Reify the transport lookup/selection API" into lmp-dev
* commit 'bc835105066725fecfe378bfdd13c2262908457f':
  Reify the transport lookup/selection API
2014-08-07 19:48:44 +00:00
Christopher Tate
6a3a2d5a90 am d9f038c1: Merge "Make TrafficStats uid attribution @SystemApi" into lmp-dev
* commit 'd9f038c1dc29d7a73c1888b83b7e7c1f643ffa0c':
  Make TrafficStats uid attribution @SystemApi
2014-08-07 19:48:40 +00:00
Christopher Tate
deec962ece am f671005b: Introduce system API for distinguishing the owner user
* commit 'f671005b75b3d603fb664afb64576c7c59cb5387':
  Introduce system API for distinguishing the owner user
2014-08-07 19:48:36 +00:00
Dianne Hackborn
151c4eb4d3 am c8c42a7c: Merge "Fix to call VoiceInteractionSession.onDestroy()." into lmp-dev
* commit 'c8c42a7cab25d1d7e5c774dfaa9241131cb4eb15':
  Fix to call VoiceInteractionSession.onDestroy().
2014-08-07 19:44:26 +00:00
Christopher Tate
cbd7a6ecbb Introduce system API for distinguishing the owner user
Support services that special case the owner but are instantiated
per-user, and so need to be able to distinguish.

Bug 16661321

Change-Id: I7ff5168c91e39821317fdf5cfaba34e90d30de95
2014-08-07 19:43:17 +00:00
Behdad Esfahbod
ab42b32fb9 am 7dc6dcd4: Merge "Remove dependency on SkPaintOptionsAndroid" into lmp-dev
* commit '7dc6dcd417c23159047082a891288775b9e778b2':
  Remove dependency on SkPaintOptionsAndroid
2014-08-07 19:36:43 +00:00
Dianne Hackborn
7adcb6defe am e46717b6: Fix issue @16555033: Battery history overflowing too much
* commit 'e46717b661b685cc1586a59f00cd6cf10822896b':
  Fix issue @16555033: Battery history overflowing too much
2014-08-07 19:24:12 +00:00
Dianne Hackborn
0068d3dcf1 Fix issue @16555033: Battery history overflowing too much
- No longer track process starts/stops normally.
- Increase buffer size to 256KB.
- Buffer size increase requires reworking how battery stats
  are retrieved, since it is going to be hitting IPC limits.
- Also, store the last full stats after a reset, to be reported
  at the next checkin.
- Also, discharge and charge times are tagged with the screen
  and battery save state during that time.

Change-Id: Ie108ac9b626846108a9bb858101ac2b93276ac16
2014-08-07 12:19:39 -07:00
Sandeep Siddhartha
e496b54dfe am 53f4a335: Merge "Handle microphone contention/Phone calls while recognition is active" into lmp-dev
* commit '53f4a3359cc21ef20844759c2788c4b9d1a0cc73':
  Handle microphone contention/Phone calls while recognition is active
2014-08-07 19:13:46 +00:00
Dianne Hackborn
df192a47fc Merge "Fix to call VoiceInteractionSession.onDestroy()." into lmp-dev 2014-08-07 18:53:12 +00:00
Dianne Hackborn
9a35d78cad Fix to call VoiceInteractionSession.onDestroy().
Change-Id: I2b4f19538700c691dac3a83aadfa0959ef1fe458
2014-08-07 12:34:37 -07:00
Behdad Esfahbod
ec2332121b Merge "Remove dependency on SkPaintOptionsAndroid" into lmp-dev 2014-08-07 18:49:59 +00:00
Kenny Guy
49ecc4ec6a Merge "Revert "Revert "Remove String version of getBadgedLabel""" into lmp-dev 2014-08-07 18:39:40 +00:00
Kenny Guy
c08cb0ed7a Revert "Revert "Remove String version of getBadgedLabel""
This reverts commit 82020f109d78af889dfc5e86ede04c54fb6f1de2.

Bug: 16484455
Change-Id: I601edbb705cacd29bf30f90c8666c5f516796ebb
2014-08-07 21:11:15 +00:00
Derek Sollenberger
6f03023ece Remove dependency on SkPaintOptionsAndroid
Change-Id: I579a3503697efe3b8fd9bc809a6c9bfbf735cb1b
2014-08-07 14:38:51 -04:00
Winson Chung
58865b6797 am f9c1251b: Merge "Initial changes to add task affiliation styling. (Bug 16656169)" into lmp-dev
* commit 'f9c1251b0ca90467a0532b84fc95448e10ccfb95':
  Initial changes to add task affiliation styling.  (Bug 16656169)
2014-08-07 18:06:38 +00:00
Glenn Kasten
27ee1046a4 am cd55d2e5: Merge "Add setting to disable automatic USB audio routing" into lmp-dev
* commit 'cd55d2e5e19eb62712c023c5eb434c096d701a26':
  Add setting to disable automatic USB audio routing
2014-08-07 18:02:27 +00:00
Sandeep Siddhartha
ac23293c2d am b6c0b037: Merge "Read audio format from the recognition event" into lmp-dev
* commit 'b6c0b037035bfea56de1d158fe9f1d42f0e35bca':
  Read audio format from the recognition event
2014-08-07 17:57:56 +00:00
Igor Murashkin
cd3a994e50 Merge "camera2: (LEGACY) Add face detection support and vstab modes" into lmp-dev 2014-08-07 17:50:16 +00:00
Igor Murashkin
0a1ef4dbf3 camera2: (LEGACY) Add face detection support and vstab modes
Also work-around CTS freezing forever in Camera#setPreviewTexture

* Set preview texture to null after unconfiguring (Camera#stopPreview)
* Remove all uses of recording hint

(Some devices disable face detection unconditionally when recording is not
using HDR mode; recording hints will be introduced after we add
capture intent support)

Change-Id: I2f0a80f1d580af214cb0f53abcbf33c7391790f1
2014-08-07 13:46:25 -07:00
Alan Viverette
7870dfe361 Merge "Use translatable strings for time picker AM/PM labels" into lmp-dev 2014-08-07 17:50:16 +00:00
Alan Viverette
271ed9ae87 Use translatable strings for time picker AM/PM labels
BUG: 16842390
Change-Id: Ibdbe9cffb39373f200a09eb0d28b956a1eeb5d13
2014-08-07 13:33:30 -07:00
Adam Powell
86874c8b57 am 157fab0c: Nested pre-fling for AbsListView and ScrollView
* commit '157fab0c71afa7b4dfb44a5d6cbb2a117cbf73a3':
  Nested pre-fling for AbsListView and ScrollView
2014-08-07 17:31:35 +00:00
Adam Powell
9413b245a6 Nested pre-fling for AbsListView and ScrollView
Add nested pre-fling support to all framework widgets that currently
support nested fling.

Change-Id: Ieaf9d12938dbfeea779c2aee2f5a081c287c8e96
2014-08-07 10:24:04 -07:00
Kenny Guy
10f171ff7c am d9b5ffbc: Merge "Revert "Remove String version of getBadgedLabel"" into lmp-dev
* commit 'd9b5ffbcbdddd70158280602db3d2cfa4a31cd4a':
  Revert "Remove String version of getBadgedLabel"
2014-08-07 16:58:42 +00:00
Kenny Guy
717e32906c am 1f98d304: Remove LauncherApps method left for compat.
* commit '1f98d3047688e9ad51e1afc3cea842ad68914585':
  Remove LauncherApps method left for compat.
2014-08-07 16:16:48 +00:00
Kenny Guy
9df035b1aa am 6cfeb8dc: Merge "Remove String version of getBadgedLabel" into lmp-dev
* commit '6cfeb8dcad12cdc3391b2f39c366ab339a6b1a06':
  Remove String version of getBadgedLabel
2014-08-07 16:12:35 +00:00
Kenny Guy
65810072d6 Remove LauncherApps method left for compat.
Method was left while updating unbundled apps
which have now been updated.

Bug: 16864685
Change-Id: I687cb23a1b60b88eeb988f3cf2604dc24b739121
2014-08-07 16:09:10 +00:00
Sandeep Siddhartha
cb4e81c7fe Handle microphone contention/Phone calls while recognition is active
Internally we pause the recognition when:
 - a phone call is active/off-hook/ringing
 - or some other application grabs the microphone

we auto-resume when the condition that caused us to pause reverses.

Both these events are notified to the client via callbacks so that they can choose to display on their UI,
that the recognition is paused for some reason.

Bug: 16515468
Bug: 16740806
Bug: 16514535
Change-Id: Ib274d68522c8cf37d42402c875b16159957657f0
2014-08-07 11:53:02 -07:00
Sandeep Siddhartha
a13104fe7d Merge "Read audio format from the recognition event" into lmp-dev 2014-08-07 15:31:24 +00:00
Sandeep Siddhartha
2178e2e085 Read audio format from the recognition event
Bug: 16549061
Change-Id: I9e418f7be67eb330b7bfaa97bbb90d0b5640469d
2014-08-07 10:48:51 -07:00
Winson Chung
57c84544d9 Merge "Initial changes to add task affiliation styling. (Bug 16656169)" into lmp-dev 2014-08-07 15:27:35 +00:00
Winson Chung
ec396d6399 Initial changes to add task affiliation styling. (Bug 16656169)
- Fixing issue with launch-in-background animation
2014-08-07 17:57:25 +00:00
Eino-Ville Talvala
d3b85f69a8 Camera2: Fix session shutdown race, frequent warning log
- Make sure that session.close followed by device.createCaptureSession cannot race on
  configureOutputs calls
- Silence warning about RAW_OPAQUE format

Change-Id: I02e4a048e8b26ea61aadcf115b029e9fbb58ad4e
2014-08-07 13:16:53 -07:00
Eino-Ville Talvala
a6b5ba5603 Camera2: Remove hidden parts of public CameraDevice
- Remove everything @hide in CameraDevice
- Move bits that are still needed into CameraDeviceImpl

Change-Id: Ie22059a0eb5c4238142a8a1e8dbcf1a422e845aa
2014-08-07 13:16:53 -07:00
Eino-Ville Talvala
7875a886b8 Camera2: Fix null-listener capture for CameraCaptureSession
Correctly allow null listener/handler when invoked on a thread with no
looper; otherwise all capture/repeating requests will fail even if listener
is null.

Change-Id: I4c64c81ad7f14b5cb309b4f92822cb50dbd74ba6
2014-08-07 13:16:22 -07:00
Christopher Tate
3432720bf9 Merge "Make TrafficStats uid attribution @SystemApi" into lmp-dev 2014-08-07 15:00:45 +00:00
Christopher Tate
a2496de37a Make TrafficStats uid attribution @SystemApi
Anything that runs as a singleton may need to attribute traffic to
various client apps; in particular, backup transports need to do this.
Apropos of which, introduce a @SystemApi method specifically for that
purpose, setThreadStatsTagBackup().

Bug 16661321

Change-Id: Id5d22e28bdc68edb53f2a1fdba80b144fcbc61d2
2014-08-07 19:43:20 +00:00
Chet Haase
d9f0980441 am 95aab922: Allow TimePicker/DatePicker to use legacy layout style
* commit '95aab922b35af8aa55d4340a971d07ac35d99d95':
  Allow TimePicker/DatePicker to use legacy layout style
2014-08-07 14:32:51 +00:00
Chet Haase
3053b2fdcf Allow TimePicker/DatePicker to use legacy layout style
In L, the TimePicker was rewritten to use a clock face and the
DatePicker was rewritten to use a calendar. This
change allows developers to opt into the old style instead
(android:timePickerMode="spinner|clock" and
android:datePickerMode="spinner|calendar").)

Issue #16717952 Pre-L style android.widget.TimePicker on L
Issue #16846963 Allow developer to use legacy DatePicker appearance

Change-Id: I4ee071fcbc5bf25eab83d6a5cb6ff352a603f90a
2014-08-07 14:28:49 +00:00