I have it set to resize, and the layout set to fill_parent
I'm told the size for lockscreen widgets changes on each device. It's not a set dip. So I can't assume anything.
I've just been trying to work this out too, I loaded the layout (hidden) in the activity and measured and stored that. It seems to be the same size if I display it and using it to draw onto a canvas doesn't seem to cause issues.
May not be the same for all devices, I haven't tested that yet. That's next.