33583 Commits

Author SHA1 Message Date
Svetoslav Ganov
cb8ed39b3f Update AccessibilityNodeInfo API as per API council request
bug:10461302

Change-Id: I9709a271ab3720e064b98c79c0950d811fe37b73
2013-08-27 08:26:13 -07:00
Ying Wang
9436631333 Fix docs build.
Change-Id: I3299e59fd90141fee324129ff3b251bdf8f60f10
2013-08-23 22:20:03 -07:00
Jim Miller
14cabdabac Merge "Add setting to disable keyguard widgets" into klp-dev 2013-08-24 01:28:28 +00:00
Jeff Brown
511cd35fcc Docs changes pursuant to API review feedback.
Change-Id: I74c51791192f7fefad4e299d25c91438cbf6ab73
2013-08-23 17:44:47 -07:00
Jim Miller
f45bb40388 Add setting to disable keyguard widgets
This allows disabling keyguard widgets through Settings.
On new devices, the setting is turned off by default.  If the
user currently has widgets in keyguard, then we keep them
and re-enable the setting.

Change-Id: I7258921231d439925ac8627105710efa99309094
2013-08-23 17:36:30 -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
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
d866f5002a Merge "Add new API shouldOfferSwitchingToNextInputMethod" into klp-dev 2013-08-23 09:31:51 +00: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
8e3a41738f Merge "Expose API to query devices for supported keys" into klp-dev 2013-08-22 21:08:02 +00: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
39c9c63295 Merge "Reset the Experimental WebView property per build" into klp-dev 2013-08-22 04:59:56 +00: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
Yorke Lee
35785bfdd1 Remove dialpad_autocomplete system key from settings
Bug: 10429771
Change-Id: I6c3721020114733e20d0d620680839e1b958721f
2013-08-21 19:21:25 -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 044ffbbbaa7dc07c2aa40a35d5d13b1b3e7bd0c0)
2013-08-21 23:08:21 +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 fe7dedefe9c146209f73306dbd1584f251f85d1c)
2013-08-21 21:41:46 +00: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
Alan Viverette
398ec0368b Move caption view from Settings into framework
Renamed to SubtitleView, moved dimensions into resources.

BUG: 10260603
Change-Id: I5d86ee21ca260540ba3201c5295a5c1353e2d963
2013-08-21 13:43:00 -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
6b223c6a5b Merge "Camera2: cleanup unused imports" into klp-dev 2013-08-21 19:01:11 +00:00
Zhijun He
e8aae8a122 Merge "Camera2: Update tonemap curve definitions." into klp-dev 2013-08-21 18:44:06 +00:00
Zhijun He
ed255a09ec Camera2: cleanup unused imports
Bug: 10360518
Change-Id: I067a29ac43e7d70f07f45463bee46a8f6d3f31a5
2013-08-21 11:27:03 -07:00
Zhijun He
3ffd70554f Camera2: Update tonemap curve definitions.
This updates android.tonemap.curveGreen and android.tonemap.curveBlue
definitions.
Also update android.sensor.info.physicalSize type.

Bug: 10394966
Change-Id: I23156ad0cd67fa59500a1c803068e392514756d4
2013-08-21 11:12:04 -07:00
Eino-Ville Talvala
0125ba70bb Merge "Camera2: Convert camera device errors to exceptions" into klp-dev 2013-08-21 18:05:49 +00:00
Alan Viverette
a2e88ef896 Merge "Move forwarding code to ListPopupWindow, add drag-to-open in Spinner" into klp-dev 2013-08-21 17:56:00 +00:00
Alan Viverette
5feb0ad1d2 Merge "Use MULTI_LINE and OPENS_POPUP accessibility properties" into klp-dev 2013-08-21 17:55:49 +00:00
Igor Murashkin
f6121f38c0 Merge "camera2: add sensor.temperature optional key. clear up some metadata definitions" into klp-dev 2013-08-21 17:53:18 +00:00
Lorenzo Colitti
fd589c1d94 Merge "Notify IP address changes to interface observers." into klp-dev 2013-08-21 17:47:13 +00:00
Eino-Ville Talvala
5afd3e91b8 Camera2: Convert camera device errors to exceptions
Bug: 10360518
Change-Id: I1752cecf55269c2c9f22962660c0b3fc236138fa
2013-08-21 10:37:04 -07:00
Chris Craik
dc70afaeab Merge "Add inPremutiplied option to BitmapFactory.Options, functionality in Bitmap" into klp-dev 2013-08-21 17:22:24 +00:00
Lorenzo Colitti
10fa8c0626 Merge "Make BaseNetworkObserver available to core code" into klp-dev 2013-08-21 17:20:40 +00:00
Lorenzo Colitti
4d3d5f1f9e Merge "Modify LinkProperties address update methods." into klp-dev 2013-08-21 17:13:50 +00:00
Mathew Inwood
6a99a8145c Merge "Remove android.provider.Applications" into klp-dev 2013-08-21 17:12:05 +00:00
Lorenzo Colitti
b8aa06c783 Merge "Add a string constructor to LinkAddress." into klp-dev 2013-08-21 17:11:00 +00:00
Mathew Inwood
e14380a798 Remove android.provider.Applications
ApplicationsProvider is going away since it's no longer needed. Remove
the related constants also.

Depends on change I6ee638a3d2b65f092d6f90410156d7cd24436914 in
packages/provider/ApplicationsProvider.

Bug: 10407790
Change-Id: Ib3188612a8713266a77d59d514113ed5d61b0810
2013-08-21 17:04:05 +01:00
John Spurlock
b06b8b0267 Merge "Improve transient bar transitions." into klp-dev 2013-08-21 13:36:36 +00:00
Alan Viverette
d3927bd035 Merge "Allow recycling of Preferences in com.android.* packages" into klp-dev 2013-08-21 01:58:55 +00:00
Chris Craik
1abf5d6242 Add inPremutiplied option to BitmapFactory.Options, functionality in Bitmap
bug:2248948

Change-Id: I8fdd649332667598504a1076d5a447572bd53086
2013-08-20 18:29:33 -07:00