Commit Graph

31076 Commits

Author SHA1 Message Date
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
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
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
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
Yorke Lee
9edfe4e998 am 68928ed9: am 83e1015d: Merge "Remove dialpad_autocomplete system key from settings" into klp-dev
* commit '68928ed9ebebdd8c5b70f462a00acc6b36ae9333':
  Remove dialpad_autocomplete system key from settings
2013-08-22 09:28:12 -07:00
Vinit Deshapnde
997554adbd am 85b4111f: am e2a6d3df: Merge "Introduce network link quality statistics" into klp-dev
* commit '85b4111f9d674aee7bda9ec8c93b259c523c9f38':
  Introduce network link quality statistics
2013-08-22 09:24:35 -07:00
Yorke Lee
83e1015d73 Merge "Remove dialpad_autocomplete system key from settings" into klp-dev 2013-08-22 16:20:16 +00:00
Vinit Deshapnde
e2a6d3df12 Merge "Introduce network link quality statistics" into klp-dev 2013-08-22 16:16:45 +00:00
Satoshi Kataoka
2b10b52f6c Add new API shouldOfferSwitchingToNextInputMethod
Bug: 8364845
Change-Id: I6767f5640a07aa515a930645b0cf0b36fbe94831
2013-08-22 15:51:13 +09:00
Jonathan Dixon
cd3f03d444 am 4a079d44: am 39c9c632: Merge "Reset the Experimental WebView property per build" into klp-dev
* commit '4a079d44c963a63e2cb497cd6454afb3a2754510':
  Reset the Experimental WebView property per build
2013-08-21 22:07:49 -07:00
Jonathan Dixon
39c9c63295 Merge "Reset the Experimental WebView property per build" into klp-dev 2013-08-22 04:59:56 +00:00
David Christie
16c96891ea am 21d15b6c: am 8c128abe: Merge "Remove newly added but deprecated master switch location setting methods." into klp-dev
* commit '21d15b6cfc4a48e144c843eee9172fb9fe1b83c4':
  Remove newly added but deprecated master switch location setting methods.
2013-08-21 21:25:56 -07:00
David Christie
8c128abe9c Merge "Remove newly added but deprecated master switch location setting methods." into klp-dev 2013-08-22 04:15:26 +00:00
Todd Poynor
d7b34771cb java-side interface for reading individual battery properties on demand
Change-Id: I60a84ed936f1115fdb122f34986f2e605ae274de
2013-08-22 03:12:21 +00:00
Yorke Lee
35785bfdd1 Remove dialpad_autocomplete system key from settings
Bug: 10429771
Change-Id: I6c3721020114733e20d0d620680839e1b958721f
2013-08-21 19:21:25 -07:00
Fabrice Di Meglio
9e4009ea15 Decouple TimePicker code
- introduce a TimePickerDelegate interface to be able to have several
TimePicker implementations
- code refactoring

Change-Id: I0d8bdfdb4c2723a51311c01fbd485e34983bb423
2013-08-21 18:47:04 -07:00
David Christie
4c18b585e4 Remove newly added but deprecated master switch location setting methods.
Change-Id: I5e85a1efafe45cee89e08b97a0dcb016c91fd572
2013-08-21 17:09:30 -07:00
Jonathan Dixon
b7d5cbc007 Reset the Experimental WebView property per build
In order to increase test coverage, reset to the default value everytime
the build ID changes.

