Home
last modified time | relevance | path

Searched refs:mPos (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Calculator/src/com/android/calculator2/
DHistory.java30 int mPos; field in History
43 mPos = in.readInt(); in History()
62 mPos = 0; in clear()
71 out.writeInt(mPos); in write()
79 if (mPos > 0) { in moveToPrevious()
80 --mPos; in moveToPrevious()
87 if (mPos < mEntries.size() - 1) { in moveToNext()
88 ++mPos; in moveToNext()
103 mPos = mEntries.size() - 1; in enter()
108 return mEntries.elementAt(mPos); in current()
/packages/apps/IM/src/com/android/im/imps/
DPtsPrimitiveParser.java48 private int mPos; field in PtsPrimitiveParser
57 mPos = 0; in parse()
90 mPos = m.start(5); in parsePrim()
92 if (mPos < mStringBuf.length()) { in parsePrim()
495 int pos = mPos; in parseParams()
518 mPos = pos; in parseParams()
520 pos = mPos; in parseParams()
529 pos = mPos; in parseParams()
537 int pos = mPos; in parseParamValue()
552 mPos = pos; in parseParamValue()
[all …]
/packages/apps/GoogleSearch/src/com/android/googlesearch/
DSuggestionProvider.java222 if (mPos == -1) return null; in getString()
226 return String.valueOf(mPos); in getString()
229 return mSuggestions.getString(mPos); in getString()
231 return mPopularity.getString(mPos); in getString()
265 return mPos; // use row# as the _Id in getLong()
/packages/apps/GlobalSearch/src/com/android/globalsearch/
DSuggestionCursor.java404 if (mPos < 0) { in get()
407 if (mPos >= mData.size()) { in get()
411 SuggestionData suggestion = mData.get(mPos); in get()
412 if (DBG && SPEW) Log.d(TAG, "get(" + mPos + ")"); in get()
477 case _ID: return Integer.toString(mPos); in getColumnValue()
/packages/apps/Browser/src/com/android/browser/
DBrowserProvider.java515 if ((mPos != -1 && mHistoryCursor != null)) { in getString()
518 if (mHistoryCount > mPos) { in getString()
525 if (mHistoryCount > mPos) { in getString()
532 if (mHistoryCount > mPos) { in getString()
542 if (mHistoryCount > mPos) { in getString()
552 if (mHistoryCount > mPos) { in getString()
572 if (mHistoryCount > mPos) { in getString()
589 if (mHistoryCount > mPos) { in getString()
619 if ((mPos != -1) && column == 0) { in getLong()
620 return mPos; // use row# as the _Id in getLong()
/packages/apps/Gallery/src/com/android/camera/
DViewImage.java1189 int mPos;
1195 mPos = -1;
1213 if (pos == e.mPos) {
1242 if (e.mPos == -1) {
1246 int dist = Math.abs(pos - e.mPos);
1261 best.mPos = pos;
1285 if (e.mPos != -1) {
/packages/apps/Camera/src/com/android/camera/
DViewImage.java1187 int mPos;
1193 mPos = -1;
1211 if (pos == e.mPos) {
1240 if (e.mPos == -1) {
1244 int dist = Math.abs(pos - e.mPos);
1259 best.mPos = pos;
1283 if (e.mPos != -1) {