527 Commits

Author SHA1 Message Date
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
1a694b9144 Import translations. DO NOT MERGE
Change-Id: Ic9b837069430c7e85e1774e8fff850518bc24a73
Auto-generated-cl: translation import
2013-11-04 09:21:23 -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
5f3b6c044d am 7e52013d: am 6b149dcf: am c5481343: Merge "Fix weird page snap bug when long pressing on music controls (issue 11420449)" into klp-dev
* commit '7e52013d02a36652f7125774b9c93f3405303d67':
  Fix weird page snap bug when long pressing on music controls (issue 11420449)
2013-11-01 11:56:42 -07:00
John Spurlock
43eed4775d am 9b8145f7: am 17433a63: am b7824a94: Merge "Manage keyguard nav elements using transitions." into klp-dev
* commit '9b8145f774b0bcccd0b98b1a830a6434a39f3aa2':
  Manage keyguard nav elements using transitions.
2013-11-01 11:56:39 -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
abff85567b Merge "Import translations. DO NOT MERGE" 2013-11-01 14:35:09 +00: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
20400abdb8 am 9916eb6e: am 39541bfa: am a0bc738f: Merge "Move coalescing to callback, optimize KeyguardStatusView." into klp-dev
* commit '9916eb6ecbb6225d0b98c7090b75b8d1f4c0833e':
  Move coalescing to callback, optimize KeyguardStatusView.
2013-10-31 11:47:57 -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
94976ef825 am c74d0b6c: am 744e0a33: am 6dc499c6: Merge "Save and restore media metadata." into klp-dev
* commit 'c74d0b6cf4a51a24057255452edb2fce4941347c':
  Save and restore media metadata.
2013-10-30 14:15:10 -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
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
146a9effd2 Import translations. DO NOT MERGE
Change-Id: I6562d76f34b2bc4a701796a3a18fce1c919fd8f9
Auto-generated-cl: translation import
2013-10-30 08:57: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
Jim Miller
d2a46a9a6a am ea1a439a: am 3641571c: am ae47d826: Merge "Add an intermediate dimens resource for 540dp device." into klp-dev
* commit 'ea1a439a900b27cf1eb67ec6ed9e6ae43d754b43':
  Add an intermediate dimens resource for 540dp device.
2013-10-29 19:51:49 -07: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
3ec7e54c8a am 646f19c9: am de50a5e7: am 927d854f: Merge "Optimize sysui ui queue during keyguard unlock." into klp-dev
* commit '646f19c929ae85ab703533c36962292fa6c990ca':
  Optimize sysui ui queue during keyguard unlock.
2013-10-29 14:59:35 -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
John Spurlock
e7c285725d Optimize sysui ui queue during keyguard unlock.
Target the two biggest offenders:
 - Coalesce keyguard setHidden(false) calls during unlock.
 - Make sysui->WM call async.

Found during investigation into b/11221659.

Bug: 11221659
Change-Id: Icab48376bc356a933e0f9940bc2f924e2e77ab22
2013-10-29 14:27:41 -04:00
Chris Wren
7aff326aa7 am e0b3f3e1: am 4742fe3c: am 64742f84: Merge "show duration instead of remaining time." into klp-dev
* commit 'e0b3f3e106d5b0b9eb31ed3bd43c8a536eb8d1ee':
  show duration instead of remaining time.
2013-10-29 10:43:13 -07:00
Chris Wren
38363d14d6 am af5d6e49: am f535a6ae: am 5ab93d87: Merge "reduce garbage generation in KeyguardTransportControlView." into klp-dev
* commit 'af5d6e49526e97a267bedf076797fde6e9589bba':
  reduce garbage generation in KeyguardTransportControlView.
2013-10-29 10:43:09 -07:00
Chris Wren
e0b3f3e106 am 4742fe3c: am 64742f84: Merge "show duration instead of remaining time." into klp-dev
* commit '4742fe3cd79cf1f7d0c84ba87ee3ebdd5eb175d0':
  show duration instead of remaining time.
2013-10-29 10:41:09 -07:00
Chris Wren
af5d6e4952 am f535a6ae: am 5ab93d87: Merge "reduce garbage generation in KeyguardTransportControlView." into klp-dev
* commit 'f535a6aef04b9673a0f6748da0018b962833dd9e':
  reduce garbage generation in KeyguardTransportControlView.
2013-10-29 10:41:06 -07:00
Chris Wren
4742fe3cd7 am 64742f84: Merge "show duration instead of remaining time." into klp-dev
* commit '64742f8469ce270b6ecf437a624b69dde7a5a056':
  show duration instead of remaining time.
2013-10-29 10:39:28 -07:00