6593 Commits

Author SHA1 Message Date
Svetoslav Ganov
f22a767e87 Merge "Added UI for errors during layout and write." into klp-dev 2013-10-11 17:06:12 +00:00
Svetoslav
5c880d0d15 am 6f688e87: am 8f34715b: Merge "Refactor how the print dialog activity is started." into klp-dev
* commit '6f688e879a2523393e8e0da072e1f62cb456276f':
  Refactor how the print dialog activity is started.
2013-10-11 10:06:03 -07:00
Svetoslav
6f688e879a am 8f34715b: Merge "Refactor how the print dialog activity is started." into klp-dev
* commit '8f34715b94a1733f4cc5f31426d5dafcd57052c7':
  Refactor how the print dialog activity is started.
2013-10-11 10:04:27 -07:00
Svetoslav Ganov
caff38821a Added UI for errors during layout and write.
1. If an error happens during layout or write we show an error
   message with the string provided by the application which
   has an OK button to retry or tap outside to cancel.

2. Updated the targed and min SDK version for the PrintSpooler.

bug:11127269

Change-Id: I4301cf3716119b1e33b95347a8451fc1c128343b
2013-10-11 10:04:02 -07:00
Svetoslav
8f34715b94 Merge "Refactor how the print dialog activity is started." into klp-dev 2013-10-11 17:01:15 +00:00
Jeff Sharkey
d5a4658cea Treat dates near epoch as unknown.
Also document that rootIds need to be stable, so removable media
roots should use the media serial number.

Bug: 11151557
Change-Id: I1f3dcabcd0474f1bf92d2cafb0f37e82abe34e05
2013-10-11 09:49:05 -07:00
Svetoslav
7bfbbcb04b Refactor how the print dialog activity is started.
1. Before the print job activity was started asyncronously with
   respect to the print call on to the print manager. This was
   creating a situation where the starting activity may finish
   before the print dialog appears which may lead to an orphaned
   print document adapter with no data to print (as the UI is
   is gone), or strange behaviors where the print dialog starts
   on as a separate task.

   To address this the pending intent for starting the print
   dialog is not started by the print spooler since we cannot
   call into it synchronously as we have to start its process
   and bind to the spooler service which leads to jankyness in
   the client app. Now the pending intent is created by the
   print manager service in the synchronous print call so
   from an app's perspective calling print starts the activity.

   The side effect of this design is that the print dialog
   activity may start before the system is bound to the spooler
   service. In such a case the print activity cannot start
   poking the print spooler state as the system registers
   callback to observe the spooler state. To address this
   the print spooler activity disables the UI and also binds
   to the spooler service which happenes immediately after it
   is started. As soon as the print dialog binds to the
   service it starts the UI.

2. Fixed an bug in the printer adapter of the print dialog that
   was leading to a crash if the only item in the adater is the
   all pritners option and it is selected.

3. Piping the package name that started the printing so we can
   pass it to the storage UI as a hint to open the last location
   the app used.

bug:11127269

Change-Id: Ia93820bdae0b0e7600a0930b1f10d9708bd86b68
2013-10-11 09:11:24 -07:00
Baligh Uddin
24c4f55bac Merge "Import translations. DO NOT MERGE" 2013-10-11 15:16:00 +00:00
Baligh Uddin
0066a866b6 Merge "Import translations. DO NOT MERGE" into klp-ub-dev 2013-10-11 15:15:55 +00:00
Baligh Uddin
38de7ab47a Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:15:50 +00:00
Daniel Sandler
35c01fe115 am bc1efa92: am 3b4e1c0a: am 26b49a7d: Merge "Be sure to update the display metrics on config change." into klp-dev
* commit 'bc1efa92c455ff3b48b5e14cc6eda7f9f76058f6':
  Be sure to update the display metrics on config change.
