113347 Commits

Author SHA1 Message Date
Eino-Ville Talvala
cd92588528 DO NOT MERGE: Hide new camera API.
Not yet ready.

Bug: 11141002

Change-Id: I4704bffb9ba36af47a66dc5b49cbba00be623aae
2013-10-11 19:26:08 +00:00
Jeff Sharkey
6e19feb4f3 Merge "Treat dates near epoch as unknown." into klp-dev 2013-10-11 19:18:51 +00:00
Craig Mautner
ab3276ddd9 Merge "Make an exception for screenshot optimization." into klp-dev 2013-10-11 18:41:45 +00:00
Craig Mautner
3474040486 Make an exception for screenshot optimization.
Screenshots were not being made for tasks with the flag
FLAG_EXCLUDE_FROM_RECENTS set. But if the task is in the foreground
the shot should be taken even with the flag set. This fix adds a test
for tasks being in the foreground.

Fixes bug 11170567.

Change-Id: If42db7f43ed1dd8d2b16b68824adc813b31c94f0
2013-10-11 11:05:35 -07:00
Alan Viverette
8da6bc53c8 Merge "Resize lock screen widgets when IME is open." into klp-dev 2013-10-11 17:30:59 +00:00
John Spurlock
e2bd7be298 Merge "Ensure fitSystemWindows is called on the IME at least once." into klp-dev 2013-10-11 17:27:26 +00:00
John Spurlock
3bf26b6f2f Ensure fitSystemWindows is called on the IME at least once.
InputMethodService will recreate the entire layout on config changes.
Until the system insets change again, the new instance will not
hear about the insets.

This change ensures fitSystemWindows is called at least once for all
input method root views that are added to a window.

Bug:11174545
Change-Id: Id0f02f32c0d6e9c2d6b6aeef74a12a13acfbb9e6
2013-10-11 13:16:23 -04:00
Svetoslav Ganov
f22a767e87 Merge "Added UI for errors during layout and write." into klp-dev 2013-10-11 17:06:12 +00: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
Craig Mautner
d69417d2f6 Merge "Reduce jank on incoming phone call during dream." into klp-dev 2013-10-11 16:49:55 +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
Dianne Hackborn
0b713a0961 Merge "Small IntentFilter docs improvement." into klp-dev 2013-10-11 16:42:39 +00:00
Dianne Hackborn
0ea920d839 Small IntentFilter docs improvement.
Change-Id: I52522e1c007c02d2c4fae8665369d92971689fd2
2013-10-11 09:40:18 -07:00
Torne (Richard Coles)
8483e4f007 Merge "Add internal resource symbol used by WebViewChromium." into klp-dev 2013-10-11 16:17:42 +00: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
John Spurlock
8ca2d05293 Merge "Fix dock rect calculation when nav is translucent." into klp-dev 2013-10-11 15:49:54 +00:00
Baligh Uddin
38de7ab47a Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:15:50 +00:00
Baligh Uddin
ccfd6f44f4 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:09:06 +00:00
Baligh Uddin
6db722776b Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:08:53 +00:00
Baligh Uddin
491ad45fee Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:08:39 +00:00
Baligh Uddin
d32e9b7ffb Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:08:10 +00:00
Baligh Uddin
29cff85287 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:07:57 +00:00
Baligh Uddin
d010f7a3e2 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:07:42 +00: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
Torne (Richard Coles)
740753c5b4 Add internal resource symbol used by WebViewChromium.
The Chromium WebView needs access to the default <video> tag poster
image, which is a framework resource. Add to the list of internal
resource symbols.

Bug: 11158656
Change-Id: I0c9ca7c25fe4c9a970b9e336ff72eda55637c201
2013-10-11 15:47:06 +01: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
Vineeta Srivastava
caaefaeab7 Merge "Setting MTU size for specific network" into klp-dev 2013-10-11 04:07:58 +00:00
Craig Mautner
2881630af9 Reduce jank on incoming phone call during dream.
- Include dreams in the conditions that disable transition animations.
  This way there is no visibility of activities that are closing
  behind the keyguard when an activity that dismisses the keyguard
  starts up.

- Do not notify the keyguard mediator when the keyguard is dismissed
  because a dream is starting up. This keeps activities from resuming
  just because the keyguard is being dismissed.

Fixes bug 11064847.

Change-Id: I9d32fc96d518b1cdab511e187226a3cb889cf6d4
2013-10-10 20:31:00 -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
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
907627f36f Import translations. DO NOT MERGE
Change-Id: I3bb5aab8e93b40476cf88a5266fe4343bc3848f0
Auto-generated-cl: translation import
2013-10-10 19:39:22 -07:00
John Spurlock
f95b89a097 Fix dock rect calculation when nav is translucent.
Make sure the dock rect in PWM takes the nav bar height
into account when translucent.  This forms the basis of
many other window calculations, and has multiple downstream
effects.

