Frameworks: Add support for variable size pattern lockscreen (Part 1/2)