Searched refs:barData (Results 1 – 2 of 2) sorted by relevance
/external/walt/android/WALT/app/src/test/java/org/chromium/latency/walt/ |
D | HistogramChartTest.java | 41 private BarData barData; field in HistogramChartTest 48 barData = new BarData(); in setUp() 49 barData.setBarWidth((1f - HistogramChart.GROUP_SPACE)/1); in setUp() 50 barData.addDataSet(new BarDataSet(new ArrayList<BarEntry>(), "SomeLabel")); in setUp() 52 data.addEntry(barData, 0, 12); in setUp() 53 data.addEntry(barData, 0, 14); in setUp() 54 data.addEntry(barData, 0, 16); in setUp() 55 data.addEntry(barData, 0, 21); in setUp() 60 final IBarDataSet barDataSet = barData.getDataSetByIndex(0); in testBinHeights() 69 final IBarDataSet barDataSet = barData.getDataSetByIndex(0); in testBinXPositions()
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | HistogramChart.java | 71 BarData barData = new BarData(dataSets); in HistogramChart() local 72 barData.setBarWidth((1f - GROUP_SPACE)/numDataSets); in HistogramChart() 73 barChart.setData(barData); in HistogramChart() 75 groupBars(barData); in HistogramChart() 106 static void groupBars(final BarData barData) { in groupBars() argument 107 IBarDataSet max = barData.getMaxEntryCountSet(); in groupBars() 110 float barWidthHalf = barData.getBarWidth() / 2f; in groupBars() 111 float interval = barData.getGroupWidth(GROUP_SPACE, 0); in groupBars() 118 for (IBarDataSet set : barData.getDataSets()) { in groupBars() 139 barData.notifyDataChanged(); in groupBars() [all …]
|