Commit Graph

31105 Commits

Author SHA1 Message Date
Sandeep Siddhartha
b1401f99a1 am f7a7a636: am b0a17400: Merge "Add Service API to perform Hotword recognition" into klp-dev
* commit 'f7a7a636f6a38b8de9a54911152ec5858e344db6':
  Add Service API to perform Hotword recognition
2013-08-27 10:29:52 -07:00
Vinit Deshapnde
be8df3d1eb am 4bdda528: am ca915793: Merge "Increase sampling data size limits" into klp-dev
* commit '4bdda528182b5cb6e3f9c0a1c64d714d0d1d74d0':
  Increase sampling data size limits
2013-08-27 10:29:41 -07:00
Ben Murdoch
74a6e28007 Fix the build.
Use correct javadoc in BluetoothHeadset.java.

Change-Id: I17b4cf570036ebf426252229fe9ef377ced9b67b
2013-08-27 12:39:40 +01:00
Sandeep Siddhartha
b0a17400cb Merge "Add Service API to perform Hotword recognition" into klp-dev 2013-08-27 00:38:40 +00:00
Sandeep Siddhartha
637cc45809 Add Service API to perform Hotword recognition
Change-Id: I855330b255a12cce309aa11e0b7cde5b8e061043
2013-08-26 17:32:16 -07:00
Vinit Deshapnde
ca91579350 Merge "Increase sampling data size limits" into klp-dev 2013-08-27 00:23:10 +00:00
Chet Haase
73fd8983ba am 81d9379b: am be6cf71d: Merge "Tweak visibility logic for inflated view scenarios" into klp-dev
* commit '81d9379b433741babaf3a755c5a90bc1232a6278':
  Tweak visibility logic for inflated view scenarios
2013-08-26 16:35:06 -07:00
Chet Haase
be6cf71dc5 Merge "Tweak visibility logic for inflated view scenarios" into klp-dev 2013-08-26 23:29:35 +00:00
Chet Haase
35a457a3ba Tweak visibility logic for inflated view scenarios
Previously, Visibility would determine whether a given view was
worthy of a transition by checking the visibility of that view's
parent hierarchy. This is done to avoid fading every view in
a hierarchy when only the top-most node should be faded.

However, the logic was flawed because it assumed the end scene
parent was stable between scenes, which is not the case with inflated
layout scenes, in which the parent views are not the same, even though they
may represent the same parents (via ids).

The new approach is to check information on both the start and end scene
parents, and to take ids into account when checking the state of these
parents in the start/end scenes. Also, avoid this logic altogether if the
transition is targeted at specific views (don't bother checking the
parents if the transition was told to fade specific views).

Issue #10442447 Transitions: Fades don't happen correctly in some situations

Change-Id: Icea24b892f2eff2d37c6436ccfe4e288aac84178
2013-08-26 16:04:11 -07:00
Adam Powell
13bd30efd2 am 4373cc90: am 04e3a14c: Merge "Expand documentation around ViewParent#childHasTransientStateChanged" into klp-dev
* commit '4373cc90d3d04f4f93e2ded45664c7fc58a19571':
  Expand documentation around ViewParent#childHasTransientStateChanged
2013-08-26 15:37:58 -07:00
Alan Viverette
84ba33acf9 am b1986354: am aad44178: Merge "Use transient state to preserve accessibility focus in ListView" into klp-dev
* commit 'b19863545ddf5f071926869d92aeb9aa38f2f857':
  Use transient state to preserve accessibility focus in ListView
2013-08-26 15:12:03 -07:00
Alan Viverette
4425a3d250 am 37eb3034: am faf7a208: Merge "Add auto-scrolling in ListPopupWindow drag-to-open mode" into klp-dev
* commit '37eb3034a3a090587d6a0fba61c7ec703f901da5':
  Add auto-scrolling in ListPopupWindow drag-to-open mode
2013-08-26 15:12:00 -07:00
Alan Viverette
06804da177 am 46502580: am 9212e350: Merge "Reconcile drag-to-open and touch event interception" into klp-dev
* commit '465025803983e1f8ff4d9468fcc86ee4467139c9':
  Reconcile drag-to-open and touch event interception
