This is the android studio port of https://code.google.com/p/android-lockpattern/