595 Commits

Author SHA1 Message Date
Selim Cinek
60ea8ac991 am cc19946d: Added notification color to all system notifications
* commit 'cc19946d947cf553ee9fd23778a3c811c18ae633':
  Added notification color to all system notifications
2014-08-20 13:44:39 +00:00
Selim Cinek
255dd04271 Added notification color to all system notifications
Bug: 17128331
Change-Id: I81a94510ef51b99916f314c0dd65852426a1fbeb
2014-08-20 14:25:18 +02:00
Svetoslav
e2078eb03b am 4b6229fd: Merge "Update the print spooler theme." into lmp-dev
* commit '4b6229fd5e5d352ebe782ce7d5b738f4bf91fc7f':
  Update the print spooler theme.
2014-08-20 00:09:14 +00:00
Svetoslav
128518a942 am 8dab46b4: Merge "Update the print spooler icon." into lmp-dev
* commit '8dab46b479203b0b5ebad303d97d2eae25dad060':
  Update the print spooler icon.
2014-08-19 00:05:41 +00:00
Svetoslav
c558220b07 Update the print spooler theme.
bug:16966145

Change-Id: Ib72642bf8f9002d8bcf9cbfce19fa364b2487876
2014-08-19 17:12:36 +00:00
Svetoslav
309f6a0e1b Update the print spooler icon.
Removed a duplicate resource also defined in the platform
resources. Added a tint to the print spooler icon.

bug:16568027

Change-Id: I1c0b9a7bd75bc59d1d86653c05d8fc2bb77056c1
2014-08-18 23:37:56 +00:00
Baligh Uddin
291eacdd13 Import translations. DO NOT MERGE
Change-Id: I31fd074b4124de3fabbc62a7a161497bd2865a4c
Auto-generated-cl: translation import
2014-08-15 20:16:39 -07:00
Svet Ganov
da33c3b51d am b130ba2b: Fix some minor print UX bugs.
* commit 'b130ba2baf6af52c252a3daa58d1284cf2182c11':
  Fix some minor print UX bugs.
2014-08-13 04:31:25 +00:00
Svet Ganov
38781bd2c2 Fix some minor print UX bugs.
1. The last row of print options was not visible on a phone.

2. The preview page size on a phone in landscape unusably small.

3. Updated the Save to PDF icon.

bug:16966145

Change-Id: I25ce1572758c62f34344683af2452fb045bb857e
2014-08-13 04:07:21 +00:00
Baligh Uddin
10b363434b Import translations. DO NOT MERGE
Change-Id: I05a1dc49c04d92092723d84c7fdadf7e190b5476
Auto-generated-cl: translation import
2014-08-11 12:52:01 -07:00
Alan Viverette
c175ea474b am 37f56e55: Update branding colors
* commit '37f56e55592be690c031090eed3e9e32adb3c1af':
  Update branding colors
2014-08-07 01:29:28 +00:00
Alan Viverette
ec9d464a59 Update branding colors
BUG: 16845793
BUG: 16851916
Change-Id: I79a15752b5dda8f3c9f159826c61e3d2a6c8bd48
2014-08-07 01:13:23 +00:00
Geoff Mendal
fddc4e9578 Import translations. DO NOT MERGE
Change-Id: I9416cdb82f88c7cf05339c23a241100b0fb09bc4
Auto-generated-cl: translation import
2014-08-04 17:06:17 +00:00
Geoff Mendal
bead503b15 Import translations. DO NOT MERGE
Change-Id: Iec046e9a3d34bef3d8055f3eb00e243baf69c8fa
Auto-generated-cl: translation import
2014-07-30 10:40:00 -07:00
Svetoslav
b59555ca74 Print to PDF putting a pring job in a wrong state.
When printing to a PDF file we get a Uri from the storage APIs
and write the content. Once the file is written to storage the
print job is completed and there is print service involved. Th
spooler was wrongly putting the job in a failed state instead
of a complete state.

bug:16522267