2013-08-26 15:11:56 -07:00
Edward Jee
dc92854513 am 0b3adcdf: am b2cc1d54: Merge "Enables AT+ANDROID command in Bluetooth HFP." into klp-dev
* commit '0b3adcdfd30cd3b0eb25a3d7929ae0cecd608d74':
  Enables AT+ANDROID command in Bluetooth HFP.
2013-08-26 15:11:49 -07:00
Igor Murashkin
3b954819ca am 395375e1: am 9e680685: Merge "camera2: CameraDevice#configureOutputs now deletes unused streams" into klp-dev
* commit '395375e1b0b2ae2250cbd850bda0cbfe94fe8073':
  camera2: CameraDevice#configureOutputs now deletes unused streams
2013-08-26 15:11:46 -07:00
Ying Wang
f3f80e34cb am b44e5561: am 94366313: Fix docs build.
* commit 'b44e5561def5845e0b18e7b2e178dc12a415b9af':
  Fix docs build.
2013-08-26 15:11:24 -07:00
Jeff Brown
18643b58ee am 2517d08b: am 61d806c7: Merge "Docs changes pursuant to API review feedback." into klp-dev
* commit '2517d08b9a09d123729b01d34840e96f099ea704':
  Docs changes pursuant to API review feedback.
2013-08-26 15:11:17 -07:00
Chong Zhang
2e0ee66389 am 9c70038c: am 5de1faca: Merge "wifi-display: add certification options" into klp-dev
* commit '9c70038cba0e265b553aa8cda9b133fd8866b692':
  wifi-display: add certification options
2013-08-26 15:11:07 -07:00
Jeff Sharkey
943bc8b389 am 308aacb9: am 365768fd: Merge "Return EXIF thumbnails when available." into klp-dev
* commit '308aacb924898b95d6114edfff3a985c897f2c6f':
  Return EXIF thumbnails when available.
2013-08-26 15:11:04 -07:00
Vinit Deshapnde
d0fec8c885 Increase sampling data size limits
Integer doesn't seem to like number > 2 Gig; so converting all bits of
samples to long; and handling exceptions that may crash the service

Bug: 10459447
Change-Id: I1291e97ba6d0ab7304dc6a6e8ef819d17491e017
2013-08-26 15:11:01 -07:00
Jeff Sharkey
98e154c039 am d0fcacd9: am 98d62123: Merge "Add CancellationSignal support to file operations." into klp-dev
* commit 'd0fcacd949cd8b42b37d238a4ba74e3c29325277':
  Add CancellationSignal support to file operations.
2013-08-26 15:11:01 -07:00
Svetoslav Ganov
f026518672 am e0612ffe: am 826debf5: Merge "Print UI bug fixing and printer discovery refactoring." into klp-dev
* commit 'e0612ffe5495602134d60422f63bfc05387512e1':
  Print UI bug fixing and printer discovery refactoring.
2013-08-26 15:10:49 -07:00
Adam Powell
0da4a282ee Expand documentation around ViewParent#childHasTransientStateChanged
Bug 10461020

