Svetoslav
e6ecba59fd
Page content sometimes missing while scrolling.
...
The logic when a page view to request the content had a logical
error and it was getting in a bad state where it never requested
the content anymore. This change simplifies the logic and minimizes
the kept state.
Removed unnecessary calls to recycle for a bitmap as according
to the graphics folks we should not be calling this API anymore.
bug:16966145
Change-Id: Idda8314b43343136d3b867167261790481116fac
2014-09-12 14:31:07 -07:00
Svetoslav
011bdc4006
am 8e925e55: Merge "Fix a crash in print preview on multiple rotations." into lmp-dev
...
* commit '8e925e55e44b9ebc568f3e0bc59e32a1153ffbef':
Fix a crash in print preview on multiple rotations.
2014-09-12 21:01:00 +00:00
Svetoslav
2fb64a5cb1
Fix crash in spooler if printing app dies.
...
bug:16966145
Change-Id: I092c489a7f1b4000a96d3f12f2996ccabf734b9a
2014-09-12 13:55:35 -07:00
Svetoslav
ffec747bec
am 01243f18: am 7d3db59d: am 59d0713d: Merge "Fix back button behavior and clean up in print preview activity." into lmp-dev
...
* commit '01243f18f8530062d8a57158de4a1e47e24d1cf1':
Fix back button behavior and clean up in print preview activity.
2014-09-12 19:24:21 +00:00
Svet Ganov
a534ebbbf4
am 2e216abb: am 6e0f0619: am 60d4306b: Merge "Fix edit text error state in the print UI." into lmp-dev
...
* commit '2e216abb8ee1e65a731122df5679f74fdd1873d0':
Fix edit text error state in the print UI.
2014-09-12 19:23:37 +00:00
Svetoslav
139ba7fb0e
Fix a crash in print preview on multiple rotations.
...
bug:16966145
Change-Id: I8266315bd9253953cb6c3b9dab1ba36f104a74a5
2014-09-12 10:35:38 -07:00
Svetoslav
8c3297ece1
am 59d0713d: Merge "Fix back button behavior and clean up in print preview activity." into lmp-dev
...
* commit '59d0713d816dd8e9a04885b1907384ba4de6cf19':
Fix back button behavior and clean up in print preview activity.
2014-09-12 05:04:03 +00:00
Svet Ganov
34e67af34f
am 60d4306b: Merge "Fix edit text error state in the print UI." into lmp-dev
...
* commit '60d4306bfd3125543b1a207c82b78e0bfbe7a8d4':
Fix edit text error state in the print UI.
2014-09-12 05:03:21 +00:00
Svetoslav
36f6951e32
Merge "Fix back button behavior and clean up in print preview activity." into lmp-dev
2014-09-11 23:24:20 +00:00
Svet Ganov
c946e9ab46
Merge "Fix edit text error state in the print UI." into lmp-dev
2014-09-11 22:15:59 +00:00
Svetoslav
e17123dd6d
Fix back button behavior and clean up in print preview activity.
...
The print preview UI owns and drives the lifecycle of several objects.
These objects were torn down too late resulting in an attempt to use
the activity as a context when it was no longer valid and service unbind
resulting in causing a crash.
Fixed a bug where if the back button is pressed mutiple times when
the print UI is being initialized a crash occurs.
bug:17454041
Change-Id: Ic1455b467586f0ad65f907e2160ec5cfb2d17d05
2014-09-11 14:12:22 -07:00
Svet Ganov
43212264dd
Fix edit text error state in the print UI.
...
If the user input in the print UI is invalid we show an error icon
next to it. The design requires no error message being shown in a
popup but TextView does show the popup all the time.
bug:16966145
Change-Id: I7aa1ec8093bc76e2f440bcb243609e92e049786b
2014-09-11 10:35:26 -07:00
Svetoslav
d8858a22e3
am 72c8cd0e: am 14a1444e: am a6b5869f: Merge "Fix a crash in print spooler." into lmp-dev
...
* commit '72c8cd0eb7bb1c549dad25bfc43e1954832c0e8e':
Fix a crash in print spooler.
2014-09-11 17:26:18 +00:00
Svetoslav
26b6c1e5fb
am 3a04f3cb: am 7e115924: am 930f4fe4: Merge "Accessibilty support for the print UI." into lmp-dev
...
* commit '3a04f3cbdf624eda7d4f8a91004c874022523cdd':
Accessibilty support for the print UI.
2014-09-11 17:26:10 +00:00
Svetoslav
bff7a979a8
am dbd75236: am b875ca77: am 0f2e085d: Merge "RTL support for print UI." into lmp-dev
...
* commit 'dbd75236e88d2ed43d63d65e57d0b9cb6a7b48af':
RTL support for print UI.
2014-09-11 17:22:16 +00:00
Svetoslav
ac22532165
am 595b69d2: am deaa395a: am d327046d: Merge "Fix page spacing in preview list." into lmp-dev
...
* commit '595b69d237316974574fdb76f8175ef87a9f9de6':
Fix page spacing in preview list.
2014-09-11 17:22:11 +00:00
Svetoslav
212a8bf326
am a6b5869f: Merge "Fix a crash in print spooler." into lmp-dev
...
* commit 'a6b5869f409f9674ef046e8f997e5f97b71b794a':
Fix a crash in print spooler.
2014-09-10 23:10:46 +00:00
Svetoslav
993137dcdc
am 930f4fe4: Merge "Accessibilty support for the print UI." into lmp-dev
...
* commit '930f4fe4cb27f9363d177848f4f832b4a79d2819':
Accessibilty support for the print UI.
2014-09-10 23:10:41 +00:00
Svetoslav
e03ddd0bcc
Merge "Fix a crash in print spooler." into lmp-dev
2014-09-10 23:00:42 +00:00
Svetoslav
c65510a7bc
Merge "Accessibilty support for the print UI." into lmp-dev
2014-09-10 22:59:50 +00:00
Svetoslav
3ef8e203c8
Fix a crash in print spooler.
...
1. Leftover code was setting the state to configuring
before initialization is complete.
2. We were not cancelling the print job if cancelled
when initializing.
3. The remote print document was cancelled even if
doing nothing.
bug:17451600
Change-Id: I79a80b723af8537da260012470748b4e8831fd9e
2014-09-10 15:00:11 -07:00
Svetoslav
689ae852ea
am 0f2e085d: Merge "RTL support for print UI." into lmp-dev
...
* commit '0f2e085da75d003a2f3b7490dda9b9ac2aef58ba':
RTL support for print UI.
2014-09-10 20:14:36 +00:00
Svetoslav
cfb3fb16db
am d327046d: Merge "Fix page spacing in preview list." into lmp-dev
...
* commit 'd327046d05f6823e5ad3ee2ee81bf3531f23bbdc':
Fix page spacing in preview list.
2014-09-10 20:14:32 +00:00
Svetoslav
fc81bfe3fb
Merge "RTL support for print UI." into lmp-dev
2014-09-10 20:06:18 +00:00
Svetoslav
e652b02d45
Accessibilty support for the print UI.
...
bug:15816751
Change-Id: I5dcdbdd0357843b870ddd47d7c41cfba114d194c
2014-09-10 11:54:37 -07:00
Svetoslav
3ab1ec0549
RTL support for print UI.
...
bug:16966145
Change-Id: I488d11f1941545630d52eea4c4d48c43667c6067
2014-09-09 21:30:35 -07:00
Svetoslav
dfa3e7c6fd
Fix page spacing in preview list.
...
bug:16966145
Change-Id: I2c4bde3a50ee0fc202fc169a63d4eeeb43c5f4ae
2014-09-09 19:04:51 -07:00
Svetoslav
5014c1daf7
am 36a9a4c7: am f1b72b86: am 3f49b128: Merge "Trim unnecessary pages when printing." into lmp-dev
...
* commit '36a9a4c7920e7faa02a4b9444b7a247e89923b9d':
Trim unnecessary pages when printing.
2014-09-10 01:07:59 +00:00
Svetoslav
08dd15e1f4
am 3f49b128: Merge "Trim unnecessary pages when printing." into lmp-dev
...
* commit '3f49b128bc94c1b1e66decf96d46a83bcdb9a62b':
Trim unnecessary pages when printing.
2014-09-09 22:19:44 +00:00
Svetoslav
62ce332c14
Trim unnecessary pages when printing.
...
A user may request a subset of the document's pages to be printed.
In this case the expectation is that the resulting document does
not include not selected pages. While print serivices can do the
trimming themselves or the printer may do so, moving, potantually
many, redundant pages is inefficient. The real problem is when
saving to a PDF file where the saved file must not have the pages
the user did not select. This change adds shredding of undesired
pages from the PDF before saving it or passing it to a print service.
:
bug:17285994
Change-Id: I7deba535af99457bea3c118202314f0f3812e809
2014-09-09 09:38:07 -07:00
Svetoslav
a958000469
am ad1b9d87: am 1458f58e: am 3b42928c: Merge "Print spooler UI polish and bug fixes." into lmp-dev
...
* commit 'ad1b9d8779447bd3eacc0dd12519f28b964b868b':
Print spooler UI polish and bug fixes.
2014-09-05 23:08:28 +00:00
Svetoslav
ca9dde9932
am 3b42928c: Merge "Print spooler UI polish and bug fixes." into lmp-dev
...
* commit '3b42928c318d2732d75bb9c0ed7b864c47a265a2':
Print spooler UI polish and bug fixes.
2014-09-05 22:45:40 +00:00
Svetoslav
6552bf3da6
Print spooler UI polish and bug fixes.
...
1. Added an empty state for pages that are being rendered.
2. Fixed a NPA on a binder thread when destoroying the
remote print adapter.
3. Fixed a rare crash when the print activity gets an
activity class callback while initializing.
4. Changed the preview pages on phone in land to four.
5. Fixed a flicker from a list of pages to an empty state
and then back to the list of pages.
bug:15704969
bug:16966145
Change-Id: I0eea2f30a102d8fefcbf90187fa6d8612fb19434
Conflicts:
packages/PrintSpooler/src/com/android/printspooler/widget/PageContentView.java
2014-09-05 15:21:50 -07:00
Svetoslav
3dbb8cb8c1
am 69cf25a0: am 79b43f5b: am f1a858c7: Fix broken aidl
...
* commit '69cf25a0a31cc37c6abfd06e9ef57bd5df42600c':
Fix broken aidl
2014-09-05 17:52:22 +00:00
Svetoslav
de5684b5a7
am 35c2aca2: am 1d85c1a4: am 4c8c9ac0: Merge "Update FrameStats API per api-council request." into lmp-dev
...
* commit '35c2aca25a56efc9479f03094052f16cf7f94219':
Update FrameStats API per api-council request.
2014-09-05 17:35:27 +00:00
Svetoslav
5cf8b4b751
am f1a858c7: Fix broken aidl
...
* commit 'f1a858c7887ba8af0cf991fd6fa8a1f72e069ff1':
Fix broken aidl
2014-09-05 17:29:23 +00:00
Svetoslav
d0c362de1c
Fix broken aidl
...
Change-Id: I2187abd75b4f60e790b747a492ad610592f2ef53
2014-09-05 10:19:39 -07:00
Svetoslav
6fadd4436b
am 4c8c9ac0: Merge "Update FrameStats API per api-council request." into lmp-dev
...
* commit '4c8c9ac06fc213d9bc9d82c39d55f425fee5b429':
Update FrameStats API per api-council request.
2014-09-05 17:13:29 +00:00
Svetoslav
53dcd394aa
Update FrameStats API per api-council request.
...
bug:17390382
Change-Id: I50518834569f4d0ec394709294537256f03530e0
2014-09-05 10:07:02 -07:00
Prabhakar Thirumoorthy
f2238b40b0
am 163960d3: am fd21f082: am bbc5508d: Merge "Add a missing dependency on a shared JNI library" into lmp-dev
...
* commit '163960d37fc5c1f6b9531dc2676f90d7ca4b6cda':
Add a missing dependency on a shared JNI library
2014-09-04 21:18:29 +00:00
Prabhakar Thirumoorthy
94e1134448
am bbc5508d: Merge "Add a missing dependency on a shared JNI library" into lmp-dev
...
* commit 'bbc5508df13852f2e95bedaedc3fba9b202f9a67':
Add a missing dependency on a shared JNI library
2014-09-04 20:42:14 +00:00
Svetoslav
d97bf6920b
Add a missing dependency on a shared JNI library
...
bug:17389508
Change-Id: I38e1ad7daf991f37458eac391b472eb3816d7838
2014-09-04 12:37:52 -07:00
Brian Carlstrom
bb97a306c9
am 88727d32: am a4411ee0: am 12799b2f: Used LOCAL_SHARED_LIBRARIES for proper dependencies
...
* commit '88727d32be3527797477adc2a7c62e60b95391ee':
Used LOCAL_SHARED_LIBRARIES for proper dependencies
2014-09-04 17:27:42 +00:00
Brian Carlstrom
7dfd690888
am 12799b2f: Used LOCAL_SHARED_LIBRARIES for proper dependencies
...
* commit '12799b2f1a8db1171ff1dd8db99d8de72574738a':
Used LOCAL_SHARED_LIBRARIES for proper dependencies
2014-09-04 17:05:27 +00:00
Brian Carlstrom
191cbad91f
Used LOCAL_SHARED_LIBRARIES for proper dependencies
...
bug:15938254
Change-Id: I710f689e8bcad66988ef3aa0aa189b185c8ad662
2014-09-04 09:52:31 -07:00
Svet Ganov
6ba8107110
am acb46c49: am 3d32b758: am 26aa29dd: Merge "Switching to raw byte copy of bitmaps for print preview." into lmp-dev
...
* commit 'acb46c498be18447d52e6966534eab2175171bf9':
Switching to raw byte copy of bitmaps for print preview.
2014-09-04 00:54:32 +00:00
Svetoslav
c0c72b2768
am 32b243e3: am 0181321d: am c07c5902: Merge "Fix some print UI issues." into lmp-dev
...
* commit '32b243e32952dbad516b6959cb7c4491bae5e332':
Fix some print UI issues.
2014-09-04 00:02:02 +00:00
Svetoslav
9b06bfb041
am cfcbad0d: am ede02f37: am de985e74: Merge "Update print chooser drop down width." into lmp-dev
...
* commit 'cfcbad0d28e39e5cfdb8e08fcf0467fd123e1274':
Update print chooser drop down width.
2014-09-04 00:01:52 +00:00
Svetoslav
a33c57a0f5
am d80a9aef: am 88713679: am 87263510: Merge "Unregister from the remote renderer only if bound." into lmp-dev
...
* commit 'd80a9aef134504bed1e73fe92b7e8c855e6d7626':
Unregister from the remote renderer only if bound.
2014-09-04 00:01:11 +00:00
Svet Ganov
4b5facda2f
am 26aa29dd: Merge "Switching to raw byte copy of bitmaps for print preview." into lmp-dev
...
* commit '26aa29ddc7c818ff1272b687aeb2412701155bf3':
Switching to raw byte copy of bitmaps for print preview.
2014-09-03 23:41:53 +00:00