Searched refs:endVolume (Results 1 – 2 of 2) sorted by relevance
978 final float endVolume = mVolumes[mVolumes.length - 1]; in scaleToEndVolume() local979 if (endVolume == startVolume) { in scaleToEndVolume()987 final float scale = (volume - startVolume) / (endVolume - startVolume); in scaleToEndVolume()1012 final float endVolume = mVolumes[mVolumes.length - 1]; in scaleToStartVolume() local1013 if (endVolume == startVolume) { in scaleToStartVolume()1020 final float scale = (volume - endVolume) / (startVolume - endVolume); in scaleToStartVolume()1022 mVolumes[i] = scale * (mVolumes[i] - endVolume) + endVolume; in scaleToStartVolume()
271 const T endVolume = last().second; in scaleToStartVolume() local272 if (endVolume == startVolume) { in scaleToStartVolume()280 const T scale = (volume - endVolume) / (startVolume - endVolume); in scaleToStartVolume()282 it->second = scale * (it->second - endVolume) + endVolume; in scaleToStartVolume()