331 Commits

Author SHA1 Message Date
Jim Miller
c9cc6907ac am 5e3ab35c: am f3cad918: am db148b65: Merge "Fix memory leak and slowness in keyguard" into klp-dev
* commit '5e3ab35c0aaadcec496d18d1a66e79c35a7f8ffd':
  Fix memory leak and slowness in keyguard
2013-10-15 21:00:33 -07:00
Jim Miller
5e3ab35c0a am f3cad918: am db148b65: Merge "Fix memory leak and slowness in keyguard" into klp-dev
* commit 'f3cad9184f6ef56be403369d87fd0fa1cbd9de86':
  Fix memory leak and slowness in keyguard
2013-10-15 20:58:27 -07:00
Jim Miller
db148b6556 Merge "Fix memory leak and slowness in keyguard" into klp-dev 2013-10-16 03:52:10 +00:00
Jim Miller
b2c64690a3 Fix memory leak and slowness in keyguard
This fixes an issue where the mUpdateSeekBars runnable was being
repeatedly posted to the handler while keeping a reference to
the transport control (and hence keyguard).  Even after the view
was detached from keyguard it would continue to post events that
would ultimately keep the instance of keyguard from being GC'd and
cause keyguard to slow down.

Fixes 11169793

Change-Id: If2bb238adf6d78101589926b60a61d9f187c6d1c
2013-10-15 20:11:50 -07:00
Adam Powell
4a99019d66 am 1af10256: am cb13a546: am 49b6d38f: Merge "Fix dodgy states of keyguard transport controls" into klp-dev
* commit '1af10256cd07c2c096e22038379210866dff82a2':
  Fix dodgy states of keyguard transport controls
2013-10-15 18:48:37 -07:00
Adam Powell
1af10256cd am cb13a546: am 49b6d38f: Merge "Fix dodgy states of keyguard transport controls" into klp-dev
* commit 'cb13a5460495d7b05e1667397166330bb3ac412a':
  Fix dodgy states of keyguard transport controls
2013-10-15 18:44:47 -07:00
Adam Powell
49b6d38fe7 Merge "Fix dodgy states of keyguard transport controls" into klp-dev 2013-10-16 01:41:22 +00:00
Adam Powell
bdb5ac7ddb Fix dodgy states of keyguard transport controls
If a layout has already been requested when we want to show the
correct widget pane, post the event for later and immediately return.

This works because PagedView has some interesting ideas about
maintaining a consistent state. It will attempt to recalculate the
current page position during measurement, but thanks to a reliance on
this measurement to establish scrolling boundaries that scrollTo uses
for clamping plus other code that depends on the idea that it can add
a new widget pane view and immediately scroll to it, this attempt to
scroll fails if the target page was added and measurement is not yet
complete. This patch ensures we don't hit these edge cases in a few
known ways.

While this ends things in the correct state, it predictably has a few
visual artifacts. Situations where things would completely fail
before, positioning pages incorrectly or fading out wrong pages now
will briefly flash and fade the widget frames or in some cases will
visibly animate from the starting page to the correct one. We should
address these issues in a future release.

Bug 11217368
Bug 9760604

Change-Id: I989d03b5bfdd5b6403a6b67a8aae7585ca0c8ae0
2013-10-15 18:10:41 -07:00
Jim Miller
7041bd2c42 am 35077089: am d5bda747: am 2cc95775: Merge "Fix possible crash in System UI" into klp-dev
* commit '3507708905e2d4aced05ece0d157ee9def40b624':
  Fix possible crash in System UI
2013-10-15 17:29:46 -07:00
Jim Miller
3507708905 am d5bda747: am 2cc95775: Merge "Fix possible crash in System UI" into klp-dev
* commit 'd5bda747971db5fc2dde78dcc5bb42e62659667d':
  Fix possible crash in System UI
