Home
last modified time | relevance | path

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

/development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/
DAccelerometerPlayActivity.java114 private static final float sBallDiameter = 0.004f; field in AccelerometerPlayActivity.SimulationView
115 private static final float sBallDiameter2 = sBallDiameter * sBallDiameter;
299 final float c = (0.5f * (sBallDiameter - d)) / d; in update()
357 final int dstWidth = (int) (sBallDiameter * mMetersToPixelsX + 0.5f); in SimulationView()
358 final int dstHeight = (int) (sBallDiameter * mMetersToPixelsY + 0.5f); in SimulationView()
373 mHorizontalBound = ((w / mMetersToPixelsX - sBallDiameter) * 0.5f); in onSizeChanged()
374 mVerticalBound = ((h / mMetersToPixelsY - sBallDiameter) * 0.5f); in onSizeChanged()