Lines Matching refs:xOffset
1176 final float xOffset = p.readFloat();
1181 , xOffset);
1190 private Operation(@Flag int flags, int replaceId, float xOffset) {
1193 mXOffset = xOffset;
1293 * Sets the {@code xOffset} to use for the {@code VolumeShaper}.
1295 * The {@code xOffset} is the position on the volume curve,
1298 * @param xOffset a value between (or equal to) 0.f and 1.f, or Float.NaN to ignore.
1300 * @throws IllegalArgumentException if {@code xOffset} is not between 0.f and 1.f,
1303 public @NonNull Builder setXOffset(float xOffset) {
1304 if (xOffset < -0.f) {
1305 throw new IllegalArgumentException("Negative xOffset not allowed");
1306 } else if (xOffset > 1.f) {
1307 throw new IllegalArgumentException("xOffset > 1.f not allowed");
1310 mXOffset = xOffset;
1391 , p.readFloat()); // xOffset
1400 /* package */ State(float volume, float xOffset) {
1402 mXOffset = xOffset;
1414 * Gets the {@code xOffset} position on the normalized curve