/external/exoplayer/tree/testutils/src/test/java/com/google/android/exoplayer2/testutil/ |
D | FakeAdaptiveDataSetTest.java | 55 FakeAdaptiveDataSet dataSet = in testAdaptiveDataSet() local 58 assertThat(dataSet.getAllData().size()).isEqualTo(TEST_FORMATS.length); in testAdaptiveDataSet() 59 assertThat(dataSet.getUri(0).equals(dataSet.getUri(1))).isFalse(); in testAdaptiveDataSet() 60 assertThat(dataSet.getChunkCount()).isEqualTo(5); in testAdaptiveDataSet() 61 assertThat(dataSet.getChunkIndexByPosition(4 * C.MICROS_PER_SECOND)).isEqualTo(2); in testAdaptiveDataSet() 62 assertThat(dataSet.getChunkIndexByPosition(9 * C.MICROS_PER_SECOND)).isEqualTo(4); in testAdaptiveDataSet() 63 for (int i = 0; i < dataSet.getChunkCount(); i++) { in testAdaptiveDataSet() 64 assertThat(dataSet.getChunkDuration(i)).isEqualTo(chunkDuration); in testAdaptiveDataSet() 66 assertChunkData(dataSet, chunkDuration); in testAdaptiveDataSet() 72 FakeAdaptiveDataSet dataSet = in testAdaptiveDataSetTrailingSmallChunk() local [all …]
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | FakeChunkSource.java | 61 FakeAdaptiveDataSet dataSet = in createChunkSource() local 63 dataSourceFactory.setFakeDataSet(dataSet); in createChunkSource() 68 return new FakeChunkSource(trackSelection, dataSource, dataSet); in createChunkSource() 75 private final FakeAdaptiveDataSet dataSet; field in FakeChunkSource 78 FakeAdaptiveDataSet dataSet) { in FakeChunkSource() argument 81 this.dataSet = dataSet; in FakeChunkSource() 86 int chunkIndex = dataSet.getChunkIndexByPosition(positionUs); in getAdjustedSeekPositionUs() 87 long firstSyncUs = dataSet.getStartTime(chunkIndex); in getAdjustedSeekPositionUs() 89 firstSyncUs < positionUs && chunkIndex < dataSet.getChunkCount() - 1 in getAdjustedSeekPositionUs() 90 ? dataSet.getStartTime(chunkIndex + 1) in getAdjustedSeekPositionUs() [all …]
|
D | FakeAdaptiveDataSet.java | 75 private final FakeAdaptiveDataSet dataSet; field in FakeAdaptiveDataSet.Iterator 85 public Iterator(FakeAdaptiveDataSet dataSet, int trackGroupIndex, int chunkIndex) { in Iterator() argument 86 super(/* fromIndex= */ chunkIndex, /* toIndex= */ dataSet.getChunkCount() - 1); in Iterator() 87 this.dataSet = dataSet; in Iterator() 94 String uri = dataSet.getUri(trackGroupIndex); in getDataSpec() 96 Segment fakeDataChunk = Util.castNonNull(dataSet.getData(uri)).getSegments().get(chunkIndex); in getDataSpec() 103 return dataSet.getStartTime((int) getCurrentIndex()); in getChunkStartTimeUs() 110 return dataSet.getStartTime(chunkIndex) + dataSet.getChunkDuration(chunkIndex); in getChunkEndTimeUs()
|
D | FakeDataSet.java | 132 private final FakeDataSet dataSet; field in FakeDataSet.FakeData 139 private FakeData(FakeDataSet dataSet, @Nullable Uri uri) { in FakeData() argument 140 this.dataSet = dataSet; in FakeData() 147 return dataSet; in endData()
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | HistogramChart.java | 66 final BarDataSet dataSet = new BarDataSet(new ArrayList<BarEntry>(), ""); in HistogramChart() local 67 dataSet.setColor(ColorTemplate.MATERIAL_COLORS[i]); in HistogramChart() 68 dataSets.add(dataSet); in HistogramChart() 144 for (IBarDataSet dataSet : barChart.getBarData().getDataSets()) { in clearData() 145 dataSet.clear(); in clearData() 259 final IBarDataSet dataSet = barData.getDataSetByIndex(setNum); in recalculateDataSet() local 260 dataSet.clear(); in recalculateDataSet() 262 dataSet.addEntry(new BarEntry(i, bins[setNum][i])); in recalculateDataSet()
|
D | AudioFragment.java | 276 LineDataSet dataSet = new LineDataSet(entries, "Waveform"); in drawWaveformChart() local 277 dataSet.setColor(Color.BLACK); in drawWaveformChart() 278 dataSet.setValueTextColor(Color.BLACK); in drawWaveformChart() 279 dataSet.setCircleColor(ContextCompat.getColor(getContext(), R.color.DarkGreen)); in drawWaveformChart() 280 dataSet.setCircleRadius(1.5f); in drawWaveformChart() 281 dataSet.setCircleColorHole(Color.DKGRAY); in drawWaveformChart() 282 LineData lineData = new LineData(dataSet); in drawWaveformChart()
|
D | ScreenResponseFragment.java | 547 LineDataSet dataSet = new LineDataSet(entries, "Brightness"); in drawBrightnessChart() local 548 dataSet.setColor(Color.BLACK); in drawBrightnessChart() 549 dataSet.setValueTextColor(Color.BLACK); in drawBrightnessChart() 550 dataSet.setCircleColor(Color.BLACK); in drawBrightnessChart() 551 dataSet.setCircleRadius(1.5f); in drawBrightnessChart() 552 dataSet.setCircleColorHole(Color.DKGRAY); in drawBrightnessChart() 553 LineData lineData = new LineData(dataSet); in drawBrightnessChart()
|
/external/dng_sdk/source/ |
D | dng_iptc.cpp | 258 uint8 dataSet = stream.Get_uint8 (); in Parse() local 266 switch (dataSet) in Parse() 344 uint8 dataSet = stream.Get_uint8 (); in Parse() local 354 switch ((DataSet) dataSet) in Parse() 629 uint8 dataSet, in SpoolString() argument 640 stream.Put_uint8 (dataSet); in SpoolString()
|
D | dng_iptc.h | 162 uint8 dataSet,
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue100/ |
D | MergeJavaBeanTest.java | 83 Set<Data> dataSet = new HashSet<Data>(); in testMergeWithTags() local 86 dataSet.add((Data) data); in testMergeWithTags() 89 assertEquals("Must be all but one Data instances.", list.size() - 1, dataSet.size()); in testMergeWithTags()
|
/external/skqp/docs/ |
D | illustrations.bmh | 811 const data dataSet[] = { 870 for (unsigned row = 0; row <= SK_ARRAY_COUNT(dataSet); ++row) { 876 if (row == SK_ARRAY_COUNT(dataSet)) { 879 canvas->drawSimpleText(dataSet[row].name, strlen(dataSet[row].name), 881 if (dataSet[row].super) { 882 SkScalar width = bf.measureText(dataSet[row].name, strlen(dataSet[row].name), 884 canvas->drawSimpleText(&dataSet[row].super, 1, SkTextEncoding::kUTF8, 888 int val = dataSet[row].yn[col];
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | CountItems.java | 248 Set<Data> dataSet = codeList.getAll(currencyCode); in generateSupplementalCurrencyItems() local 250 for (Data data : dataSet) { in generateSupplementalCurrencyItems() 287 Set<Data> dataSet = codeList.getAll(currencyCode); in generateCurrencyItems() local 289 for (Data data : dataSet) { in generateCurrencyItems()
|
/external/angle/src/tests/gl_tests/ |
D | VertexAttributeTest.cpp | 764 std::array<std::pair<const TestData &, GLint>, 4> dataSet = { in TEST_P() local 767 for (auto data : dataSet) in TEST_P() 818 std::array<std::pair<const TestData &, GLint>, 4> dataSet = { in TEST_P() local 821 for (auto data : dataSet) in TEST_P() 870 std::array<std::pair<const TestData &, GLint>, 4> dataSet = { in TEST_P() local 873 for (auto data : dataSet) in TEST_P() 925 std::array<std::pair<const TestData &, GLint>, 4> dataSet = { in TEST_P() local 928 for (auto data : dataSet) in TEST_P()
|