HomeSort by relevance Sort by last modified time
    Searched refs:wResolution (Results 1 - 3 of 3) sorted by null

  /frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
MeshTest.java 105 private Mesh getMbyNMesh(float width, float height, int wResolution, int hResolution) {
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++) {
  /packages/wallpapers/Basic/src/com/android/wallpaper/fall/
FallRS.java 160 int wResolution = MESH_RESOLUTION;
165 wResolution += 2;
170 for (int x = 0; x <= wResolution; x++) {
171 tmb.addVertex(((float)x / wResolution) * 2.f - 1.f, yOffset);
177 final int yOffset = y * (wResolution + 1);
178 for (int x = 0; x < wResolution; x++) {
180 final int iWR1 = index + wResolution + 1;
193 mMeshWidth = wResolution + 1;
  /frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
RsRenderStatesRS.java 140 private Mesh getMbyNMesh(float width, float height, int wResolution, int hResolution) {
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 38 milliseconds