5118 Commits

Author SHA1 Message Date
Baligh Uddin
c513608dc1 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-28 00:42:58 +00:00
Baligh Uddin
397c7aaf8d Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-28 00:42:36 +00:00
Svetoslav Ganov
ca09dbc67b Merge "Print APIs update." into klp-dev 2013-08-28 00:07:09 +00:00
John Spurlock
4bf5c0e242 Remove unreferenced assets from SystemUI.
Bug:10502089
Change-Id: I9c414ff88054a764ab56f70ae8a0c0c82c248be9
2013-08-27 17:53:08 -04:00
Sandeep Siddhartha
572ec4e88c Merge "Temporary disable Hotword on lockscreen" into klp-dev 2013-08-27 20:31:32 +00:00
Sandeep Siddhartha
c4c330156e Temporary disable Hotword on lockscreen
Change-Id: Icdddcc0308b9f3153172e34a8f4d051c58829653
2013-08-27 13:25:40 -07:00
John Spurlock
f6b639773c Fix NPE for devices w/out soft-nav.
And fix other places w/out null guards in PhoneStatusBar.

Bug:10507892
Change-Id: I1be1b4c88bedd097530fd44d3506b716957f9c14
2013-08-27 16:12:54 -04:00
Svetoslav Ganov
aec1417ca9 Print APIs update.
1. Added scale to fit and scale to fill fitting modes.

2. Added APIs for a print app to specify which constraints imposed
   by the print attributes were satsified during a layout so they
   are not handled by the printer again, e.g. if the content is to
   be in landscape the the app generated such content the printer
   should rotate the content again.

3. Added some printer statuses.

4. Added a helper class that generates PDF documents with correct
   size based on the passed in print attributes.

5. Exposed a ctor for PageRange which was hidden by mistake and apps
   could not create page ranges. Added API for changing the printer
   status.

Change-Id: If1334a61d2d931027b98075f653018d456b1b768
2013-08-27 11:56:18 -07:00
Tom O'Neill
4a9c7fec66 Merge "Address API council comments on location mode API council" into klp-dev 2013-08-27 15:44:16 +00:00
John Spurlock
e189f662df Update system bar assets to new style.
Update to new system bar assets (ic_*, stat_*).

Update color resources driving style for battery meter + clock.

Add new xxhdpi versions.

Bug:10502089
Change-Id: Ic957ad9886fbb05ed0ca1765fb9e324bfd8ab609
2013-08-27 10:52:08 -04:00
Tom O'Neill
a324ac7875 Address API council comments on location mode API council
- Start fixing b/10461763

Change-Id: Ic5305bdca38329765a1de565c0a25da12e8ab19d
2013-08-26 14:40:23 -07:00
John Spurlock
0ec64c65fb Add new logging for system bar window state.
And re-enable PhoneStatusBar dump output in bugreports.

Bug:10488453
Change-Id: If39b32e82dee59f3c166c5a948d379030da0ea01
2013-08-26 15:37:58 -04:00
Baligh Uddin
0c96890b33 Import translations. DO NOT MERGE
Change-Id: I6b1373d144c4cfcce6f514051adbd179373180bf
Auto-generated-cl: translation import
2013-08-26 09:53:28 -07:00
Baligh Uddin
dc6c5a9950 Import translations. DO NOT MERGE
Change-Id: I90a32d22c5c97408ef96635be46c069c22fddca7
Auto-generated-cl: translation import
2013-08-26 09:45:01 -07:00
Baligh Uddin
a943688bb0 Import translations. DO NOT MERGE
Change-Id: I7be513f3d5decec282200b01900ce480fcf291cf
Auto-generated-cl: translation import
2013-08-26 09:42:10 -07:00
Jim Miller
14cabdabac Merge "Add setting to disable keyguard widgets" into klp-dev 2013-08-24 01:28:28 +00: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
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
Baligh Uddin
4f5e080486 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-23 21:26:48 +00:00
Svetoslav Ganov
826debf5f8 Merge "Print UI bug fixing and printer discovery refactoring." into klp-dev 2013-08-23 20:00:29 +00: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
Baligh Uddin
8a2df16745 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-23 18:59:50 +00:00
Baligh Uddin
e1f9e2f60d Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-23 18:59:33 +00: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
Jason Monk
4359d56420 Merge "System binds PAC Local Proxy instead of self start" into klp-dev 2013-08-23 17:53:33 +00:00
Baligh Uddin
3f6cb532c5 Import translations. DO NOT MERGE
Change-Id: Ieca373df9de5971c95e6954d6262c618420d2eb3
Auto-generated-cl: translation import
2013-08-23 10:10:53 -07:00
Baligh Uddin
7e361bcf7f Import translations. DO NOT MERGE
Change-Id: I7cb875bb18871021fb9972b427713440c8e95be6
Auto-generated-cl: translation import
2013-08-23 10:09:45 -07:00
Baligh Uddin
20e4beea1c Import translations. DO NOT MERGE
Change-Id: Ibbd7d5bc59126933bbcf0370cbdcd590f89d0ad7
Auto-generated-cl: translation import
2013-08-23 10:08:48 -07:00
John Spurlock
17f832296c Revert GPS status bar icon to the correct size.
Bug:10452779
Change-Id: Idfb5097e33d10be1106c0a10be3d5794388f7d08
2013-08-23 08:49:14 -04:00
John Spurlock
d28cb3e757 Merge "Remove more unused icons." into klp-dev 2013-08-23 12:22:53 +00: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
John Spurlock
9320645164 Remove more unused icons.
By also removing their obsolete layout referents.

