Searched refs:startVolume (Results 1 – 2 of 2) sorted by relevance
987 final float startVolume = mVolumes[0]; in scaleToEndVolume() local989 if (endVolume == startVolume) { in scaleToEndVolume()991 final float offset = volume - startVolume; in scaleToEndVolume()997 final float scale = (volume - startVolume) / (endVolume - startVolume); in scaleToEndVolume()999 mVolumes[i] = scale * (mVolumes[i] - startVolume) + startVolume; in scaleToEndVolume()1021 final float startVolume = mVolumes[0]; in scaleToStartVolume() local1023 if (endVolume == startVolume) { in scaleToStartVolume()1025 final float offset = volume - startVolume; in scaleToStartVolume()1030 final float scale = (volume - endVolume) / (startVolume - endVolume); in scaleToStartVolume()
269 const T startVolume = first().second; in scaleToStartVolume() local271 if (endVolume == startVolume) { in scaleToStartVolume()273 const T offset = volume - startVolume; in scaleToStartVolume()279 const T scale = (volume - endVolume) / (startVolume - endVolume); in scaleToStartVolume()