Searched refs:binWidth (Results 1 – 1 of 1) sorted by relevance
55 final float binWidth; in HistogramChart() local59 binWidth = a.getFloat(R.styleable.HistogramChart_binWidth, 5f); in HistogramChart()74 histogramData = new HistogramData(numDataSets, binWidth); in HistogramChart()197 private float binWidth; field in HistogramChart.HistogramData204 HistogramData(int numDataSets, float binWidth) { in HistogramData() argument205 this.binWidth = binWidth; in HistogramData()213 return binWidth; in getBinWidth()247 minBin = Math.floor(min / binWidth) * binWidth; in recalculateDataSet()248 maxBin = Math.floor(max / binWidth) * binWidth; in recalculateDataSet()254 ++bins[setNum][(int) (Math.floor((d - minBin) / binWidth))]; in recalculateDataSet()[all …]