Searched refs:startVolume (Results 1 – 2 of 2) sorted by relevance
1086 final float startVolume = mVolumes[0]; in scaleToEndVolume() local1088 if (endVolume == startVolume) { in scaleToEndVolume()1090 final float offset = volume - startVolume; in scaleToEndVolume()1096 final float scale = (volume - startVolume) / (endVolume - startVolume); in scaleToEndVolume()1098 mVolumes[i] = scale * (mVolumes[i] - startVolume) + startVolume; in scaleToEndVolume()1120 final float startVolume = mVolumes[0]; in scaleToStartVolume() local1122 if (endVolume == startVolume) { in scaleToStartVolume()1124 final float offset = volume - startVolume; in scaleToStartVolume()1129 final float scale = (volume - endVolume) / (startVolume - endVolume); in scaleToStartVolume()
300 const T startVolume = first().second; in scaleToStartVolume() local302 if (endVolume == startVolume) { in scaleToStartVolume()304 const T offset = volume - startVolume; in scaleToStartVolume()310 const T scale = (volume - endVolume) / (startVolume - endVolume); in scaleToStartVolume()