Commit Graph

1261 Commits

Author SHA1 Message Date
Philip P. Moltmann
9c03941406 Set tint on print button foreground.
Otherwise the foreground is always white.

Fixes: 115830710
Test: Looked at print dialog in light and dark mode
Change-Id: I921106a70dd9ae23d8d64f746e17eef77ca5439c
2018-09-18 15:12:37 +00:00
Bill Yi
52f3fa5004 Import translations. DO NOT MERGE
Change-Id: Ib70037eb34e11a4a5f0568a3b757dbb0a27c7160
Auto-generated-cl: translation import
2018-07-22 07:13:35 -07:00
Philip P. Moltmann
80817048aa Enable night mode for print spooler.
Test: Looked at print preview Ui in night mode
Change-Id: I6c0542228e7117863808eab79b019b191f875ea3
2018-07-20 09:42:21 -07:00
Jeff Sharkey
b5a3117fe9 Merge "Utility methods useful for working with files." 2018-07-12 01:19:39 +00:00
Jeff Sharkey
5aae0c9df7 Utility methods useful for working with files.
Part of getting DocumentsUI ready for building against public API.

Test: builds
Bug: 110959821
Change-Id: I7cc0acd5ac3bcc89790cb49f34291ae523e44019
2018-07-11 14:41:24 -06:00
Philip P. Moltmann
c5b3d15bdd Use light theme for printSpooler
- replace png's by vector graphics
- Use alredy existing icons if possible
- Remove unnnecessary hard coded color values
- hard code all colors for preview-page as the background colors are
  hard coded, hence foreground also needs to be hard coded.
- Unify layout of loading/error/select printer UI

Test: Looked at print spooler. Switched theme to dark and checked if all
      looks ok too.
Change-Id: I07cc619d575c7372bd18550db8f2582df657cc5c
2018-07-09 11:57:01 -07:00
Bill Yi
94ea88ebe4 Import translations. DO NOT MERGE
Change-Id: I490177d6ebbe2826d0e703005a48be349e399f29
Auto-generated-cl: translation import
2018-06-27 02:52:35 -07:00
Bill Yi
07313fb0ca Import translations. DO NOT MERGE
Change-Id: I437bdc59ef7c664ab4d91869ba732e032aecd11e
Auto-generated-cl: translation import
2018-06-01 09:02:28 -07:00
TreeHugger Robot
82e99c78d1 Merge "Hold wake lock while printing" 2018-05-19 01:16:49 +00:00
Bill Yi
45a1e13fb5 Import translations. DO NOT MERGE
Change-Id: Ic29a7c170bd0f87c56a2fcf6b1b84ac02f8a0268
Auto-generated-cl: translation import
2018-05-18 09:31:15 -07:00
Dan Willemsen
f97d380ca7 Merge "Convert to Soong" am: acbd94d76f am: b1005a8a2a
am: d00c851e55

Change-Id: I889b5d31535d927b3aa9cf5ad6af955ca0678356
2018-05-15 15:52:51 -07:00
Dan Willemsen
d00c851e55 Merge "Convert to Soong" am: acbd94d76f
am: b1005a8a2a

Change-Id: If5cb26e0669f79240d8fee1d40aaa2162d8e611f
2018-05-15 15:06:19 -07:00
Philip P. Moltmann
9462032359 Hold wake lock while printing
more specifically while any print job is
- queued (ready to be printed but not yet printing)
- started (actually printing right now)
- cancelling (printing, but cancel request has been sent)

Test: - Printed successfully
      - Canceled print job
      - Had print job that blocked
      Wake locks looked fine while doing all this
Fixes: 74811014

Change-Id: Ia1a3327bd55fb7f3cc7ecb330d7d2c141d4fdb34
2018-05-15 13:16:12 -07:00
Philip P. Moltmann
0c94c5065d Merge "Allow Print subsystem to work with services provided by instant app" into pi-dev am: cc64fb9c8f
am: b098a03e84

Change-Id: Id4820d0df901304b1e10f19c62ee5d049f6cb103
2018-05-14 22:32:33 -07:00
Philip P. Moltmann
b098a03e84 Merge "Allow Print subsystem to work with services provided by instant app" into pi-dev
am: cc64fb9c8f

Change-Id: I462d3a5cdde32dc193b7ee0611ea79a7f8143df6
2018-05-14 22:10:25 -07:00
Dan Willemsen
4888b1f6f0 Convert to Soong
See build/soong/README.md for more information.