Change-Id: I4741c9b9eb763e118e7dfb2c7c502bd7fc13f7a1
2014-07-24 17:17:07 +00:00
Svetoslav
5ef522bc19 Handle wrong file format when printing.
PDF is the only format suppored for printing but a buggy app
can write content in another format which was crashing the
print spooler. Now we are generating an error instead of
crashing.

bug:16487161

Change-Id: Ic59d2ac6d57213f4e8f364659d8dc7df2140e61d
2014-07-24 03:18:47 +00:00
Svetoslav
f8ffa567b5 Updating the save to PDF button icon.
Change-Id: Ie62a22d6e16d15426f10afa0512b0083c52ff507
2014-07-24 01:23:16 +00:00
Baligh Uddin
5a4bdf8144 Import translations. DO NOT MERGE
Change-Id: I5f9b029d8be54fb3ed6ce28b5e64640ab3d676ea
Auto-generated-cl: translation import
2014-07-22 16:39:28 +00:00
Ying Wang
88e199045b Build framework.jar with multidex support.
We don't need the framework/framework2 split now with the multidex
support.

Change-Id: I30ee5c7e24df87b2c54e854f17fbf0b5adef4c60
2014-07-21 15:23:14 -07:00
Baligh Uddin
6129e1de00 Import translations. DO NOT MERGE
Change-Id: I6fe58205152413f355bf5f8b13c792d421b6a15e
Auto-generated-cl: translation import
2014-07-20 12:02:09 -07:00
Baligh Uddin
802603572c Merge "Remove deprecated locales - DO NOT MERGE" into lmp-dev 2014-07-17 19:13:40 +00:00
Baligh Uddin
50af6d7ae6 Remove deprecated locales - DO NOT MERGE
Change-Id: Iac5489639edae2373ed0ce92f7d0fe22629a249a
2014-07-19 13:05:12 -07:00
Baligh Uddin
4fc8c66cd4 Import translations. DO NOT MERGE
Change-Id: I7b6175e9d105f252fd57427b2c15ec31905e6184
Auto-generated-cl: translation import
2014-07-19 21:41:31 +00:00
Yigit Boyar
753c114d84 Update RecyclerView scroll listener to the new API
Bug: 16054949
Change-Id: I264a701e8b298a08f09bb30284099734054d518c
2014-07-18 16:13:14 +00:00
Baligh Uddin
02b73a5f02 Import translations. DO NOT MERGE
Change-Id: I11c9c29232a06253d5edb83b02237ba9a9493213
Auto-generated-cl: translation import
2014-07-16 17:36:26 -07:00
Svetoslav
cc2b210ff8 Merge "Update the promoted action background color per UX spec" into lmp-dev 2014-07-16 02:18:09 +00:00
Svetoslav
4bcc4a042c Update the promoted action background color per UX spec
bug:16303010

Change-Id: I54663a0be79b232a29d8fced4a772a32b4d83ae5
2014-07-15 17:33:52 -07:00
Svetoslav
e323dcc31d Drop of the final UX assets for printing.
bug:15705610

Change-Id: I82104a2c0b3d1f4e34f71357b10bed24c0583e71
2014-07-15 17:16:40 -07:00
Svetoslav
73764e347d Update the page count in the print UI to meet new UX.
bug:15912257

Change-Id: I1aa3eb4f7e28d3d9c955f60a570c2f8800fdb88d
2014-07-15 15:56:52 -07:00
Svetoslav
283203e204 Style the all printers activity in material theme.
bug:16301078

Change-Id: Ib96f1e232914802d0b5ddc874be4a4d24a74b685
2014-07-15 14:02:55 -07:00
Svetoslav
38408ff5b7 Remove text selector and hide ime on print options close.
bug:16301754

Change-Id: I69bf09df9976b12c611821737eb4abb794c1df80
2014-07-15 12:56:02 -07:00
Svetoslav
b4d873288d Adjust preview page footer height and font size.
bug:16300627

Change-Id: I135c13085fa0c48de6bedaa58b3974f800547e99
2014-07-15 12:31:39 -07:00
Svetoslav
fd9369c7ae Update the color pallete of the print options UI.
The print options UI now uses the material theme with custom
branding collors that follow the rest of the system UI.

bug:16301325

