Searched refs:ratio (Results 1 – 2 of 2) sorted by relevance
102 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));
131 float ratio = float(w) / h; in initDisplay() local132 egl.left = -ratio; in initDisplay()133 egl.right = ratio; in initDisplay()215 float ratio = float(egl.width) / egl.height; in draw() local216 Mat4 projectionMatrix = Mat4::Ortho2D(-ratio, 1.0f, ratio, -1.0f); in draw()