Fixing this exposed the fact that the Keyguard was not allowed
to fall into the LAYOUT_HIDE_NAV codepath (since it's not an app
window) - so add TYPE_KEYGUARD to that path.

Bug:11157555
Change-Id: I6b1fc4da973a246b80ec108a561e06f6d8a6a92b
2013-10-10 22:18:56 -04: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
Aravind Akella
d9b09fa97e Merge "Fix registerListener and flush bugs." into klp-dev 2013-10-11 02:05:53 +00:00
Jim Miller
c162dd0490 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.

Bug 10991981

Change-Id: I84822790a040a2ce2dcea60a9486f01df9cff105
2013-10-10 18:46:46 -07:00
Svetoslav
466c046f20 Merge "Fixing jank when transition from print dialog to generating one." into klp-dev 2013-10-11 01:39:09 +00:00
Dianne Hackborn
fa8830715d Merge "Fix issue #11175600: Proc stats is aggregating stats in the wrong direction" into klp-dev 2013-10-11 01:29:26 +00:00
Dianne Hackborn
59da67900d Fix issue #11175600: Proc stats is aggregating stats in the wrong direction
Change-Id: I7f06fbde8f52296cb2932003b4da77b2c68a6011
2013-10-10 18:27:24 -07:00
Adam Powell
ebd1dca5ea Merge "Re-enable ActionMenuPresenter view recycling" into klp-dev 2013-10-11 01:27:20 +00:00
Baligh Uddin
602ac9fdd0 Import translations. DO NOT MERGE
Change-Id: I4031eafe6c1d9a831c733711ddb2fcdc89400e8d
Auto-generated-cl: translation import
2013-10-10 18:25:40 -07:00
Adam Powell
c3ca3ea3a9 Re-enable ActionMenuPresenter view recycling
Since action bar transitions are turned off again for now, re-enabling
item view recycling fixes an unfortunate regression with submenus.

If a menu view is invalidated while a submenu is open we need to keep
its anchor consistent. With view recycling active we preserve status
quo and the previous anchor view instance for the popup window remains
in place.

In the future this will need to get more sophisticated;
ActionMenuPresenter will need to re-parent an open submenu against the
proper anchor view by menu item id. But that is a change for another
day.

Bug 11174504

Change-Id: I7e8a444f6996ec95417d20e87938f496e9c3a4dd
2013-10-10 18:07:48 -07:00
Dirk Dougherty
384f060f93 am a8914d02: am 0c74fc28: am 234101a4: Merge "Doc change: add tablet success story and fix a few issues." into jb-mr2-docs
* commit 'a8914d02f41cd0ee89b6aa33407d51d43790902b':
  Doc change: add tablet success story and fix a few issues.
2013-10-10 17:57:22 -07:00
Dirk Dougherty
a8914d02f4 am 0c74fc28: am 234101a4: Merge "Doc change: add tablet success story and fix a few issues." into jb-mr2-docs
* commit '0c74fc28b71df1a59bd6c94e62c1247ae922cff7':
  Doc change: add tablet success story and fix a few issues.
2013-10-10 17:53:51 -07:00
Baligh Uddin
10fe3203b2 Import translations. DO NOT MERGE
Change-Id: I46c4f3ef25ecaeeba9a0b7d76bcaf3c07ca6f622
Auto-generated-cl: translation import
2013-10-10 17:53:10 -07:00
Dirk Dougherty
0c74fc28b7 am 234101a4: Merge "Doc change: add tablet success story and fix a few issues." into jb-mr2-docs
* commit '234101a4c597fe285703f7a012ef9eda6c751578':
  Doc change: add tablet success story and fix a few issues.
2013-10-10 17:50:21 -07:00
Dirk Dougherty
234101a4c5 Merge "Doc change: add tablet success story and fix a few issues." into jb-mr2-docs 2013-10-11 00:48:14 +00:00
Baligh Uddin
454d33ad89 Import translations. DO NOT MERGE
Change-Id: I902ff15c7df70eef8986dc2dcfbac59551f085fa
Auto-generated-cl: translation import
2013-10-10 17:47:20 -07:00
Alan Viverette
0cec85b532 Resize lock screen widgets when IME is open.
BUG: 9942708
Change-Id: I05330b1d70aa79f72e42c118dda5e1c5f18bf45a
2013-10-10 17:46:03 -07:00