Home
last modified time | relevance | path

Searched refs:baseSize (Results 1 – 2 of 2) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameView.java93 float baseSize = getContext().getResources().getDisplayMetrics().density * 5f; in GameView() local
94 float baseSpeed = baseSize * 3; in GameView()
96 mShipSize = baseSize * 3; in GameView()
100 mBulletSize = baseSize; in GameView()
103 mMinObstacleSize = baseSize * 2; in GameView()
104 mMaxObstacleSize = baseSize * 12; in GameView()
/development/samples/ControllerSample/src/com/example/controllersample/
DGameView.java95 float baseSize = getContext().getResources().getDisplayMetrics().density * 5f; in GameView() local
96 mBaseSpeed = baseSize * 3; in GameView()
98 mShipSize = baseSize * 3; in GameView()
100 mBulletSize = baseSize; in GameView()
102 mMinObstacleSize = baseSize * 2; in GameView()
103 mMaxObstacleSize = baseSize * 12; in GameView()