1109 Commits

Author SHA1 Message Date
Philip P. Moltmann
fef31ad5ae Set title in onCreate.
This makes sure the accessibility service recognizes the correcy title.

Fixes: 30220082
Change-Id: Ieaa37818a55c7b2e543bbe8bd8836996ef0529d2
2016-07-25 13:08:19 -07:00
Bill Yi
43c1a5dc97 Import translations. DO NOT MERGE
Change-Id: I5818fd932d01bc4ccfcd7204f013151604693bd3
Auto-generated-cl: translation import
2016-07-20 14:53:17 -07:00
Dan Sandler
954533b311 WIP debugging. am: f3a1f2c7b0
am: 42ec9b86b1

Change-Id: I2a9d3b382de2563f5538be8ecc33b9aad0e6380a
2016-07-14 19:50:11 +00:00
Philip P. Moltmann
42ec9b86b1 Merge \"Always trigger a write if no pages are written\" into nyc-mr1-dev
am: 965a706282

Change-Id: Id046f9aef66e0217644116fe8221d05fe5e960a3
2016-07-14 17:28:56 +00:00
Philip P. Moltmann
fde8ecc2ea Always trigger a write if no pages are written
If a previous write was canceled we can end up in the situation where
the layout reports "not changes since layout" but no pages have been
written.

In this case we have to trigger a write even if the layout reports that
nothing changed.

Fixes: 24110832
Change-Id: I4b3f69581e63f4084cd3712861288ded7d9c9249
2016-07-14 05:14:51 +00:00
Andrew Sapperstein
55f6407c53 Merge \\"Use colorControlHighlight for print button ripple.\\" into nyc-mr1-dev am: 4e5008c4c5
am: 69bee9bbcc

Change-Id: Ief89eaba89b1aea04b96a5e3b864c385f74388f3
2016-07-14 00:15:39 +00:00
Andrew Sapperstein
69bee9bbcc Merge \"Use colorControlHighlight for print button ripple.\" into nyc-mr1-dev
am: 4e5008c4c5

Change-Id: Ide94360486909773a55734140efd3d29adfdd239
2016-07-14 00:08:21 +00:00
Andrew Sapperstein
4e5008c4c5 Merge "Use colorControlHighlight for print button ripple." into nyc-mr1-dev 2016-07-14 00:00:26 +00:00
Andrew Sapperstein
418e09fc43 Use colorControlHighlight for print button ripple.
Instead of using #eeff41 (a random shade of yellow), use
the default color for ripples.

Change-Id: I32fc7e9a10a994deb2066941c96457ad8549dd11
Fixes: 30115080
2016-07-13 13:04:13 -07:00
Philip P. Moltmann
5ab1051d8e Merge \"Merge \\"Set PrintDocumentInfo#mDataSize\\" into nyc-mr1-dev am: ba229ce88a\" into nyc-mr1-dev-plus-aosp
am: 7e19c2d0c6

Change-Id: Ib97c4ac9ad688c24b25b8ad6a894a917e0900c86
2016-07-12 02:21:28 +00:00
Philip P. Moltmann
5a4d4c4091 Merge \"Set PrintDocumentInfo#mDataSize\" into nyc-mr1-dev
am: ba229ce88a

Change-Id: If8a117c396ef206afaa86e9d4fad7c0dcc182a17
2016-07-11 23:30:51 +00:00
Philip P. Moltmann
76801da1f6 Set PrintDocumentInfo#mDataSize
... while configuring and when the final PrintDocumentInfo is set.

Fixes: 30001353
Change-Id: I744929422525508185f5748aca1b018e46d7666f
2016-07-07 18:42:07 +00:00
Bill Yi
73863a9ef7 Import translations. DO NOT MERGE
Change-Id: Ifdc4d79e3c9e3672735b3ef00dcb10e08e821826
Auto-generated-cl: translation import
2016-07-05 12:28:57 -07:00
Philip P. Moltmann
6f6f85764d Merge \\"Prevent PrintRegistry callbacks when finishing\\" into nyc-mr1-dev am: 4b24c48e23
am: 4c1327dfaf

Change-Id: I16823d0088ff725428c3b7fb71c453a3da309e8f
2016-07-01 16:04:35 +00:00
Philip P. Moltmann
4c1327dfaf Merge \"Prevent PrintRegistry callbacks when finishing\" into nyc-mr1-dev
am: 4b24c48e23

Change-Id: I937876d007e0102e5dcd1f451638543d23941ce6
2016-07-01 15:49:23 +00:00
Philip P. Moltmann
2eae8eb7e2 Prevent PrintRegistry callbacks when finishing
Previously these callbacks could happen while we clean up the print
preview controller. Then these callbacks called in destroyed and cleaned
up modules.

Fixes: 29874802
Change-Id: I5d8497e3364b97a33a837f8e3e825e5d254592f9
2016-06-30 17:38:06 +00:00
Bill Yi
a62607b668 Import translations. DO NOT MERGE
Change-Id: Ie0fa4b25568bce65fcca49ec692583acc64839ba
Auto-generated-cl: translation import
2016-06-29 12:07:48 -07:00
Philip P. Moltmann
6bc93c16d2 Merge \\"Syncronize renderPage vs. onServiceDisconnected\\" into nyc-mr1-dev am: c7c647bbf0
am: c76f44fab4