Test: m libframeworks_coretests_jni
Test: m FrameworkCoreTests_install
Test: m libshim_jni
Test: m CtsShimPrivUpgrade
Test: m libfilterfw
Test: m PMTest_Java_dual
Test: m libdefcontainer_jni
Test: m libperftestscore_jni
Test: m libpmtest32 libpmtest64
Test: m libprintspooler_jni
Test: m libsmartcamera_jni
Test: m idmap
Test: m libdrmframework_jni
Test: m libdvr_loader com.google.vr.platform com.google.vr.platform.xml
Test: m libfilterpack_imageproc libfilterpack_base
Test: m libwebviewchromium_loader
Test: m shared_mem_test
Test: m test-touchlag
Change-Id: I868561dd237fa28647896d59049ab9260373ada1
2018-05-14 16:47:02 -07:00
Philip P. Moltmann
b3baaab4af Allow Print subsystem to work with services provided by instant app
Most functionality works, but the PrintActivity cannot directly interact
with the instant service.

As instant services should only appear in tests this functionality needs
to be enabled via shell commands.

Fixes: 79484768
Test: cts-tradefed run commandAndExit cts-instant-dev -m CtsPrintTestCases
      cts-tradefed run commandAndExit cts-dev -m CtsPrintTestCases

Change-Id: Ie4663c72b8c0f959b5d172ef28875479d120e386
2018-05-10 15:26:39 -07:00
Aurimas Liutikas
d6c9658d99 Migrate PrintSpooler to aapt2.
Test: make -j PrintSpooler
Change-Id: Iad4d4d477792f13fb92e3ee7f4f5fa781f3298c4
Merged-In: Iad4d4d477792f13fb92e3ee7f4f5fa781f3298c4
(cherry picked from commit 87f7ce4bd1)
2018-05-03 16:38:17 -07:00
Bill Yi
6118efa3d3 Import translations. DO NOT MERGE
Change-Id: Id328b24247d4b5082c0c72c712bc7c77118ec9c2
Auto-generated-cl: translation import
2018-05-02 10:12:00 -07:00
Bill Yi
1a5656e2fa Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I25f803bf3c2167073862922fb50cf3098d4d14a0
2018-04-28 08:12:10 -07:00
Bill Yi
97412f485a Import translations. DO NOT MERGE
Change-Id: I1a477b554daa557153663afe19713fec297fca21
Auto-generated-cl: translation import
2018-04-20 23:54:50 -07:00
Bill Yi
650f4d0700 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I54a625e6118d6143dce89b06c9a0246e147c800e
2018-04-16 23:31:23 -07:00
Bill Yi
d615a36d46 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I61e1929cbf38843fcce516c103cd51e4e03ae10c
2018-04-15 21:29:07 -07:00
Bill Yi
5d5a4efbf0 Import translations. DO NOT MERGE
Change-Id: I4bcf237b014f2cb8b5c5ba63a6e38607f11f3782
Auto-generated-cl: translation import
2018-04-15 21:22:35 -07:00
Bill Yi
7be7e0489d Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I306b4fef65e3282c9b4c43839dd64667152a4f66
2018-04-13 04:06:40 -07:00
Andrew Sapperstein
58bcc11ed1 Merge "Revert "Revert "Update material_deep_teal_500 to #008577.""" into pi-dev
am: d0fdef9229

Change-Id: I32e24ab2c5526aaebb864ab90cd7ca2eef3ca5d0
2018-04-12 17:08:11 -07:00
TreeHugger Robot
d0fdef9229 Merge "Revert "Revert "Update material_deep_teal_500 to #008577.""" into pi-dev 2018-04-12 23:23:00 +00:00
TreeHugger Robot
cf440fcc9b Merge "Revert "Revert "Update material_deep_teal_500 to #008577.""" 2018-04-12 20:20:14 +00:00
Bill Yi
598ad285d8 Import translations. DO NOT MERGE
Change-Id: I63d08f85d00bf52186f5d0279549bc18b6253276
Auto-generated-cl: translation import
2018-04-12 03:25:17 -07:00
Andrew Sapperstein
8546c30fbf Revert "Revert "Update material_deep_teal_500 to #008577.""
This reverts commit 431d9d63e9.

Reason for revert: Rolling forward with a fix.

Change-Id: I5804e240535b84e0f4b2d306649b1981a9871632
Merged-In: I5804e240535b84e0f4b2d306649b1981a9871632
Bug: 74118164
Test: atest cts/hostsidetests/theme
2018-04-11 20:48:11 +00:00
Andrew Sapperstein
9720a349f1 Revert "Revert "Update material_deep_teal_500 to #008577.""
This reverts commit 431d9d63e9.

Reason for revert: Rolling forward with a fix.

Change-Id: I5804e240535b84e0f4b2d306649b1981a9871632
Bug: 74118164
Test: atest cts/hostsidetests/theme
2018-04-11 11:29:23 -07:00
Nicolas Geoffray
b19c2e7451 Merge "Exempt tests for hidden APIs." into pi-dev am: 0e675bd901
am: 03ba2d9241