Bug:10344949
Change-Id: Iff8bf686507c63239f058de82ebc776d27480b4f
2013-08-23 08:07:11 -04:00
Jason Monk
da205a749f System binds PAC Local Proxy instead of self start
The PAC Local Proxy priviously caught proxy broadcasts and started itself
when needed.  Now it is bound by the system the same way the pac processing
service is started.

Bug: 10425091
Change-Id: I746daa21645a11aa18ef464f00c8cb5536d8c86f
2013-08-22 16:33:26 -04:00
Jason Monk
7a6af1c093 Verify inputs to PAC resolving.
This verifies both the URL and host are valid before they are passed to the
javascript for PAC.  This is to protect against injection attacks.

Bug: 10230771
Change-Id: Ib1996181971a49ccd390f181ec3848124801e4d5
2013-08-22 15:46:11 -04:00
Geoffrey Borggaard
f4e8eb8342 Merge "Notify the users if a user installed SSL CA Cert is present." into klp-dev 2013-08-22 18:13:53 +00:00
Geoffrey Borggaard
348fc4867e Notify the users if a user installed SSL CA Cert is present.
Adds a tile to quick settings when a cert is present.  Message varies
depending on if this device is managed or a consumer device.
Bug: 10105918
Change-Id: Ifbe78c10638ef6e2a4661e8d18b44b8913a2cf9d
2013-08-22 18:09:57 +00:00
Chris Wren
6d15a364f2 use ONGOING as the signal not to auto-hide heads up
instead of INSISTENT or NO_CLEAR
required some disambiguation in places where ONGOING is already used.

Bug: 10412149
Change-Id: Iea7d698846c76a464cae511a3a8e3908b114edfe
2013-08-22 10:45:32 -04:00
Chris Wren
e03f4e1fae handle updates to the notification in the heads up
Bug: 10226356
Change-Id: I5bc9aecc3849617092e863868a6df610c615048b
2013-08-22 10:45:31 -04:00
John Spurlock
83208e34f6 Remove obsolete sysbar icons and layouts.
Remove icons no longer referenced in source or layout files.
Some icons are referenced in obsolete layouts, remove those
as well.

Bug:10344949
Change-Id: Ifc2e4c01534499b687cebd3e32db61e9c7a92e4a
2013-08-22 09:41:39 -04:00
Marco Nelissen
9b64ca7669 Use correct timescale for "date taken" field
Images.DATE_TAKEN is in milliseconds, not seconds.

b/10424911

Change-Id: I7b6231715ee3945bbd473039fb204881b8de3dc0
2013-08-21 13:13:29 -07:00
David Christie
8b525e75a0 Merge "Switch QuickSettings to new LocationMode setting api." into klp-dev 2013-08-21 17:40:43 +00:00
John Spurlock
b06b8b0267 Merge "Improve transient bar transitions." into klp-dev 2013-08-21 13:36:36 +00:00
Jason Monk
ff796e5a24 Merge "Change PacProcessor to Android Service" into klp-dev 2013-08-20 23:35:26 +00:00
David Christie
448baa08d0 Switch QuickSettings to new LocationMode setting api.
Change-Id: Ie3981741ae422562e9c703b76d10278f285739c6
2013-08-20 15:22:33 -07:00
Sandeep Siddhartha
aed96e1b2b Merge "Add hotword detection in insecure keyguard" into klp-dev 2013-08-20 21:41:44 +00:00
Jason Monk
9ced3cd9d6 Change PacProcessor to Android Service
This switches the PacProcessor over to an Android Service.  The service
is bound and unbound by the PacManager, which also adds it to the
ServiceManager, allowing for Context-Free access by the PacProxySelector
in all DVMs.

bug:10182711
Change-Id: Id1ff7660be56e8976cdcccd76e041feb47a17a61
2013-08-20 17:36:39 -04:00
Sandeep Siddhartha
f4d922b2d9 Add hotword detection in insecure keyguard
- This talks to a service that's implemented by the Search app
- The AIDL interface may be moved to the framework in a later CL

Change-Id: I26553e46f7d17ba4ac7a952c871b28b261cba975
2013-08-20 14:17:02 -07:00
Jason Monk
b7ac0d02d6 Merge "Fix ProxyHandler to only run when needed" into klp-dev 2013-08-20 21:13:24 +00:00