diff options
author | John Spurlock <jspurlock@google.com> | 2013-09-21 18:41:53 -0400 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2013-09-23 15:59:15 -0400 |
commit | 257f283b0e4cc1c1fa4e7f2472d3ee4ab3b451d0 (patch) | |
tree | 4e41e39ec21590d90017af58f9d16fdff06628dc /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | f9b70ab87e8f26b57ac3d8dc3b77052e747cb888 (diff) |
Introduce transparent bars to the keyguard.
Driven by a new framework config bool. Tested on all layouts,
but disabled by default. Can be enabled with a config overlay.
(Sliding/MultiPane)ChallengeLayout have custom measure/layout
logic that peeks at the root view's padding (!). So we must keep
the root view's padding = system window insets. However, we need
the scrims + the fullscreen camera widget preview to use the entire
display size if the bars are transparent.
So the approach is to maintain the root view's
(KeyguardViewManager$ViewManagerHost) padding as before via
setFitsSystemWindows(true) but allow non KeyguardHostViews to
extend into the padding if bars are transparent via a custom
measure/draw on the root view.
KeyguardHostView background + challege scrims moved up to the
root view.
Also:
- Remove logspam line for fixed bug.
- Fix status bar staying opaque on interaction on secure keyguard.
Known issues:
- Nav bar blip dismissing global actions, keyguard app widget picker
bars are opaque. Both will use the new inherit flag once it exists.
- Emergency dialer layout dance, will be fixed in the phone project.
Bug:10606085
Change-Id: I2648b4ee9a54a67324ce9dcbab976ad4da4bbcfa
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions