Home
last modified time | relevance | path

Searched refs:currentIndex (Results 1 – 11 of 11) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputMethodManager.java131 final int currentIndex = getSubtypeIndexInList(currentSubtype, enabledSubtypes); in switchToNextInputSubtypeInThisIme() local
132 if (currentIndex == INDEX_NOT_FOUND) { in switchToNextInputSubtypeInThisIme()
137 final int nextIndex = (currentIndex + 1) % enabledSubtypes.size(); in switchToNextInputSubtypeInThisIme()
138 if (nextIndex <= currentIndex && !onlyCurrentIme) { in switchToNextInputSubtypeInThisIme()
151 final int currentIndex = getImiIndexInList(getInputMethodInfoOfThisIme(), enabledImis); in switchToNextInputMethodAndSubtype() local
152 if (currentIndex == INDEX_NOT_FOUND) { in switchToNextInputMethodAndSubtype()
157 final InputMethodInfo nextImi = getNextNonAuxiliaryIme(currentIndex, enabledImis); in switchToNextInputMethodAndSubtype()
183 private static InputMethodInfo getNextNonAuxiliaryIme(final int currentIndex, in getNextNonAuxiliaryIme() argument
187 final int nextIndex = (currentIndex + i) % count; in getNextNonAuxiliaryIme()
193 return imiList.get(currentIndex); in getNextNonAuxiliaryIme()
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/
DSettingsDialog.java215 int currentIndex = Arrays.asList(presetSettingChoices).indexOf( in stringSettingHandleKeyCode() local
219 currentIndex++; in stringSettingHandleKeyCode()
222 currentIndex--; in stringSettingHandleKeyCode()
227 int newIndex = (currentIndex + presetSettingChoices.length) % presetSettingChoices.length; in stringSettingHandleKeyCode()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DFromAddressSpinner.java59 int currentIndex = 0; in selectCurrentAccount() local
63 setSelection(currentIndex, true); in selectCurrentAccount()
66 currentIndex++; in selectCurrentAccount()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoDataAdapter.java659 int currentIndex = mCurrentIndex; in updateImageRequests() local
660 MediaItem item = mData[currentIndex % DATA_CACHE_SIZE]; in updateImageRequests()
672 task = startTaskIfNeeded(currentIndex + offset, bit); in updateImageRequests()
DPhotoPage.java1024 int currentIndex = mModel.getCurrentIndex(); in onItemSelected() local
1039 data.putInt(SlideshowPage.KEY_PHOTO_INDEX, currentIndex); in onItemSelected()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java455 int currentIndex = mCurrentMatrixIndex; in save() local
460 System.arraycopy(mMatrices, currentIndex, mMatrices, mCurrentMatrixIndex, MATRIX_SIZE); in save()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java455 int currentIndex = mCurrentMatrixIndex; in save() local
460 System.arraycopy(mMatrices, currentIndex, mMatrices, mCurrentMatrixIndex, MATRIX_SIZE); in save()
/packages/apps/Camera2/src/com/android/camera/app/
DCameraAppUI.java1435 int currentIndex = mController.getCurrentModuleIndex(); in onModeSelected() local
1437 if (lastIndex == currentIndex) { in onModeSelected()
/packages/apps/ContactsCommon/libs/
Dgeocoder-2.9.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncher.java984 int currentIndex = savedState.getInt("apps_customize_currentIndex"); in restoreState() local
985 mAppsCustomizeContent.restorePageForIndex(currentIndex); in restoreState()
1576 int currentIndex = mAppsCustomizeContent.getSaveInstanceStateIndex(); in onSaveInstanceState() local
1577 outState.putInt("apps_customize_currentIndex", currentIndex); in onSaveInstanceState()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java1342 int currentIndex = savedState.getInt("apps_customize_currentIndex"); in restoreState() local
1343 mAppsCustomizeContent.restorePageForIndex(currentIndex); in restoreState()
2052 int currentIndex = mAppsCustomizeContent.getSaveInstanceStateIndex(); in onSaveInstanceState() local
2053 outState.putInt("apps_customize_currentIndex", currentIndex); in onSaveInstanceState()