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

1 2 3

  /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/llvm/projects/sample/tools/sample/
Makefile 1 ##===- projects/sample/tools/sample/Makefile ---------------*- Makefile -*-===##
11 TOOLNAME=Sample
15 # We use LIBS because sample is a dynamic library.
17 USEDLIBS = sample.a
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/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/javassist/sample/evolve/
Sample.java 1 package sample.evolve;
4 * This is a sample class used by Transformer.
6 public class Sample {
  /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/chromium/net/disk_cache/
stats_histogram.h 33 explicit StatsHistogram(const std::string& name, Sample minimum,
34 Sample maximum, size_t bucket_count)
43 virtual Sample ranges(size_t i) const;
45 virtual void SnapshotSample(SampleSet* sample) const;
stats_histogram.cc 28 Sample minimum = 1;
29 Sample maximum = disk_cache::Stats::kDataSizesLength - 1;
66 Histogram::Sample StatsHistogram::ranges(size_t i) const {
75 void StatsHistogram::SnapshotSample(SampleSet* sample) const {
80 *sample = my_sample;
  /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...]
HprofData.java 202 public static final class Sample {
207 private Sample(StackTrace stackTrace, int count) {
226 if (!(o instanceof Sample)) {
229 Sample s = (Sample) o;
234 return "Sample[count=" + count + " " + stackTrace + "]";
266 * Map of stack traces to a mutable sample count. The map is
268 * mutable access to the int[] cells that contain the sample
331 * Return a new set containing the current sample data.
333 public Set<Sample> getSamples()
339 Sample sample = new Sample(stackTrace, count); local
    [all...]
BinaryHprofWriter.java 66 Set<HprofData.Sample> samples = data.getSamples();
68 for (HprofData.Sample sample : samples) {
69 total += sample.count;
70 writeStackTrace(sample.stackTrace);
177 private void writeCpuSamples(int totalSamples, Set<HprofData.Sample> samples)
186 for (HprofData.Sample sample : samples) {
187 out.writeInt(sample.count);
188 out.writeInt(sample.stackTrace.stackTraceId)
    [all...]
  /external/javassist/src/main/javassist/tools/rmi/
Sample.java 23 public class Sample {
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
SimpleTimeLimiterTest.java 121 Sample proxy = service.newProxy(
122 target, Sample.class, ENOUGH_MS, TimeUnit.MILLISECONDS);
131 Sample proxy = service.newProxy(
132 target, Sample.class, NOT_ENOUGH_MS, TimeUnit.MILLISECONDS);
149 Sample proxy = service.newProxy(
150 target, Sample.class, ENOUGH_MS, TimeUnit.MILLISECONDS);
162 Sample proxy = service.newProxy(
163 target, Sample.class, NOT_ENOUGH_MS, TimeUnit.MILLISECONDS);
180 public interface Sample {
188 public static class SampleImpl implements Sample {
    [all...]
  /frameworks/av/include/media/
SoundPool.h 50 class Sample : public RefBase {
53 Sample(int sampleID, const char* url);
54 Sample(int sampleID, int fd, int64_t offset, int64_t length);
55 ~Sample();
96 void set(const sp<Sample>& sample, int channelID, float leftVolume,
98 sp<Sample> sample() { return mSample; } function in class:android::SoundEvent
108 sp<Sample> mSample;
125 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume
    [all...]
  /external/chromium/base/metrics/
histogram.h 63 #define HISTOGRAM_TIMES(name, sample) HISTOGRAM_CUSTOM_TIMES( \
64 name, sample, base::TimeDelta::FromMilliseconds(1), \
67 #define HISTOGRAM_COUNTS(name, sample) HISTOGRAM_CUSTOM_COUNTS( \
68 name, sample, 1, 1000000, 50)
70 #define HISTOGRAM_COUNTS_100(name, sample) HISTOGRAM_CUSTOM_COUNTS( \
71 name, sample, 1, 100, 50)
73 #define HISTOGRAM_COUNTS_10000(name, sample) HISTOGRAM_CUSTOM_COUNTS( \
74 name, sample, 1, 10000, 50)
76 #define HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) do { \
82 counter->Add(sample); \
318 Sample sample; member in struct:base::Histogram::DescriptionPair
    [all...]
histogram.cc 77 Sample minimum,
78 Sample maximum,
131 void Histogram::AddSampleSet(const SampleSet& sample) {
132 sample_.Add(sample);
244 SampleSet sample; local
254 !sample.Histogram::SampleSet::Deserialize(&iter, pickle)) {
298 render_histogram->AddSampleSet(sample);
305 // Methods for the validating a sample and a related histogram.
311 Sample previous_range = -1; // Bottom range is always 0.
331 // we'll catch a redundant count that doesn't match the sample count. W
    [all...]
  /external/chromium/chrome/browser/
process_info_snapshot.h 18 // |Sample()| method is called. This information can then be probed by PID.
19 // |Sample()| may take a while to complete, so if calling from the browser
31 // |Sample()| below.
39 bool Sample(std::vector<base::ProcessId> pid_list);
process_info_snapshot_mac_unittest.cc 23 // Sample process with PID 1, which should exist and presumably belong to
28 ASSERT_TRUE(snapshot.Sample(pid_list));
58 // Sample this process and its parent.
69 ASSERT_TRUE(snapshot.Sample(pid_list));
125 ASSERT_TRUE(snapshot.Sample(pid_list));
  /external/javassist/src/main/javassist/tools/reflect/
Sample.java 21 public class Sample {
  /frameworks/av/media/libmedia/
SoundPool.cpp 210 sp<Sample> sample = new Sample(++mNextSampleID, path); local
211 mSamples.add(sample->sampleID(), sample);
212 doLoad(sample);
213 return sample->sampleID();
221 sp<Sample> sample = new Sample(++mNextSampleID, fd, offset, length) local
246 sp<Sample> sample; local
656 sp<Sample> sample; local
711 sp<Sample> sample = mSample; local
    [all...]
  /libcore/dalvik/src/test/java/dalvik/system/profiler/
SamplingProfilerTest.java 22 import dalvik.system.profiler.HprofData.Sample;
181 Set<Sample> samples = hprofData.getSamples();
185 Sample sample = samples.iterator().next(); local
186 assertNotNull(sample);
187 assertEquals(stackTrace, sample.stackTrace);
188 assertEquals(sampleCount, sample.count);
191 // confirm we can mutate the sample count, but that its not
192 // visible in the current sample, but it will be visible in a
195 assertEquals(sampleCount, sample.count)
    [all...]
  /build/tools/droiddoc/templates-ds/
sampleindex.cs 14 <a href="<?cs var:toroot ?>resources/browser.html?tag=sample">Sample Code</a> >

Completed in 1266 milliseconds

1 2 3