Home
last modified time | relevance | path

Searched refs:mPos (Results 1 – 11 of 11) 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/QuickSearchBox/src/com/android/quicksearchbox/
DListSuggestionCursor.java41 private int mPos = 0; field in ListSuggestionCursor
75 return mPos; in getPosition()
79 mPos = pos; in moveTo()
84 if (mPos >= size) { in moveToNext()
88 mPos++; in moveToNext()
89 return mPos < size; in moveToNext()
93 mSuggestions.remove(mPos); in removeRow()
97 mSuggestions.set(mPos, new Entry(suggestion)); in replaceRow()
106 return mSuggestions.get(mPos).get(); in current()
140 return mSuggestions.get(mPos).getExtras(); in getExtras()
/packages/apps/Email/src/com/android/email/mail/transport/
DDiscourseLogger.java34 private int mPos; field in DiscourseLogger
48 mBuffer[mPos] = s; in addLine()
49 mPos++; in addLine()
50 if (mPos >= mBufferSize) { in addLine()
51 mPos = 0; in addLine()
89 final int start = mPos; in getLines()
90 int pos = mPos; in getLines()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DAbstractGoogleSourceResult.java32 private int mPos = 0; field in AbstractGoogleSourceResult
51 return mPos; in getPosition()
59 mPos = pos; in moveTo()
64 if (mPos >= size) { in moveToNext()
68 mPos++; in moveToNext()
69 return mPos < size; in moveToNext()
/packages/inputmethods/LatinIME/native/jni/src/
Dterminal_attributes.h33 int mPos; variable
38 : mDict(dict), mPos(pos), in ShortcutIterator()
50 const int shortcutFlags = BinaryFormat::getFlagsAndForwardPointer(mDict, &mPos); in getNextShortcutTarget()
55 const int codePoint = BinaryFormat::getCodePointAndForwardPointer(mDict, &mPos); in getNextShortcutTarget()
/packages/apps/Browser/src/com/android/browser/search/
DOpenSearchSearchEngine.java235 if (mPos != -1) { in getString()
238 return mSuggestions.getString(mPos); in getString()
244 return mDescriptions.getString(mPos); in getString()
273 return mPos; // use row# as the _Id in getLong()
/packages/apps/Browser/src/com/android/browser/provider/
DBrowserProvider.java545 if ((mPos != -1 && mHistoryCursor != null)) { in getString()
548 if (mHistoryCount == 0 && mPos == 0) { in getString()
551 if (mPos == 0) { in getString()
553 } else if (mPos == 1) { in getString()
557 if (type == -1) type = (mPos - 1) < mHistoryCount ? 1 : 2; in getString()
559 type = mPos < mHistoryCount ? 1 : 2; in getString()
672 if ((mPos != -1) && column == 0) {
673 return mPos; // use row# as the _Id
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DSuggestionCursorUtil.java109 private int mPos = 0;
120 mPos++;
121 return new SuggestionPosition(cursor, mPos);
/packages/apps/Music/src/com/android/music/
DSortCursor.java46 mPos = -1;
51 mPos = -1;
/packages/apps/Gallery/src/com/android/camera/
DViewImage.java1195 int mPos;
1201 mPos = -1;
1219 if (pos == e.mPos) {
1248 if (e.mPos == -1) {
1252 int dist = Math.abs(pos - e.mPos);
1267 best.mPos = pos;
1291 if (e.mPos != -1) {
/packages/apps/Email/tests/src/com/android/email/activity/
DMessageOrderManagerTest.java375 return mList[mPos]; in getLong()