/external/jmonkeyengine/engine/src/test/jme3test/network/ |
MovingAverage.java | 38 private long[] samples; field in class:MovingAverage 43 samples = new long[numSamples]; 47 sum = sum - samples[index] + sample; 48 samples[index++] = sample; 52 if (index >= samples.length){
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
MultisetIteratorTester.java | 42 Arrays.asList(samples.e0, samples.e1, samples.e1, samples.e2)), 46 return getSubjectGenerator().create(samples.e0, samples.e1, samples.e1, samples.e2) 55 new IteratorTester<E>(4, IteratorFeature.MODIFIABLE, Arrays.asList(samples.e0, samples.e1 [all...] |
AbstractMultisetTester.java | 36 getSubjectGenerator().create(samples.e0, samples.e0, samples.e0);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
ListAddAllTester.java | 41 getList().addAll(MinimalCollection.of(samples.e0))); 42 expectAdded(samples.e0); 49 getList().addAll(MinimalCollection.of(samples.e0)); 59 = MinimalCollection.of(samples.e0, samples.e1, samples.e0, samples.e1); 62 expectAdded(samples.e0, samples.e1, samples.e0, samples.e1) [all...] |
SetAddAllTester.java | 41 getSet().addAll(MinimalCollection.of(samples.e3, samples.e0))); 42 expectAdded(samples.e3); 48 = MinimalCollection.of(samples.e3, samples.e4, samples.e3, samples.e4); 51 expectAdded(samples.e3, samples.e4); 58 getSet().addAll(MinimalCollection.of(samples.e0))) [all...] |
ListAddAtIndexTester.java | 44 getList().add(0, samples.e0); 45 expectAdded(0, samples.e0); 56 getList().add(0, samples.e0); 65 getList().add(0, samples.e3); 66 expectAdded(0, samples.e3); 72 getList().add(0, samples.e3); 77 expectMissing(samples.e3); 83 getList().add(getNumElements() / 2, samples.e3); 84 expectAdded(getNumElements() / 2, samples.e3); 90 getList().add(getNumElements(), samples.e3) [all...] |
CollectionRemoveAllTester.java | 54 collection.removeAll(MinimalCollection.of(samples.e3))); 62 collection.removeAll(MinimalCollection.of(samples.e0))); 63 expectMissing(samples.e0); 70 collection.removeAll(MinimalCollection.of(samples.e0, samples.e3))); 71 expectMissing(samples.e0); 82 samples.e0, samples.e0, samples.e0, 83 samples.e3, samples.e3, samples.e3))) [all...] |
/development/build/ |
sdk.atree | 145 frameworks/base/docs/docs-samples-redirect.html docs/samples/index.html 149 # Samples Component 152 # samples to include in the sdk samples package 154 # the list here should match the list of samples that we generate docs for, 156 development/apps/GestureBuilder samples/${PLATFORM_NAME}/GestureBuilder 157 development/samples/samples_source.properties samples/${PLATFORM_NAME}/source.properties 159 # PLEASE KEEP THE SAMPLES IN ALPHABETICAL ORDER [all...] |
/frameworks/base/voip/jni/rtp/ |
GsmCodec.cpp | 46 int encode(void *payload, int16_t *samples); 47 int decode(int16_t *samples, int count, void *payload, int length); 54 int GsmCodec::encode(void *payload, int16_t *samples) 56 gsm_encode(mEncode, samples, (unsigned char *)payload); 60 int GsmCodec::decode(int16_t *samples, int count, void *payload, int length) 65 gsm_decode(mDecode, bytes, &samples[n]) == 0) {
|
AudioCodec.h | 31 virtual int encode(void *payload, int16_t *samples) = 0; 32 // Returns the number of decoded samples. 33 virtual int decode(int16_t *samples, int count, void *payload, int length) = 0;
|
G711Codec.cpp | 41 int encode(void *payload, int16_t *samples); 42 int decode(int16_t *samples, int count, void *payload, int length); 47 int UlawCodec::encode(void *payload, int16_t *samples) 51 int sample = samples[i]; 67 int UlawCodec::decode(int16_t *samples, int count, void *payload, int length) 78 samples[i] = (ulaw < 0 ? -sample : sample); 92 int encode(void *payload, int16_t *samples); 93 int decode(int16_t *samples, int count, void *payload, int length); 98 int AlawCodec::encode(void *payload, int16_t *samples) 102 int sample = samples[i] [all...] |
/cts/suite/audio_quality/lib/include/audio/ |
AudioSignalFactory.h | 31 int maxPositive, AudioHardware::SamplingRate samplingRate, int signalFreq, int samples, 34 int maxPositive, int samples, bool stereo = true); 36 int samples, bool stereo = true);
|
/cts/suite/audio_quality/test/ |
AudioSignalFactoryTest.cpp | 26 AudioHardware::SamplingRate samplingRate, int signalFreq, int samples) { 27 ASSERT_TRUE(buffer->getSize() == (unsigned int)(AudioHardware::E2BPS * 2 * samples)); 29 for(int i = 0; i < samples; i++) { 43 const int samples = 8192 * 10; local 45 maxPositive, AudioHardware::ESampleRate_44100, signalFreq, samples); 46 testSignalBasic(buffer, maxPositive, AudioHardware::ESampleRate_44100, signalFreq, samples); 52 const int samples = 8192 * 10; local 54 maxPositive, samples); 55 testSignalBasic(buffer, maxPositive, AudioHardware::ESampleRate_44100, signalFreq, samples);
|
/external/oprofile/libpp/ |
populate.h | 22 populate_for_image(profile_container & samples, inverted_profile const & ip,
|
populate_for_spu.h | 31 void populate_for_spu_image(profile_container & samples,
|
sample_container.cpp | 3 * Internal container for samples 38 return samples.begin(); 44 return samples.end(); 53 return samples.lower_bound(key); 62 return samples.upper_bound(key); 71 samples_storage::iterator it = samples.find(key); 72 if (it != samples.end()) { 75 samples[key] = sample; 104 samples_iterator it = samples.find(key); 105 if (it != samples.end() [all...] |
/external/skia/gm/ |
morphology.cpp | 56 } samples[] = { local 68 for (unsigned i = 0; i < SK_ARRAY_COUNT(samples); ++i) { 69 if (samples[i].erode) { 71 samples[i].fRadiusX, 72 samples[i].fRadiusY))->unref(); 75 samples[i].fRadiusX, 76 samples[i].fRadiusY))->unref(); 78 SkRect bounds = SkRect::MakeXYWH(samples[i].fX, 79 samples[i].fY, 82 canvas->drawBitmap(fBitmap, samples[i].fX, samples[i].fY) [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
OneSizeGenerator.java | 50 public SampleElements<E> samples() { method in class:OneSizeGenerator 51 return generator.samples(); 73 SampleElements<E> samples = samples(); local 76 samples.e0, samples.e1, samples.e2, samples.e3, samples.e4);
|
/development/apps/GestureBuilder/ |
Android.mk | 20 LOCAL_MODULE_TAGS := samples tests
|
/development/apps/WidgetPreview/ |
Android.mk | 20 LOCAL_MODULE_TAGS := samples
|
/development/samples/CubeLiveWallpaper/ |
Android.mk | 20 LOCAL_MODULE_TAGS := samples
|
/development/samples/SimpleJNI/jni/ |
Android.mk | 23 LOCAL_MODULE_TAGS := samples
|
/dalvik/hit/test/ |
testparser | 6 #java -Djava.compiler=NONE -Xdebug -Xrunjdwp:transport=dt_socket,address=53635,server=y,suspend=y -cp build com.android.hit.Main ../samples/android.hprof 8 java -cp build com.android.hit.Main ../samples/android.hprof
|
/development/samples/AliasActivity/ |
Android.mk | 4 LOCAL_MODULE_TAGS := samples
|
/development/samples/FixedGridLayout/ |
Android.mk | 4 LOCAL_MODULE_TAGS := samples
|