Home
last modified time | relevance | path

Searched refs:mDurationMs (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/java/android/media/
DVolumeShaper.java422 private final double mDurationMs; field in VolumeShaper.Configuration
435 + ", mDurationMs = " + mDurationMs in toString()
447 mOptionFlags, mDurationMs, mInterpolatorType, in hashCode()
463 && mDurationMs == other.mDurationMs in equals()
481 dest.writeDouble(mDurationMs); in writeToParcel()
558 mDurationMs = 0; in Configuration()
577 mDurationMs = durationMs; in Configuration()
624 return (long) mDurationMs; in getDuration()
764 private double mDurationMs = 1000.; field in VolumeShaper.Configuration.Builder
785 mDurationMs = configuration.getDuration(); in Builder()
[all …]
/frameworks/av/include/media/
DVolumeShaper.h132 , mDurationMs(1000.) in Configuration()
141 , mDurationMs(configuration.mDurationMs) in Configuration()
175 return mDurationMs; in getDurationMs()
180 mDurationMs = durationMs; in setDurationMs()
296 ?: parcel->writeDouble(mDurationMs) in writeToParcel()
309 ?: parcel.readDouble(&mDurationMs) in readFromParcel()
321 ss << ", mDurationMs=" << mDurationMs; in toString()
332 double mDurationMs; // duration, must be > 0; default is 1000 ms. variable
DToneGenerator.h265 int mDurationMs; // Maximum tone duration in ms variable
/frameworks/av/media/libaudioclient/
DToneGenerator.cpp957 mDurationMs = durationMs; in startTone()
1403 if (mDurationMs == -1) { in prepareWave()
1406 if (mDurationMs > (int)(TONEGEN_INF / mSamplingRate)) { in prepareWave()
1407 mMaxSmp = (mDurationMs / 1000) * mSamplingRate; in prepareWave()
1409 mMaxSmp = (mDurationMs * mSamplingRate) / 1000; in prepareWave()
1411 ALOGV("prepareWave, duration limited to %d ms", mDurationMs); in prepareWave()
/frameworks/av/media/libaudioclient/include/media/
DToneGenerator.h265 int mDurationMs; // Maximum tone duration in ms variable