397 Commits

Author SHA1 Message Date
Jim Miller
bb78ae9eed am 8cba0d0b: Merge "Fix scrubbing behavior on keyguard music transport" into klp-dev
* commit '8cba0d0b21db0fc4f9006403d6706e5893582dc8':
  Fix scrubbing behavior on keyguard music transport
2013-11-07 14:54:37 -08:00
Jim Miller
8cba0d0b21 Merge "Fix scrubbing behavior on keyguard music transport" into klp-dev 2013-11-07 22:52:57 +00:00
Jim Miller
cc747ad2da Fix scrubbing behavior on keyguard music transport
This fixes a bug where the music scrub position would snap
back to a previous position. The problem was caused by latency
in the music application responding to scrub position changes.
The latency would mean that we'd get a response periodically
to some historical scrub position change.

Since we can't know when the state will become stable, we
just wait a little bit since the last update change before
continuing to update the scroll position.

In order to keep the music client from falling behind, we
throttle scrub updates.

Fixes bug 11351267

Change-Id: I6204833328751d1da781b4e078a2d557c1f93ff3
2013-11-06 17:53:32 -08:00
Ruben Brunk
df049d6f22 am 9aed2ae0: am e77d2a9c: Merge "Disable face unlock when returning from camera." into klp-dev
* commit '9aed2ae0bd03edcaef3dd3cac8795055cf8d2b43':
  Disable face unlock when returning from camera.
2013-11-06 15:30:26 -08:00
Ruben Brunk
9aed2ae0bd am e77d2a9c: Merge "Disable face unlock when returning from camera." into klp-dev
* commit 'e77d2a9c62e747902bc53d40e303214705702b00':
  Disable face unlock when returning from camera.
2013-11-06 15:26:48 -08:00
Ruben Brunk
e77d2a9c62 Merge "Disable face unlock when returning from camera." into klp-dev 2013-11-06 23:22:55 +00:00
John Spurlock
cd6258b50f am 20dc4923: am 10b9ac80: Merge "Fix lockscreen camera preview position in RTL." into klp-dev
* commit '20dc49235e213d40f75dca9005e0e248931ceff4':
  Fix lockscreen camera preview position in RTL.
2013-11-06 13:55:18 -08:00
John Spurlock
20dc49235e am 10b9ac80: Merge "Fix lockscreen camera preview position in RTL." into klp-dev
* commit '10b9ac807f7cc0817e8dd4b96d587ccd41f8f177':
  Fix lockscreen camera preview position in RTL.
2013-11-06 13:52:15 -08:00
John Spurlock
10b9ac807f Merge "Fix lockscreen camera preview position in RTL." into klp-dev 2013-11-06 21:48:41 +00:00
Jim Miller
5a31605a03 am 78244c83: am 32293469: Merge "Fix issue where transport control shows up off-screen on tablets" into klp-dev
* commit '78244c83fb633895c95f3c93ab874be979cf42e3':
  Fix issue where transport control shows up off-screen on tablets
2013-11-06 13:22:16 -08:00
Jim Miller
78244c83fb am 32293469: Merge "Fix issue where transport control shows up off-screen on tablets" into klp-dev
* commit '322934699433d703fa35505d72028abbcf8ce45f':
  Fix issue where transport control shows up off-screen on tablets
2013-11-06 13:19:27 -08:00
Jim Miller
3229346994 Merge "Fix issue where transport control shows up off-screen on tablets" into klp-dev 2013-11-06 21:15:17 +00:00
John Spurlock
b6c3b20d71 Fix lockscreen camera preview position in RTL.
Bug:11263914
Change-Id: Ic3e5157ceb82495d10afd74b3af2655434a9467c
2013-11-06 14:44:54 -05:00
Ruben Brunk
21a99ddd9c Disable face unlock when returning from camera.
Bug: 11063890

- Workaround for bug 11063890.  Avoids the acquire/release
  race when resuming face unlock while pausing the camera
  widget.
Change-Id: I0a58f3a07f346da72ea55772242b4f9c54537235
2013-11-06 10:21:43 -08:00
Jim Miller
81190befe6 Fix issue where transport control shows up off-screen on tablets
This fix selects the current page ealier in the reconstruction
of Keyguard to ensure the layout bounds of KeyguardWidgetPager are
correct by the time it does the initial layout.

In addition this change postpones selecting the transport page if
the transport was just added.

Fixes bug 11287144

Change-Id: I92ba8bb5e13c166d13fbaa26881f5034d5ab2104
2013-11-05 21:14:18 -08:00
Chris Craik
8c08fc27bb am f918444f: am 6fbd4829: Merge "Work around nested SaveLayerAlpha bug" into klp-dev
* commit 'f918444fdd34183c2577efe05a05ad3a0cdaba27':
  Work around nested SaveLayerAlpha bug
