6575 Commits

Author SHA1 Message Date
John Spurlock
56d007b998 Manage keyguard nav elements using transitions.
Move the logic for managing dimming the navigation bar
elements on the lockscreen into BarTransitions.

Replace search light + camera assets with new
versions at full brightness, and apply 50% dimming
at runtime, including the IME dismiss button.

Remove unused StatusBarManager _NOP hints.

Improve choreography between camera button +
password security (w/ IME).  Fix a few found bugs
in PagedView.

Improve password security unlock transition, manually
fade in back along with the rest of the icons.

Bug:11221659
Change-Id: Ifd1f8c9f400d90542f0ca858b9a4deacabbd518a
2013-11-01 11:33:48 -04:00
Baligh Uddin
3f4c6bb5ab Merge "Import translations. DO NOT MERGE" into klp-dev 2013-11-01 14:35:42 +00:00
Baligh Uddin
50bdac61a1 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-11-01 14:35:02 +00:00
Baligh Uddin
2bc2574e60 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-11-01 14:34:40 +00:00
Michael Jurka
b2552648ce Fix crashes for images that are not PNG or JPEG
Bug: 11342816

Change-Id: Ib8bbd30c1cc2d4f984af889895fb78412a1ab004
2013-11-01 13:31:14 +01:00
Adam Cohen
3f1c3c7436 Fix weird page snap bug when long pressing on music controls (issue 11420449)
Change-Id: Ie789d74c03656b93f26b9afef16356862f1982a8
2013-10-31 18:41:59 -07:00
Jim Miller
ee3b039ac6 am aa8dbf11: am 43ef1c8c: Merge "Remove deprecated API calls to KeyguardManager from statusbar" into klp-dev
* commit 'aa8dbf111444435b6071f7b226af5a7bb2a56c52':
  Remove deprecated API calls to KeyguardManager from statusbar
2013-10-31 15:30:02 -07:00
Jim Miller
aa8dbf1114 am 43ef1c8c: Merge "Remove deprecated API calls to KeyguardManager from statusbar" into klp-dev
* commit '43ef1c8c34c6dd7c7ae75ac2c1b9bfdc15405b04':
  Remove deprecated API calls to KeyguardManager from statusbar
2013-10-31 15:26:52 -07:00
Jim Miller
43ef1c8c34 Merge "Remove deprecated API calls to KeyguardManager from statusbar" into klp-dev 2013-10-31 22:22:58 +00:00
Svetoslav
4379bd7518 am eccfe65f: am 6ce161d1: Merge "Cancel current work in PrintDocumentAdatper if printing is cancelled." into klp-dev
* commit 'eccfe65f9daf459342ebc658b8a40584dfcea016':
  Cancel current work in PrintDocumentAdatper if printing is cancelled.
2013-10-31 14:48:22 -07:00
Svetoslav
eccfe65f9d am 6ce161d1: Merge "Cancel current work in PrintDocumentAdatper if printing is cancelled." into klp-dev
* commit '6ce161d1762a1c74b1ed6931c1d54f1f553267b0':
  Cancel current work in PrintDocumentAdatper if printing is cancelled.
2013-10-31 14:44:50 -07:00
Svetoslav
6ce161d176 Merge "Cancel current work in PrintDocumentAdatper if printing is cancelled." into klp-dev 2013-10-31 21:42:06 +00:00
Jim Miller
a999d463c1 Remove deprecated API calls to KeyguardManager from statusbar
Fixes bug 11448304

Change-Id: I3049a20d9320af0425d7a8f08d5aa208e470e292
2013-10-31 14:32:29 -07:00
Svetoslav
d270cb9264 Cancel current work in PrintDocumentAdatper if printing is cancelled.
Layout and write may take some time during which the user can
cancel printing. Currently we wait for the last operation,
being write or layout, to complete before closing the print
dialog. Now in such a scenario we request a cancellation of
the ongoing operation.

bug:11329523

Change-Id: Ia9d747163cc73509369a86c8b5afc83b7ee54859
2013-10-31 14:30:58 -07:00
Jason Monk
7c053a2fa5 am cb134203: am 86f5a149: Merge "Change PacProxySelector to return unresolved addr" into klp-dev
* commit 'cb1342032283d1a415eb4f916a79039aa8ed0cbf':
  Change PacProxySelector to return unresolved addr
2013-10-31 11:50:07 -07:00
Jason Monk
cb13420322 am 86f5a149: Merge "Change PacProxySelector to return unresolved addr" into klp-dev
* commit '86f5a1499bc681ffae2b9f2300c9a62653d511dc':
  Change PacProxySelector to return unresolved addr
2013-10-31 11:47:03 -07:00
John Spurlock
9916eb6ecb am 39541bfa: am a0bc738f: Merge "Move coalescing to callback, optimize KeyguardStatusView." into klp-dev
* commit '39541bfad07c4f13d61981c1e231144168b41aa8':
  Move coalescing to callback, optimize KeyguardStatusView.
