HomeSort by relevance Sort by last modified time
    Searched defs:sample (Results 151 - 175 of 664) sorted by null

1 2 3 4 5 67 8 91011>>

  /frameworks/av/media/libaudioprocessing/
AudioResamplerCubic.cpp 80 // calculate output sample
91 // time to fetch another sample
107 // advance sample state
145 int32_t sample; local
148 // calculate output sample
150 sample = interp(&left, x);
151 out[outputIndex++] += vl * sample;
152 out[outputIndex++] += vr * sample;
159 // time to fetch another sample
175 // advance sample stat
    [all...]
  /frameworks/base/core/java/android/gesture/
InstanceLearner.java 50 Instance sample = instances.get(i); local
51 if (sample.vector.length != vector.length) {
56 distance = GestureUtils.minimumCosineDistance(sample.vector, vector, orientationType);
58 distance = GestureUtils.squaredEuclideanDistance(sample.vector, vector);
66 Double score = label2score.get(sample.label);
68 label2score.put(sample.label, weight);
  /frameworks/opt/net/voip/src/jni/rtp/
G711Codec.cpp 51 int sample = samples[i]; local
52 int sign = (sample >> 8) & 0x80;
53 if (sample < 0) {
54 sample = -sample;
56 sample += 132;
57 if (sample > 32767) {
58 sample = 32767;
60 int exponent = gExponents[sample >> 8];
61 int mantissa = (sample >> (exponent + 3)) & 0x0F
77 int sample = (((mantissa << 3) + 132) << exponent) - 132; local
102 int sample = samples[i]; local
127 int sample = (exponent == 0 ? (mantissa << 4) + 8 : local
    [all...]
  /packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/
InstrumentClusterRenderingServiceImpl.java 17 package com.android.car.cluster.sample;
MediaAppInfo.java 16 package com.android.car.cluster.sample;
MessagingNotificationHandler.java 17 package com.android.car.cluster.sample;
19 import static com.android.car.cluster.sample.DebugUtil.DEBUG;
27 import com.android.car.cluster.sample.MessagingConverter.MessageContactDetails;
StatusBarNotificationListener.java 17 package com.android.car.cluster.sample;
  /packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/cards/
MessageCard.java 17 package com.android.car.cluster.sample.cards;
24 import com.android.car.cluster.sample.R;
WeatherCard.java 17 package com.android.car.cluster.sample.cards;
25 import com.android.car.cluster.sample.DebugUtil;
26 import com.android.car.cluster.sample.R;
29 * Sample card responsible for displaying weather content.
  /packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
SampleChunk.java 30 * Header, Sample } * N Header = sample size : int, sample flag : int, sample PTS in micro second :
41 // Header = sample size : int, sample flag : int, sample PTS in micro second : long
77 * @param samplePool sample allocator
79 * @param startPositionUs the start position of the earliest sample to be stored
96 * @param samplePool sample allocato
370 SampleHolder sample = mSamplePool.acquireSample(size); local
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
SoundGenerator.java 11 private final double[] sample; field in class:SoundGenerator
14 // Initialize sample.
22 sample = new double[sampleLength];
24 // Fill sample with prefix.
25 System.arraycopy(Common.PREFIX_FOR_PLAYER, 0, sample,
29 // Fill the sample.
32 System.arraycopy(pip, 0, sample,
38 // Convert sample to byte.
39 generatedSound = new byte[2 * sample.length];
41 for (double dVal : sample) {
    [all...]
  /cts/hostsidetests/sample/src/android/sample/cts/
SampleHostJUnit4DeviceTest.java 17 package android.sample.cts;
32 * Test that collects test results from test package android.sample.cts.app2.
35 * {@link android.sample.cts.app2.SampleDeviceTest}, the results of which are
40 private static final String TEST_PKG = "android.sample.cts.app2";
SampleHostResultTest.java 17 package android.sample.cts;
  /cts/tests/sample/src/android/sample/cts/
SampleDeviceReportLogTest.java 16 package android.sample.cts;
18 import android.sample.SampleDeviceActivity;
40 * Sample numbers used by the sample tests.
61 * Sample test that creates and logs test metrics into a report log.
79 * Sample test to check counting up.
87 * Sample test to check counting down.
95 * Sample test function that counts up or down based on test parameter. It creates and logs test
  /device/google/contexthub/firmware/os/algos/calibration/nano_calibration/
nano_calibration.cc 95 SensorData sample; local
98 sample.type = SensorType::kAccelerometerMps2;
101 sample.type = SensorType::kGyroscopeRps;
104 sample.type = SensorType::kMagnetometerUt;
117 sample.timestamp_nanos = header.baseTimestamp;
119 sample.timestamp_nanos += data[i].timestampDelta;
120 memcpy(sample.data, data[i].v, sizeof(sample.data));
121 ProcessSample(sample);
135 SensorData sample; local
    [all...]
  /external/adhd/cras/src/tests/
hfp_info_unittest.cc 157 uint8_t sample[480]; local
171 send(sock[0], sample, 48, 0);
203 rc = recv(sock[0], sample, 48, 0);
231 uint8_t sample[480]; local
242 send(sock[0], sample ,48, 0);
243 send(sock[0], sample ,48, 0);
276 uint8_t sample[480]; local
284 send(sock[0], sample ,48, 0);
285 send(sock[0], sample ,48, 0);
301 rc = recv(sock[0], sample ,48, 0)
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
AbstractContinuousDistribution.java 164 public double sample() throws MathException { method in class:AbstractContinuousDistribution
169 * Generates a random sample from the distribution. The default implementation
170 * generates the sample by calling {@link #sample()} in a loop.
174 * @return an array representing the random sample
175 * @throws MathException if an error occurs generating the sample
178 public double[] sample(int sampleSize) throws MathException { method in class:AbstractContinuousDistribution
184 out[i] = sample();
  /external/brotli/c/enc/
block_splitter_inc.h 36 HistogramType* sample) {
43 FN(HistogramAddVector)(sample, data + pos, stride);
56 HistogramType sample; local
57 FN(HistogramClear)(&sample);
58 FN(RandomSample)(&seed, data, length, stride, &sample);
59 FN(HistogramAddHistogram)(&histograms[iter % num_histograms], &sample);
  /external/eigen/bench/btl/data/
smooth.cxx 106 vector<double> sample(window_width);
115 sample[j]=tab_mflops[shifted_index];
119 smooth_tab_mflops.push_back(weighted_mean(sample));
134 deque<double> sample; local
137 sample.push_back(tab_mflops[i]);
146 sample.push_front(tab_mflops[before]);
147 sample.push_back(tab_mflops[after]);
151 smooth_tab_mflops.push_back(weighted_mean(sample));
  /external/javassist/sample/evolve/
DemoServer.java 1 package sample.evolve;
22 * either sample/evolve/WebPage.class
23 * or sample/evolve/sample/evolve/WebPage.class.
35 "Usage: java sample.evolve.DemoServer <port number>");
40 htmlfileBase = "sample/evolve/";
43 private static final String ver0 = "sample/evolve/WebPage.class.0";
44 private static final String ver1 = "sample/evolve/WebPage.class.1";
62 VersionManager.update("sample.evolve.WebPage");
93 = new FileOutputStream("sample/evolve/WebPage.class");
    [all...]
  /external/javassist/sample/vector/
VectorAssistant.java 1 package sample.vector;
5 import sample.preproc.Assistant;
11 * <ul>import java.util.Vector by sample.vector.VectorAssistant(int)</ul>
18 * import sample.vector.intVector;
25 * package sample.vector;
39 * <code>sample.vector.Sample</code> and <code>sample.vector.Sample2</code>
44 public final String packageName = "sample.vector.";
48 * This method is called by a <code>sample.preproc.Compiler</code>
    [all...]
  /external/libchrome/base/metrics/
histogram.h 115 Sample minimum,
116 Sample maximum,
129 Sample minimum,
130 Sample maximum,
142 Sample minimum,
143 Sample maximum,
151 static void InitializeBucketRanges(Sample minimum,
152 Sample maximum,
158 // redundant count that doesn't match the sample count. We allow for a
175 Sample declared_min() const { return declared_min_;
367 Sample sample; member in struct:base::LinearHistogram::DescriptionPair
    [all...]
  /external/okhttp/samples/simple-client/src/main/java/com/squareup/okhttp/sample/
OkHttpContributors.java 1 package com.squareup.okhttp.sample;
  /external/pdfium/core/fpdfapi/page/
cpdf_sampledfunc.cpp 132 uint32_t sample = local
134 float encoded = (float)sample;
138 encoded = encoded_input[i] * (float)sample;
150 (encoded_input[i] - index[i]) * ((float)sample1 - (float)sample);
  /external/strace/tests/
xchownx.c 51 if (unlink(sample)) \
67 # define SYSCALL_ARG1 sample
102 static const char sample[] = SYSCALL_NAME "_sample"; local
125 int fd = open(sample, O_RDONLY | O_CREAT, 0400);

Completed in 1470 milliseconds

1 2 3 4 5 67 8 91011>>