2013-10-15 16:17:06 -07:00
Jim Miller
2cc9577575 Merge "Fix possible crash in System UI" into klp-dev 2013-10-15 21:44:48 +00:00
Jim Miller
faaa3654d1 Fix possible crash in System UI
Fixes bug 11215581

Change-Id: Ic76ad783729316539e8e57feb098d6e823b4ecdf
2013-10-15 13:46:51 -07:00
Jim Miller
2836cd74a9 am fc6625db: am 2399d6a4: am 7f988c2b: Merge "Don\'t move clock when warping in PagedView" into klp-dev
* commit 'fc6625db32412e3416287d160d2334e25a36d37f':
  Don't move clock when warping in PagedView
2013-10-15 05:05:15 -07:00
Jim Miller
14d9a02506 am 566c4a0b: am 6915644d: am f7b75eeb: Merge "Add additional MNC overlays" into klp-dev
* commit '566c4a0bc55958b196c6503e95112e2b288a9f4a':
  Add additional MNC overlays
2013-10-15 04:02:04 -07:00
Jim Miller
fc6625db32 am 2399d6a4: am 7f988c2b: Merge "Don\'t move clock when warping in PagedView" into klp-dev
* commit '2399d6a4f0d14e118ab706777753d3e2a5657dbc':
  Don't move clock when warping in PagedView
2013-10-14 19:08:04 -07:00
Jim Miller
566c4a0bc5 am 6915644d: am f7b75eeb: Merge "Add additional MNC overlays" into klp-dev
* commit '6915644d5b978706e147ae1fc4f91bb3d3641c11':
  Add additional MNC overlays
2013-10-14 19:00:17 -07:00
Jim Miller
7f988c2bbb Merge "Don't move clock when warping in PagedView" into klp-dev 2013-10-15 01:57:25 +00:00
Jim Miller
1c058a68e9 Don't move clock when warping in PagedView
This fixes a bug where the clock would appear to move when flinging
the camera widget while warping.  To accomplish this,  it no longer
scrolls while warping but rather updates the warp view's translationX.
When the finger is released or a fling happens, we either smoothly
animate the view back (without scrolling) or update the scroll position
and let the scroller take over the animation.

Fixes bug 11191094

Change-Id: I33f087cf4fb2ec31db11d69d11055b513604b1d1
2013-10-14 16:09:50 -07:00
Jim Miller
0ed6d68496 Add additional MNC overlays
Fixes bug 10518893

Change-Id: If8f46202f593e545fe38c4803481b266b60543b9
2013-10-14 13:57:46 -07:00
Jim Miller
53e711fff6 am 7c4f3b81: am a55feec8: am f89ff85f: Merge "Hide the camera and search icons when switching to the camera page" into klp-dev
* commit '7c4f3b8134c9fa4403d070161930623efa9ac577':
  Hide the camera and search icons when switching to the camera page
2013-10-14 10:52:52 -07:00
Jim Miller
f6dd090d98 am 91feb766: am 43b0ce62: am 05da3280: Merge "Fix warp animation in keyguard" into klp-dev
* commit '91feb766f9b1f121611d26931e6cd65e46ddfd01':
  Fix warp animation in keyguard
2013-10-14 10:52:48 -07:00
Jim Miller
e23ced5ecc am 51171688: am 7f210cbb: am 103a734b: Merge "Fix bug where lockout timeout is shown for SIM in keyguard" into klp-dev
* commit '51171688154947124fe8868cdcd43fbbe4fff495':
  Fix bug where lockout timeout is shown for SIM in keyguard
2013-10-14 10:52:29 -07:00
Jim Miller
11ea370b79 am 8360bde1: am d04244d4: am 7fa498bf: Merge "Disable the camera and search buttons while we\'re in bouncer mode." into klp-dev
* commit '8360bde120e71389cc3b7a436a95e0e5a4e98bca':
  Disable the camera and search buttons while we're in bouncer mode.