Change-Id: I780866bef6d476325a93777075bfce752ad84968
2016-06-28 16:25:17 +00:00
Philip P. Moltmann
c76f44fab4 Merge \"Syncronize renderPage vs. onServiceDisconnected\" into nyc-mr1-dev
am: c7c647bbf0

Change-Id: Ibd18df2822dbb0993eb4fc22392c3c523197c540
2016-06-28 16:18:09 +00:00
Philip P. Moltmann
3cf17ad26d Syncronize renderPage vs. onServiceDisconnected
An async renderPage request might be in progress while the service is
getting disconnected.

Fixes: 29639740
Change-Id: I8a33e5fba96dd76ecb1e14d0e3a26334eb8965a5
2016-06-27 21:06:42 +00:00
Bill Yi
0102f445ce Import translations. DO NOT MERGE
Change-Id: I921de8aa7c4445c0ecb3775845c3c1311832e4c4
Auto-generated-cl: translation import
2016-06-27 01:00:41 -07:00
Philip P. Moltmann
e335db03e5 Treat unexpected cancels as failures.
Change-Id: Ie29f164056cb3a8b8f1e7f465a3d2c4f338fb60f
2016-06-24 09:57:42 -07:00
Philip P. Moltmann
9599a99ee1 Merge \\\"Do not launch non exposed add printer activity\\\" into nyc-dev am: 737be111cc am: 89fe3e0169
am: de247457be

Change-Id: I04ce338f871b55e6b19de016dad1e2f0a87f833c
2016-06-23 02:04:09 +00:00
Philip P. Moltmann
ce7fc6c0a1 Merge \"Do not launch non exposed add printer activity\" into nyc-dev
am: 737be111cc

Change-Id: Ief45b4a87071215700eaba8c21d0aff8ab0c8911
2016-06-23 01:55:52 +00:00
Philip P. Moltmann
89fe3e0169 Merge \"Do not launch non exposed add printer activity\" into nyc-dev
am: 737be111cc

Change-Id: Ib4ebd8ed3605de40b974a8a1417f0a8bac31d1e6
2016-06-23 01:55:13 +00:00
Philip P. Moltmann
61209bc924 Do not launch non exposed add printer activity
Change-Id: I0b9b11ea0ce0140c77dff2539b1a0a9dcf1558b0
Fixes: 29580579
2016-06-22 16:41:22 -07:00
Bill Yi
7a2757abde Import translations. DO NOT MERGE
Change-Id: Ic7c7e148f34a28096263bc3e389a29eb63d89e4f
Auto-generated-cl: translation import
2016-06-20 22:53:02 -07:00
Philip P. Moltmann
6d3ec95a6f Make print via cloud confirm diag fragment public
Fixes: 29516187
Change-Id: I91266704de130b761c0c3f5d53c465c1c21dfe5a
2016-06-20 15:43:35 -07:00
TreeHugger Robot
c4e4a9a039 Merge "Add event tracking to print UI." 2016-06-20 20:57:36 +00:00
Philip P. Moltmann
2e3012624b Add event tracking to print UI.
Bug: 29391676
Change-Id: Iec09ac7296e50329e87268bcb70f5e60d566961c
2016-06-20 11:50:44 -07:00
Philip P. Moltmann
bdf47b41c1 No space between first number an /
Change-Id: I5779c7cc7e0981ef56d1ac7051734708d68b7067
2016-06-17 13:55:23 -07:00
Philip P. Moltmann
0532d9835e Merge \\\"Cache resources needed to sort media sizes.\\\" into nyc-dev am: 142fc425c4 am: 5fe5dcdfd6
am: bf49a7de0d

Change-Id: I7e3e2909dbd5f42b2d6b23ecc019e697665d3dc5
2016-06-09 20:53:29 +00:00
Philip P. Moltmann
5fe5dcdfd6 Merge \"Cache resources needed to sort media sizes.\" into nyc-dev
am: 142fc425c4

Change-Id: I5142e0a5c495933b87399cc0b62f1b881b04330e
2016-06-09 20:43:28 +00:00
Philip P. Moltmann
c6bddb8261 Merge \"Cache resources needed to sort media sizes.\" into nyc-dev
am: 142fc425c4

Change-Id: I368ffa5269029801ed191351fb1fff9bde72778a
2016-06-09 20:43:18 +00:00
Philip P. Moltmann
142fc425c4 Merge "Cache resources needed to sort media sizes." into nyc-dev 2016-06-09 20:35:59 +00:00
Philip P. Moltmann
652d555358 Merge "Use separate layout for un-selected page previews" 2016-06-09 16:12:45 +00:00
Bill Yi
a7a9300171 Import translations. DO NOT MERGE
Change-Id: I18c81bced6c4a826bf34c0b420ff2b8047841796
Auto-generated-cl: translation import
2016-06-06 14:04:50 -07:00
Philip P. Moltmann
0c470821d3 Cache resources needed to sort media sizes.
- Cache media_standard_iso
- Cache labels between configuration changes (localization might
  change labels)
