5661 Commits

Author SHA1 Message Date
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
Craig Mautner
4e8a19c73a Remove overly tight constraint on drawn Keyguard.
The requirement that a window that is invisible will not be drawn is
incorrect. In particular the test fails before a surface has even been
added (mHasSurface == false) or shown (mPolicyVisibility == false).
This was causing the screen to turn on before Keyguard had been drawn
and exposing surfaces that would have normally remained hidden.

Also, don't pass null into KeyguardServiceDelegate.onShown() or we
will immediately turn the screen on before Keyguard is drawn.

Fixes bug 11062635.

Change-Id: I964c7ef186d0a94678020b9c27ca6b79e5433350
2013-10-08 21:32:37 -07:00
Jeff Sharkey
78b1370308 Grab Activity reference before leaving fragment.
When creating a new directory, we spawn an AsyncTask and finish the
fragment.  This change keeps an Activity reference to report the
result back to.

Bug: 11137561
Change-Id: Icfccc5e50e8f53a50dced589e1564d64457e0ed0
2013-10-08 17:11:49 -07:00
Jim Miller
888022cfd8 Merge "Fix default clock localization in keyguard." into klp-dev 2013-10-08 23:04:40 +00:00
Dan Sandler
0dfec17365 Merge "Revert "Show no_sim icon when no SIM card is available."" into klp-dev 2013-10-08 22:32:45 +00:00
Jim Miller
38ab277ad4 Fix default clock localization in keyguard.
Uses new DateFormat.getBestDateTimePattern() to get localized format
string.

Fixes bug 11120830

Change-Id: If49a95ac4f222da7d16523c99476c5895326d71e
2013-10-08 15:32:09 -07:00
Dan Sandler
99270a8972 Revert "Show no_sim icon when no SIM card is available."
It doesn't look good in the combo RSSI layout, and while we could make 
it look better by adding some padding (like the airplane icon), we haven't
had a no_sim icon since ICS and people are pretty much OK with it.

This reverts commit 2eeacc02a252607e7c2fd1a00c60d8aa567694cc.

Bug: 11127588
Change-Id: Ibefd6096171588fcab1e3c5174abda9758cc5f6d
2013-10-08 22:31:25 +00:00
Svetoslav
dcd05b440d Merge "Fix a crash in the select printers activity." into klp-dev 2013-10-08 21:28:13 +00:00
Michael Jurka
c39bfa9f0e Merge "Wallpaper cropper should inherit translucent theme" into klp-dev 2013-10-08 21:27:14 +00:00
John Spurlock
fe124594d6 Merge "Tweak status bar gradient." into klp-dev 2013-10-08 21:25:11 +00:00
John Spurlock
02b1bdc28a Tweak status bar gradient.
Bug:10967264
Change-Id: I803420ba332934398b4878644e3a168bd99701ad
2013-10-08 17:22:56 -04:00
David Christie
3334e9f522 New icons that eliminate location "crosshair"
-b/8142654

Change-Id: I8143aaa677ae0f95c896ac4c3cc66cab74e6e9d8
2013-10-08 14:22:06 -07:00