2013-10-14 10:52:24 -07:00
Jim Miller
1398e8944f am c57b9430: am 0cdab579: am 39eaeb99: Merge "Update clock to use 14dp instead of 12dp for status info." into klp-dev
* commit 'c57b9430444683654eb45ac93df6df2e9a36e09f':
  Update clock to use 14dp instead of 12dp for status info.
2013-10-14 10:51:57 -07:00
Adam Powell
f5631334eb am 2f6a29ed: am 6e158a2b: am 18e12147: Merge "Tighten up the KG transport control layout for stability" into klp-dev
* commit '2f6a29ed68adf467a30086a5165da983b910ce94':
  Tighten up the KG transport control layout for stability
2013-10-14 10:51:33 -07:00
Adam Powell
0f58327f6a am b0d1ee90: am e9ced533: am f5176922: Use INVISIBLE instead of GONE to hide KG transport buttons
* commit 'b0d1ee9033e72a457f19563c966cd28ed647aa83':
  Use INVISIBLE instead of GONE to hide KG transport buttons
2013-10-14 10:51:23 -07:00
Jim Miller
a200cad2d3 am c2bf92d4: am 09abd164: am 2222a508: Merge "Fix problem where PhoneWindowManager waits for keyguard to draw" into klp-dev
* commit 'c2bf92d42a032c9dadd25904a5b0f183585dc024':
  Fix problem where PhoneWindowManager waits for keyguard to draw
2013-10-14 10:50:02 -07:00
Jim Miller
a9c6cb6013 am c69fa275: am 8eebe3b5: am dc70340d: Merge "Enable time format localization in keyguard" into klp-dev
* commit 'c69fa2751350355370a85ab0b92655b73047b91e':
  Enable time format localization in keyguard
2013-10-14 10:49:40 -07:00
Jim Miller
a2319d1210 am 4f2bcde9: am 51f2d8ef: am 11def8f0: Merge "Delay all widget additions in keyguard until after boot completes" into klp-dev
* commit '4f2bcde9db26523fd7c048be1b502f12328ee60c':
  Delay all widget additions in keyguard until after boot completes
2013-10-14 10:48:30 -07:00
Jim Miller
7c4f3b8134 am a55feec8: am f89ff85f: Merge "Hide the camera and search icons when switching to the camera page" into klp-dev
* commit 'a55feec8d2c982628a7357fcfbfb0102aa693771':
  Hide the camera and search icons when switching to the camera page
2013-10-13 17:49:03 -07:00
Jim Miller
f89ff85f6c Merge "Hide the camera and search icons when switching to the camera page" into klp-dev 2013-10-14 00:44:13 +00:00
Jim Miller
fadccf1d0e Hide the camera and search icons when switching to the camera page
Partial fix for bug 11190737

Change-Id: I8b14a0b32cec51fe381f8ef110a13623d8324938
2013-10-13 17:26:39 -07:00
Jim Miller
91feb766f9 am 43b0ce62: am 05da3280: Merge "Fix warp animation in keyguard" into klp-dev
* commit '43b0ce62c8322f2d4d3cd9946083968a0f14102c':
  Fix warp animation in keyguard
2013-10-13 17:12:06 -07:00
Jim Miller
05da328078 Merge "Fix warp animation in keyguard" into klp-dev 2013-10-14 00:06:49 +00:00
Jim Miller
afef5b23a1 Fix warp animation in keyguard
This fixes a problem where the warp page was remaining onscreen due to a
race between the animation completing and releasing the finger.  The fix
is to track when the page is onscreen or when the warp is still animating
to ensure we hide it when we're done.

Change-Id: Ie53c65d276032da16cd42ec84b23ae812fc7e2eb
2013-10-13 17:02:11 -07:00
Jim Miller
5117168815 am 7f210cbb: am 103a734b: Merge "Fix bug where lockout timeout is shown for SIM in keyguard" into klp-dev
* commit '7f210cbbea61bae3c70e230d84fdae4f1f9d00b3':
  Fix bug where lockout timeout is shown for SIM in keyguard
