Home
last modified time | relevance | path

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

/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DViewMatrix.java30 private int[] mScreenDim; field in ViewMatrix
58 if (src.mScreenDim != null) { in clone()
59 System.arraycopy(src.mScreenDim, 0, mScreenDim, 0, mScreenDim.length); in clone()
115 Log.v(LOGTAG, "mScreenDim :[" + mScreenDim[0] + ", " + mScreenDim[1] + "]"); in print()
122 mScreenDim = new int[2]; in ViewMatrix()
126 mScreenDim = new int[]{x, y}; in setScreenDim()
166 if (mScreenDim == null) { in calcMatrix()
169 double scale = mScreenWidth / mScreenDim[0]; in calcMatrix()
196 double sw = mScreenDim[0] / 2 - 0.5; in calcMatrix()
197 double sh = mScreenDim[1] / 2 - 0.5; in calcMatrix()
[all …]