190 Commits

Author SHA1 Message Date
Svet Ganov
9fb7b07c6c Dimming deselected preview pages
For print preview we show the pages the user selected in the range
affordance but the user can optionally further prune pages to be
printed by deselecting them in the preview. The deselected pages
change elevation and now also are dimmed.

bug:15912256

Change-Id: I53357b8e8b592387bbc26b937eda786bb4660d85
2014-07-14 07:31:07 +00:00
Svetoslav
000f88c9e8 Adding back accidentally removed constants
Change-Id: Ib99000da8f31437e7d40eceb69779a0f4c2982e1
2014-07-11 22:54:28 +00:00
Svetoslav
53912d07d2 Fix the print button appearance.
Change-Id: Ie19a52eaf08e1e39bb488c5afa2344c72e646b0b
2014-07-11 21:42:06 +00:00
Svetoslav
15cbc8a032 Addressing comments for the print preview feature.
Change-Id: Ib72140a912e22f859258d970e0d1c4ef06e807d5
2014-07-11 16:46:46 +00:00
Svet Ganov
525a66b2bb Adding print preview.
This change adds the pring preview part of the new print UX. The
UI has two parts, the top section is the print options and the
bottom section print preview with a list of pages. The user can
interact only with one of them. When print options are expanded
they cover the preview content and a scrim is laid out on top of
the preview. Tapping the scrim collapses the print options. When
the user types in page ranges and closes the options to look at
the preview, the latter is updated to show only these pages. In
the list of pages the user can further prune pages by deselecting
them.

Change-Id: I0b23d2c598afe2a34400ccfa43e4e935af83c72f
2014-07-09 18:43:38 +00:00
Baligh Uddin
40b9a2a59a Import translations. DO NOT MERGE
Change-Id: I004e0eca54b3f3e8bc06237abcec0790e0eddd57
Auto-generated-cl: translation import
2014-07-05 09:33:02 -07:00
Baligh Uddin
700c8ad6c8 Import translations. DO NOT MERGE
Change-Id: I19ba0a7849975b5f1674a9b04ec1d1bf08c25a9f
Auto-generated-cl: translation import
2014-06-30 14:34:43 +00:00
Baligh Uddin
ae40bcbe61 Import translations. DO NOT MERGE
Change-Id: I14733d99735d38e73451e9df11da28e78d1ac973
Auto-generated-cl: translation import
2014-06-26 11:02:03 -07:00
Baligh Uddin
18f51dddd9 Import translations. DO NOT MERGE
Change-Id: I3e3a10ece8f548783744aaec1c0c705e207701a4
Auto-generated-cl: translation import
2014-06-25 02:32:33 +00:00
Baligh Uddin
e52ee5688d Import translations. DO NOT MERGE
Change-Id: I78454917ebab5e086504ea688c5b6b05991bb27d
Auto-generated-cl: translation import
2014-06-18 09:37:07 -07:00
Baligh Uddin
4a66b07c7f Import translations. DO NOT MERGE
Change-Id: If49c63f7cf5e95fcaba6852dfc44ed702ed625b9
Auto-generated-cl: translation import
2014-06-15 12:54:54 +00:00
Ruben Brunk
ef1b1398e9 fixbuild: Remove 'pinned' attr.
Needed by ag/481620

BUG: 15523923
BUG: 15473856