2013-10-13 16:02:29 -07:00
Jim Miller
8360bde120 am d04244d4: am 7fa498bf: Merge "Disable the camera and search buttons while we\'re in bouncer mode." into klp-dev
* commit 'd04244d482b3062b1790a636779785a50243b4cc':
  Disable the camera and search buttons while we're in bouncer mode.
2013-10-13 16:02:26 -07:00
Jim Miller
103a734b66 Merge "Fix bug where lockout timeout is shown for SIM in keyguard" into klp-dev 2013-10-13 22:54:21 +00:00
Jim Miller
7fa498bf9b Merge "Disable the camera and search buttons while we're in bouncer mode." into klp-dev 2013-10-13 22:53:37 +00:00
Jim Miller
c57b943044 am 0cdab579: am 39eaeb99: Merge "Update clock to use 14dp instead of 12dp for status info." into klp-dev
* commit '0cdab579a44fdb8900b7490b1d9816f0970c6ebb':
  Update clock to use 14dp instead of 12dp for status info.
2013-10-13 14:29:34 -07:00
Jim Miller
39eaeb99c3 Merge "Update clock to use 14dp instead of 12dp for status info." into klp-dev 2013-10-13 21:24:42 +00:00
Jim Miller
94a52da03b Update clock to use 14dp instead of 12dp for status info.
Fixes bug 11195120

Change-Id: Ifa24ad80f64363e2cc815de67d2e99a27eef3425
2013-10-13 14:13:56 -07:00
Adam Powell
2f6a29ed68 am 6e158a2b: am 18e12147: Merge "Tighten up the KG transport control layout for stability" into klp-dev
* commit '6e158a2bcb03bf54424fad6025c7ccd0b91baec0':
  Tighten up the KG transport control layout for stability
2013-10-13 12:15:17 -07:00
Adam Powell
18e1214790 Merge "Tighten up the KG transport control layout for stability" into klp-dev 2013-10-13 19:07:43 +00:00
Adam Powell
00298a5126 Tighten up the KG transport control layout for stability
Decrease margin between elements to allow the transport controls to
fully fit within the space allotted on some devices. This prevents
unwanted resizing and shuffling when the challenge is swiped downward
to make more room for the current widget page.

Also remove some unused views from features not currently supported.

Bug 11158270

Change-Id: Id5b19a9399760e291495a16def315c7ad6437450
2013-10-13 11:55:08 -07:00
Adam Powell
b0d1ee9033 am e9ced533: am f5176922: Use INVISIBLE instead of GONE to hide KG transport buttons
* commit 'e9ced533fab98f8b0272768d3b916be01c73f1c4':
  Use INVISIBLE instead of GONE to hide KG transport buttons
2013-10-13 11:14:37 -07:00
Adam Powell
f51769221c Use INVISIBLE instead of GONE to hide KG transport buttons
Maintain a stable/predictable button layout when a remote control
client shows or hides specific transport control buttons.

Bug 11195246

Change-Id: I0e745150127c5e354ed2752c379e05ea8e0bd33d
2013-10-13 10:39:04 -07:00
Jim Miller
7d5e00ab2b Fix bug where lockout timeout is shown for SIM in keyguard
Fixes bug 11193577

Change-Id: I62964c478bdb060ea6964009fc99bc3d7b5e3f80
2013-10-11 22:45:57 -07:00
Jim Miller
c2bf92d42a am 09abd164: am 2222a508: Merge "Fix problem where PhoneWindowManager waits for keyguard to draw" into klp-dev
* commit '09abd164e722dfc03dad48106a557217563d3b21':
  Fix problem where PhoneWindowManager waits for keyguard to draw
2013-10-11 21:35:24 -07:00
Jim Miller
2222a508e7 Merge "Fix problem where PhoneWindowManager waits for keyguard to draw" into klp-dev 2013-10-12 04:29:01 +00:00