6539 Commits

Author SHA1 Message Date
Victoria Lease
cd4919c032 Merge "Compose singleLine & textAllCaps transforms" into klp-dev 2013-11-04 15:53:52 +00:00
John Spurlock
d157ca049a Don't clear the interacting bit if panel handled touch.
Bug:11489729
Change-Id: Ie225cf9ff27f1490643ba4b1c02aa09896bd6724
2013-11-04 10:30:39 -05:00
Michael Jurka
9b0b59e6d1 More background protection in Recents for status bar
Bug: 11255407
2013-11-04 16:11:11 +01:00
Michael Jurka
7efa9bf53b am 3e7495b2: Merge "Fix crashes for images that are not PNG or JPEG" into klp-dev
* commit '3e7495b26058d1442c4ed4960818399728e6bc31':
  Fix crashes for images that are not PNG or JPEG
2013-11-02 10:08:08 -07:00
Michael Jurka
3e7495b260 Merge "Fix crashes for images that are not PNG or JPEG" into klp-dev 2013-11-02 17:05:19 +00:00
Jim Miller
06749c2bc8 am 8ac67e62: Merge "Fix flash caused by frame resize code" into klp-dev
* commit '8ac67e62818137c2c3b8a81b795432beb112e29c':
  Fix flash caused by frame resize code
2013-11-01 18:20:43 -07:00
Victoria Lease
1d80e977da Compose singleLine & textAllCaps transforms
TextView only supports a single TransformationMethod per TextView, and
singleLine and textAllCaps are both implemented as
TransformationMethods. Composing both operations into a single
TransformationMethod gives us all-caps text (if requested by
kg_use_all_caps) on a single line.

Bug: 11421105
Change-Id: I069721b887ea90b8daf2af2cf82081319e499962
2013-11-01 16:44:08 -07:00
Jim Miller
6b0afaddae Fix flash caused by frame resize code
This fixes a problem where the frame would resize mid-animation because
the widget frame was being always being resized.

The issue was caused by having an extra fadeOutChallenge() in
onPageSwitching().   The fix is to remove this and handle this case
special for warping in onPageEndWarp()

Fixes bug 11190745

Change-Id: I6dbda4d09c77e3923887f8d41efb2215e1afb1b9
2013-11-01 15:03:04 -07:00
Adam Cohen
7e52013d02 am 6b149dcf: am c5481343: Merge "Fix weird page snap bug when long pressing on music controls (issue 11420449)" into klp-dev
* commit '6b149dcf50d2c102f61ea271a096b64cee90d812':
  Fix weird page snap bug when long pressing on music controls (issue 11420449)
2013-11-01 11:54:36 -07:00
John Spurlock
9b8145f774 am 17433a63: am b7824a94: Merge "Manage keyguard nav elements using transitions." into klp-dev
* commit '17433a633a3d415fc1932738c0814c3dc6716683':
  Manage keyguard nav elements using transitions.
2013-11-01 11:54:32 -07:00
Adam Cohen
6b149dcf50 am c5481343: Merge "Fix weird page snap bug when long pressing on music controls (issue 11420449)" into klp-dev
* commit 'c5481343622e280ef1b2e3574c0cca0640fb172e':
  Fix weird page snap bug when long pressing on music controls (issue 11420449)
2013-11-01 11:51:20 -07:00
John Spurlock
17433a633a am b7824a94: Merge "Manage keyguard nav elements using transitions." into klp-dev
* commit 'b7824a9475d02bc3d96f1fb881a9769843e8f6f3':
  Manage keyguard nav elements using transitions.
2013-11-01 11:51:18 -07:00
Adam Cohen
c548134362 Merge "Fix weird page snap bug when long pressing on music controls (issue 11420449)" into klp-dev 2013-11-01 18:48:42 +00:00
John Spurlock
b7824a9475 Merge "Manage keyguard nav elements using transitions." into klp-dev 2013-11-01 18:48:00 +00:00
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