Lines Matching refs:pos
167 int pos;
173 if (Integer.MIN_VALUE != (pos = alphaMap.get(key, Integer.MIN_VALUE))) {
177 if (pos < 0) {
178 pos = -pos;
179 end = pos;
182 return pos;
198 pos = (end + start) / 2;
200 while (pos < end) {
201 // Get letter at pos
202 cursor.moveToPosition(pos);
205 if (pos == 0) {
208 pos--;
220 // if (curPos == Integer.MIN_VALUE || Math.abs(curPos) > pos) {
221 // Negative pos indicates that it is an approximation
222 // alphaMap.put(startingLetterKey, -pos);
226 start = pos + 1;
228 pos = count;
232 end = pos;
236 if (start == pos) {
241 end = pos;
244 pos = (start + end) / 2;
246 alphaMap.put(key, pos);
248 return pos;