Searched refs:wResolution (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DMeshTest.java105 private Mesh getMbyNMesh(float width, float height, int wResolution, int hResolution) { argument
113 for (int x = 0; x <= wResolution; x++) {
114 float normalizedX = (float)x / wResolution;
122 final int curY = y * (wResolution + 1);
123 final int belowY = (y + 1) * (wResolution + 1);
124 for (int x = 0; x < wResolution; x++) {
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
H A DRsRenderStatesRS.java140 private Mesh getMbyNMesh(float width, float height, int wResolution, int hResolution) { argument
148 for (int x = 0; x <= wResolution; x++) {
149 float normalizedX = (float)x / wResolution;
157 final int curY = y * (wResolution + 1);
158 final int belowY = (y + 1) * (wResolution + 1);
159 for (int x = 0; x < wResolution; x++) {

Completed in 497 milliseconds