Home
last modified time | relevance | path

Searched refs:col (Results 1 – 19 of 19) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DMatrixTest.rs3 #define EXPECT(row, col, a, b) \
9 rsDebug(" col: ", col); \
25 for (int col = 0; col < 2; col++) {
26 rsMatrixSet(&m2, col, row, row * 100.f + col);
31 for (int col = 0; col < 3; col++) {
32 rsMatrixSet(&m3, col, row, row * 100.f + col);
37 for (int col = 0; col < 4; col++) {
38 rsMatrixSet(&m4, col, row, row * 100.f + col);
44 for (int col = 0; col < 2; col++) {
45 EXPECT(row, col, rsMatrixGet(&m2, col, row), row * 100.f + col);
[all …]
/cts/tools/dasm/src/java_cup/
Dparse_action_table.java69 for (int col = 0; col < under_state[row].size(); col++) in check_reductions()
72 act = under_state[row].under_term[col]; in check_reductions()
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.java67 for (int col = 0; col < under_state[row].size(); col++) in toString()
70 goto_st = under_state[row].under_non_term[col]; in toString()
75 result += col + ":"; in toString()
/cts/tests/tests/widget/src/android/widget/cts/
DGridLayoutTest.java210 int col = j + 1; in populate() local
211 GridLayout.LayoutParams lp = new GridLayout.LayoutParams(spec(0), spec(col)); in populate()
217 table[0][col] = v; in populate()
224 int col = j + 1; in populate() local
225 GridLayout.LayoutParams lp = new GridLayout.LayoutParams(spec(row), spec(col)); in populate()
229 v.setTextSize(10 + 5 * row * col); in populate()
231 table[row][col] = v; in populate()
237 private void testAlignment(int row, int col, Alignment a, View v0, View v1, String group) { in testAlignment() argument
240 assertEquals("View at row " + row + ", column " + col + " was not " + a.name + in testAlignment()
254 int col = j + 1; in test() local
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DYuvImageTest.java311 for (int col = 0; col < width; ++col) { 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()
326 for (int col = 0; col < width; col += 2) { in convertArgbsToYuvs()
327 int idx = row * width + col; in convertArgbsToYuvs()
362 for (int col = 0; col < width; ++col) { in compareBitmaps()
363 int idx = row * width + col; in compareBitmaps()
DBitmapRegionDecoderTest.java500 for (int col = 0; col < width; ++col) { in compareBitmaps()
501 int idx = row * width + col; in compareBitmaps()
DBitmapFactoryTest.java793 for (int col = 0; col < width; ++col) { in compareBitmaps()
794 int idx = row * width + col; in compareBitmaps()
/cts/tests/tests/media/libmediandkjni/
Dcodec-utils-jni.cpp258 const uint8_t *col = row; in Java_android_media_cts_CodecUtils_getImageChecksumAlder32() local
261 adler.update(*col); in Java_android_media_cts_CodecUtils_getImageChecksumAlder32()
262 col += colInc; in Java_android_media_cts_CodecUtils_getImageChecksumAlder32()
286 const uint8_t *col = row; in Java_android_media_cts_CodecUtils_getImageChecksumMD5() local
289 MD5Update(&md5, col, 1); in Java_android_media_cts_CodecUtils_getImageChecksumMD5()
290 col += colInc; in Java_android_media_cts_CodecUtils_getImageChecksumMD5()
336 uint8_t *col = row; in Java_android_media_cts_CodecUtils_copyFlexYUVImage() local
341 *col = srcRow[src->plane[ix].colInc * (x % src->plane[ix].cropWidth)]; in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
342 col += colInc; in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
362 uint8_t *col = (uint8_t *)row; in Java_android_media_cts_CodecUtils_fillImageRectWithYUV() local
[all …]
/cts/tests/tests/database/src/android/database/cts/
DCursorWindowTest.java50 ArrayList<Integer> col = list.get(i); in testWriteCursorToWindow() local
53 int r2 = col.get(j); in testWriteCursorToWindow()
64 ArrayList<Integer> col = list.get(i); in testWriteCursorToWindow() local
67 int r2 = col.get(j); in testWriteCursorToWindow()
415 ArrayList<Integer> col = new ArrayList<Integer>(); in createTestList() local
416 list.add(col); in createTestList()
419 col.add(j == 0 ? i : generator.nextInt()); in createTestList()
DAbstractCursorTest.java405 ArrayList<Integer> col = new ArrayList<Integer>(); in createTestList() local
406 list.add(col); in createTestList()
411 col.add(r); in createTestList()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java247 for (int col = 0; col < w; col++) { in getDataFromImage()
248 data[offset++] = rowData[col * pixelStride]; in getDataFromImage()
DItsSerializer.java208 for (int col = 0; col < 3; col++) { in serializeColorSpaceTransform()
209 xformObj.put(serializeRational(xform.getElement(col,row))); in serializeColorSpaceTransform()
267 for (int col = 0; col < map.getColumnCount(); col++) { in serializeLensShadingMap()
269 mapObj.put(map.getGainFactor(ch, col, row)); in serializeLensShadingMap()
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java365 for (int col = 0; col < 3; col++) { in serializeColorSpaceTransform()
366 xformObj.put(serializeRational(xform.getElement(col, row))); in serializeColorSpaceTransform()
425 for (int col = 0; col < map.getColumnCount(); col++) { in serializeLensShadingMap()
427 mapObj.put(map.getGainFactor(ch, col, row)); in serializeLensShadingMap()
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/
DXmlGenerator.java231 private <E extends Comparable<E>> Collection<E> sortCollection(Collection<E> col) { in sortCollection() argument
232 List<E> list = new ArrayList<E>(col); in sortCollection()
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DCameraDeviceInfo.java197 for (int col = 0; col < 3; col++) { in storeColorSpaceTransform()
198 storeRational((Rational) xform.getElement(col, row), null); in storeColorSpaceTransform()
/cts/tests/tests/media/src/android/media/cts/
DImageReaderDecoderTest.java805 for (int col = 0; col < w; col++) { in getDataFromImage()
806 data[offset++] = rowData[col * pixelStride]; in getDataFromImage()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraTestUtils.java972 for (int col = 0; col < w; col++) { in getDataFromImage()
973 data[offset++] = rowData[col * pixelStride]; in getDataFromImage()
DCaptureRequestTest.java730 for (int col = maxRegion.left; col < maxRegion.right; col += 2) { in dynamicBlackWhiteLevelTestByCamera()
731 int startOffset = row * rowSize + col * bytePerPixel; in dynamicBlackWhiteLevelTestByCamera()