Searched refs:previewH (Results 1 – 1 of 1) sorted by relevance
163 float previewH = this.getHeight(); in onDraw() local172 … canvas.drawRect(0.04f * previewW, 0.03f * previewH, 0.96f * previewW, 0.05f * previewH, mPaint2); in onDraw()176 float y1 = (0.04f) * previewH; in onDraw()186 float y2 = 0.5f * previewH; in onDraw()210 float newY = r1.centerX() * previewH; in onDraw()212 float dY = r1.width() * previewH; in onDraw()227 newY = p[j].x * previewH; in onDraw()248 … float focalLengthH = 0.5f * previewH / (float) Math.tan(Math.toRadians(mFovLargeDegrees) * 0.5); in onDraw()256 y1 = y2 = previewH / 2 + focalLengthH * (float) Math.tan(i); in onDraw()264 y2 = previewH; in onDraw()