/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | getset.rscript | 34 void __attribute__((kernel)) copy1D_##ty(int idx) { \ 35 ty i = rsGetElementAt_##ty(gAlloc1DIn, idx); \ 36 rsSetElementAt_##ty(gAlloc1DOut, i, idx); \ 38 void __attribute__((kernel)) copy1D_##ty##2(int idx) { \ 39 ty##2 i = rsGetElementAt_##ty##2(gAlloc1DIn, idx); \ 40 rsSetElementAt_##ty##2(gAlloc1DOut, i, idx); \ 42 void __attribute__((kernel)) copy1D_##ty##3(int idx) { \ 43 ty##3 i = rsGetElementAt_##ty##3(gAlloc1DIn, idx); \ 44 rsSetElementAt_##ty##3(gAlloc1DOut, i, idx); \ 46 void __attribute__((kernel)) copy1D_##ty##4(int idx) { \ [all …]
|
D | SampleTest.java | 40 int idx = 0; in createAlloc() local 47 tmp[idx++] = 0x0000ffff; in createAlloc() 51 tmp[idx++] = 0x00ff00ff; in createAlloc() 55 tmp[idx++] = 0x00ffff00; in createAlloc() 59 tmp[idx++] = 0xffffff00; in createAlloc()
|
D | ReduceTest.java | 176 for (int idx = 0; idx < input.length; ++idx) in addint() 177 rslt += input[idx]; in addint() 215 for (int idx = 0; idx < input.length; ++idx) { in findMinAndMax() 216 if (input[idx] < minVal) { in findMinAndMax() 217 minVal = input[idx]; in findMinAndMax() 218 minIdx = idx; in findMinAndMax() 220 if (input[idx] > maxVal) { in findMinAndMax() 221 maxVal = input[idx]; in findMinAndMax() 222 maxIdx = idx; in findMinAndMax() 495 for (int idx = 0; idx < input1.length; ++idx) in sumXor() [all …]
|
D | reduce.rscript | 51 int idx; 60 accum->min.idx = -1; 62 accum->max.idx = -1; 68 me.idx = x; 78 if ((accum->min.idx < 0) || (val->min.val < accum->min.val)) 80 if ((accum->max.idx < 0) || (val->max.val > accum->max.val)) 86 result->x = val->min.idx; 87 result->y = val->max.idx; 134 for (uint32_t idx = 0; idx < len; ++idx) { 135 const half val = rsGetElementAt_half(in, idx); [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/ |
D | ObjImporter.java | 121 int idx; in parse() local 126 idx = Integer.parseInt(subParts.nextToken()); in parse() 128 if (idx < 0) idx = (vertices.size() / 3) + idx; in parse() 129 else idx -= 1; in parse() 131 currObjIndexData.vertexIndices.add(idx); in parse() 133 quadvids[i - 1] = idx; in parse() 135 idx = Integer.parseInt(subParts.nextToken()); in parse() 136 if (idx < 0) idx = (texCoords.size() / 2) + idx; in parse() 137 else idx -= 1; in parse() 139 currObjIndexData.texCoordIndices.add(idx); in parse() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | DecoderTestXheAac.java | 642 for (int idx = 0; idx < procNch; idx++) { in checkEnergyUSAC() 643 if (offset[idx] == ch) { in checkEnergyUSAC() 645 chMap[ch] = idx; in checkEnergyUSAC() 665 int idx = chMap[ch]; in checkEnergyUSAC() local 667 final int ofst = offset[idx] * nSegChOffst; in checkEnergyUSAC() 691 double minNrg = nrg[idx][ofst]; // channels minimum segment energy in checkEnergyUSAC() 692 double maxNrg = nrg[idx][ofst]; // channels maximum segment energy in checkEnergyUSAC() 696 if (nrg[idx][seg] < minNrg) { in checkEnergyUSAC() 697 minNrg = nrg[idx][seg]; in checkEnergyUSAC() 700 if (nrg[idx][seg] > maxNrg) { in checkEnergyUSAC() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | SweepGradientTest.java | 109 int idx; in verifyColors() local 111 for (idx = 0; idx < positions.length; idx++) { in verifyColors() 112 if (positions[idx] > relPos) { in verifyColors() 116 if (idx == 0) { in verifyColors() 119 } else if (idx == positions.length) { in verifyColors() 124 int i1 = idx - 1; // index of next lower color and position in verifyColors() 125 int i2 = idx; // index of next higher color and position in verifyColors()
|
D | YuvImageTest.java | 307 int idx = row * width + col; in convertArgbsToYuvs() local 308 argb2yuv(argb[idx], yuvColor); in convertArgbsToYuvs() 309 yuv[idx] = yuvColor[0]; in convertArgbsToYuvs() 322 int idx = row * width + col; in convertArgbsToYuvs() local 323 argb2yuv(argb[idx], yuvColor0); in convertArgbsToYuvs() 324 argb2yuv(argb[idx + 1], yuvColor1); in convertArgbsToYuvs() 325 int offset = idx / 2 * 4; in convertArgbsToYuvs() 358 int idx = row * width + col; in compareBitmaps() local 359 mse += distance(expColors[idx], actualColors[idx]); in compareBitmaps()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget/d/ |
D | T_aget_1.java | 20 public int run(int[] arr, int idx) { in run() argument 21 return arr[idx]; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_char/d/ |
D | T_aget_char_1.java | 20 public char run(char[] arr, int idx) { in run() argument 21 return arr[idx]; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_wide/d/ |
D | T_aget_wide_2.java | 21 public double run(double[] arr, int idx) { in run() argument 22 return arr[idx]; in run()
|
D | T_aget_wide_1.java | 21 public long run(long[] arr, int idx) { in run() argument 22 return arr[idx]; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_short/d/ |
D | T_aget_short_1.java | 20 public short run(short[] arr, int idx) { in run() argument 21 return arr[idx]; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_boolean/d/ |
D | T_aget_boolean_1.java | 20 public boolean run(boolean[] arr, int idx) { in run() argument 21 return arr[idx]; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_byte/d/ |
D | T_aget_byte_1.java | 20 public byte run(byte[] arr, int idx) { in run() argument 21 return arr[idx]; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_boolean/d/ |
D | T_aput_boolean_1.java | 20 public void run(boolean[] arr, int idx, boolean value) { in run() argument 21 arr[idx] = value; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput/d/ |
D | T_aput_1.java | 20 public void run(int[] arr, int idx, int value) { in run() argument 21 arr[idx] = value; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_char/d/ |
D | T_aput_char_1.java | 20 public void run(char[] arr, int idx, char value) { in run() argument 21 arr[idx] = value; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_wide/d/ |
D | T_aput_wide_2.java | 21 public void run(double[] arr, int idx, double value) { in run() argument 22 arr[idx] = value; in run()
|
D | T_aput_wide_1.java | 21 public void run(long[] arr, int idx, long value) { in run() argument 22 arr[idx] = value; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_short/d/ |
D | T_aput_short_1.java | 20 public void run(short[] arr, int idx, short value) { in run() argument 21 arr[idx] = value; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_byte/d/ |
D | T_aput_byte_1.java | 20 public void run(byte[] arr, int idx, byte value) { in run() argument 21 arr[idx] = value; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_object/d/ |
D | T_aget_object_1.java | 21 public String run(String [] arr, int idx) { in run() argument 22 return arr[idx]; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_object/d/ |
D | T_aput_object_2.java | 21 public void run(Integer[] arr, int idx, Integer value) { in run() argument 22 arr[idx] = value; in run()
|
D | T_aput_object_1.java | 21 public void run(String[] arr, int idx, String value) { in run() argument 22 arr[idx] = value; in run()
|