5822 Commits

Author SHA1 Message Date
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
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
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
Baligh Uddin
5ab664c159 Import translations. DO NOT MERGE
Change-Id: I4bdcff01e1271ee4a7695a9bb646cd84530f654e
Auto-generated-cl: translation import
2013-10-10 19:16:51 -07: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
Baligh Uddin
10fe3203b2 Import translations. DO NOT MERGE
Change-Id: I46c4f3ef25ecaeeba9a0b7d76bcaf3c07ca6f622
Auto-generated-cl: translation import
2013-10-10 17:53:10 -07: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
Baligh Uddin
607e971112 Import translations. DO NOT MERGE
Change-Id: Icd16db08d07dc6156aecaa64750e91b492b9c86a
Auto-generated-cl: translation import
2013-10-10 17:44:24 -07:00
Baligh Uddin
d11d442dc1 Import translations. DO NOT MERGE
Change-Id: I395f75035dd4d8e68531dda219488d7d15344ade
Auto-generated-cl: translation import
2013-10-10 17:41:38 -07:00
Svetoslav
3aa2e2b3ab Fixing jank when transition from print dialog to generating one.
Initially we show the print dialog and when the user presses print
we show a generating dialog with an indefinite spinner and a cancel
button. The transition between the two UIs which are really different
layouts show in the print activity is animated. In the middle of
the animation from print to generating UI there was a jump of the
content and an undesired window animation kicking in. This is a
side effect of changing the activity to floating so now changing the
container size was causing window resize and hence animation. Fun!

bug:10983508

Change-Id: I7d88e073c55863b945cdb50822401592f32d44c3
2013-10-10 16:52:54 -07:00
Svetoslav Ganov
896a9b1726 Merge "Adding missing resourcs for the defaul PDF printer media sizes." into klp-dev 2013-10-10 23:52:07 +00:00
Adam Lesinski
6c906dc52d Merge "Fix SystemUI crash on devices with WiFi only" into klp-dev 2013-10-10 23:03:54 +00:00
Adam Lesinski
c08ae4432c Fix SystemUI crash on devices with WiFi only
A recent change to QuickSettings forgot to
check whether the device has a radio or not.

Change-Id: I0b89634b290e82a1702de7b2f539cef3efa6d246
2013-10-10 15:49:57 -07:00
David Christie
000bffabb8 Merge "New icons that eliminate location "crosshair" -b/8142654" into klp-dev 2013-10-10 22:29:45 +00:00
Daniel Sandler
9dc7e12c67 Merge "Properly size KG camera animation for translucent bars." into klp-dev 2013-10-10 20:40:28 +00:00
John Spurlock
d9b95382c7 Merge "Update navigation bar gradient." into klp-dev 2013-10-10 20:33:09 +00:00
John Spurlock
80d7fc50d7 Update navigation bar gradient.
Bug:10967264
Change-Id: I6a057fb0895ab46bddb4082d49c8b53b329f0c73
2013-10-10 16:28:34 -04:00
Jim Miller
10d196d32f Merge "Keyguard customization for mcc262-mnc07" into klp-dev 2013-10-10 20:28:01 +00:00
Daniel Sandler
26b7bf6e3c Properly size KG camera animation for translucent bars.
The KGHV now plumbs insets information down into the camera
so that it can leave space for the navigation bar if the KG
window happens to extend underneath it. The camera widget
preview must therefore be rendered to fit the size of the
smaller inset content area, which means there's now a hole
at the bottom; we fill this bottom area during animation
with a fake navigation bar: a black view occupying the area
underneath the real navbar.

Bug: 11048015
Change-Id: Ia23b62e155686ad9f17a25ccc14f6c97b53dafea
2013-10-10 16:18:28 -04:00
Adam Lesinski
97fee81867 Merge "Reinflate QSB RSSI Tile on config change" into klp-dev 2013-10-10 19:54:42 +00:00
Adam Lesinski
828e4c49a0 Reinflate QSB RSSI Tile on config change
Resources that change based on MCC or MNC will now
show on the RSSI tile in Quick Settings.

bug:10518893
Change-Id: I55a77f967d2630b5c1aa17382069a15f37745405
2013-10-10 12:25:53 -07:00
Chris Craik
e64d6a4e33 Merge "Remove unused time tile and resources" into klp-dev 2013-10-10 17:37:22 +00:00
Svetoslav
6f71ed5b58 Merge "Sometimes the print button not enabled and an accessibility fix." into klp-dev 2013-10-10 17:11:21 +00:00
Svetoslav Ganov
0ea16e9e76 Merge "Coalescing multiple print job notifications." into klp-dev 2013-10-10 17:10:59 +00:00
Chet Haase
94ba89763e Merge "NotificationPanel now shows correct date" into klp-dev 2013-10-10 16:25:56 +00:00
Chet Haase
9f5664b876 NotificationPanel now shows correct date
There was a problem with a cached instance of a Date object such that it
would retain information about the default TimeZone that was not updated
when the TimeZone was set to the correct value. This resulted in NotificationPanel
sometimes showing the wrong date, based on the time and the delta between
the local timezone and GMT.

The fix is to use an ACTION_TIMEZONE_CHANGED broadcast to recreate the cached
Date object appropriately.

Issue #10854196 Incorrect date showing in notification shade

Change-Id: Ibf883e1ff37f4d0aae6840fb19e43e7e9e45bcc2
2013-10-10 09:10:55 -07:00
Svetoslav Ganov
4ba9254824 Adding missing resourcs for the defaul PDF printer media sizes.
Some regions have different media size standards and the fake PDF
printer shows the media sizes for the current locale. Interestingly,
these files were skipped in my previous change while I remember
adding them - maybe did not upload the patch.

bug:11147920

Change-Id: I819ab08fbef08305be89e3acf297328b1a0ded11
2013-10-10 00:52:42 -07:00
Svetoslav
ebec46847d Sometimes the print button not enabled and an accessibility fix.
1. Sometimes the print button is not enabled after selecting a printer
   from the all printers activity. This was happening after a printer
   was selected, we had to do a layout due to changed print attributes
   (because of the new printer's capabilities), and the content did not
   change. In this case we did not call the updateUi function which
   enables the print button after layout is completed.

2. The accessibility code in the all printers activity was not checking
   whether accessibility is on and doing some unnecessary work - not sending
   events though but still. Further, the delayed runnable that was
   doing the accessibilty announcements was not removed when the activity
   was paused.

bug:10983508

Change-Id: Ib263116a3e21e4c75a25aa051cecbd9194417319
2013-10-10 07:33:02 +00:00
Svetoslav Ganov
a18661d592 Coalescing multiple print job notifications.
1. We used to show a single notificaiton for every print job but
   this is against th UX guidelines. Since we have to lead by
   example, this change adds coalescing of multiple notifications.

bug:11155212

2. Print job state callback in the PrintManager now correctly
   invoked on the main thread.

bug:10983508

Change-Id: I906e9e62198fa37cb4d2f71fce07ed475d61e1bd
2013-10-09 23:43:11 -07:00
Jim Miller
c4d1763e68 Merge "Fix touch accessibility in keyguard." into klp-dev 2013-10-09 23:50:19 +00:00
Jim Miller
1267727241 Merge "Have SearchPanel fade camera and search buttons when activated" into klp-dev 2013-10-09 23:49:12 +00:00
Jim Miller
ad178a43ba Have SearchPanel fade camera and search buttons when activated
Bug 10991981

Change-Id: Iabc497ce992b675bff1df634add755e67a7fb794
2013-10-09 16:29:24 -07:00
Jim Miller
7d8abaeb7d Fix touch accessibility in keyguard.
This changes the accessibility code to monitor state changes
and replace the touch listeners with click listeners when
touch exploration is enabled.

It also fixes a bug where the first touch on the camera was being
ignored by ensuring KeyguardTouchDelegate has started the service
by the time the button is touched.

Bug 10991981

Change-Id: I7c4bf01f9bfa10f54cadb0809b6af526c5386af5
2013-10-09 16:10:27 -07:00
John Spurlock
65e911261d Merge "Allow IMEs to extend below nav bar, remove SystemUI veto." into klp-dev 2013-10-09 21:57:01 +00:00
Jeff Sharkey
aa8416723a Merge "Support overriding calling package in Documents." into klp-dev 2013-10-09 20:56:26 +00:00
Jeff Sharkey
7cd3e905de Merge "Drop <meta-data> support for DocumentsProviders." into klp-dev 2013-10-09 20:56:12 +00:00
Jeff Sharkey
15be83612c Support overriding calling package in Documents.
Calling package is only used to pick the stack to restore, not for
security purposes.  This lets other system tools (like Printing)
indicate the real caller.

Bug: 11149540
Change-Id: I155e32577eaeda7dfcb80a7d84ac3b54f281590a
2013-10-09 13:52:26 -07:00
Jeff Sharkey
d2e1e810a7 Drop <meta-data> support for DocumentsProviders.
Prebuilts have finished migrating to new <intent-filter> based
approach.  Also update isDocumentUri() to match new definition.

Bug: 11109484
Change-Id: Ib95e2c3f5a9ff70b8d5e411f68ad49d1990dae8c
2013-10-09 13:31:13 -07:00
John Spurlock
c68d577f29 Allow IMEs to extend below nav bar, remove SystemUI veto.
Layout IMEs below the nav bar, offset by bottom padding and
associated guard rectangle with a black background to ensure
they do not appear as islands during transitions.

This makes it safe to remove the SystemUI forced opaque transition
when showing an IME, making the overall transition less expensive,
quicker and smoother overall.

Bug:11058746
Change-Id: I460912ee7c117480c57b947ed31eca330819f32c
2013-10-09 16:23:15 -04:00
Mindy DelliCarpini
d7c44ee6b6 Merge "deblue notification dividers" into klp-dev 2013-10-09 20:14:15 +00:00
Craig Mautner
e8a057a9ae Merge "Remove overly tight constraint on drawn Keyguard." into klp-dev 2013-10-09 19:10:45 +00:00
Jeff Sharkey
e6d419de77 Merge "Grab Activity reference before leaving fragment." into klp-dev 2013-10-09 07:26:11 +00:00