Change-Id: I5e8bf417368b60fcc33c80852e12f27b8c580774
2014-06-11 11:56:58 -07:00
Baligh Uddin
12bfa7cd68 Import translations. DO NOT MERGE
Change-Id: I471ee84c28b6ea15be4e54fd9ec2f7e262fa76ed
Auto-generated-cl: translation import
2014-06-09 09:13:34 -07:00
Baligh Uddin
48798325ed Merge "Import translations. DO NOT MERGE" 2014-06-07 03:10:51 +00:00
Svetoslav
a798c0a984 Refactor printing
Change-Id: I19850154ef2798afff511e4490a268ce38e8cbae
2014-06-06 13:33:16 -07:00
Baligh Uddin
269bfa18f8 Import translations. DO NOT MERGE
Change-Id: I30f36cd83def8e860e1535bdd75f7564e71b97d6
Auto-generated-cl: translation import
2014-06-04 08:10:53 -07:00
Baligh Uddin
ae12a0fbb3 Import translations. DO NOT MERGE
Change-Id: Id7173460a1e17e91f6d119dea4b0f318bf51d78e
Auto-generated-cl: translation import
2014-06-02 09:43:14 -07:00
Geoff Mendal
da506a607e Import translations. DO NOT MERGE
Change-Id: I0ad03f1c00243b191db304b1d7f6974db0f06022
Auto-generated-cl: translation import
2014-05-28 09:32:43 -07:00
Baligh Uddin
c8128b0bd8 Import translations. DO NOT MERGE
Change-Id: Idcca08557f575b7a9f5cb66df19eaa01f7989ac8
Auto-generated-cl: translation import
2014-05-20 08:17:35 -07:00
Ed Heyl
2cf184233b merge master nova by hand, skipped translations
Change-Id: I4bea0bb9e375361f21d995bf4698d5eb6300ecfb
2014-05-14 13:24:53 -07:00
Baligh Uddin
bc3c9ec4ff Import translations. DO NOT MERGE
Change-Id: I7d5f832b6c632d75c580cff1b30d7234c30d64a9
Auto-generated-cl: translation import
2014-05-12 08:25:29 -07:00
Baligh Uddin
d7ee61112e Import translations. DO NOT MERGE
Change-Id: I9c1fa79848e6ddb1190309328e3dd9a5636b3281
Auto-generated-cl: translation import
2014-04-16 14:25:21 -07:00
Alan Viverette
01cefbc5b3 am b325345e: Merge "Switch framework Holo references to Quantum.Light"
* commit 'b325345ef0adf2849350d339de1ec5f92b67b7ae':
  Switch framework Holo references to Quantum.Light
2014-04-02 22:23:17 +00:00
Alan Viverette
3a3395042e am b325345e: Merge "Switch framework Holo references to Quantum.Light"
* commit 'b325345ef0adf2849350d339de1ec5f92b67b7ae':
  Switch framework Holo references to Quantum.Light
2014-04-02 22:18:59 +00:00
Alan Viverette
6259933ec9 Switch framework Holo references to Quantum.Light
Change-Id: Ib545a143f1959b6104adbc9d594dd626851d90b3
2014-04-01 14:57:39 -07:00
Baligh Uddin
456696ac98 Import translations. DO NOT MERGE
Change-Id: I9d33cc058a79b8ea1b265104afbaa0dba76762a8
Auto-generated-cl: translation import
2014-03-24 09:40:09 -07:00
Baligh Uddin
8b6d9fee1f Import translations. DO NOT MERGE
Change-Id: Ic4396a06837a9e5c6f32ec9237567f886bdae8bd
Auto-generated-cl: translation import
2014-03-19 09:41:29 -07:00
Geoff Mendal
554428c327 Import translations. DO NOT MERGE
Change-Id: I997192f031eea02fbad2f41370db984dce84b65c
Auto-generated-cl: translation import
2014-03-17 09:27:08 -07:00
Baligh Uddin
267bba6f64 Import translations. DO NOT MERGE
Change-Id: Ia1ebb3566930294e42b3310a5d8ffa845852fa77
Auto-generated-cl: translation import
2014-01-08 09:01:38 -08:00
Baligh Uddin
38bae539f8 Remove deprecated locales
Bug:11340849
Change-Id: Ib99486303927a6bce308b113d70f8e5b5bce4a13
2013-12-09 22:41:12 +00:00
Baligh Uddin
cff08b4cab Import translations. DO NOT MERGE
Change-Id: I73cde7061a849fa76822f468ec79c7eb9021c9be
Auto-generated-cl: translation import
2013-11-17 16:32:31 -08:00
Baligh Uddin
5b3574a9aa Merge "Import translations. DO NOT MERGE" 2013-11-15 06:36:35 +00:00
Svetoslav
573f0db661 am 172c5a24: am d2b27cbd: am 6874bfe1: Merge "Created print jobs should not be persisted until they are queued." into klp-dev
* commit '172c5a2473c82dfb72de289011fe615c28c572cd':
  Created print jobs should not be persisted until they are queued.
2013-11-14 22:34:12 -08:00
Baligh Uddin
18658d1863 Import translations. DO NOT MERGE
Change-Id: Ie93ca6d1a6baab26ef47fca55e5d3f27efb5997b
Auto-generated-cl: translation import
2013-11-14 22:33:34 -08:00
Svetoslav
172c5a2473 am d2b27cbd: am 6874bfe1: Merge "Created print jobs should not be persisted until they are queued." into klp-dev
* commit 'd2b27cbde92dc57b5b6fe9b7434a5189a73dd2b2':
  Created print jobs should not be persisted until they are queued.
2013-11-14 22:30:52 -08:00
Svetoslav
d2b27cbde9 am 6874bfe1: Merge "Created print jobs should not be persisted until they are queued." into klp-dev
* commit '6874bfe19b6bc1522e07e53eb96a07e21d148b41':
  Created print jobs should not be persisted until they are queued.
