Searched defs:cols (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/database/
H A DCursorWindowTest.java158 private static ArrayList<ArrayList> createTestList(int rows, int cols) { argument
165 for (int j = 0; j < cols; j++) {
/frameworks/base/core/tests/coretests/src/android/widget/
H A DSimpleCursorAdapterTest.java68 private ArrayList<ArrayList> createTestList(int rows, int cols) { argument
75 for (int j = 0; j < cols; j++) {
/frameworks/base/graphics/java/android/graphics/utils/
H A DBoundaryPatch.java68 * @param cols The number of points down to approximate the boundary.
71 public void setCubicBoundary(float[] pts, int offset, int rows, int cols) { argument
72 if (rows < 2 || cols < 2) {
73 throw new RuntimeException("rows and cols must be >= 2");
76 if (mRows != rows || mCols != cols) {
78 mCols = cols;
170 int texW, int texH, int rows, int cols,
169 nativeComputeCubicPatch(float[] cubicPoints, int texW, int texH, int rows, int cols, float[] verts, short[] indices) argument
/frameworks/base/core/jni/android/graphics/
H A DCanvas.cpp972 int texW, int texH, int rows, int cols,
976 int vertCount = rows * cols;
981 int idxCount = (rows - 1) * (cols - 1) * 6;
991 patch.evalPatch(verts, rows, cols);
995 mesh.init(texs, idx, texW, texH, rows, cols);
971 BoundaryPatch_computeCubic(JNIEnv* env, jobject, jfloatArray jpts, int texW, int texH, int rows, int cols, jfloatArray jverts, jshortArray jidx) argument

Completed in 2087 milliseconds