Home
last modified time | relevance | path

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

/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/compress/
DMultiCompressorTest.java102 double ratio = bestSize / (double) defaultSize;
103 assertTrue(ratio < 1.0);
111 MoreExecutors.directExecutor(), resultOptions.getTracker(), ratio + 0.001));
132 double ratio = bestSize / (double) defaultSize;
133 assertTrue(ratio < 1.0);
141 MoreExecutors.directExecutor(), resultOptions.getTracker(), ratio - 0.001));
/tools/test/graphicsbenchmark/apps/sample_app/src/cpp/
Drenderer.cpp131 float ratio = float(w) / h; in initDisplay() local
132 egl.left = -ratio; in initDisplay()
133 egl.right = ratio; in initDisplay()
215 float ratio = float(egl.width) / egl.height; in draw() local
216 Mat4 projectionMatrix = Mat4::Ortho2D(-ratio, 1.0f, ratio, -1.0f); in draw()