Change-Id: Id27df5de171b01effae949bcb1ce69bd4101b5ee
2013-08-26 21:33:03 +00:00
Alan Viverette
aad4417868 Merge "Use transient state to preserve accessibility focus in ListView" into klp-dev 2013-08-26 20:49:50 +00:00
Alan Viverette
faf7a2087e Merge "Add auto-scrolling in ListPopupWindow drag-to-open mode" into klp-dev 2013-08-26 20:49:28 +00:00
Alan Viverette
9212e350d5 Merge "Reconcile drag-to-open and touch event interception" into klp-dev 2013-08-26 20:48:59 +00:00
Edward Jee
b2cc1d54aa Merge "Enables AT+ANDROID command in Bluetooth HFP." into klp-dev 2013-08-26 20:33:45 +00:00
Igor Murashkin
9e680685f9 Merge "camera2: CameraDevice#configureOutputs now deletes unused streams" into klp-dev 2013-08-26 20:22:14 +00:00
Igor Murashkin
57ea59b376 camera2: CameraDevice#configureOutputs now deletes unused streams
Bug: 10461554
Change-Id: I3dc48e434d83b18909d25723cc8855c82e1072bc
2013-08-26 11:09:40 -07:00
Ying Wang
9436631333 Fix docs build.
Change-Id: I3299e59fd90141fee324129ff3b251bdf8f60f10
2013-08-23 22:20:03 -07:00
Jeff Brown
511cd35fcc Docs changes pursuant to API review feedback.
Change-Id: I74c51791192f7fefad4e299d25c91438cbf6ab73
2013-08-23 17:44:47 -07:00
Chong Zhang
5de1faca16 Merge "wifi-display: add certification options" into klp-dev 2013-08-23 23:18:52 +00:00
Jeff Sharkey
365768fd35 Merge "Return EXIF thumbnails when available." into klp-dev 2013-08-23 23:18:11 +00:00
Jeff Sharkey
98d6212327 Merge "Add CancellationSignal support to file operations." into klp-dev 2013-08-23 23:17:47 +00:00
Chong Zhang
1f3ecaae63 wifi-display: add certification options
When certification mode is enabled:

- Pass wfd session info to wifi display settings

- Allow sink to connect to source

- Add interface in display manager for pausing/resuming session

- Add interface in WifiP2pManager for setting lc, oc and starting
  autonomous GO

Note that we're compliant regardless of certification mode, but
some confusing options (eg. allowing incoming connection from
sink) we want to hide when not being tested.

Bug: 9371882
Change-Id: Icc7dcae4e046453796cfa03f5f197055fabf234b
2013-08-23 16:02:09 -07:00
Jeff Sharkey
6398343e83 Return EXIF thumbnails when available.
Adds new ExifInterface method to extract the thumbnail range from
a larger image file, and use that to return an AssetFileDescriptor.

When decoding an AssetFileDescriptor thumbnail with offsets, read out
the raw data entirely, since Skia uses lseek() aggressively.

Bug: 10412208
Change-Id: I7906cdf82c0c3794cec7043c801a86f66efeb143
2013-08-23 12:19:19 -07:00
Svetoslav Ganov
44720af55a Print UI bug fixing and printer discovery refactoring.
1. Added support for selecting a printer from the all printers activity
   that is not in the initial printer selection drop down. The user
   initially sees a sub set of the printers in the drop down and the
   last option is to see all printers in a separate activity. Some
   of the printers in the all printers activity are not shown in the
   initial drop down.

2. Refactored printer discovery by adding (private for now) printer
   discovery app facing APIs. These APIs are needed to support multiple
   printer selection activities (print dialog and all printers activities)
   and also the settings for showing all printers for a service.

   Now multiple apps can request observing for printers and there is
   a centralized mediator that ensures the same printer discovery
   session is used. The mediator dispatches printer discovery specific
   requests to print services. It also aggregates discovered printers
   and delivers them to the interested apps. The mediator minimizes
   printer discovery session creation and starting and stopping discovery
   by sharing the same discovery session and discovery window with
   multiple apps. Lastly, the mediator takes care of print services
   enabled during discovery by bringing them up to the current
   discovery state (create discovery session and start discovery if
   needed). The mediator also reports disappearing of the printers
   of a service removed during discovery and notifies a newly
   registered observers for the currnet printers if the observers are
   added during an active printer discovery session.

3. Fixed bugs in the print UI and implemented some UX tweaks.

Change-Id: I4d0b0c5a6c6f1809b2ba5dbc8e9d63ab3d48f1ef
2013-08-23 18:36:33 +00:00
Jeff Sharkey
bd3b902567 Add CancellationSignal support to file operations.
Since ContentProvider file operations can end up doing substantial
network I/O before returning the file, allow clients to cancel their
file requests with CancellationSignal.

Ideally this would only be needed for openFile(), but ContentResolver
heavily relies on openAssetFile() and openTypedAssetFile() for common
cases.

