Searched refs:rows (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/graphics/java/android/graphics/utils/
H A DBoundaryPatch.java66 * @param rows The number of points across 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) {
77 mRows = rows;
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/tools/aapt/
H A DImages.cpp36 image_info() : rows(NULL), is9Patch(false), allocRows(NULL) { }
38 if (rows && rows != allocRows) {
39 free(rows);
54 png_bytepp rows; member in struct:image_info
104 outImageInfo->rows = (png_bytepp)malloc(
107 outImageInfo->allocRows = outImageInfo->rows;
109 png_set_rows(read_ptr, read_info, outImageInfo->rows);
113 outImageInfo->rows[i] = (png_bytep)
117 png_read_image(read_ptr, outImageInfo->rows);
216 get_vertical_ticks( png_bytepp rows, int offset, int height, bool transparent, bool required, int32_t* outTop, int32_t* outBottom, const char** outError, uint8_t* outDivs, bool multipleAllowed) argument
265 get_color( png_bytepp rows, int left, int top, int right, int bottom) argument
616 dump_image(int w, int h, png_bytepp rows, int color_type) argument
938 png_bytepp rows; local
[all...]
/frameworks/base/tools/preload/
H A Dsorttable.js47 the.appendChild(table.rows[0]);
53 if (table.tHead.rows.length != 1) return; // can't cope with two header rows
55 // Sorttable v1 put rows with a class of "sortbottom" at the bottom (as
56 // "total" rows, for example). This is B&R, since what you're supposed
57 // to do is put them in a tfoot. So, if there are sortbottom rows,
60 for (var i=0; i<table.rows.length; i++) {
61 if (table.rows[i].className.search(/\bsortbottom\b/) != -1) {
62 sortbottomrows[sortbottomrows.length] = table.rows[i];
78 headrow = table.tHead.rows[
[all...]
/frameworks/ex/common/java/com/android/common/
H A DArrayListCursor.java35 public ArrayListCursor(String[] columnNames, ArrayList<ArrayList> rows) { argument
53 int rowCount = rows.size();
57 mRows[i] = rows.get(i);
/frameworks/base/core/tests/coretests/src/android/database/
H A DCursorWindowTest.java158 private static ArrayList<ArrayList> createTestList(int rows, int cols) { argument
162 for (int i = 0; i < rows; i++) {
/frameworks/base/core/tests/coretests/src/android/widget/
H A DSimpleCursorAdapterTest.java68 private ArrayList<ArrayList> createTestList(int rows, int cols) { argument
72 for (int i = 0; i < rows; i++) {
91 // Now see if we can pull 2 rows from the adapter
102 // The adapter should report zero rows
113 // Now see if we can pull 2 rows from the adapter
116 // now put in a different cursor (5 rows)
121 // Now see if we can pull 5 rows from the adapter
132 // Now see if we can pull 2 rows from the adapter
138 // The adapter should report zero rows
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DIccProvider.java48 public ArrayListCursor(String[] columnNames, ArrayList<ArrayList> rows) { argument
66 int rowCount = rows.size();
70 mRows[i] = rows.get(i);
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java88 * used to access the corresponding database rows.
95 /** Operate on existing rows. */
123 /** Insert new rows (no where clause allowed). */
301 int rows = 0;
303 rows++;
308 if (rows > MAX_CACHE_ENTRIES) {
314 Log.d(TAG, "cache for settings table '" + table + "' rows=" + rows + "; fullycached=" +
/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 312 milliseconds