Home
last modified time | relevance | path

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

/developers/build/prebuilts/androidtv/visual-game-controller/src/com/example/android/visualgamecontroller/
DControllerView.java64 private float mDisplayRatio = 1.0f; field in ControllerView
240 mDisplayRatio = displayHeight * 1.0f / controllerBitmapHeight; in loadBitmaps()
243 (int) (mAxisBitmap.getWidth() * mDisplayRatio), in loadBitmaps()
244 (int) (mAxisBitmap.getHeight() * mDisplayRatio), in loadBitmaps()
247 (int) (mBlueLedBitmap.getWidth() * mDisplayRatio), in loadBitmaps()
248 (int) (mBlueLedBitmap.getHeight() * mDisplayRatio), in loadBitmaps()
251 (int) (mRightDirectionalBitmap.getWidth() * mDisplayRatio), in loadBitmaps()
252 (int) (mRightDirectionalBitmap.getHeight() * mDisplayRatio), in loadBitmaps()
255 (int) (mTopDirectionalBitmap.getWidth() * mDisplayRatio), in loadBitmaps()
256 (int) (mTopDirectionalBitmap.getHeight() * mDisplayRatio), in loadBitmaps()
[all …]