From b25a18395e666bbe13506651d5de84054aae0fcc Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Thu, 31 Dec 2015 17:36:00 +0100 Subject: gui: PatternPassword: allow any N*N grid Rather than only supporting a 3x3 grid, allow for multiple grid sizes (using the CyanogenMod method of generating passphrases for non-3x3 grids). Also fix the detection of touches, as the old code was far too sensitive for larger grids (and also didn't make much sense). Change-Id: I343ef654e6d29ce0cb790a28281be7c7c9b171d9 Signed-off-by: Aleksa Sarai --- gui/theme/common/landscape.xml | 39 ++++++++++++++++++-- gui/theme/common/languages/en.xml | 1 + gui/theme/common/portrait.xml | 37 +++++++++++++++++-- gui/theme/common/watch.xml | 76 ++++++++++++++++++++++++++++++++++++++- 4 files changed, 147 insertions(+), 6 deletions(-) (limited to 'gui/theme/common') diff --git a/gui/theme/common/landscape.xml b/gui/theme/common/landscape.xml index 938c8548d..35986dddc 100755 --- a/gui/theme/common/landscape.xml +++ b/gui/theme/common/landscape.xml @@ -176,6 +176,10 @@ + + @@ -3911,19 +3915,48 @@ - + {@decrypt_data_enter_pattern=Enter Pattern.} + + + + {@decryt_data_failed_pattern=Pattern failed, please try again!} + + - - + trydecrypt + + + + + + + + + + + + + + +