/frameworks/native/services/surfaceflinger/ |
D | DispSync.cpp | 66 mPhase(0), in DispSyncThread() 77 mPhase = phase; in updateModel() 81 mName, ns2us(mPeriod), ns2us(mPhase), ns2us(mReferenceTime)); in updateModel() 183 listener.mPhase = phase; in addEventListener() 188 listener.mLastEventTime = systemTime() - mPeriod / 2 + mPhase - mWakeupLatency; in addEventListener() 219 const nsecs_t oldPhase = listener.mPhase; in changePhaseOffset() 220 listener.mPhase = phase; in changePhaseOffset() 245 nsecs_t mPhase; member 308 nsecs_t phase = mPhase + listener.mPhase; in computeListenerNextEventTimeLocked() 357 nsecs_t mPhase; member in android::DispSyncThread [all …]
|
D | DispSync.h | 149 nsecs_t mPhase; variable
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | SineGenerator.h | 47 buffer[sampleIndex] = (int16_t) (INT16_MAX * sin(mPhase) * mAmplitude); in render() 55 buffer[sampleIndex] = sin(mPhase) * mAmplitude; in render() 71 mPhase += mPhaseIncrement; in advancePhase() 72 if (mPhase > M_PI * 2) { in advancePhase() 73 mPhase -= M_PI * 2; in advancePhase() 91 double mPhase = 0.0; variable
|
/frameworks/av/cmds/stagefright/ |
D | SineSource.cpp | 17 mPhase(0), in SineSource() 34 mPhase = 0; in start() 80 double x = mPhase * k; in read() 93 kKeyTime, ((int64_t)mPhase * 1000000) / mSampleRate); in read() 95 mPhase += numFramesPerBuffer; in read()
|
D | SineSource.h | 33 size_t mPhase; member
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RadioCapability.java | 91 private int mPhase; field in RadioCapability 131 mPhase = phase; in RadioCapability() 171 return mPhase; in getPhase()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | DashPathEffect_Delegate.java | 47 private final float mPhase; field in DashPathEffect_Delegate 59 mPhase); in getStroke() 86 mPhase = phase; in DashPathEffect_Delegate()
|
/frameworks/av/media/libstagefright/ |
D | VideoFrameScheduler.cpp | 67 mPhase(0), in PLL() 96 mPhase = -1; in restart() 262 mPhase = firstTime; in prime() 266 numSamplesToUse, (long long)mPhase, (long long)mPeriod); in prime() 287 if (mPhase < 0) { in addSample() 289 mPhase = time; in addSample() 292 int64_t err = periodicError(time - mPhase, mPeriod); in addSample() 298 if (!fit(mPhase, mPeriod, kMaxSamplesToEstimatePeriod, &a, &b, &err)) { in addSample() 307 mPhase += (mPeriod * b) >> kPrecision; in addSample() 309 ALOGV("new phase:%lld period:%lld", (long long)mPhase, (long long)mPeriod); in addSample()
|
/frameworks/av/media/libaaudio/examples/loopback/src/ |
D | LoopbackAnalyzer.h | 686 printf(LOOPBACK_RESULT_TAG "ref.phase = %7.5f\n", mPhase); in report() 737 float sinOut = sinf(mPhase); in process() 746 mCosAccumulator += sample * cosf(mPhase); in process() 765 float predicted = sinf(mPhase + mPhaseOffset) * mMagnitude; in process() 781 mCosAccumulator += sample * cosf(mPhase); in process() 801 mPhase += mPhaseIncrement; in process() 802 if (mPhase > M_PI) { in process() 803 mPhase -= (2.0 * M_PI); in process() 868 double mPhase = 0.0; variable
|
/frameworks/base/media/java/android/media/ |
D | WebVttRenderer.java | 170 private TokenizerPhase mPhase; field in Tokenizer 218 mPhase = mTagTokenizer.start(); in tokenize() 270 mPhase = mDataTokenizer.start(); in tokenize() 314 mPhase = mDataTokenizer.start(); in reset() 321 mPhase.tokenize(); in tokenize() 324 if (!(mPhase instanceof TagTokenizer)) { in tokenize() 570 private Phase mPhase; field in WebVttParser 577 mPhase = mParseStart; in WebVttParser() 658 mPhase.parse(lines[i]); in parse() 671 mPhase.parse(mBuffer); in eos() [all …]
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | VideoFrameScheduler.h | 66 nsecs_t mPhase; member
|