2013-11-14 22:27:35 -08:00
Svetoslav
885810de69 Created print jobs should not be persisted until they are queued.
Print jobs in a created state should not be persisted. However,
if a print service sets the tag to a print job that is queued,
we were persisting even print jobs in a created state. This
change adds a simple check while persisting to avoid storing
created print jobs.

bug:11696785

Change-Id: Idf28f3634b91fd5bf345f376114af4ed478ed3c6
2013-11-14 18:02:31 -08:00
Svetoslav
1b967a1b23 resolved conflicts for merge of 9358d98d to master
Change-Id: I1facdcec6eeaa10805300c9d634957fbb86815d3
2013-11-13 18:43:32 -08:00
Svetoslav Ganov
9358d98d83 am 852a8895: am d697ba73: Merge "Fix NPE at PrintSpooler in Japanese environment." into klp-dev
* commit '852a8895e18ad578a4c299d13615a4cbb3ee1211':
  Fix NPE at PrintSpooler in Japanese environment.
2013-11-13 14:27:54 -08:00
Svetoslav Ganov
852a8895e1 am d697ba73: Merge "Fix NPE at PrintSpooler in Japanese environment." into klp-dev
* commit 'd697ba73b5a5fc5dc502a117a8f06e8f1a5359b9':
  Fix NPE at PrintSpooler in Japanese environment.
2013-11-13 14:24:23 -08:00
Keiji Ariyama
1a8c7135f0 Fix NPE at PrintSpooler in Japanese environment.
MediaSize ID have to be upper cases.

Change-Id: I84af01dbd185df210b5ebb1de282a4091e06df05
Related-issue: https://code.google.com/p/android/issues/detail?id=61984
2013-11-13 11:43:26 -08:00
Baligh Uddin
de0bb5a097 Import translations. DO NOT MERGE
Change-Id: I44ee60eb6a5bf5ec7099461ecf11930436a1fc05
Auto-generated-cl: translation import
2013-11-11 08:12:59 -08:00
Baligh Uddin
9c530e1855 Import translations. DO NOT MERGE
Change-Id: I75eb5e47f9851174f7bd7e8301537bf7c94a8b5a
Auto-generated-cl: translation import
2013-11-11 08:11:33 -08:00
Baligh Uddin
6ccf625559 Import translations. DO NOT MERGE
Change-Id: I659e58b641a7a154bca5ea33413aff6cde07635a
Auto-generated-cl: translation import
2013-11-06 11:54:16 -08:00
Baligh Uddin
3b79bf493c Import translations. DO NOT MERGE
Change-Id: I13dd4dfd6492c31975cd61e28caeea940a5f66cb
Auto-generated-cl: translation import
2013-11-06 11:53:23 -08:00
Svetoslav
b066a136d7 am d4879eec: am 628264c4: am 4033c94b: Merge "Add way for the user to forget previously used printers." into klp-dev
* commit 'd4879eec5f1749d34d59a19ccde820c4eaabdfcf':
  Add way for the user to forget previously used printers.
2013-11-05 14:22:41 -08:00
Svetoslav
d4879eec5f am 628264c4: am 4033c94b: Merge "Add way for the user to forget previously used printers." into klp-dev
* commit '628264c4f3828e0c4c997bb91f289a91d54c75c4':
  Add way for the user to forget previously used printers.
2013-11-05 13:26:40 -08:00
Svetoslav
628264c4f3 am 4033c94b: Merge "Add way for the user to forget previously used printers." into klp-dev
* commit '4033c94bb7566a652442ae1fa164d1efa7562761':
  Add way for the user to forget previously used printers.
2013-11-04 19:35:35 -08:00
Svetoslav
1c664b6def Add way for the user to forget previously used printers.
We keep track of historical printers but some of them may disappear
forever, say the user changes his printer. In such a case the print
system has no idea that the previous printer will never appear so
this change allows the user to remove historical printers.

In the all printers list the user can now long press on a printer
and if the printer is available he can select it from the context
menu. If the printer was used before regardless if it is active the
user may choose to forget it.

bug:11282742

Change-Id: Idc2dda70920ad045149eea1bcfc75ad1992827e9
2013-11-04 14:25:11 -08:00
Baligh Uddin
407fd711d3 Import translations. DO NOT MERGE
Change-Id: I1a818740cb5af5e65e17c7d3716b59b261e560b1
Auto-generated-cl: translation import
2013-10-30 08:53:50 -07:00