2013-10-11 08:11:35 -07:00
Baligh Uddin
e2835bc6b4 Merge "Import translations. DO NOT MERGE" 2013-10-11 15:09:16 +00:00
Baligh Uddin
3cf39ba82a Merge "Import translations. DO NOT MERGE" into klp-ub-dev 2013-10-11 15:09:11 +00:00
Baligh Uddin
ccfd6f44f4 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:09:06 +00:00
Baligh Uddin
f87aac1b32 Merge "Import translations. DO NOT MERGE" 2013-10-11 15:08:48 +00:00
Baligh Uddin
d52cfad38f Merge "Import translations. DO NOT MERGE" into klp-ub-dev 2013-10-11 15:08:44 +00:00
Baligh Uddin
491ad45fee Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:08:39 +00:00
Baligh Uddin
260c29d0f0 Merge "Import translations. DO NOT MERGE" 2013-10-11 15:08:35 +00:00
Baligh Uddin
576124688b Merge "Import translations. DO NOT MERGE" into klp-ub-dev 2013-10-11 15:08:29 +00:00
Baligh Uddin
d32e9b7ffb Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:08:10 +00:00
Baligh Uddin
eb175e03ac Merge "Import translations. DO NOT MERGE" 2013-10-11 15:08:05 +00:00
Baligh Uddin
40705a8b55 Merge "Import translations. DO NOT MERGE" into klp-ub-dev 2013-10-11 15:08:00 +00:00
Baligh Uddin
29cff85287 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:07:57 +00:00
Baligh Uddin
7ee62b6a09 Merge "Import translations. DO NOT MERGE" 2013-10-11 15:07:51 +00:00
Baligh Uddin
829b3dfae0 Merge "Import translations. DO NOT MERGE" into klp-ub-dev 2013-10-11 15:07:47 +00:00
Baligh Uddin
d010f7a3e2 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:07:42 +00:00
Daniel Sandler
bc1efa92c4 am 3b4e1c0a: am 26b49a7d: Merge "Be sure to update the display metrics on config change." into klp-dev
* commit '3b4e1c0acdd6e65a0ce957cf794e5161f07d7e23':
  Be sure to update the display metrics on config change.
2013-10-11 08:04:18 -07:00
Daniel Sandler
3b4e1c0acd am 26b49a7d: Merge "Be sure to update the display metrics on config change." into klp-dev
* commit '26b49a7dbbeda13f62200c2a04984b638e7aa1ea':
  Be sure to update the display metrics on config change.
2013-10-11 08:01:16 -07:00
Daniel Sandler
26b49a7dbb Merge "Be sure to update the display metrics on config change." into klp-dev 2013-10-11 14:58:13 +00:00
Jim Miller
9ccf123ee0 Delay all widget additions in keyguard until after boot completes
Fixes bug 11013685

Change-Id: Ic74b2d5cf80f090b0168d384f65c15b0d256c74c
2013-10-10 22:49:40 -07:00
Daniel Sandler
7e8ae50efb Be sure to update the display metrics on config change.
Regression of ancient bugs 6955586 & 7086018 (navigation bar
missing buttons since they're stacked up off the screen
along the wrong axis).

Bug: 10341684
Change-Id: I778b085bf256cb20ecceaf38fd229a7de9b75aae
2013-10-11 00:46:04 -04:00
Adam Powell
59bb250510 am 000fa146: am ad1d8b68: am 1db8cf12: Merge "Toggle wallpaper window flag when setting custom keyguard background" into klp-dev
* commit '000fa14613995d830022bccc2cc573653258b725':
  Toggle wallpaper window flag when setting custom keyguard background
2013-10-10 20:16:52 -07:00
Adam Powell
000fa14613 am ad1d8b68: am 1db8cf12: Merge "Toggle wallpaper window flag when setting custom keyguard background" into klp-dev
* commit 'ad1d8b68b6286f88be510d23f7dcfa4cd6dc5b36':
  Toggle wallpaper window flag when setting custom keyguard background
2013-10-10 20:15:13 -07:00
Adam Powell
ad1d8b68b6 am 1db8cf12: Merge "Toggle wallpaper window flag when setting custom keyguard background" into klp-dev
* commit '1db8cf12a985425a73d24875d9d308c14c0b4359':
  Toggle wallpaper window flag when setting custom keyguard background
2013-10-10 20:12:40 -07:00
Adam Powell
1db8cf12a9 Merge "Toggle wallpaper window flag when setting custom keyguard background" into klp-dev 2013-10-11 03:09:35 +00:00
Jim Miller
dec5ca0d82 am 0cbca144: am 5537dc21: am bea75db9: Merge "Fit and finish for camera affordance animations in keyguard - better timing - animate warp back when finger is released. - Improve on/off screen animation for warped view - Re-use existing constants for consistent timing.
* commit '0cbca144127f4db8f13f09cfe3b1837d1145e174':
  Fit and finish for camera affordance animations in keyguard - better timing - animate warp back when finger is released. - Improve on/off screen animation for warped view - Re-use existing constants for consistent timing. - Hide the challenge area when the camera page is settling. - Reduce jank when camera page starts snap transition. - Prevent warping from going to previous page - Smoothly blend between PagedView and Warp animations when scrolling starts.
2013-10-10 20:08:45 -07:00
Jim Miller
0cbca14412 am 5537dc21: am bea75db9: Merge "Fit and finish for camera affordance animations in keyguard - better timing - animate warp back when finger is released. - Improve on/off screen animation for warped view - Re-use existing constants for consistent timing. - Hide the ch
* commit '5537dc218234d5e7e27691ead3f22b9fbe73a36e':
  Fit and finish for camera affordance animations in keyguard - better timing - animate warp back when finger is released. - Improve on/off screen animation for warped view - Re-use existing constants for consistent timing. - Hide the challenge area when the camera page is settling. - Reduce jank when camera page starts snap transition. - Prevent warping from going to previous page - Smoothly blend between PagedView and Warp animations when scrolling starts.
