Searched refs:amount (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/utils/ |
D | ColorUtils.java | 60 private static float constrain(float amount, float low, float high) { in constrain() argument 61 return amount < low ? low : (amount > high ? high : amount); in constrain()
|
D | MathUtils.java | 28 public static float lerp(float start, float stop, float amount) { in lerp() argument 29 return start + (stop - start) * amount; in lerp()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | MediaSyncEventTest.java | 172 int amount = samplesRead == 0 ? numChannels : in testSynchronizedRecord() local 174 int ret = record.read(shortData, 0, amount); in testSynchronizedRecord() 175 assertEquals(TEST_NAME, amount, ret); in testSynchronizedRecord()
|
D | AudioRecordTest.java | 732 final int amount = samplesRead == 0 ? numChannels : in testTimestamp() local 734 final int ret = record.read(shortData, 0, amount); in testTimestamp() 737 .isEqualTo(amount); in testTimestamp() 1192 final int amount = samples * bytesPerSample; // in bytes in doTest() 1200 final int ret = blockForData ? record.read(byteBuffer, amount) : in doTest() 1201 record.read(byteBuffer, amount, AudioRecord.READ_NON_BLOCKING); in doTest() 1233 final int amount = samplesRead == 0 ? numChannels : in doTest() local 1235 final int ret = reader.apply(amount, blocking); in doTest() 1238 .that(amount).isEqualTo(ret); in doTest() 1241 + "0 <= " + ret + " <= " + amount) in doTest() [all …]
|
/cts/tests/filesystem/src/android/filesystem/cts/ |
D | FileUtil.java | 222 RWAmount amount = new RWAmount(); in getRWAmount() local 228 amount.mRd = Double.parseDouble(line.split(" ")[1]); in getRWAmount() 230 amount.mWr = Double.parseDouble(line.split(" ")[1]); in getRWAmount() 234 return amount; in getRWAmount()
|
/cts/tests/tests/media/audio/jni/ |
D | audio-record-native.cpp | 486 ssize_t amount = record.read((char *)buffer + offset, size -offset); in Java_android_media_audio_cts_AudioRecordNative_nativeTest() local 488 if (amount < 0) break; in Java_android_media_audio_cts_AudioRecordNative_nativeTest() 489 offset += amount; in Java_android_media_audio_cts_AudioRecordNative_nativeTest()
|
/cts/tests/tests/media/ |
D | README.md | 42 considerable amount of time (30 minutes or more) to download and push the media files.
|