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.rscript3 #define EXPECT(row, col, a, b) \
9 rsDebug(" col: ", col); \
23 // Set each cell to 100 * row + 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++) {
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DGridLayoutTest.java226 int col = j + 1; in populate() local
227 GridLayout.LayoutParams lp = new GridLayout.LayoutParams(spec(0), spec(col)); in populate()
233 table[0][col] = v; in populate()
240 int col = j + 1; in populate() local
241 GridLayout.LayoutParams lp = new GridLayout.LayoutParams(spec(row), spec(col)); in populate()
245 v.setTextSize(10 + 5 * row * col); in populate()
247 table[row][col] = v; in populate()
253 private void verifyCellAlignment(int row, int col, Alignment a, View v0, View v1, in verifyCellAlignment() argument
257 assertEquals("View at row " + row + ", column " + col + " was not " + a.name + in verifyCellAlignment()
271 int col = j + 1; in verifyGridAlignment() local
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DYuvImageTest.java306 for (int col = 0; col < width; ++col) { in convertArgbsToYuvs()
307 int idx = row * width + col; in convertArgbsToYuvs()
310 if ((row & 1) == 0 && (col & 1) == 0) { in convertArgbsToYuvs()
311 int offset = row / 2 * width + col / 2 * 2; in convertArgbsToYuvs()
321 for (int col = 0; col < width; col += 2) { in convertArgbsToYuvs()
322 int idx = row * width + col; in convertArgbsToYuvs()
357 for (int col = 0; col < width; ++col) { in compareBitmaps()
358 int idx = row * width + col; in compareBitmaps()
DBitmapRegionDecoderTest.java776 for (int col = 0; col < width; ++col) { in compareBitmaps()
777 int idx = row * width + col; in compareBitmaps()
DBitmapFactoryTest.java1049 for (int col = 0; col < width; ++col) { in compareBitmaps()
1050 int idx = row * width + col; in compareBitmaps()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTestBase.java118 for (int col = 0; col < bitmap.getWidth(); col++) { in checkNavigationBarDivider()
119 if (isInsideCutout(col, shiftY)) { in checkNavigationBarDivider()
123 if (!isColorSame(dividerColor, pixels[col])) { in checkNavigationBarDivider()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DGridActivity.java95 public static String getResourceId(int line, int col) { in getResourceId() argument
96 return "l" + line + "c" + col; in getResourceId()
169 public FillExpectation onCell(int line, int col, String value) { in onCell() argument
170 final String resourceId = getResourceId(line, col); in onCell()
171 final EditText cell = getCell(line, col); in onCell()
/cts/tests/tests/media/libmediandkjni/
Dcodec-utils-jni.cpp265 const uint8_t *col = row; in Java_android_media_cts_CodecUtils_getImageChecksumAlder32() local
268 adler.update(*col); in Java_android_media_cts_CodecUtils_getImageChecksumAlder32()
269 col += colInc; in Java_android_media_cts_CodecUtils_getImageChecksumAlder32()
293 const uint8_t *col = row; in Java_android_media_cts_CodecUtils_getImageChecksumMD5() local
296 MD5Update(&md5, col, 1); in Java_android_media_cts_CodecUtils_getImageChecksumMD5()
297 col += colInc; in Java_android_media_cts_CodecUtils_getImageChecksumMD5()
343 uint8_t *col = row; in Java_android_media_cts_CodecUtils_copyFlexYUVImage() local
348 *col = srcRow[src->plane[ix].colInc * (x % src->plane[ix].cropWidth)]; in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
349 col += colInc; in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
369 uint8_t *col = (uint8_t *)row; in Java_android_media_cts_CodecUtils_fillImageRectWithYUV() local
[all …]
/cts/tests/tests/database/src/android/database/cts/
DCursorWindowTest.java67 ArrayList<Integer> col = list.get(i); in testWriteCursorToWindow() local
70 int r2 = col.get(j); in testWriteCursorToWindow()
81 ArrayList<Integer> col = list.get(i); in testWriteCursorToWindow() local
84 int r2 = col.get(j); in testWriteCursorToWindow()
506 ArrayList<Integer> col = new ArrayList<Integer>(); in createTestList() local
507 list.add(col); in createTestList()
510 col.add(j == 0 ? i : generator.nextInt()); in createTestList()
DAbstractCursorTest.java452 ArrayList<Integer> col = new ArrayList<Integer>(); in createTestList() local
453 list.add(col); in createTestList()
458 col.add(r); in createTestList()
/cts/tests/camera/utils/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/tests/tests/content/src/android/content/cts/
DContentResolverTest.java398 int col = mCursor.getColumnIndexOrThrow(COLUMN_VALUE_NAME); in testQuery_SqlSortingFromBundleArgs() local
401 assertEquals("DEF", mCursor.getString(col)); in testQuery_SqlSortingFromBundleArgs()
403 assertEquals("abc", mCursor.getString(col)); in testQuery_SqlSortingFromBundleArgs()
405 assertEquals("ghi", mCursor.getString(col)); in testQuery_SqlSortingFromBundleArgs()
418 col = mCursor.getColumnIndexOrThrow(COLUMN_VALUE_NAME); in testQuery_SqlSortingFromBundleArgs()
421 assertEquals("ghi", mCursor.getString(col)); in testQuery_SqlSortingFromBundleArgs()
423 assertEquals("DEF", mCursor.getString(col)); in testQuery_SqlSortingFromBundleArgs()
425 assertEquals("abc", mCursor.getString(col)); in testQuery_SqlSortingFromBundleArgs()
456 int col = mCursor.getColumnIndexOrThrow(TestPagingContentProvider.COLUMN_POS); in testQuery_PagedResults() local
459 assertEquals(10, mCursor.getInt(col)); in testQuery_PagedResults()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java209 for (int col = 0; col < 3; col++) { in serializeColorSpaceTransform()
210 xformObj.put(serializeRational(xform.getElement(col,row))); in serializeColorSpaceTransform()
269 for (int col = 0; col < map.getColumnCount(); col++) { in serializeLensShadingMap()
271 mapArr.put(map.getGainFactor(ch, col, row)); in serializeLensShadingMap()
DItsUtils.java277 for (int col = 0; col < w; col++) { in getDataFromImage()
278 data[offset++] = rowData[col * pixelStride]; in getDataFromImage()
/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.java808 for (int col = 0; col < w; col++) { in getDataFromImage()
809 data[offset++] = rowData[col * pixelStride]; in getDataFromImage()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1090 for (int col = 0; col < w; col++) { in getDataFromImage()
1091 data[offset++] = rowData[col * pixelStride]; in getDataFromImage()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureRequestTest.java945 for (int col = maxRegion.left; col < maxRegion.right; col += 2) { in dynamicBlackWhiteLevelTestByCamera()
946 int startOffset = row * rowSize + col * bytePerPixel; in dynamicBlackWhiteLevelTestByCamera()
/cts/tests/tests/media/assets/hls_variant/387360/
D21.ts95 6~0vC�R"��7�Ȅ~���col�S��=j���@�Gá