Change-Id: I5fefcd95ada0172a028574550dcfdf628f9ce22d
2014-07-15 11:40:09 -07:00
Svetoslav
41233447f9 Merge "Drop of the final UX assets for printing." into lmp-dev 2014-07-15 20:35:01 +00:00
Svetoslav
67eb5bbd53 Merge "Update the page count in the print UI to meet new UX." into lmp-dev 2014-07-15 20:33:11 +00:00
Svetoslav
6114981cce Merge "Style the all printers activity in material theme." into lmp-dev 2014-07-15 20:39:52 +00:00
Svetoslav
5150bcba8e Merge "Remove text selector and hide ime on print options close." into lmp-dev 2014-07-15 16:05:04 +00:00
Svetoslav
e9866fdfa3 Merge "Adjust preview page footer height and font size." into lmp-dev 2014-07-15 16:04:58 +00:00
Svetoslav
5a554fb5b9 Merge "Update the color pallete of the print options UI." into lmp-dev 2014-07-15 16:05:07 +00:00
Svetoslav
17d734fee4 Page size not always adjusted
A user can select the pages to print by selecting a range from the
UI after which the selected pages appear in the preview list. Now
the user can further prune pages by clicking on them. If the number
of pages change to two or one the page position and size were not
adjusted. Now after the constraints of desected by clicking pages
are propafated the page size position is also computed.

bug:16297811

Change-Id: I62c0ae8ab5b1d91b120cbf9faa9653ef4ccbd97f
2014-07-14 13:31:23 -07:00
Svet Ganov
25885ecbe4 Rename historical records if printer name changed.
We keep track of previously used printers. It is possible that the name
of a previously used printer changed. In this case we want to change
this printer's name in the historical records to be able to show the
correct name in the UI when loading the history.

bug:13524346

Change-Id: I0a37bd52a564df5a84c816abfcf03db83de93b97
2014-07-14 17:28:01 +00:00
Svet Ganov
a4ab780877 Fix broken actions in print notifications.
The notification handling broadcast receiver was renamed but the
manifest was not updated, hence the receiver was not registered.

bug:16289408

Change-Id: I094e20e472abff1f926e1dbfbac32f422f498f74
2014-07-14 15:43:16 +00:00
Svet Ganov
6f60e56b3c Improve print options click to open behavior.
When print options are closed we show a summary and a handle to open
the options panel. Often the user instinctively clicks on the summary
and also the expand handle is a somehow small target. To improve user
experience clicking on the summary also opens the print options.

Change-Id: Ia2f3b80f5acf11b40af864729f67fa29e82729fc
2014-07-14 15:25:13 +00:00
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
Svet Ganov
48fec5c9a3 Top printer not properly selected.
We keep track of historically used printers and when the print dialog
is opened we load them. We were selecting the first printer before the
historical ones are loaded which led to a case where the PDF printer
is selected and then a better printer appears but we have the PDF one
selected.

Also we were asking the printer spinner for the current printer but
if the data set of the adapter changes and we ask the spinner for the
selection we get a wrong answer because the adapter and the view are
off sync since the view is updated on the next message.

Change-Id: I0c12d2d3b19227a8f6af6e421b92013ec06cc021
2014-07-14 07:15:34 +00:00
Svetoslav
000f88c9e8 Adding back accidentally removed constants
Change-Id: Ib99000da8f31437e7d40eceb69779a0f4c2982e1
2014-07-11 22:54:28 +00:00
Svetoslav
39afc200f2 Remove commented out dead code
Change-Id: I3e59d0ee55fd864ea0d8bc5f99cdb74d9b0e49bb
2014-07-11 22:49:59 +00:00
Svetoslav
1710e0318d Fix print preview rendered page preloading.
After the preview list is scrolled we are preloading the
pages around the ones that are shown, so now if the user
does a slight adjustment (expected after a scroll) the
pages around are rendered. There was an off by one error
and one of the bitmaps of the shown pages was reused and
as a result the wrong content was shown.

Change-Id: If04aebf46bcc637491221c6218005ecc1a7253d2
2014-07-11 22:23:58 +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