Home
last modified time | relevance | path

Searched refs:mCurrentIndex (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Car/Radio/src/com/android/car/radio/service/
DSkipController.java48 private int mCurrentIndex; field in SkipController
101 mCurrentIndex = 0; in onFavoritesChanged()
116 mCurrentIndex++; in getFavoriteLocked()
117 if (mCurrentIndex >= mFavorites.size()) { in getFavoriteLocked()
118 mCurrentIndex = 0; in getFavoriteLocked()
121 mCurrentIndex--; in getFavoriteLocked()
122 if (mCurrentIndex < 0) { in getFavoriteLocked()
123 mCurrentIndex = mFavorites.size() - 1; in getFavoriteLocked()
126 Program program = mFavorites.get(mCurrentIndex); in getFavoriteLocked()
127 Log.v(TAG, "getting favorite #" + mCurrentIndex + ": " + program.getName()); in getFavoriteLocked()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoDataAdapter.java130 private int mCurrentIndex; field in PhotoDataAdapter
178 mCurrentIndex = indexHint; in PhotoDataAdapter()
245 long newVersion = getVersion(mCurrentIndex + i); in fireDataChange()
266 mPaths[i] = getPath(mCurrentIndex + i - SCREEN_NAIL_MAX); in fireDataChange()
287 mPhotoView.notifyDataChange(fromIndex, -mCurrentIndex, in fireDataChange()
288 mSize - 1 - mCurrentIndex); in fireDataChange()
320 if (path == getPath(mCurrentIndex + i)) { in updateScreenNail()
341 if (path == getPath(mCurrentIndex)) { in updateFullImage()
396 if (mCurrentIndex == index) return; in updateCurrentIndex()
397 mCurrentIndex = index; in updateCurrentIndex()
[all …]
DPhotoPage.java141 private int mCurrentIndex = 0; field in PhotoPage
394 mCurrentIndex = data.getInt(KEY_INDEX_HINT, 0); in onCreate()
439 mCurrentIndex++; in onCreate()
460 if (mCurrentIndex >= mediaItemCount) mCurrentIndex = 0; in onCreate()
461 itemPath = mMediaSet.getMediaItem(mCurrentIndex, 1) in onCreate()
469 mActivity, mPhotoView, mMediaSet, itemPath, mCurrentIndex, in onCreate()
480 int oldIndex = mCurrentIndex; in onCreate()
481 mCurrentIndex = index; in onCreate()
484 if (mCurrentIndex > 0) { in onCreate()
488 if (oldIndex == 0 && mCurrentIndex > 0 in onCreate()
[all …]
DGalleryActionBar.java55 private int mCurrentIndex; field in GalleryActionBar
193 mCurrentIndex = 0; in GalleryActionBar()
232 return sClusterItems[mCurrentIndex].action; in getClusterTypeAction()
365 mCurrentIndex = i; in setSelectedAction()
374 if (itemPosition != mCurrentIndex && mClusterRunner != null in onNavigationItemSelected()
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DArrayInitializerFormatter.java29 private int mCurrentIndex = 0; field in ArrayInitializerFormatter
44 return mCurrentIndex; in getCurrentIndex()
51 final int lastIndex = mCurrentIndex - 1; in flush()
84 mStartIndexOfBuffer = mCurrentIndex; in outElement()
101 mCurrentIndex++; in outElement()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DConversationParticipantsData.java103 private int mCurrentIndex = -1; in iterator()
107 return mCurrentIndex < mConversationParticipantsMap.size() - 1; in iterator()
112 mCurrentIndex++; in iterator()
113 if (mCurrentIndex >= mConversationParticipantsMap.size()) { in iterator()
116 return mConversationParticipantsMap.valueAt(mCurrentIndex); in iterator()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DColorModePreference.java38 private int mCurrentIndex; field in ColorModePreference
97 mCurrentIndex = -1; in updateCurrentAndSupported()
100 mCurrentIndex = i; in updateCurrentAndSupported()
104 setChecked(mCurrentIndex == 1); in updateCurrentAndSupported()
114 mCurrentIndex = mDescriptions.indexOf(desc); in persistBoolean()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DColorModePreference.java39 private int mCurrentIndex; field in ColorModePreference
104 mCurrentIndex = -1; in updateCurrentAndSupported()
107 mCurrentIndex = i; in updateCurrentAndSupported()
111 setChecked(mCurrentIndex == 1); in updateCurrentAndSupported()
121 mCurrentIndex = mDescriptions.indexOf(desc); in persistBoolean()
/packages/apps/Settings/src/com/android/settings/development/
DColorModePreference.java39 private int mCurrentIndex; field in ColorModePreference
104 mCurrentIndex = -1; in updateCurrentAndSupported()
107 mCurrentIndex = i; in updateCurrentAndSupported()
111 setChecked(mCurrentIndex == 1); in updateCurrentAndSupported()
121 mCurrentIndex = mDescriptions.indexOf(desc); in persistBoolean()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DPreviewSeekBarPreferenceFragment.java50 protected int mCurrentIndex; field in PreviewSeekBarPreferenceFragment
165 mSeekBar.setProgress(mCurrentIndex); in onStart()
196 mPreviewPagerAdapter.setPreviewLayer(index, mCurrentIndex, in setPreviewLayer()
199 mCurrentIndex = index; in setPreviewLayer()
DScreenZoomPreferenceFragmentForSetupWizard.java31 if (mCurrentIndex != mInitialIndex) { in onStop()
33 getContext(), SettingsEnums.SUW_ACCESSIBILITY_DISPLAY_SIZE, mCurrentIndex); in onStop() local
DFontSizePreferenceFragmentForSetupWizard.java32 if (mCurrentIndex != mInitialIndex) { in onStop()
34 mCurrentIndex); in onStop() local
DScreenZoomSettings.java101 final int densityDpi = mValues[mCurrentIndex]; in commit()
DToggleFontSizePreferenceFragment.java89 Settings.System.putFloat(resolver, Settings.System.FONT_SCALE, mValues[mCurrentIndex]); in commit()
/packages/apps/Settings/src/com/android/settings/display/
DPreviewSeekBarPreferenceFragment.java50 protected int mCurrentIndex; field in PreviewSeekBarPreferenceFragment
165 mSeekBar.setProgress(mCurrentIndex); in onStart()
196 mPreviewPagerAdapter.setPreviewLayer(index, mCurrentIndex, in setPreviewLayer()
199 mCurrentIndex = index; in setPreviewLayer()
DFontSizePreferenceFragmentForSetupWizard.java32 if (mCurrentIndex != mInitialIndex) { in onStop()
34 mCurrentIndex); in onStop() local
DScreenZoomPreferenceFragmentForSetupWizard.java31 if (mCurrentIndex != mInitialIndex) { in onStop()
33 getContext(), SettingsEnums.SUW_ACCESSIBILITY_DISPLAY_SIZE, mCurrentIndex); in onStop() local
DScreenZoomSettings.java101 final int densityDpi = mValues[mCurrentIndex]; in commit()
DToggleFontSizePreferenceFragment.java89 Settings.System.putFloat(resolver, Settings.System.FONT_SCALE, mValues[mCurrentIndex]); in commit()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dtrie_map.cpp152 if (state.mTableSize <= state.mCurrentIndex) { in iterateNext()
156 const int entryIndex = state.mTableIndex + state.mCurrentIndex; in iterateNext()
157 state.mCurrentIndex += 1; in iterateNext()
Dtrie_map.h55 int mCurrentIndex; member
58 : mTableSize(tableSize), mTableIndex(tableIndex), mCurrentIndex(0) {} in TableIterationState()