Searched defs:volumes (Results 1 - 6 of 6) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioPolicyConfig.h42 VolumeCurvesCollection *volumes = nullptr)
47 mVolumeCurves(volumes),
51 void setVolumes(const VolumeCurvesCollection &volumes) argument
54 *mVolumeCurves = volumes;
/frameworks/wilhelm/src/android/
H A DMediaPlayer_to_android.cpp585 float volumes[2]; local
587 android_player_volumeUpdate(volumes, &mp->mVolume, mp->mNumChannels, 1.0f, NULL);
588 float leftVol = volumes[0], rightVol = volumes[1];
H A DAudioPlayer_to_android.cpp273 // compute volumes without setting
275 float volumes[2]; local
276 android_player_volumeUpdate(volumes, &ap->mVolume, channelCount, ap->mAmplFromDirectLevel,
278 float leftVol = volumes[0], rightVol = volumes[1];
306 // volumes, but setting volumes is handled by the caller.
375 // return the computed volumes
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DSerializer.cpp523 const char *const VolumeTraits::collectionTag = "volumes";
640 VolumeTraits::Collection volumes; local
641 deserializeCollection<VolumeTraits>(doc, cur, volumes, &config);
642 config.setVolumes(volumes);
/frameworks/base/media/java/android/media/
H A DVolumeShaper.java354 new float[] {0.f, 1.f} /* volumes */)
367 new float[] {0.f, 1.f} /* volumes */)
514 final float[] volumes = new float[length];
517 volumes[i] = p.readFloat();
527 volumes);
574 @NonNull float[] volumes) {
582 mVolumes = volumes;
636 * Returns the volumes (y) coordinate array of the volume curve points.
643 * Checks the validity of times and volumes point representation.
645 * {@code times[]} and {@code volumes[]} ar
568 Configuration(@ype int type, int id, @OptionFlag int optionFlags, double durationMs, @InterpolatorType int interpolatorType, @NonNull float[] times, @NonNull float[] volumes) argument
660 checkCurveForErrors( @ullable float[] times, @Nullable float[] volumes, boolean log) argument
702 checkCurveForErrorsAndThrowException( @ullable float[] times, @Nullable float[] volumes, boolean log, boolean ise) argument
726 clampVolume(float[] volumes, boolean log) argument
903 setCurve(@onNull float[] times, @NonNull float[] volumes) argument
[all...]
/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java958 // SAF to write to transient volumes.)
1056 private static @Nullable StorageVolume getStorageVolume(StorageVolume[] volumes, File file) { argument
1066 for (StorageVolume volume : volumes) {
1095 * Return the list of shared/external storage volumes available to the
1097 * any attached external volumes including SD cards and USB drives.
1176 * Returns list of paths for all mountable volumes.
1181 StorageVolume[] volumes = getVolumeList();
1182 int count = volumes.length;
1185 paths[i] = volumes[i].getPath();
1196 public static @NonNull StorageVolume getPrimaryVolume(StorageVolume[] volumes) { argument
[all...]

Completed in 2208 milliseconds