Home
last modified time | relevance | path

Searched refs:wResolution (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
Dui_test.rs290 static void drawMeshInPage(float xStart, float yStart, int wResolution, int hResolution) {
313 for (int x = 0; x < wResolution; x++) {
321 int i = (y * wResolution + x) % 100;
333 static void displayImageWithText(int wResolution, int hResolution, int meshMode) {
341 drawMeshInPage(0, 0, wResolution, hResolution);
342 drawMeshInPage(-1.0f*gRenderSurfaceW, 0, wResolution, hResolution);
343 drawMeshInPage(1.0f*gRenderSurfaceW, 0, wResolution, hResolution);
346 drawMeshInPage(-2.0f*gRenderSurfaceW, 0, wResolution, hResolution);
347 drawMeshInPage(2.0f*gRenderSurfaceW, 0, wResolution, hResolution);
400 static void displayLiveWallPaper(int wResolution, int hResolution) {
[all …]
DMeshTest.java105 private Mesh getMbyNMesh(float width, float height, int wResolution, int hResolution) { in getMbyNMesh() argument
113 for (int x = 0; x <= wResolution; x++) { in getMbyNMesh()
114 float normalizedX = (float)x / wResolution; in getMbyNMesh()
122 final int curY = y * (wResolution + 1); in getMbyNMesh()
123 final int belowY = (y + 1) * (wResolution + 1); in getMbyNMesh()
124 for (int x = 0; x < wResolution; x++) { in getMbyNMesh()
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
DRsRenderStatesRS.java140 private Mesh getMbyNMesh(float width, float height, int wResolution, int hResolution) { in getMbyNMesh() argument
148 for (int x = 0; x <= wResolution; x++) { in getMbyNMesh()
149 float normalizedX = (float)x / wResolution; in getMbyNMesh()
157 final int curY = y * (wResolution + 1); in getMbyNMesh()
158 final int belowY = (y + 1) * (wResolution + 1); in getMbyNMesh()
159 for (int x = 0; x < wResolution; x++) { in getMbyNMesh()