Searched refs:widthRatio (Results 1 – 3 of 3) sorted by relevance
197 float widthRatio = (float) widths[i] / outputBuffer.yuvStrides[i]; in onDrawFrame() local202 new float[] {0.0f, 0.0f, 0.0f, 1.0f, widthRatio, 0.0f, widthRatio, 1.0f}); in onDrawFrame()
1383 final int widthRatio = Math.round((float) sWidth() / (float) reqWidth); in calculateInSampleSize() local1388 inSampleSize = heightRatio < widthRatio ? heightRatio : widthRatio; in calculateInSampleSize()
1784 float widthRatio = static_cast<float>(region.srcOffsets[1].x - region.srcOffsets[0].x) / in blit() local1790 float x0 = region.srcOffsets[0].x + (0.5f - region.dstOffsets[0].x) * widthRatio; in blit()1830 widthRatio, in blit()