Searched refs:TWO_PI (Results 1 – 8 of 8) sorted by relevance
41 mPhaseIncrement1 = Constant.TWO_PI * (frequency1 / mSamplingRate); // should < 2pi in TwoSineWavesTone()42 mPhaseIncrement2 = Constant.TWO_PI * (frequency2 / mSamplingRate); // should < 2pi in TwoSineWavesTone()65 if (mPhase1 > Constant.TWO_PI) { in generateTone()66 mPhase1 -= Constant.TWO_PI; in generateTone()68 if (mPhase2 > Constant.TWO_PI) { in generateTone()69 mPhase2 -= Constant.TWO_PI; in generateTone()93 if (mPhase1 > Constant.TWO_PI) { in generateTone()94 mPhase1 -= Constant.TWO_PI; in generateTone()96 if (mPhase2 > Constant.TWO_PI) { in generateTone()97 mPhase2 -= Constant.TWO_PI; in generateTone()
35 mPhaseIncrement = Constant.TWO_PI * (frequency / mSamplingRate); // should < 2pi in SineWaveTone()54 if (mPhase >= Constant.TWO_PI) { in generateTone()55 mPhase -= Constant.TWO_PI; in generateTone()75 if (mPhase >= Constant.TWO_PI) { in generateTone()76 mPhase -= Constant.TWO_PI; in generateTone()
34 coefficient = (Constant.TWO_PI * i) / (length - 1); in hanningWindow()
25 public static final double TWO_PI = 2.0 * Math.PI; field in Constant
49 private static final double HALF_LOG_2_PI = 0.5 * FastMath.log(MathUtils.TWO_PI);196 double f = (MathUtils.TWO_PI * x * (n - x)) / n; in logBinomialProbability()
197 FastMath.sqrt(MathUtils.TWO_PI * x); in probability()
48 public static final double TWO_PI = 2 * FastMath.PI; field in MathUtils1396 return a - TWO_PI * FastMath.floor((a + FastMath.PI - center) / TWO_PI);
419 int TWO_PI = 0x40c90fdb;