Home
last modified time | relevance | path

Searched refs:oldIndex (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/media/java/android/media/
DAudioService.java526 …final int oldIndex = (streamState.muteCount() != 0) ? streamState.mLastAudibleIndex : streamState.… in adjustStreamVolume() local
541 adjustVolume = checkForRingerModeChange(oldIndex, direction, streamTypeAlias); in adjustStreamVolume()
564 sendVolumeUpdate(streamType, oldIndex, index, flags); in adjustStreamVolume()
572 …final int oldIndex = (streamState.muteCount() != 0) ? streamState.mLastAudibleIndex : streamState.… in setStreamVolume() local
596 sendVolumeUpdate(streamType, oldIndex, index, flags); in setStreamVolume()
600 private void sendVolumeUpdate(int streamType, int oldIndex, int index, int flags) { in sendVolumeUpdate() argument
607 oldIndex = (oldIndex + 5) / 10; in sendVolumeUpdate()
612 intent.putExtra(AudioManager.EXTRA_PREV_VOLUME_STREAM_VALUE, oldIndex); in sendVolumeUpdate()
1624 private boolean checkForRingerModeChange(int oldIndex, int direction, int streamType) { in checkForRingerModeChange() argument
1627 int uiIndex = (oldIndex + 5) / 10; in checkForRingerModeChange()
[all …]
/frameworks/base/core/java/android/view/
DScaleGestureDetector.java486 private int findNewActiveIndex(MotionEvent ev, int otherActiveId, int oldIndex) { in findNewActiveIndex() argument
495 if (i != oldIndex && i != otherActiveIndex) { in findNewActiveIndex()
/frameworks/base/services/java/com/android/server/wm/
DWindowManagerService.java1758 int oldIndex = localmWindows.indexOf(wallpaper); in adjustWallpaperWindowsLocked() local
1759 if (oldIndex >= 0) { in adjustWallpaperWindowsLocked()
1761 + oldIndex + ": " + wallpaper); in adjustWallpaperWindowsLocked()
1762 localmWindows.remove(oldIndex); in adjustWallpaperWindowsLocked()
1764 if (oldIndex < foundI) { in adjustWallpaperWindowsLocked()
1772 + " from " + oldIndex + " to " + foundI); in adjustWallpaperWindowsLocked()