5350 Commits

Author SHA1 Message Date
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
8b38815108 am a413551c: am 4a9c7fec: Merge "Address API council comments on location mode API council" into klp-dev
* commit 'a413551cf92254106a61aa024509dc9e5b72fdfe':
  Address API council comments on location mode API council
2013-08-27 10:30:35 -07:00
John Spurlock
340c1c2686 am 34b97a25: am ec566dd0: Merge "Update system bar assets to new style." into klp-dev
* commit '34b97a25c17cead95a6f08e5eec796114f59b9b9':
  Update system bar assets to new style.
2013-08-27 10:30:33 -07:00
Tom O'Neill
a413551cf9 am 4a9c7fec: Merge "Address API council comments on location mode API council" into klp-dev
* commit '4a9c7fec662315d9da48f0f5f99313f270424b48':
  Address API council comments on location mode API council
2013-08-27 08:47:36 -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
34b97a25c1 am ec566dd0: Merge "Update system bar assets to new style." into klp-dev
* commit 'ec566dd06f780c1a368d9472235e5d1fe3c3bda9':
  Update system bar assets to new style.
2013-08-27 08:08:06 -07: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
John Spurlock
db3bb617b1 am 7be199d7: am f8388885: Merge "Add new logging for system bar window state." into klp-dev
* commit '7be199d7ce6ea49489618a2ac6c4e7e1df45000b':
  Add new logging for system bar window state.
2013-08-26 15:11:41 -07:00
Jim Miller
b155194775 am 517c8cf3: am 14cabdab: Merge "Add setting to disable keyguard widgets" into klp-dev
* commit '517c8cf31833cc8fde0e6546c41af7d39e5e5429':
  Add setting to disable keyguard widgets
2013-08-26 15:11:20 -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
Jason Monk
96eee102b0 am 4163241f: am 4359d564: Merge "System binds PAC Local Proxy instead of self start" into klp-dev
* commit '4163241f146bffeda889bd8a04455945fc9f4922':
  System binds PAC Local Proxy instead of self start
2013-08-26 15:10:35 -07:00
John Spurlock
7be199d7ce am f8388885: Merge "Add new logging for system bar window state." into klp-dev
* commit 'f8388885e49a0a0fa71f9a90301bd90a349cb1dd':
  Add new logging for system bar window state.
2013-08-26 15:04:44 -07:00
Jim Miller
517c8cf318 am 14cabdab: Merge "Add setting to disable keyguard widgets" into klp-dev
* commit '14cabdabac1eb87026e4bbd71a18530031b1dd34':
  Add setting to disable keyguard widgets
2013-08-26 15:03:33 -07:00
Jeff Sharkey
308aacb924 am 365768fd: Merge "Return EXIF thumbnails when available." into klp-dev
* commit '365768fd3533343d6631875d7d46882907f7ab09':
  Return EXIF thumbnails when available.
2013-08-26 15:02:57 -07:00
Jeff Sharkey
d0fcacd949 am 98d62123: Merge "Add CancellationSignal support to file operations." into klp-dev
* commit '98d6212327d1c483894b642d5e24c3aac9fca9cf':
  Add CancellationSignal support to file operations.
2013-08-26 15:02:53 -07:00
Svetoslav Ganov
e0612ffe54 am 826debf5: Merge "Print UI bug fixing and printer discovery refactoring." into klp-dev
* commit '826debf5f806fdab77f9e3aa17d4e32abc87ec77':
  Print UI bug fixing and printer discovery refactoring.
2013-08-26 15:01:57 -07:00
Jason Monk
4163241f14 am 4359d564: Merge "System binds PAC Local Proxy instead of self start" into klp-dev
* commit '4359d56420b114f433ba4187c2d1f341bb35c938':
  System binds PAC Local Proxy instead of self start
2013-08-26 15:00:22 -07: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
Baligh Uddin
916b98fa25 Import translations. DO NOT MERGE
Change-Id: Ica46be21e7deb6522a020816f30cd6143c528f32
Auto-generated-cl: translation import
2013-08-26 13:50:59 -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
e3a6433c9a Import translations. DO NOT MERGE
Change-Id: I58312f6de5060de6fdf5815a304c3ba502b717ce
Auto-generated-cl: translation import
2013-08-26 09:58:03 -07:00
Baligh Uddin
fe5b45de33 Import translations. DO NOT MERGE
Change-Id: I1790028124b1ae7f3f552bf31698e559d8d8aaf4
Auto-generated-cl: translation import
2013-08-26 09:56:12 -07: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
94103d0778 Import translations. DO NOT MERGE
Change-Id: I65179cd29f91ec7e22edef7d6cdde4dfccdbef4b
Auto-generated-cl: translation import
2013-08-26 09:51:55 -07:00
Baligh Uddin
6dbfa15f98 Import translations. DO NOT MERGE
Change-Id: I626a2582ed52cc4fe4c45d52c6f15527e1d5715e
Auto-generated-cl: translation import
2013-08-26 09:50:53 -07:00
Baligh Uddin
78ff92cc32 Import translations. DO NOT MERGE
Change-Id: I96d7c9b76b7196a7432d3b9bfa48267fb4c27cc7
Auto-generated-cl: translation import
2013-08-26 09:46:02 -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
d3acb70a6c Import translations. DO NOT MERGE
Change-Id: I97bfa23167d1035f588235535c1449196ed9aeef
Auto-generated-cl: translation import
2013-08-26 09:43:09 -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
Baligh Uddin
e2d479add3 Import translations. DO NOT MERGE
Change-Id: Ifefc917998e3d34249bf45e97982ac9bcc03047c
Auto-generated-cl: translation import
2013-08-26 09:09:55 -07:00
Baligh Uddin
17417f0ac0 Import translations. DO NOT MERGE
Change-Id: I12015ba0f64afaef3e353569afd63c370991d991
Auto-generated-cl: translation import
2013-08-26 09:07:27 -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
b27776a451 am 7e2d4262: am 17f83229: Revert GPS status bar icon to the correct size.
* commit '7e2d4262c5137208ff6b135adad6c35edee0c505':
  Revert GPS status bar icon to the correct size.
2013-08-23 07:30:35 -07:00