- Use ints instead of String's for standards
- Use HashMap instead of Array map as the lookup is faster for
  larger arrays

Fixes: 29068056
Change-Id: I027c80fac4d7e8ea6c2cac0f1a2d52b54807f5be
2016-06-03 09:00:10 -07:00
Bill Yi
4ae6354467 Import translations. DO NOT MERGE
Change-Id: I53789d03049f5647fff50cf5521b461bf5481afd
Auto-generated-cl: translation import
2016-06-03 04:57:35 -07:00
Bill Yi
2641c648f7 Import translations. DO NOT MERGE
Change-Id: Ic52f441a17948a9d117126b1e808d05535cc558d
Auto-generated-cl: translation import
2016-06-03 04:52:48 -07:00
Philip P. Moltmann
e853237b67 Merge "Do not rotate PDFPrinter pages." into nyc-dev am: 5d6a4f582e am: bf0f82bd69
am: e34a1df1ad

* commit 'e34a1df1ad0699997399666ce58d4750cbabe1b0':
  Do not rotate PDFPrinter pages.

Change-Id: If5ba09a6d2985e1ffb402329773fd42fa6a25e1b
2016-06-02 22:52:10 +00:00
Philip P. Moltmann
1eabaff2cb Merge "Do not rotate PDFPrinter pages." into nyc-dev
am: 5d6a4f582e

* commit '5d6a4f582e0e1d6e8aee88fc16b3a7f4850dbd56':
  Do not rotate PDFPrinter pages.

Change-Id: Ib428e9af14a8271545862189649780975053de86
2016-06-02 22:41:15 +00:00
Philip P. Moltmann
bf0f82bd69 Merge "Do not rotate PDFPrinter pages." into nyc-dev
am: 5d6a4f582e

* commit '5d6a4f582e0e1d6e8aee88fc16b3a7f4850dbd56':
  Do not rotate PDFPrinter pages.

Change-Id: I1f24415c1f7245f5bee5fb24f7d642c0e22a3bdd
2016-06-02 22:37:22 +00:00
Philip P. Moltmann
cd7b1b7cdf Do not rotate PDFPrinter pages.
- applyPrintAttributes is only used by PDFPrinter

Fixes: 29057330
Change-Id: I883cc64039f4ca2c93810e99d758f2dceec67a8b
2016-06-02 20:53:53 +00:00
Philip P. Moltmann
30271925d4 Merge "Use text input to deal with fullscreen IME" into nyc-dev am: ddf5c44567 am: 75300f64e7
am: 41996ea784

* commit '41996ea7841e411bffac5368025d6e588d353389':
  Use text input to deal with fullscreen IME

Change-Id: I08b91aa4ea9614028b6a3f31bf9961667c8bb372
2016-06-02 01:01:25 +00:00
Philip P. Moltmann
76fb4412b7 Merge "Use text input to deal with fullscreen IME" into nyc-dev
am: ddf5c44567

* commit 'ddf5c445673bab848b3d9c8af4de8978daf9b56b':
  Use text input to deal with fullscreen IME

Change-Id: I0aadae2eac2b0bbf81658525aeda70ca2512337c
2016-06-02 00:10:26 +00:00
Philip P. Moltmann
41996ea784 Merge "Use text input to deal with fullscreen IME" into nyc-dev am: ddf5c44567
am: 75300f64e7

* commit '75300f64e7db8f5a26ecfb0e373de5d01f245103':
  Use text input to deal with fullscreen IME

Change-Id: I4bc72f296be562b2f162c375dc90ac7b023e473c
2016-06-02 00:10:24 +00:00
Philip P. Moltmann
75300f64e7 Merge "Use text input to deal with fullscreen IME" into nyc-dev
am: ddf5c44567

* commit 'ddf5c445673bab848b3d9c8af4de8978daf9b56b':
  Use text input to deal with fullscreen IME

Change-Id: I5fc7ddf35ce6696824558029f09f8e7cd9ac6fbd
2016-06-02 00:05:44 +00:00
Philip P. Moltmann
9f87935b2e Use text input to deal with fullscreen IME
The full screen "number" keyboard strips all non-numeric letters
out of the text field.

Bug: 29004437
Change-Id: Ic7e79106a7fcf0716a28061592221557b9d62f52
2016-06-01 22:08:13 +00:00
Philip P. Moltmann
46535343f2 Use separate layout for un-selected page previews
- Make remove icon more visible by removing the translucency in icon
- Replace remove and check icon by vectors
- unselected pages are now not faded out by being 50% translucent to the
  page shadow anymore, they are explcityly faded out by being 50% translucent
  to a defined background color
- No need for our own animations as the recyclerview does all the
  animations for us

Fixes: 28885729
Change-Id: I70d2db89c4124bf5ef528c65b5f79d189da43857
2016-05-31 17:27:07 -07:00