Bug: 10427705
Change-Id: I75e301d26ee0ca52265c5f7fe48661787b596168
2013-08-21 16:51:29 -07:00
Sam Blitzstein
21ea2d0387 Fix VALUE_RINGTONE_SILENT ref.
Change-Id: I115c8d2e0e972f6d7d732071d26ae5f489b926f3
(cherry picked from commit 044ffbbbaa)
2013-08-21 23:08:21 +00:00
Isaac Katzenelson
edf7c5caf9 Merge "Fix VALUE_RINGTONE_SILENT ref." 2013-08-21 23:08:04 +00:00
Sam Blitzstein
044ffbbbaa Fix VALUE_RINGTONE_SILENT ref.
Change-Id: I115c8d2e0e972f6d7d732071d26ae5f489b926f3
2013-08-21 16:02:21 -07:00
Jonathan Dixon
4f28d70aa3 Merge "Fix nit - use primative type and make volatile" 2013-08-21 21:58:41 +00:00
Sam Blitzstein
435e7dfd92 Extend AlarmClock API (just slightly)
Add some extras to SET_ALARM action.
Add SET_TIMER action.

Change-Id: I436864ca875a7eb1c424d0d21882d624780d6ff1
(cherry picked from commit fe7dedefe9)
2013-08-21 21:41:46 +00:00
Sam Blitzstein
0fb6488e0a Merge "Extend AlarmClock API (just slightly)" 2013-08-21 21:39:52 +00:00
Chet Haase
5c9c0be0fb am 3498d43a: am 5a284c42: Merge "Cancel running LayoutTransition before removing it from a container" into klp-dev
* commit '3498d43a3d2c4d21b4a58d0f81079964db551d43':
  Cancel running LayoutTransition before removing it from a container
2013-08-21 14:16:31 -07:00
Chet Haase
5a284c4208 Merge "Cancel running LayoutTransition before removing it from a container" into klp-dev 2013-08-21 21:09:10 +00:00
Chet Haase
ef3cbfd4c4 Cancel running LayoutTransition before removing it from a container
Previously, setting a new LayoutTransition object on a container would
not do anything to the old transition object (if it existed). This means
that the previous transition could be mid-flight, changing stuff in that
container, and would continue doing so even after it was removed.
This could cause artifacts like that in the bug below where views
that are fading out would be put in the containers "disappearing children"
list for the duration of the fade... and then would never be removed from
that list because the container was no longer connected to that transition.
This caused items to stay visible even after they were removed from
their parent containers.

Issue #10119571 LayoutTransitions sometimes does not honor view's visibility

Change-Id: I3efa4065e47fa97c4dd90410bbc1a0273c2b8079
2013-08-21 14:01:02 -07:00
Jonathan Dixon
0d6a1451d5 Fix nit - use primative type and make volatile
Doesn't need a boxed boolean. Technically might get read on many thread
so making it volatile too.

Change-Id: I7c96d03fe3680310e39e67f4ab59d0cfa4696d23
2013-08-21 13:09:36 -07:00
Vinit Deshapnde
1f12cb52a4 Introduce network link quality statistics
This change starts tracking traffic quality data for WiFi and mobile
networks. The quality is tracked based on incidental traffic, and not
on specific measurements. Theoretical bandwidths are hard-coded, as
well as sampling interval; although sampling interval can be changed
by setting a system policy.

Bugs filed to remove shortcomings of this change -

10342372 Change LinkInfo name to something better
10342318 Move hardcoded values of MobileLinkInfo to resources
         so they can be updated without changing code

Bug: 10006249

Change-Id: I83d8c7594da20fe53abbd5e1f909b1f606b035bb
2013-08-21 13:09:01 -07:00
Zhijun He
c3df7eac13 am c275cbfe: am 6b223c6a: Merge "Camera2: cleanup unused imports" into klp-dev
* commit 'c275cbfe718f5e52575b468d46586f2462d6f543':
  Camera2: cleanup unused imports
2013-08-21 12:06:11 -07:00
Zhijun He
6b223c6a5b Merge "Camera2: cleanup unused imports" into klp-dev 2013-08-21 19:01:11 +00:00
Zhijun He
faee2c26ef am 1deebbb8: am e8aae8a1: Merge "Camera2: Update tonemap curve definitions." into klp-dev
* commit '1deebbb836c596d1e9302b690e94ccbb927e8ac6':
  Camera2: Update tonemap curve definitions.
2013-08-21 11:50:25 -07:00