Revert "Revert "Framwork: Add support for variable size pattern lockscreen (Part 1/2)""

This reverts commit c0ce13d8b6ad2c8457719f2d518fbc000948eb66.