Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/menu/
DChannelsRowAdapter.java191 int currentIndex = 1; in updateItems() local
192 if (updateItem(mShowChannelUpDown, ChannelsRowItem.UP_ITEM, currentIndex)) { in updateItems()
193 ++currentIndex; in updateItems()
195 if (updateItem(mShowChannelUpDown, ChannelsRowItem.DOWN_ITEM, currentIndex)) { in updateItems()
196 ++currentIndex; in updateItems()
198 if (updateItem(needToShowSetupItem(), ChannelsRowItem.SETUP_ITEM, currentIndex)) { in updateItems()
199 ++currentIndex; in updateItems()
201 if (updateItem(needToShowDvrItem(), ChannelsRowItem.DVR_ITEM, currentIndex)) { in updateItems()
202 ++currentIndex; in updateItems()
204 if (updateItem(needToShowAppLinkItem(), ChannelsRowItem.APP_LINK_ITEM, currentIndex)) { in updateItems()
[all …]
/packages/services/Car/obd2-lib/src/com/android/car/obd2/
DObd2FreezeFrameGenerator.java93 int currentIndex = 0; in discoverNewDtcs() local
96 for (; currentIndex < currentDtcs.size(); ++currentIndex) { in discoverNewDtcs()
97 if (currentIndex == mPreviousDtcs.size()) { in discoverNewDtcs()
102 if (!currentDtcs.get(currentIndex).equals(mPreviousDtcs.get(currentIndex))) { in discoverNewDtcs()
111 for (; currentIndex < currentDtcs.size(); ++currentIndex) { in discoverNewDtcs()
112 newDtcs.add(new FreezeFrameIdentity(currentDtcs.get(currentIndex), currentIndex)); in discoverNewDtcs()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputMethodManager.java149 final int currentIndex = getSubtypeIndexInList(currentSubtype, enabledSubtypes); in switchToNextInputSubtypeInThisIme() local
150 if (currentIndex == INDEX_NOT_FOUND) { in switchToNextInputSubtypeInThisIme()
155 final int nextIndex = (currentIndex + 1) % enabledSubtypes.size(); in switchToNextInputSubtypeInThisIme()
156 if (nextIndex <= currentIndex && !onlyCurrentIme) { in switchToNextInputSubtypeInThisIme()
169 final int currentIndex = getImiIndexInList(getInputMethodInfoOfThisIme(), enabledImis); in switchToNextInputMethodAndSubtype() local
170 if (currentIndex == INDEX_NOT_FOUND) { in switchToNextInputMethodAndSubtype()
175 final InputMethodInfo nextImi = getNextNonAuxiliaryIme(currentIndex, enabledImis); in switchToNextInputMethodAndSubtype()
201 private static InputMethodInfo getNextNonAuxiliaryIme(final int currentIndex, in getNextNonAuxiliaryIme() argument
205 final int nextIndex = (currentIndex + i) % count; in getNextNonAuxiliaryIme()
211 return imiList.get(currentIndex); in getNextNonAuxiliaryIme()
/packages/apps/Settings/src/com/android/settings/development/bluetooth/
DBaseBluetoothDialogPreference.java74 final int currentIndex = mCallback.getCurrentConfigIndex(); in onBindDialogView() local
75 if (currentIndex < 0 || currentIndex >= mRadioButtonIds.size()) { in onBindDialogView()
76 Log.e(TAG, "Unable to show dialog by the incorrect index: " + currentIndex); in onBindDialogView()
86 radioGroup.check(mRadioButtonIds.get(currentIndex)); in onBindDialogView()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DOverviewScrim.java56 int currentIndex = root.indexOfChild(mCurrentScrimmedView); in updateCurrentScrimmedView() local
59 && currentIndex < childCount) { in updateCurrentScrimmedView()
60 currentIndex++; in updateCurrentScrimmedView()
61 mCurrentScrimmedView = root.getChildAt(currentIndex); in updateCurrentScrimmedView()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DCallComposerActivity.java163 private int currentIndex; field in CallComposerActivity
210 currentIndex = savedInstanceState.getInt(CURRENT_INDEX_KEY); in onCreate()
212 onPageSelected(currentIndex); in onCreate()
225 setMediaIconSelected(currentIndex); in onCreate()
390 (CallComposerFragment) adapter.instantiateItem(pager, currentIndex); in sendAndCall()
515 if (currentIndex == CallComposerPagerAdapter.INDEX_MESSAGE) { in onPageSelected()
518 currentIndex = position; in onPageSelected()
536 outState.putInt(CURRENT_INDEX_KEY, currentIndex); in onSaveInstanceState()
544 ((CallComposerFragment) adapter.instantiateItem(pager, currentIndex)).clearComposer(); in onBackPressed()
562 if (adapter.instantiateItem(pager, currentIndex) != fragment) { in composeCall()
/packages/apps/Messaging/src/com/android/messaging/util/
DUiUtils.java354 int currentIndex = 0; in stripHtml() local
358 if (spanStart > currentIndex) { in stripHtml()
359 result.append(strippedText, currentIndex, spanStart); in stripHtml()
365 currentIndex = spanEnd; in stripHtml()
367 if (strippedText.length() > currentIndex) { in stripHtml()
368 result.append(strippedText, currentIndex, strippedText.length()); in stripHtml()
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java782 int currentIndex = mFilmstripController.getCurrentAdapterIndex();
784 if (index == currentIndex) {
874 int currentIndex = mFilmstripController.getCurrentAdapterIndex(); in onShareTargetSelected() local
875 if (currentIndex < 0) { in onShareTargetSelected()
878 UsageStatistics.instance().mediaInteraction(fileNameFromAdapterAtIndex(currentIndex), in onShareTargetSelected()
880 NavigationChange.InteractionCause.BUTTON, fileAgeFromAdapterAtIndex(currentIndex)); in onShareTargetSelected()
950 int currentIndex = mFilmstripController.getCurrentAdapterIndex();
951 if (currentIndex == -1) {
955 mDataAdapter.getItemAt(currentIndex).getData().getUri())) {
962 int currentIndex = mFilmstripController.getCurrentAdapterIndex();
[all …]
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DAppGridActivity.java314 int currentIndex = 0; in getMostRecentApps() local
318 while (itemsAdded < itemCount && currentIndex < statsSize) { in getMostRecentApps()
319 UsageStats usageStats = stats.get(currentIndex); in getMostRecentApps()
321 currentIndex++; in getMostRecentApps()
/packages/apps/Settings/src/com/android/settings/display/
DScreenZoomPreference.java45 final int currentIndex = density.getCurrentIndex(); in ScreenZoomPreference() local
46 setSummary(entries[currentIndex]); in ScreenZoomPreference()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DScreenZoomPreference.java45 final int currentIndex = density.getCurrentIndex(); in ScreenZoomPreference() local
46 setSummary(entries[currentIndex]); in ScreenZoomPreference()
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java286 int currentIndex = mCurrentMatrixIndex; in save() local
291 System.arraycopy(mMatrices, currentIndex, mMatrices, mCurrentMatrixIndex, MATRIX_SIZE); in save()
/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/PermissionController/src/com/android/permissioncontroller/permission/ui/
DGrantPermissionsActivity.java654 int currentIndex = 0; in showNextPermissionGroupGrantRequest() local
876 mViewHandler.updateUi(groupState.mGroup.getName(), numGrantRequests, currentIndex, in showNextPermissionGroupGrantRequest() local
883 currentIndex++; in showNextPermissionGroupGrantRequest()
/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.java1561 int currentIndex = mController.getCurrentModuleIndex(); in onModeSelected() local
1563 if (lastIndex == currentIndex) { in onModeSelected()
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...
/packages/apps/TV/libs/m2/
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dprotobuf-java-3.7.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...