Searched refs:oldIndex (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/media/java/android/media/ |
D | AudioService.java | 904 int oldIndex = mStreamStates[streamType].getIndex(device); in adjustStreamVolume() local 921 Log.e(TAG, "adjustStreamVolume() safe volume index = "+oldIndex); in adjustStreamVolume() 936 sendVolumeUpdate(streamType, oldIndex, index, flags); in adjustStreamVolume() 1001 int oldIndex; in setStreamVolume() local 1019 oldIndex = streamState.getIndex(device); in setStreamVolume() 1058 sendVolumeUpdate(streamType, oldIndex, index, flags); in setStreamVolume() 1166 private void sendVolumeUpdate(int streamType, int oldIndex, int index, int flags) { in sendVolumeUpdate() argument 1174 oldIndex = (oldIndex + 5) / 10; in sendVolumeUpdate() 1179 intent.putExtra(AudioManager.EXTRA_PREV_VOLUME_STREAM_VALUE, oldIndex); in sendVolumeUpdate() 2492 private boolean checkForRingerModeChange(int oldIndex, int direction, int step) { in checkForRingerModeChange() argument [all …]
|
/frameworks/native/libs/input/ |
D | KeyCharacterMap.cpp | 177 ssize_t oldIndex = map->mKeys.indexOfKey(keyCode); in combine() local 178 if (oldIndex >= 0) { in combine() 179 delete map->mKeys.valueAt(oldIndex); in combine() 180 map->mKeys.editValueAt(oldIndex) = new Key(*key); in combine()
|
/frameworks/base/services/java/com/android/server/wm/ |
D | WindowManagerService.java | 1855 int oldIndex = windows.indexOf(wallpaper); in adjustWallpaperWindowsLocked() local 1856 if (oldIndex >= 0) { in adjustWallpaperWindowsLocked() 1858 + oldIndex + ": " + wallpaper); in adjustWallpaperWindowsLocked() 1859 windows.remove(oldIndex); in adjustWallpaperWindowsLocked() 1861 if (oldIndex < foundI) { in adjustWallpaperWindowsLocked() 1877 + " from " + oldIndex + " to " + insertionIndex); in adjustWallpaperWindowsLocked()
|