summaryrefslogtreecommitdiffstats
path: root/gui/patternpassword.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-03-18Vibration: allow BoardConfig to disable vibration for a device.bigbiff bigbiff1-0/+8
Change-Id: Ibd2f67391ce6d7774498839829e0de9391508781
2017-01-18Add missing license headersMatt Mower1-0/+18
Change-Id: I7f807a2f140068181524d8e868d029b4d94c70e8
2017-01-18Whitespace cleanupMatt Mower1-41/+41
Change-Id: I93c65973679894bb8587da4b38b410d38036b8bd
2016-08-22Gui: replace pow() functionnailyk1-3/+6
The old pow function doesn't work for other power than 2 - replace pow function by a squared one Solve the TeamWin/Team-Win-Recovery-Project#646 issue. Change-Id: Id177300d45a7b49ff983795288434d910eb35c2a
2016-02-17patternpassword: update large grid password schemeSultan Qasim Khan1-13/+23
CM13 and up no longer use the two method scheme. Change-Id: I21154becb5d7e77a54a5a07e649fe64829173a01
2016-01-27Update minuitwrp graphics in line with latest minuiEthan Yonker1-1/+1
Note: events.cpp is still old code renamed to cpp to make it easier to call functions like gr_fb_width(). I had to modify AOSP fbdev code to provide a separate memory surface for drawing to as drawing directly to the framebuffer resulted in rendering taking about 5 times longer. I also modified AOSP adf code to provide a separate memory surface for drawing for the same performance reasons. The Nexus 9 supports adf graphics. Overlay graphics work on at least one device. Overlay provides a separate memory buffer already so performance is good. I do not have a drm device yet that I know of. I made some attempt to update the drm code to determine the correct pixel format based on the drm graphics format, but what is available in pixel flinger and what is available in drm do not line up all that well. Reports are that the Pixel C is using drm graphics, but performance is slow, likely due to the use of a mmap instead of a memory buffyer. Change-Id: Ibd45bccca6ac2cb826037aa9b2aa5065cf683eed
2016-01-02gui: PatternPassword: allow any N*N gridAleksa Sarai1-37/+175
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 <cyphar@cyphar.com>
2015-03-19Fix GUIPatternPassword when the pattern crosses already visited dotsVojtech Bocek1-8/+13
Change-Id: I59b3f8c5604c036dbc74c020ee21aeeef28132d3 Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
2015-03-13Add UI for entering pattern for device decryptionVojtech Bocek1-0/+313
Change-Id: Ia2d3268a96423e9ca3846500c57e674c4f8fa60b Signed-off-by: Vojtech Bocek <vbocek@gmail.com>