2013-10-10 20:07:10 -07:00
Jim Miller
5537dc2182 am bea75db9: Merge "Fit and finish for camera affordance animations in keyguard - better timing - animate warp back when finger is released. - Improve on/off screen animation for warped view - Re-use existing constants for consistent timing. - Hide the challenge area
* commit 'bea75db9df6ed19c483d9a7fe86ec820d3c1484f':
  Fit and finish for camera affordance animations in keyguard - better timing - animate warp back when finger is released. - Improve on/off screen animation for warped view - Re-use existing constants for consistent timing. - Hide the challenge area when the camera page is settling. - Reduce jank when camera page starts snap transition. - Prevent warping from going to previous page - Smoothly blend between PagedView and Warp animations when scrolling starts.
2013-10-10 20:05:35 -07:00
Jim Miller
bea75db9df Merge "Fit and finish for camera affordance animations in keyguard - better timing - animate warp back when finger is released. - Improve on/off screen animation for warped view - Re-use existing constants for consistent timing. - Hide the challenge area when the camera page is settling. - Reduce jank when camera page starts snap transition. - Prevent warping from going to previous page - Smoothly blend between PagedView and Warp animations when scrolling starts." into klp-dev 2013-10-11 03:01:49 +00:00
Adam Powell
9471907b5b Toggle wallpaper window flag when setting custom keyguard background
Disable the wallpaper when showing a full-screen custom keyguard
background, e.g. artwork from the RemoteController. This has two nice
effects:

* The wallpaper doesn't visibly "leak" as the keyguard is dismissed
  and fades out

* We save an extra compositing/overdraw step when drawing custom
  backgrounds

Bug 11172944

Change-Id: Id635dcea6b48392f841c9c549327bccff3308c0a
2013-10-10 20:01:49 -07:00
Baligh Uddin
53c8e20937 Import translations. DO NOT MERGE
Change-Id: Ic7e7a1699bf265c34943c195eca9c7a0c08f7113
Auto-generated-cl: translation import
2013-10-10 19:42:50 -07:00
Baligh Uddin
c0b447ccab Import translations. DO NOT MERGE
Change-Id: I6ca25ec0a146a2b3546a56b1eee50e2b9b7856fb
Auto-generated-cl: translation import
2013-10-10 19:41:02 -07:00
Baligh Uddin
907627f36f Import translations. DO NOT MERGE
Change-Id: I3bb5aab8e93b40476cf88a5266fe4343bc3848f0
Auto-generated-cl: translation import
2013-10-10 19:39:22 -07:00
Svetoslav
d1810e3931 am 9b74a780: am 5b8f01b6: am 466c046f: Merge "Fixing jank when transition from print dialog to generating one." into klp-dev
* commit '9b74a78063707c45ffd1a173de51e215fd7e53b4':
  Fixing jank when transition from print dialog to generating one.
2013-10-10 19:27:00 -07:00
Svetoslav
518fb915d2 resolved conflicts for merge of 93e12a7c to master
Change-Id: I94b488bdfce77c5f0708f5ccdced6800aa939785
2013-10-10 19:24:32 -07:00
Svetoslav
9b74a78063 am 5b8f01b6: am 466c046f: Merge "Fixing jank when transition from print dialog to generating one." into klp-dev
* commit '5b8f01b62a09b001da4959d367fa99e46143791b':
  Fixing jank when transition from print dialog to generating one.
2013-10-10 19:21:03 -07:00
Baligh Uddin
f26eb745bc Import translations. DO NOT MERGE
Change-Id: I306a6beb87c56f6cfa29dca52b5864b6b5526151
Auto-generated-cl: translation import
2013-10-10 19:18:34 -07:00
Baligh Uddin
2398d205fa Import translations. DO NOT MERGE
Change-Id: Ic4717d6c91b339b84a3c51a285bf219e230b7ae3
Auto-generated-cl: translation import
2013-10-10 19:17:37 -07:00
Svetoslav
93e12a7c25 resolved conflicts for merge of 92aa5f4e to klp-dev-plus-aosp
Change-Id: Ib2a3bd688256cb2e6bed13ebac01a31bd2601788
2013-10-10 19:17:27 -07:00
Baligh Uddin
5ab664c159 Import translations. DO NOT MERGE
Change-Id: I4bdcff01e1271ee4a7695a9bb646cd84530f654e
Auto-generated-cl: translation import
2013-10-10 19:16:51 -07:00