Home
last modified time | relevance | path

Searched refs:amplitude (Results 1 – 9 of 9) sorted by relevance

/cts/tests/vibrator/src/android/os/cts/
DVibrationEffectXmlSerializationTest.java677 <waveform-entry amplitude="default" durationMs="10"/>
704 <waveform-entry durationMs="10" amplitude="-1"/>
714 <waveform-entry durationMs="-1" amplitude="default"/>
727 <waveform-entry durationMs="10" amplitude="default"/>
736 <waveform-entry durationMs="10" amplitude="default"/>
747 <waveform-entry durationMs="10" amplitude="default"/>
756 <waveform-entry durationMs="10" amplitude="default"/>
769 <waveform-entry durationMs="10" amplitude="default"/>
771 <waveform-entry durationMs="10" amplitude="default"/>
780 <waveform-entry durationMs="10" amplitude="default"/>
[all …]
/cts/apps/CameraITS/utils/
Dsensor_fusion_utils_tests.py31 def _generate_pwl_waveform(self, pts, step, amplitude): argument
37 pwl_waveform.append((t-pts[1])/(pts[2]-pts[1])*amplitude)
39 pwl_waveform.append(amplitude)
41 pwl_waveform.append((pts[4]-t)/(pts[4]-pts[3])*amplitude)
45 pwl_waveform.append((-1*(t-pts[5])/(pts[6]-pts[5]))*amplitude)
47 pwl_waveform.append(-1*amplitude)
49 pwl_waveform.append((t-pts[8])/(pts[8]-pts[7])*amplitude)
/cts/tests/tests/virtualdevice/audio/src/android/virtualdevice/cts/audio/
DAudioInjector.java111 double signalFrequencyHz, float amplitude) { in createAudioData() argument
116 double vDouble = amplitude * Math.sin(multiplier * (i / channelCount)); in createAudioData()
/cts/tests/tests/view/src/android/view/cts/input/
DInputDeviceVibratorTest.java143 int amplitude = test.amplitudes.get(0); in testInputVibratorEvents() local
144 effect = VibrationEffect.createOneShot(duration, amplitude); in testInputVibratorEvents()
DInputDeviceVibratorManagerTest.java174 int amplitude = testData.amplitudes.valueAt(i).get(0); in testInputVibratorManagerEvents() local
175 effect = VibrationEffect.createOneShot(duration, amplitude); in testInputVibratorManagerEvents()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputHidTestCase.java255 int amplitude = test.amplitudes.get(0); in testInputVibratorEvents() local
256 effect = VibrationEffect.createOneShot(duration, amplitude); in testInputVibratorEvents()
332 int amplitude = test.amplitudes.get(0); in testInputVibratorManagerEvents() local
333 effect = VibrationEffect.createOneShot(duration, amplitude); in testInputVibratorManagerEvents()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioTrackSurroundTest.java421 int amplitude = 8000; in SamplePlayerShorts() local
424 mData[i] = (short)(random.nextInt(amplitude) - (amplitude / 2)); in SamplePlayerShorts()
DAudioTrackLatencyTest.java182 public double amplitude = 0.5; field in AudioTrackLatencyTest.TestSetup
190 samplesPerFrame, 1, amplitude); in createTrack()
/cts/tests/tests/media/common/src/android/media/cts/
DAudioHelper.java203 int numCycles, double amplitude) { in createSineWavesShort() argument
207 short sample = (short)(amplitude * Math.sin(j * rad) * Short.MAX_VALUE); in createSineWavesShort()