HomeSort by relevance Sort by last modified time
    Searched refs:Sample (Results 1 - 25 of 142) sorted by null

1 2 3 4 5 6

  /frameworks/av/media/libeffects/lvm/lib/Common/src/
NonLinComp_D16.c 31 /* Non-linear compression by companding. The function works on a sample by sample */
70 LVM_INT16 Sample; /* Input samples */
71 LVM_INT32 SampleNo; /* Sample index */
84 Sample = *pDataIn;
93 if ((LVM_INT32)Sample != -32768)
95 Temp = (LVM_INT16)((Sample * Sample) >> 15);
96 if(Sample >0)
98 Sample = (LVM_INT16)(Sample + ((Gain * (Sample - Temp)) >> 15))
    [all...]
  /external/chromium_org/ppapi/thunk/
ppb_gamepad_thunk.cc 21 void Sample(PP_Instance instance, struct PP_GamepadsSampleData* data) {
22 VLOG(4) << "PPB_Gamepad::Sample()";
28 enter.functions()->Sample(instance, data);
32 &Sample
ppb_gamepad_api.h 20 virtual void Sample(PP_Instance instance,
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
EnumTest.java 29 enum Sample {
33 Sample larry = Sample.LARRY;
35 Sample moe = Sample.MOE;
60 assertTrue(0 < Sample.MOE.compareTo(Sample.LARRY));
61 assertEquals(0, Sample.MOE.compareTo(Sample.MOE));
62 assertTrue(0 > Sample.MOE.compareTo(Sample.CURLY))
    [all...]
MockEnum.java 24 enum Sample {
38 Sample larry = Sample.LARRY;
MockEnum2.java 25 enum Sample {
37 Sample samEnum;
39 Sample larry = Sample.LARRY;
  /development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
MainActivity.java 28 * The launchpad activity for this sample project. This activity launches other activities that
33 * This class describes an individual sample (the sample title, and the activity class that
34 * demonstrates this sample).
36 private class Sample {
40 public Sample(int titleResId, Class<? extends Activity> activityClass) {
53 * #onCreate(android.os.Bundle)} because the {@link Sample} constructor needs access to {@link
56 private static Sample[] mSamples;
63 mSamples = new Sample[]{
64 new Sample(R.string.title_crossfade, CrossfadeActivity.class)
    [all...]
  /external/chromium_org/third_party/webrtc/base/
bandwidthsmoother_unittest.cc 34 EXPECT_FALSE(mon.Sample(9, bandwidth_sample));
35 EXPECT_TRUE(mon.Sample(10, bandwidth_sample));
40 EXPECT_TRUE(mon.Sample(20, bandwidth_sample));
53 EXPECT_FALSE(mon.Sample(9, kBandwidthSample));
54 EXPECT_TRUE(mon.Sample(10, kBandwidthSample));
67 EXPECT_FALSE(mon.Sample(1, kBandwidthSample));
69 EXPECT_TRUE(mon.Sample(2, kBandwidthSample));
82 EXPECT_FALSE(mon.Sample(1, kBandwidthSample));
83 EXPECT_FALSE(mon.Sample(2, kBandwidthSample));
84 EXPECT_FALSE(mon.Sample(3, kBandwidthSample))
    [all...]
bandwidthsmoother.h 42 bool Sample(uint32 sample_time, int bandwidth);
  /external/javassist/sample/evolve/
Sample.java 1 package sample.evolve;
4 * This is a sample class used by Transformer.
6 public class Sample {
  /external/chromium_org/tools/telemetry/telemetry/timeline/
sample.py 8 class Sample(timeline_event.TimelineEvent):
9 ''' A Sample represents a sample taken at an instant in time
10 plus parameters associated with that sample.
12 NOTE: The Sample class implements the same interface as
18 super(Sample, self).__init__(
  /external/chromium_org/base/metrics/
sample_map.cc 14 typedef HistogramBase::Sample Sample;
20 void SampleMap::Accumulate(Sample value, Count count) {
26 Count SampleMap::GetCount(Sample value) const {
27 map<Sample, Count>::const_iterator it = sample_counts_.find(value);
35 for (map<Sample, Count>::const_iterator it = sample_counts_.begin();
49 Sample min;
50 Sample max;
76 void SampleMapIterator::Get(Sample* min, Sample* max, Count* count) const
    [all...]
sample_map.h 26 virtual void Accumulate(HistogramBase::Sample value,
29 HistogramBase::Sample value) const OVERRIDE;
39 std::map<HistogramBase::Sample, HistogramBase::Count> sample_counts_;
46 typedef std::map<HistogramBase::Sample, HistogramBase::Count>
55 virtual void Get(HistogramBase::Sample* min,
56 HistogramBase::Sample* max,
sample_vector.h 29 virtual void Accumulate(HistogramBase::Sample value,
32 HistogramBase::Sample value) const OVERRIDE;
44 virtual size_t GetBucketIndex(HistogramBase::Sample value) const;
66 virtual void Get(HistogramBase::Sample* min,
67 HistogramBase::Sample* max,
bucket_ranges.h 31 typedef std::vector<HistogramBase::Sample> Ranges;
37 HistogramBase::Sample range(size_t i) const { return ranges_[i]; }
38 void set_range(size_t i, HistogramBase::Sample value);
59 // put a sample into. For each index, show the smallest sample that can be
histogram.h 100 // sample is an expansion (with comments) of the code for
134 histogram_pointer->Add(sample);
139 // vary are the invocation of the Add(sample) vs AddTime(sample), and the choice
168 #define LOCAL_HISTOGRAM_TIMES(name, sample) LOCAL_HISTOGRAM_CUSTOM_TIMES( \
169 name, sample, base::TimeDelta::FromMilliseconds(1), \
174 #define LOCAL_HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \
175 STATIC_HISTOGRAM_POINTER_BLOCK(name, AddTime(sample), \
179 #define LOCAL_HISTOGRAM_COUNTS(name, sample) LOCAL_HISTOGRAM_CUSTOM_COUNTS( \
180 name, sample, 1, 1000000, 50
502 Sample sample; member in struct:base::LinearHistogram::DescriptionPair
    [all...]
histogram_samples.h 25 virtual void Accumulate(HistogramBase::Sample value,
27 virtual HistogramBase::Count GetCount(HistogramBase::Sample value) const = 0;
47 // Based on |op| type, add or subtract sample counts data from the iterator.
74 // Get the sample and count at current position.
77 virtual void Get(HistogramBase::Sample* min,
78 HistogramBase::Sample* max,
  /external/guava/guava-tests/test/com/google/common/base/
ThrowablesTest.java 39 Sample sample = new Sample() { local
51 sample.noneDeclared();
55 Sample sample = new Sample() { local
68 sample.noneDeclared();
75 Sample sample = new Sample() local
96 Sample sample = new Sample() { local
115 Sample sample = new Sample() { local
135 Sample sample = new Sample() { local
156 Sample sample = new Sample() { local
177 Sample sample = new Sample() { local
196 Sample sample = new Sample() { local
219 Sample sample = new Sample() { local
242 Sample sample = new Sample() { local
271 Sample sample = new Sample() { local
286 Sample sample = new Sample() { local
305 Sample sample = new Sample() { local
324 Sample sample = new Sample() { local
345 Sample sample = new Sample() { local
361 Sample sample = new Sample() { local
382 Sample sample = new Sample() { local
403 Sample sample = new Sample() { local
    [all...]
  /external/javassist/sample/vector/
Sample.java 1 package sample.vector;
3 public class Sample extends java.util.Vector {
  /external/deqp/modules/internal/
ditTestLogTests.cpp 43 : TestCase(testCtx, "sample_list", "Basic sample list usage")
51 log << TestLog::SampleList("TestSamples", "Test Sample List")
58 log << TestLog::Sample << 1 << 2 << 2.3 << TestLog::EndSample
59 << TestLog::Sample << 0 << 0 << 0 << TestLog::EndSample
60 << TestLog::Sample << 421 << -23 << 0.00001 << TestLog::EndSample
61 << TestLog::Sample << 2 << 9 << -1e9 << TestLog::EndSample
62 << TestLog::Sample << std::numeric_limits<deInt64>::max() << std::numeric_limits<deInt64>::min() << -0.0f << TestLog::EndSample
63 << TestLog::Sample << 0x3355 << 0xf24 << std::numeric_limits<double>::max() << TestLog::EndSample;
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
InputSmoother.java 20 * out the data using a moving average over this window size. A sample window size n will
28 * Only consecutive samples will factor into the rolling average sample window.
29 * Any samples that are older than this maximum are continually purged from the sample window,
37 private final Deque<Sample> mRecentSamples = Lists.newLinkedList();
40 private static class Sample {
50 Sample sample; local
53 final Sample last = mRecentSamples.peekLast();
59 sample = mRecentSamples.removeFirst();
61 sample = new Sample()
    [all...]
  /external/chromium_org/base/test/
histogram_tester.h 34 base::HistogramBase::Sample sample,
41 base::HistogramBase::Sample sample,
56 // Verifies and asserts that value in the |sample| bucket matches the
60 base::HistogramBase::Sample sample,
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11tex/
d3d11tex.hlsl 57 float4 a0 = tex0.Sample(samp0, input.texcoord);
58 float4 a1 = tex0.Sample(samp1, input.texcoord);
61 float4 b0 = tex1.Sample(samp0, input.texcoord);
62 float4 b1 = tex1.Sample(samp1, input.texcoord);
  /external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11tex/
d3d11tex.hlsl 57 float4 a0 = tex0.Sample(samp0, input.texcoord);
58 float4 a1 = tex0.Sample(samp1, input.texcoord);
61 float4 b0 = tex1.Sample(samp0, input.texcoord);
62 float4 b1 = tex1.Sample(samp1, input.texcoord);
  /libcore/dalvik/src/main/java/dalvik/system/profiler/
AsciiHprofWriter.java 54 List<HprofData.Sample> samples
55 = new ArrayList<HprofData.Sample>(data.getSamples());
58 for (HprofData.Sample sample : samples) {
59 HprofData.StackTrace stackTrace = sample.stackTrace;
60 int count = sample.count;
76 for (HprofData.Sample sample : samples) {
78 HprofData.StackTrace stackTrace = sample.stackTrace;
79 int count = sample.count
    [all...]

Completed in 729 milliseconds

1 2 3 4 5 6