History log of /frameworks/base/core/java/com/android/internal/widget/FaceUnlockView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ddbf138d11d9ad4fa9ec871b2fc5862dad20f02c 30-Oct-2012 Brian Colonna <bcolonna@google.com> Fixed misplacement of cancel(X) button for Face Unlock

Before the FUL service started, the FUL cancel button was positioned
off of the right side of the window. This was because the
FaceUnlockView (derived from RelativeLayout) was calling
super.onMeasure() incorrectly, preventing it from using the new
'square' size when laying out child views.

Change-Id: I2f1e86617da5c8f37123febab2e433288bdea062
/frameworks/base/core/java/com/android/internal/widget/FaceUnlockView.java
68d257d788f5154922cd605ab8079a5c0815dffc 30-Oct-2012 Brian Colonna <bcolonna@google.com> FUL uses square aspect ratio for all layouts fixes b/7426399

When the referenced bug was filed, face unlock was only showing as a
tiny sliver on tablet layouts. Due to other changes in the lockscreen
branch, it was no longer a sliver, but was still an incorrect layout,
with a width much greater than height. This change makes face unlock
square for all layouts.

The face unlock RelativeLayout was replaced with a custom
FaceUnlockView derived from RelativeLayout. The new view forces a
square layout using the same technique used by LockPatternView.

Note that there is still a bug where the pattern view covers the widget
area on portrait tablet layouts. The face unlock view has this same
issue, but may resolve itself when the pattern bug is fixed.

Also note there are two other Face Unlock tablet bugs that existed
before this change (and therefore are not caused by this change):
- flash during transition from spotlight animation to camera preview
- PIN backup is upper-left instead of centered

Change-Id: I550eccfa3924f230a9dc43f0a9b59f1ea55a9273
/frameworks/base/core/java/com/android/internal/widget/FaceUnlockView.java