2013-10-31 11:46:15 -07:00
Jason Monk
86f5a1499b Merge "Change PacProxySelector to return unresolved addr" into klp-dev 2013-10-31 18:43:53 +00:00
John Spurlock
39541bfad0 am a0bc738f: Merge "Move coalescing to callback, optimize KeyguardStatusView." into klp-dev
* commit 'a0bc738f46f62ba1a02e956a8c262323ab4ab75c':
  Move coalescing to callback, optimize KeyguardStatusView.
2013-10-31 11:43:28 -07:00
John Spurlock
a0bc738f46 Merge "Move coalescing to callback, optimize KeyguardStatusView." into klp-dev 2013-10-31 18:41:08 +00:00
Jason Monk
179d6e8e20 Change PacProxySelector to return unresolved addr
This was found by a bug in Firefox where it expects the addresses from a
ProxySelector to be unresolved.  Since ProxySelectorImpl returns unresolved
addresses the PAC version should as well to avoid breaking apps.

The ProxyServer also needed to be updated to reflect this change as it was
expecting a resolved InetSocketAddress.

Bug: 11443853
Change-Id: I3a4e9e248d22d7808603c147660df708e01cdf82
2013-10-31 14:17:48 -04:00
John Spurlock
6252c996ee am 6af08c29: am b207ea96: Merge "Update ic_qs_ime assets to standard brightness." into klp-dev
* commit '6af08c29d8353ad63a4d393ef3d72fcf68c8817b':
  Update ic_qs_ime assets to standard brightness.
2013-10-31 10:42:28 -07:00
John Spurlock
6af08c29d8 am b207ea96: Merge "Update ic_qs_ime assets to standard brightness." into klp-dev
* commit 'b207ea960911867e7c1951338df24108d37ad189':
  Update ic_qs_ime assets to standard brightness.
2013-10-31 10:39:15 -07:00
John Spurlock
b207ea9609 Merge "Update ic_qs_ime assets to standard brightness." into klp-dev 2013-10-31 17:36:06 +00:00
John Spurlock
385a63d56a Move coalescing to callback, optimize KeyguardStatusView.
Move the recent keyguard hidden coalescing down to the callback
level.  The lifetime of each callback can be short, make sure
they see visibility changes at least once for each change local
to their lifetime.

KeyguardStatusView.refresh() is called multiple times, and instances
are recreated often.  This results in expensive computations
filling the sysui/keyguard ui queue, adding to overall sluggishness.
Traceview points to DateFormat.getBestDateTimePattern as the
main culprit.

As of this change, refresh() will only call the expensive date pattern
computations when absolutely necessary, resulting in better
performance turning the screen off/on.

Bug:11221659
Bug:11447043
Change-Id: I3d4105af7db608803b82d8ef0ff141e42c154257
2013-10-31 10:49:50 -04:00
Jim Miller
8a26b43cd8 Fix glitch with switching users from QuickSettings
Since keyguard and systemui were merged into the same process to save
memory, they share the same Looper and graphics context.  As a result,
there's no way to allow concurrent animation while keyguard inflates.
The workaround is to add a slight delay to allow the animation to finish.

Workaround for bug 11046339

Change-Id: I355ca4fb325312bae87d587acfb12b475ecdeba4
2013-10-30 15:23:46 -07:00
Craig Mautner
c74d0b6cf4 am 744e0a33: am 6dc499c6: Merge "Save and restore media metadata." into klp-dev
* commit '744e0a330937f97a6cc24830e4433cb00b1422d2':
  Save and restore media metadata.
2013-10-30 14:12:49 -07:00
Craig Mautner
744e0a3309 am 6dc499c6: Merge "Save and restore media metadata." into klp-dev
* commit '6dc499c6da2affa427dc982e5a50ddf3cb9d5aa9':
  Save and restore media metadata.
2013-10-30 14:10:13 -07:00
Craig Mautner
6dc499c6da Merge "Save and restore media metadata." into klp-dev 2013-10-30 21:05:59 +00:00
Michael Jurka
ac132888d0 am 9a4c6988: am 0a1988b6: Merge "Make wallpaper cropper more robust " into klp-dev
* commit '9a4c69882401f243f07c3bf77bf57a957b89c767':
  Make wallpaper cropper more robust
2013-10-30 11:05:51 -07:00
Michael Jurka
9a4c698824 am 0a1988b6: Merge "Make wallpaper cropper more robust " into klp-dev
* commit '0a1988b6477f012768f53f7e216b7defa45c8e51':
  Make wallpaper cropper more robust
2013-10-30 11:04:20 -07:00
Craig Mautner
8334192974 Save and restore media metadata.
Do not lose media information when configuration changes. Also, do not
wipe out that saved information when the RemoteController is
reconstructed.

Fixes bug 11293859.

Change-Id: Id9e539367bfda2cc6833dc61c922c57ae45dd7b7
2013-10-30 10:33:01 -07:00
Baligh Uddin
1fada0a012 Import translations. DO NOT MERGE
Change-Id: Ife16f0c4467fe5d8cd8e8f9908448c100e01e9ca
Auto-generated-cl: translation import
2013-10-30 09:34:05 -07:00
Baligh Uddin
88c5345964 Import translations. DO NOT MERGE
Change-Id: Ic406ab6515206bfd57a79d866f503dcd4f8cd288
Auto-generated-cl: translation import
2013-10-30 08:55:24 -07:00
Baligh Uddin
f1228e3550 Import translations. DO NOT MERGE
Change-Id: I6275ae5da91b961e11974efd80e6b4947bd44972
Auto-generated-cl: translation import
2013-10-30 08:53:01 -07:00
Michael Jurka
7b215cb922 Make wallpaper cropper more robust
- don't crash if image passed to wallpaper picker
is invalid
- close input streams correctly

Bug: 11413915
Bug: 11380658
Bug: 11362731
2013-10-30 14:54:21 +01:00
John Spurlock
c0156b82fd Update ic_qs_ime assets to standard brightness.
Bug:11412369
Change-Id: I582f4dfc28eb7453d67c5fe9c1b90a38ad756666
2013-10-30 09:35:22 -04:00
Jim Miller
ea1a439a90 am 3641571c: am ae47d826: Merge "Add an intermediate dimens resource for 540dp device." into klp-dev
* commit '3641571c93f12720b7f4769175e302a6875a9dce':
  Add an intermediate dimens resource for 540dp device.
2013-10-29 19:48:38 -07:00
Jim Miller
3641571c93 am ae47d826: Merge "Add an intermediate dimens resource for 540dp device." into klp-dev
* commit 'ae47d826d883657a4332f549c165ae85124bd1cf':
  Add an intermediate dimens resource for 540dp device.
2013-10-29 19:46:36 -07:00
Jim Miller
65a788585b Add an intermediate dimens resource for 540dp device.
A 540dp device causes keyguard to select SlidingChallengeLayout
and a height of 400dp which isn't enough space for the security
area.  This fix adds an intermediate value to grow the security
area slightly.

Fixes bug 11344424

Change-Id: I35c979f619c593b604e4bf45afd3e591329229e4
2013-10-29 16:31:58 -07:00
John Spurlock
646f19c929 am de50a5e7: am 927d854f: Merge "Optimize sysui ui queue during keyguard unlock." into klp-dev
* commit 'de50a5e7e116870cded377c77c5dbe8fa2498b40':
  Optimize sysui ui queue during keyguard unlock.
2013-10-29 14:01:56 -07:00
John Spurlock
de50a5e7e1 am 927d854f: Merge "Optimize sysui ui queue during keyguard unlock." into klp-dev
* commit '927d854ff4dc66edd22c109400233eb2d76dfce6':
  Optimize sysui ui queue during keyguard unlock.
2013-10-29 13:57:16 -07:00
John Spurlock
927d854ff4 Merge "Optimize sysui ui queue during keyguard unlock." into klp-dev 2013-10-29 20:55:04 +00:00
Jeff Sharkey
88c84f9718 am dd225d28: am 7fbba162: Merge "Suppress OperationCanceledException logging." into klp-dev
* commit 'dd225d28e6e7a57a9ae70c4a7f6217358e3a2052':
  Suppress OperationCanceledException logging.
2013-10-29 13:52:54 -07:00
Jeff Sharkey
dd225d28e6 am 7fbba162: Merge "Suppress OperationCanceledException logging." into klp-dev
* commit '7fbba1622a975782fddb9a7c5d9dd733dd4e425d':
  Suppress OperationCanceledException logging.
2013-10-29 13:49:39 -07:00
Jeff Sharkey
7fbba1622a Merge "Suppress OperationCanceledException logging." into klp-dev 2013-10-29 20:46:39 +00:00
John Spurlock
2fcefe4571 am 161e43dc: am 1b5bd6b6: Merge "Update QS settings icon, remove unused location icon." into klp-dev
* commit '161e43dc5952a607a5996ab2cd07ac3ef49c2902':
  Update QS settings icon, remove unused location icon.
2013-10-29 13:29:34 -07:00
John Spurlock
161e43dc59 am 1b5bd6b6: Merge "Update QS settings icon, remove unused location icon." into klp-dev
* commit '1b5bd6b68af0f26dc0f42e442a9ffa8e1f30e3e5':
  Update QS settings icon, remove unused location icon.
2013-10-29 13:26:44 -07:00
John Spurlock
1b5bd6b68a Merge "Update QS settings icon, remove unused location icon." into klp-dev 2013-10-29 20:21:50 +00:00
Jeff Sharkey
66d079bf25 am f7eb3398: am 19949b9d: Merge "Guard against missing document columns." into klp-dev
* commit 'f7eb3398f16f4d76d2a342cf571040360d5a6df6':
  Guard against missing document columns.
2013-10-29 11:58:21 -07:00