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

Thanks to SlimRoms/CyanogenMod:
https://github.com/SlimRoms/frameworks_base/commit/ab39eaa59f8312cfb72892c3d8d1714feb95dca8