Searched refs:mCurrentIndex (Results 1 - 10 of 10) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
H A DConversationParticipantsData.java103 private int mCurrentIndex = -1;
107 return mCurrentIndex < mConversationParticipantsMap.size() - 1;
112 mCurrentIndex++;
113 if (mCurrentIndex >= mConversationParticipantsMap.size()) {
116 return mConversationParticipantsMap.valueAt(mCurrentIndex);
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
H A DArrayInitializerFormatter.java29 private int mCurrentIndex = 0; field in class:ArrayInitializerFormatter
44 return mCurrentIndex;
51 final int lastIndex = mCurrentIndex - 1;
84 mStartIndexOfBuffer = mCurrentIndex;
101 mCurrentIndex++;
/packages/apps/Settings/src/com/android/settings/
H A DColorModePreference.java44 private int mCurrentIndex; field in class:ColorModePreference
122 mCurrentIndex = -1;
125 mCurrentIndex = i;
129 setChecked(mCurrentIndex == 1);
139 mCurrentIndex = mDescriptions.indexOf(desc);
/packages/apps/Settings/src/com/android/settings/vpn2/
H A DLockdownConfigFragment.java49 private int mCurrentIndex; field in class:LockdownConfigFragment
82 mCurrentIndex = 0;
85 mCurrentIndex = mTitles.size();
107 listView.setItemChecked(mCurrentIndex, true);
114 if (mCurrentIndex == newIndex) return;
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DPhotoDataAdapter.java128 // mCurrentIndex is the "center" image the user is viewing. The change of
129 // mCurrentIndex triggers the data loading and image loading.
130 private int mCurrentIndex; field in class:PhotoDataAdapter
134 // database reload or mCurrentIndex changes.
168 // If mItemPath is not null, mCurrentIndex is only a hint for where we
169 // can find the item. If mItemPath is null, then we use the mCurrentIndex to
178 mCurrentIndex = indexHint;
245 long newVersion = getVersion(mCurrentIndex + i);
266 mPaths[i] = getPath(mCurrentIndex + i - SCREEN_NAIL_MAX);
287 mPhotoView.notifyDataChange(fromIndex, -mCurrentIndex,
[all...]
H A DPhotoPage.java141 private int mCurrentIndex = 0; field in class:PhotoPage
394 mCurrentIndex = data.getInt(KEY_INDEX_HINT, 0);
439 mCurrentIndex++;
460 if (mCurrentIndex >= mediaItemCount) mCurrentIndex = 0;
461 itemPath = mMediaSet.getMediaItem(mCurrentIndex, 1)
469 mActivity, mPhotoView, mMediaSet, itemPath, mCurrentIndex,
480 int oldIndex = mCurrentIndex;
481 mCurrentIndex = index;
484 if (mCurrentIndex >
[all...]
H A DGalleryActionBar.java55 private int mCurrentIndex; field in class:GalleryActionBar
193 mCurrentIndex = 0;
232 return sClusterItems[mCurrentIndex].action;
365 mCurrentIndex = i;
374 if (itemPosition != mCurrentIndex && mClusterRunner != null
/packages/apps/Camera/src/com/android/camera/ui/
H A DCameraSwitcher.java50 private int mCurrentIndex; field in class:CameraSwitcher
88 mCurrentIndex = i;
104 if ((ix != mCurrentIndex) && (mListener != null)) {
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
H A Dtrie_map.cpp152 if (state.mTableSize <= state.mCurrentIndex) {
156 const int entryIndex = state.mTableIndex + state.mCurrentIndex;
157 state.mCurrentIndex += 1;
H A Dtrie_map.h55 int mCurrentIndex; member in struct:latinime::TrieMap::TableIterationState
58 : mTableSize(tableSize), mTableIndex(tableIndex), mCurrentIndex(0) {}

Completed in 407 milliseconds