Lines Matching refs:index
87 * @return an index from 0 to (DAY_COUNT - 1) that identifies which
99 * @param index date bin index as returned by getIndex()
102 public String getLabel(int index) {
103 if (index < 0 || index >= DAY_COUNT) return "";
104 return mLabels[index];
109 * @param index date bin index as returned by getIndex()
110 * @return date boundary at given index
112 public long getBoundary(int index) {
115 if (index < 0 || index > lastDay) index = 0;
118 if (index == lastDay) return Long.MIN_VALUE;
119 return mBins[index];