2013-11-05 18:56:52 -08:00
Chris Craik
f918444fdd am 6fbd4829: Merge "Work around nested SaveLayerAlpha bug" into klp-dev
* commit '6fbd4829a9614f0d6c668cd5ccba6cabdaeb81a0':
  Work around nested SaveLayerAlpha bug
2013-11-05 18:23:00 -08:00
Chris Craik
6fbd4829a9 Merge "Work around nested SaveLayerAlpha bug" into klp-dev 2013-11-06 02:20:20 +00:00
Chris Craik
362adb84d9 Work around nested SaveLayerAlpha bug
bug:11481077

Because TextView marquee and KeyguardSecurityViewFlipper use SaveLayer
(for the marquee fading effect and view alpha, respectively), both can
be nested, which hits a bug in the renderer resulting in artifacts.

Workaround this by setting a hardware layer on the marquee, so that
those marquee effects are drawn outside of the ViewFlipper.

Change-Id: If8b7ebb20d3959cb930a8bea2146ba3f8e659612
2013-11-05 17:41:21 -08:00
Jim Miller
39724755a5 am 6bb4af27: am e19ed435: Merge "Add explicit refererences and logging to KeyguardSim/Puk" into klp-dev
* commit '6bb4af273fde7c486f321c4ecdc7395acd6d0490':
  Add explicit refererences and logging to KeyguardSim/Puk
2013-11-05 13:26:36 -08:00
Baligh Uddin
b8ea1228c2 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-11-05 15:54:58 +00:00
Craig Mautner
7b5e3ff572 am d8158096: am eadd2134: Merge "Focus security fields before widgets." into klp-dev
* commit 'd8158096af449f2e3fd38011e66fae9b6303cd29':
  Focus security fields before widgets.
2013-11-04 21:55:16 -08:00
Victoria Lease
e63d6b4071 am 459f844e: am cd4919c0: Merge "Compose singleLine & textAllCaps transforms" into klp-dev
* commit '459f844eeadf1e364aea68f20887ccdb1c1d631a':
  Compose singleLine & textAllCaps transforms
2013-11-04 21:53:58 -08:00
Jim Miller
a0b2c0398e am 06749c2b: am 8ac67e62: Merge "Fix flash caused by frame resize code" into klp-dev
* commit '06749c2bc878f1359b09c28be2efae87405a923f':
  Fix flash caused by frame resize code
2013-11-04 21:53:44 -08:00
Jim Miller
6bb4af273f am e19ed435: Merge "Add explicit refererences and logging to KeyguardSim/Puk" into klp-dev
* commit 'e19ed43551bc1603a41f376883f69eeee12182f3':
  Add explicit refererences and logging to KeyguardSim/Puk
2013-11-04 19:21:32 -08:00
Jim Miller
4fc2b01fd0 Add explicit refererences and logging to KeyguardSim/Puk
Adds explicit references to the given threads in case they
are the victims of a GC and adds logging to help track down
this issue if not.

Bug 10323372

Change-Id: I8e2fe46e10bbc5d14e631d45d8869b3214213045
2013-11-04 17:11:46 -08:00
Craig Mautner
d8158096af am eadd2134: Merge "Focus security fields before widgets." into klp-dev
* commit 'eadd21343ca35613dd4aa285b16e40033fe0d225':
  Focus security fields before widgets.
2013-11-04 15:57:35 -08:00
Craig Mautner
eadd21343c Merge "Focus security fields before widgets." into klp-dev 2013-11-04 23:55:23 +00:00
Craig Mautner
f83324504e Focus security fields before widgets.
Focus normally proceeds top down through the view tree. Change the
order of focus so that the security fields have a chance to receive
focus before the widget fields.

Fixes bug 11203748.

Change-Id: Ie7f16e59652edbe64fa8342197fda81b53976360
2013-11-04 13:31:45 -08:00
Baligh Uddin
8e47c49db2 Import translations. DO NOT MERGE
Change-Id: I7a9d5895f35087999c286b2970e7867b0994fc9a
Auto-generated-cl: translation import
2013-11-04 09:19:30 -08:00
Victoria Lease
459f844eea am cd4919c0: Merge "Compose singleLine & textAllCaps transforms" into klp-dev
* commit 'cd4919c0325f35a279e17019c9c3c66d80481d30':
  Compose singleLine & textAllCaps transforms
2013-11-04 07:58:18 -08:00
Victoria Lease
cd4919c032 Merge "Compose singleLine & textAllCaps transforms" into klp-dev 2013-11-04 15:53:52 +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
50bdac61a1 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-11-01 14:35:02 +00: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
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
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
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
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