Home
last modified time | relevance | path

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

/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/d1new/
DKernelDataForRenderScriptd1new.java109 float dy0 = -0.5f + 1.0f / (2 * getNumSubPixels()); in generateDiskKernelArray()
110 float dx0 = -0.5f + 1.0f / (2 * getNumSubPixels()); in generateDiskKernelArray()
113 for (int v = 0; v < getNumSubPixels(); ++v) { in generateDiskKernelArray()
114 float dy = dy0 + (float) v / (float) getNumSubPixels(); in generateDiskKernelArray()
115 for (int u = 0; u < getNumSubPixels(); ++u) { in generateDiskKernelArray()
116 float dx = dx0 + (float) u / (float) getNumSubPixels(); in generateDiskKernelArray()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/f32/
DKernelDataForRenderScriptF32.java108 float dy0 = -0.5f + 1.0f / (2 * getNumSubPixels()); in generateDiskKernelArray()
109 float dx0 = -0.5f + 1.0f / (2 * getNumSubPixels()); in generateDiskKernelArray()
112 for (int v = 0; v < getNumSubPixels(); ++v) { in generateDiskKernelArray()
113 float dy = dy0 + (float) v / (float) getNumSubPixels(); in generateDiskKernelArray()
114 for (int u = 0; u < getNumSubPixels(); ++u) { in generateDiskKernelArray()
115 float dx = dx0 + (float) u / (float) getNumSubPixels(); in generateDiskKernelArray()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DKernelDataForRenderScript.java77 public static int getNumSubPixels() { in getNumSubPixels() method in KernelDataForRenderScript