Change-Id: I0e4517312cac9b37537eee55eafd811aff531ea8
2018-04-10 10:11:10 -07:00
Nicolas Geoffray
03ba2d9241 Merge "Exempt tests for hidden APIs." into pi-dev
am: 0e675bd901

Change-Id: I012a1ce8483f5fdddf60cfd33ea4303d72455fca
2018-04-10 09:56:52 -07:00
TreeHugger Robot
0e675bd901 Merge "Exempt tests for hidden APIs." into pi-dev 2018-04-10 16:34:05 +00:00
Nicolas Geoffray
b0284fb5de Exempt tests for hidden APIs.
Bug: 64382372
Bug: 74963051
Test: m
Change-Id: I5234dd6230f2bdd6ffccbf12b25a02d929d20161
2018-04-06 14:54:39 +01:00
Bill Yi
b04037e89c Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I630d9ca9ab17fb374c2f550466139e5ac00a2685
2018-04-06 04:57:22 -07:00
Bill Yi
50d27b1469 Import translations. DO NOT MERGE
Change-Id: If18a93b601b7954bc85e67834461d1e93bd01078
Auto-generated-cl: translation import
2018-04-04 07:52:30 -07:00
Bill Yi
76bd459f2d Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I5c88520a5bd2c221b0a088d8c3f5a9573145ae88
2018-03-31 10:02:04 -07:00
Philip P. Moltmann
725c1acc24 Merge "A18y: Don't double announce 'searching for printers.'" into pi-dev am: a49954d3ab
am: 608dce4c42

Change-Id: I64a6ba4d983e606e3b4f7fe8d56825996ff1f769
2018-03-29 02:13:30 +00:00
Philip P. Moltmann
608dce4c42 Merge "A18y: Don't double announce 'searching for printers.'" into pi-dev
am: a49954d3ab

Change-Id: Iae9b97679f75b37c3fa063af708ab7775c00b1b6
2018-03-28 23:58:59 +00:00
Philip P. Moltmann
ec2fcedff4 A18y: Don't double announce 'searching for printers.'
Fixes: 67323891
Test: Navigated to screen with talkback
Change-Id: Iee4308fdc5c2ef53e2fde0004aa4f22f9bb8bef2
2018-03-28 13:13:43 -07:00
Bill Yi
9f84c1b14d Import translations. DO NOT MERGE
Change-Id: I5a2e66d82802caaf69693800e56e15b89e98b6fa
Auto-generated-cl: translation import
2018-03-23 11:31:00 -07:00
Andrew Sapperstein
24414ba500 Merge "Revert "Update material_deep_teal_500 to #008577."" into pi-dev am: eae9144add
am: 7173585579

Change-Id: Iccd46da5eb3dd3938fd8c2c68822938bfb4748fa
2018-03-22 20:00:57 +00:00
Andrew Sapperstein
7173585579 Merge "Revert "Update material_deep_teal_500 to #008577."" into pi-dev
am: eae9144add

Change-Id: I5952002efb67fe425e67218ab5cade748a251d37
2018-03-22 19:48:50 +00:00
Andrew Sapperstein
431d9d63e9 Revert "Update material_deep_teal_500 to #008577."
This reverts commit 5c228d5eb9.

Reason for revert: Breaks presubmit. b/76126268

Change-Id: Iffd8bbb62d05cae1c2a5dabfab2824899c5ff3cf
Bug: 74118164
Bug: 76126268
Test: presubmit
2018-03-22 15:56:27 +00:00
Andrew Sapperstein
cd17afe356 Merge "Update material_deep_teal_500 to #008577." into pi-dev am: 74d9b14f21
am: f83c6639f9

Change-Id: I80596e8fc45cd26fe585a8d1dde111f2345ea0eb
2018-03-21 19:16:53 +00:00
Andrew Sapperstein
f83c6639f9 Merge "Update material_deep_teal_500 to #008577." into pi-dev
am: 74d9b14f21

Change-Id: Ia8bb80846588b20da5957b6393fb216afed42435
2018-03-21 18:39:12 +00:00
Andrew Sapperstein
5c228d5eb9 Update material_deep_teal_500 to #008577.
Better for accessibility.

Also update some direct usage of the old value to use canonical versions.

Bug: 74118164
Test: asset swap
Change-Id: If0f07f04f72a16dc3662e2cf3a93e2b040d0bdb8
2018-03-18 11:24:49 -07:00
Bill Yi
0c3a89a915 Import translations. DO NOT MERGE
Change-Id: I5963ce7a617b8d51a90dac1f3f454cd3c5fc053d
Auto-generated-cl: translation import
2018-03-16 23:39:46 -07:00
Bill Yi
6aa7c0d5cc Import translations. DO NOT MERGE
Change-Id: I92e4245768bce891a18e01d101da086df86d9ec0
Auto-generated-cl: translation import
2018-03-06 11:13:41 -08:00