Home
last modified time | relevance | path

Searched refs:row (Results 1 – 25 of 42) sorted by relevance

12

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DMatrixTest.rs3 #define EXPECT(row, col, a, b) \
8 rsDebug(" row: ", row); \
24 for (int row = 0; row < 2; row++) {
26 rsMatrixSet(&m2, col, row, row * 100.f + col);
30 for (int row = 0; row < 3; row++) {
32 rsMatrixSet(&m3, col, row, row * 100.f + col);
36 for (int row = 0; row < 4; row++) {
38 rsMatrixSet(&m4, col, row, row * 100.f + col);
43 for (int row = 0; row < 2; row++) {
45 EXPECT(row, col, rsMatrixGet(&m2, col, row), row * 100.f + col);
[all …]
/cts/tools/dasm/src/java_cup/
Dparse_action_table.java67 for (int row = 0; row < num_states(); row++) in check_reductions()
69 for (int col = 0; col < under_state[row].size(); col++) in check_reductions()
72 act = under_state[row].under_term[col]; in check_reductions()
112 for (int row = 0; row < num_states(); row++) in toString()
114 result += "From state #" + row + "\n"; in toString()
116 for (int col = 0; col < under_state[row].size(); col++) in toString()
119 if (under_state[row].under_term[col].kind() != parse_action.ERROR) in toString()
121 result += col + ":" + under_state[row].under_term[col] + " "; in toString()
Dparse_reduce_table.java63 for (int row = 0; row < num_states(); row++) in toString()
65 result += "From state #" + row + "\n"; in toString()
67 for (int col = 0; col < under_state[row].size(); col++) in toString()
70 goto_st = under_state[row].under_non_term[col]; in toString()
Demit.java486 parse_action_row row; in do_action_table() local
500 row = act_tab.under_state[i]; in do_action_table()
504 row.compute_default(); in do_action_table()
506 row.default_reduce = -1; in do_action_table()
511 for (int j = 0; j < row.size(); j++) in do_action_table()
514 act = row.under_term[j]; in do_action_table()
533 if (red != row.default_reduce) in do_action_table()
545 if (row.default_reduce != -1) in do_action_table()
546 out.println("-1," + (-(row.default_reduce+1)) + "},"); in do_action_table()
/cts/suite/cts/deviceTests/browserbench/assets/octane/css/
Dbootstrap-responsive.css163 .row-fluid {
166 .row,
171 .row-fluid [class*="span"] {
202 .row {
206 .row:before,
207 .row:after {
211 .row:after {
295 .row-fluid {
299 .row-fluid:before,
300 .row-fluid:after {
[all …]
/cts/libs/vogar-expect/src/vogar/util/
DMarkResetConsole.java27 private int row; field in MarkResetConsole
41 row++; in print()
57 private final int markRow = row;
74 for (int r = row; r > markRow; r--) { in reset()
84 row = markRow; in reset()
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java71 RowBuilder row = result.newRow(); in queryRoots() local
72 row.add(Root.COLUMN_ROOT_ID, "local"); in queryRoots()
73 row.add(Root.COLUMN_FLAGS, Root.FLAG_LOCAL_ONLY); in queryRoots()
74 row.add(Root.COLUMN_TITLE, "CtsLocal"); in queryRoots()
75 row.add(Root.COLUMN_SUMMARY, "CtsLocalSummary"); in queryRoots()
76 row.add(Root.COLUMN_DOCUMENT_ID, "doc:local"); in queryRoots()
78 row = result.newRow(); in queryRoots()
79 row.add(Root.COLUMN_ROOT_ID, "create"); in queryRoots()
80 row.add(Root.COLUMN_FLAGS, Root.FLAG_SUPPORTS_CREATE | Root.FLAG_SUPPORTS_IS_CHILD); in queryRoots()
81 row.add(Root.COLUMN_TITLE, "CtsCreate"); in queryRoots()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DGridLayoutTest.java181 int row = i + 1; in populate() local
182 GridLayout.LayoutParams lp = new GridLayout.LayoutParams(spec(row), spec(0)); in populate()
188 table[row][0] = v; in populate()
205 int row = i + 1; in populate() local
207 GridLayout.LayoutParams lp = new GridLayout.LayoutParams(spec(row), spec(col)); in populate()
211 v.setTextSize(10 + 5 * row * col); in populate()
213 table[row][col] = v; in populate()
219 private void testAlignment(int row, int col, Alignment a, View v0, View v1, String group) { in testAlignment() argument
222 assertEquals("View at row " + row + ", column " + col + " was not " + a.name + in testAlignment()
240 int row = i + 1; in test() local
[all …]
DResourceCursorTreeAdapterTest.java159 Object[] row = new Object[colCount + 1]; in createTestCursor() local
162 row[j] = "" + rowCount + "" + colCount; in createTestCursor()
164 row[colCount] = i; in createTestCursor()
165 cursor.addRow(row); in createTestCursor()
DResourceCursorAdapterTest.java161 Object[] row = new Object[colCount + 1]; in createTestCursor() local
164 row[j] = "" + i + "" + j; in createTestCursor()
166 row[colCount] = i; in createTestCursor()
167 cursor.addRow(row); in createTestCursor()
DSimpleCursorTreeAdapterTest.java194 Object[] row = new Object[colCount + 1]; in createTestCursor() local
197 row[j] = prefix + i + "" + j; in createTestCursor()
199 row[colCount] = i; in createTestCursor()
200 cursor.addRow(row); in createTestCursor()
DSimpleCursorAdapterTest.java399 Object[] row = new Object[colCount + 1]; in createTestCursor() local
402 row[j] = "" + i + "" + j; in createTestCursor()
404 row[colCount] = i; in createTestCursor()
405 cursor.addRow(row); in createTestCursor()
/cts/tools/dasm/src/java_cup/runtime/
Dlr_parser.java391 short[] row = action_tab[state]; in get_action() local
394 if (row.length < 20) in get_action()
395 for (probe = 0; probe < row.length; probe++) in get_action()
398 tag = row[probe++]; in get_action()
402 return row[probe]; in get_action()
409 last = (row.length-1)/2 - 1; /* leave out trailing default entry */ in get_action()
413 if (sym == row[probe*2]) in get_action()
414 return row[probe*2+1]; in get_action()
415 else if (sym > row[probe*2]) in get_action()
422 return row[row.length-1]; in get_action()
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DYuvImageTest.java310 for (int row = 0; row < height; ++row) { in convertArgbsToYuvs()
312 int idx = row * width + col; in convertArgbsToYuvs()
315 if ((row & 1) == 0 && (col & 1) == 0) { in convertArgbsToYuvs()
316 int offset = row / 2 * width + col / 2 * 2; in convertArgbsToYuvs()
325 for (int row = 0; row < height; ++row) { in convertArgbsToYuvs()
327 int idx = row * width + col; in convertArgbsToYuvs()
361 for (int row = 0; row < height; ++row) { in compareBitmaps()
363 int idx = row * width + col; in compareBitmaps()
/cts/apps/CtsVerifier/include/colorchecker/
Dtestingimage.h40 int getPixelValue(int row, int column, int channel) const;
41 Vec3i getPixelValue(int row, int column) const;
Dimagetesthandler.h42 void drawPoint(int row, int column, const Vec3i &color);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/features/
DFeatureSummaryActivity.java312 HashMap<String, Object> row = new HashMap<String, Object>(); in onCreate() local
313 listViewData.add(row); in onCreate()
331 row.put("feature", f.name); in onCreate()
332 row.put("icon", statusIcon); in onCreate()
339 HashMap<String, Object> row = new HashMap<String, Object>(); in onCreate() local
340 listViewData.add(row); in onCreate()
341 row.put("feature", feature); in onCreate()
345 row.put("icon", R.drawable.fs_error); in onCreate()
349 row.put("icon", R.drawable.fs_warning); in onCreate()
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStore_VideoTest.java46 for (Uri row : mRowsAdded) { in tearDown()
47 mContentResolver.delete(row, null, null); in tearDown()
DContacts_PeopleTest.java94 for (Uri row : mRowsAdded) { in tearDown()
95 mProvider.delete(row, null, null); in tearDown()
99 for (Uri row : mPeopleRowsAdded) { in tearDown()
100 mProvider.delete(row, null, null); in tearDown()
104 for (Uri row : mGroupRowsAdded) { in tearDown()
105 mProvider.delete(row, null, null); in tearDown()
DUserDictionary_WordsTest.java54 for (Uri row : mAddedBackup) { in tearDown()
55 mContentResolver.delete(row, null, null); in tearDown()
/cts/tests/tests/media/libmediandkjni/
Dcodec-utils-jni.cpp254 const uint8_t *row = img->plane[ix].buffer + img->plane[ix].cropOffs; in Java_android_media_cts_CodecUtils_getImageChecksum() local
256 const uint8_t *col = row; in Java_android_media_cts_CodecUtils_getImageChecksum()
262 row += img->plane[ix].rowInc; in Java_android_media_cts_CodecUtils_getImageChecksum()
291 uint8_t *row = const_cast<uint8_t *>(tgt->plane[ix].buffer) + tgt->plane[ix].cropOffs; in Java_android_media_cts_CodecUtils_copyFlexYUVImage() local
293 uint8_t *col = row; in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
301 row += tgt->plane[ix].rowInc; in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
316 const uint8_t *row = img->plane[ix].buffer + img->plane[ix].cropOffs; in Java_android_media_cts_CodecUtils_fillImageRectWithYUV() local
319 uint8_t *col = (uint8_t *)row; in Java_android_media_cts_CodecUtils_fillImageRectWithYUV()
325 row += img->plane[ix].rowInc; in Java_android_media_cts_CodecUtils_fillImageRectWithYUV()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java208 for (int row = 0; row < h; row++) { in getDataFromImage()
214 if (row < h - 1) { in getDataFromImage()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java364 for (int row = 0; row < 3; row++) { in serializeColorSpaceTransform()
366 xformObj.put(serializeRational(xform.getElement(col, row))); in serializeColorSpaceTransform()
424 for (int row = 0; row < map.getRowCount(); row++) { in serializeLensShadingMap()
427 mapObj.put(map.getGainFactor(ch, col, row)); in serializeLensShadingMap()
/cts/tests/leanbackjank/app/src/android/cts/jank/leanback/ui/
DMainFragment.java190 public void selectRow(int row) { in selectRow() argument
191 setSelectedPosition(row); in selectRow()
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Dnavier-stokes.js261 var row = j * rowSize;
263 var prevValue = row - 1;
264 var currentRow = row;
265 var nextValue = row + 1;

12