/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | MatrixTest.rscript | 3 #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/ |
D | GridLayoutTest.java | 235 int col = j + 1; in populate() local 236 GridLayout.LayoutParams lp = new GridLayout.LayoutParams(spec(0), spec(col)); in populate() 242 table[0][col] = v; in populate() 249 int col = j + 1; in populate() local 250 GridLayout.LayoutParams lp = new GridLayout.LayoutParams(spec(row), spec(col)); in populate() 254 v.setTextSize(10 + 5 * row * col); in populate() 256 table[row][col] = v; in populate() 262 private void verifyCellAlignment(int row, int col, Alignment a, View v0, View v1, in verifyCellAlignment() argument 266 assertEquals("View at row " + row + ", column " + col + " was not " + a.name + in verifyCellAlignment() 280 int col = j + 1; in verifyGridAlignment() local [all …]
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | LightBarTestBase.java | 111 for (int col = 0; col < bitmap.getWidth(); col++) { in checkNavigationBarDivider() 112 if (isInsideCutout(col, shiftY)) { in checkNavigationBarDivider() 116 if (!isColorSame(dividerColor, pixels[col])) { in checkNavigationBarDivider()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | GridActivity.java | 99 public static String getResourceId(int line, int col) { in getResourceId() argument 100 return "l" + line + "c" + col; in getResourceId() 173 public FillExpectation onCell(int line, int col, String value) { in onCell() argument 174 final String resourceId = getResourceId(line, col); in onCell() 175 final EditText cell = getCell(line, col); in onCell()
|
/cts/tests/tests/media/common/jni/ |
D | codec-utils-jni.cpp | 277 const uint8_t *col = row; in Java_android_media_cts_CodecUtils_getImageChecksumAlder32() local 280 adler.update(*col); in Java_android_media_cts_CodecUtils_getImageChecksumAlder32() 281 col += colInc; in Java_android_media_cts_CodecUtils_getImageChecksumAlder32() 305 const uint8_t *col = row; in Java_android_media_cts_CodecUtils_getImageChecksumMD5() local 308 MD5Update(&md5, col, 1); in Java_android_media_cts_CodecUtils_getImageChecksumMD5() 309 col += colInc; in Java_android_media_cts_CodecUtils_getImageChecksumMD5() 355 uint8_t *col = row; in Java_android_media_cts_CodecUtils_copyFlexYUVImage() local 360 *col = srcRow[src->plane[ix].colInc * (x % src->plane[ix].cropWidth)]; in Java_android_media_cts_CodecUtils_copyFlexYUVImage() 361 col += colInc; in Java_android_media_cts_CodecUtils_copyFlexYUVImage() 381 uint8_t *col = (uint8_t *)row; in Java_android_media_cts_CodecUtils_fillImageRectWithYUV() local [all …]
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | BitmapUtils.java | 187 for (int col = 0; col < width; ++col) { in compareBitmapsMse() 188 int idx = row * width + col; in compareBitmapsMse()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | YuvImageTest.java | 584 for (int col = 0; col < width; ++col) { in convertArgbsToYuvs() 585 int idx = row * width + col; in convertArgbsToYuvs() 588 if ((row & 1) == 0 && (col & 1) == 0) { in convertArgbsToYuvs() 589 int offset = row / 2 * width + col / 2 * 2; in convertArgbsToYuvs() 599 for (int col = 0; col < width; col += 2) { in convertArgbsToYuvs() 600 int idx = row * width + col; in convertArgbsToYuvs()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | CursorWindowTest.java | 68 ArrayList<Integer> col = list.get(i); in testWriteCursorToWindow() local 71 int r2 = col.get(j); in testWriteCursorToWindow() 82 ArrayList<Integer> col = list.get(i); in testWriteCursorToWindow() local 85 int r2 = col.get(j); in testWriteCursorToWindow() 512 ArrayList<Integer> col = new ArrayList<Integer>(); in createTestList() local 513 list.add(col); in createTestList() 516 col.add(j == 0 ? i : generator.nextInt()); in createTestList()
|
D | AbstractCursorTest.java | 525 ArrayList<Integer> col = new ArrayList<Integer>(); in createTestList() local 526 list.add(col); in createTestList() 531 col.add(r); in createTestList()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BitmapUtils.java | 211 for (int col = 0; col < width; ++col) { in compareBitmapsMse() 212 int idx = row * width + col; in compareBitmapsMse()
|
/cts/tests/tests/graphics/jni/ |
D | android_graphics_cts_FrameRateCtsActivity.cpp | 89 for (int col = 0; col < width; col++, ptr += bytesPerPixel) { in Buffer() local
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraMetadataGetter.java | 365 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/media/codec/src/android/media/codec/cts/ |
D | MediaCodecBlockModelTest.java | 371 for (int col = 0; col < kWidth / rowSampling; ++col) { in runEncodeShortVideo() 373 rowOffset + col * plane.getPixelStride(), in runEncodeShortVideo()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsSerializer.java | 209 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()
|
D | ItsUtils.java | 307 for (int col = 0; col < w; col++) { in getDataFromImage() 308 data[offset++] = rowData[col * pixelStride]; in getDataFromImage()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentResolverTest.java | 437 int col = mCursor.getColumnIndexOrThrow(COLUMN_VALUE_NAME); in testQuery_SqlSortingFromBundleArgs() local 440 assertEquals("DEF", mCursor.getString(col)); in testQuery_SqlSortingFromBundleArgs() 442 assertEquals("abc", mCursor.getString(col)); in testQuery_SqlSortingFromBundleArgs() 444 assertEquals("ghi", mCursor.getString(col)); in testQuery_SqlSortingFromBundleArgs() 457 col = mCursor.getColumnIndexOrThrow(COLUMN_VALUE_NAME); in testQuery_SqlSortingFromBundleArgs() 460 assertEquals("ghi", mCursor.getString(col)); in testQuery_SqlSortingFromBundleArgs() 462 assertEquals("DEF", mCursor.getString(col)); in testQuery_SqlSortingFromBundleArgs() 464 assertEquals("abc", mCursor.getString(col)); in testQuery_SqlSortingFromBundleArgs() 536 int col = mCursor.getColumnIndexOrThrow(TestPagingContentProvider.COLUMN_POS); in testQuery_PagedResults() local 539 assertEquals(10, mCursor.getInt(col)); in testQuery_PagedResults() [all …]
|
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | SurfaceControlTest.java | 2142 for (int col = 0; col < image.getWidth(); col++) { in testDefaultDataSpaceForRGBBufferIssRGB() 2143 buffer.put(rowOffset + col * plane.getPixelStride(), color[0]); in testDefaultDataSpaceForRGBBufferIssRGB() 2144 buffer.put(rowOffset + col * plane.getPixelStride() + 1, color[1]); in testDefaultDataSpaceForRGBBufferIssRGB() 2145 buffer.put(rowOffset + col * plane.getPixelStride() + 2, color[2]); in testDefaultDataSpaceForRGBBufferIssRGB() 2146 buffer.put(rowOffset + col * plane.getPixelStride() + 3, (byte) 255); in testDefaultDataSpaceForRGBBufferIssRGB() 2227 for (int col = 0; col < planeWidth; col++) { in testDefaultDataSpaceForYUVBufferIssRGB() 2228 buffer.put(rowOffset + col * plane.getPixelStride(), yuv[i]); in testDefaultDataSpaceForYUVBufferIssRGB()
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | ImageReaderDecoderTest.java | 775 for (int col = 0; col < w; col++) { in getDataFromImage() 777 data[offset++] = rowData[col * pixelStride + bytePos]; in getDataFromImage()
|
/cts/apps/CameraITS/utils/ |
D | low_light_utils.py | 393 col = col_sorted[offset:(offset+4)] 394 result.extend(sorted(col, key=lambda r: r[0][1]))
|
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/ |
D | CameraDeviceInfo.java | 322 for (int col = 0; col < 3; col++) { in storeColorSpaceTransform() 323 storeRational((Rational) xform.getElement(col, row), null); in storeColorSpaceTransform()
|
/cts/apps/CtsVerifier/libs/ |
D | opencv3-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CaptureRequestTest.java | 1131 for (int col = maxRegion.left; col < maxRegion.right; col += 2) { in dynamicBlackWhiteLevelTestByCamera() 1132 int startOffset = row * rowSize + col * bytePerPixel; in dynamicBlackWhiteLevelTestByCamera()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 1904 for (int col = 0; col < w; col++) { in getDataFromImage() 1905 data[offset++] = rowData[col * pixelStride]; in getDataFromImage()
|