Also improve documentation to mention reliable ParcelFileDescriptors
and encourage developers to move away from "rw" combination modes,
since they restrict provider flexibility.  Mention more about places
where pipes or socket pairs could be returned.

Improve DocumentsContract documentation.

Bug: 10329944
Change-Id: I49b2825ea433eb051624c4da3b77612fe3ffc99c
2013-08-23 11:27:25 -07:00
John Spurlock
8a157d58fb am 1026479c: am b77edbfd: Improve transparent bar transitions.
* commit '1026479c196b66c7b214bc47ef01d9b261277958':
  Improve transparent bar transitions.
2013-08-23 05:26:33 -07:00
John Spurlock
b77edbfdab Improve transparent bar transitions.
1. Migrate transparent transitions to the new optimized
background color animations.

2. Ensure sysui animation transparent -> opaque has enough
time to run before window manager crops off the content area.

3. Lose the individual alpha on each status bar icon if the bars
are not opaque.  Animate the alpha if visible, make sure they
play together.

4. Documentation typo fix found in AnimatorSet.

Bug:10344949
Change-Id: I615668ce3c552d3df15dbba5cdeeca67549a0220
2013-08-23 08:08:24 -04:00
Satoshi Kataoka
3d3e04eb04 am c60d6ab8: am d866f500: Merge "Add new API shouldOfferSwitchingToNextInputMethod" into klp-dev
* commit 'c60d6ab8256e2a11ea82773fcbd914dc2dda0b11':
  Add new API shouldOfferSwitchingToNextInputMethod
2013-08-23 02:35:56 -07:00
Satoshi Kataoka
d866f5002a Merge "Add new API shouldOfferSwitchingToNextInputMethod" into klp-dev 2013-08-23 09:31:51 +00:00
Edward Jee
922d41b6ef Enables AT+ANDROID command in Bluetooth HFP.
Adds another vendor-specific command AT+ANDROID in Bluetooth Hands-Free
Profile. And creates an API function that sends an unsolicited result
code +ANDROID .

Bug: 8736189
Change-Id: I4757c410d31b97511c92f66d71035eb929f9fd29
2013-08-23 01:17:07 +00:00
Alan Viverette
69960142ef Reconcile drag-to-open and touch event interception
Changes behavior such that dragging on a Spinner that's inside
of a ScrollView will only scroll after a tap delay.

BUG: 10442971
Change-Id: I9fa9c5f0cf99e0cd158f52b6fa7a109ce1b6b8b1
2013-08-22 17:26:57 -07:00
Zhijun He
9d7f221012 am a5c98813: am f293627f: Merge "Camera2: Send warning when burst request list is empty" into klp-dev
* commit 'a5c9881322c3eb36d16a59dac77c833428cef503':
  Camera2: Send warning when burst request list is empty
2013-08-22 16:05:43 -07:00
Zhijun He
f293627fc2 Merge "Camera2: Send warning when burst request list is empty" into klp-dev 2013-08-22 22:57:24 +00:00
Zhijun He
fc19e2cfe5 Camera2: Send warning when burst request list is empty
Bug: 10360518
Change-Id: I4ab89af9ecb62442ce277d0ad7604298534ff7db
2013-08-22 14:45:24 -07:00
Michael Wright
a027ac5838 am 6d44d8fa: am 8e3a4173: Merge "Expose API to query devices for supported keys" into klp-dev
* commit '6d44d8fa087f8cfff396df99cd6a7716b5c8bcd2':
  Expose API to query devices for supported keys
2013-08-22 14:13:19 -07:00
Michael Wright
8e3a41738f Merge "Expose API to query devices for supported keys" into klp-dev 2013-08-22 21:08:02 +00:00
Alan Viverette
6820751c0a Use transient state to preserve accessibility focus in ListView
Removes several stray calls to clearAccessibilityFocus() that were
preventing temporarily detached views from retaining accessibility
focus.

BUG: 10089858
Change-Id: Ieb88a6cd14fe1069ebeeb78bc0edba7a10131f5b
2013-08-22 12:33:07 -07:00