When a live wallpaper is being previewed in the Live Wallpaper Preview, it seems that the xOffset and yOffset are set to 0. This results in the preview always showing one corner of the scene. In most cases, it would be preferable to show the center of the scene.
Is there any way to detect whether the surface view is in the live wallpaper picker instead of as the wallpaper, so the code can react to the 0 offsets?
Found the answer. In your Engine, sometime after onCreate() is first called, call isPreview() to find out.