Home
last modified time | relevance | path

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

/development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/
DAccelerometerPlayActivity.java126 private float mMetersToPixelsX; field in AccelerometerPlayActivity.SimulationView
352 mMetersToPixelsX = mXDpi / 0.0254f; in SimulationView()
357 final int dstWidth = (int) (sBallDiameter * mMetersToPixelsX + 0.5f); in SimulationView()
373 mHorizontalBound = ((w / mMetersToPixelsX - sBallDiameter) * 0.5f); in onSizeChanged()
436 final float xs = mMetersToPixelsX; in onDraw()