Searched refs:startVolume (Results 1 – 2 of 2) sorted by relevance
977 final float startVolume = mVolumes[0]; in scaleToEndVolume() local979 if (endVolume == startVolume) { in scaleToEndVolume()981 final float offset = volume - startVolume; in scaleToEndVolume()987 final float scale = (volume - startVolume) / (endVolume - startVolume); in scaleToEndVolume()989 mVolumes[i] = scale * (mVolumes[i] - startVolume) + startVolume; in scaleToEndVolume()1011 final float startVolume = mVolumes[0]; in scaleToStartVolume() local1013 if (endVolume == startVolume) { in scaleToStartVolume()1015 final float offset = volume - startVolume; in scaleToStartVolume()1020 final float scale = (volume - endVolume) / (startVolume - endVolume); in scaleToStartVolume()
270 const T startVolume = first().second; in scaleToStartVolume() local272 if (endVolume == startVolume) { in scaleToStartVolume()274 const T offset = volume - startVolume; in scaleToStartVolume()280 const T scale = (volume - endVolume) / (startVolume - endVolume); in scaleToStartVolume()