Lines Matching defs:index
80 * @return an index from 0 to (DAY_COUNT - 1) that identifies which
92 * @param index date bin index as returned by getIndex()
95 public String getLabel(int index) {
96 if (index < 0 || index >= DAY_COUNT) return "";
97 return mLabels[index];
102 * @param index date bin index as returned by getIndex()
103 * @return date boundary at given index
105 public long getBoundary(int index) {
108 if (index < 0 || index > lastDay) index = 0;
111 if (index == lastDay) return Long.MIN_VALUE;
112 return mBins[index];