Back to project page CameraDemo.
The source code is released under:
Apache License
If you think the Android project CameraDemo listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.binary.one.camera.demo; /*from w w w .ja v a2 s . c o m*/ import android.graphics.Rect; /** * Stores Entities and holds constants pertaining to physics and the screen. */ public class World { private Rect mBoundingBox = null; public World(Rect boundingBox) { mBoundingBox = boundingBox; } public static class Constants { public static final float GRAVITY = 3.0f; public static final float WIDTH = 1920.0f; public static final float HEIGHT = 1080.0f; } }