Home
last modified time | relevance | path

Searched refs:seed (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dnoise_gen_amrwb.cpp112 int16 noise_gen_amrwb(int16 * seed) in noise_gen_amrwb() argument
115 *seed = (int16)fxp_mac_16by16(*seed, 31821, 13849L); in noise_gen_amrwb()
117 return (*seed); in noise_gen_amrwb()
Dlagconceal.cpp143 int16 * seed, in lagconceal() argument
222 D = noise_gen_amrwb(seed); /* D={-1, ...,1} */ in lagconceal()
307 D = noise_gen_amrwb(seed); /* D={-1,.., 1} */ in lagconceal()
Dpvamrwbdecoder_acelp.h76 int16 * seed,
312 int16 noise_gen_amrwb(int16 * seed);
De_pv_amrwbdec.h106 int16 seed; /* random memory for frame erasure */ member
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Drandom.c27 Word16 Random(Word16 * seed) in Random() argument
30 *seed = (Word16)(L_add((L_mult(*seed, 31821) >> 1), 13849L)); in Random()
31 return (*seed); in Random()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DDynamicIdMap.java34 public DynamicIdMap(int seed) { in DynamicIdMap() argument
35 mDynamicSeed = seed; in DynamicIdMap()
38 public void reset(int seed) { in reset() argument
41 mDynamicSeed = seed; in reset()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DAdapterViewCompat.java1008 int seed = mSyncPosition; in findSyncPosition() local
1016 seed = Math.max(0, seed); in findSyncPosition()
1017 seed = Math.min(count - 1, seed); in findSyncPosition()
1024 int first = seed; in findSyncPosition()
1027 int last = seed; in findSyncPosition()
1046 rowId = adapter.getItemId(seed); in findSyncPosition()
1049 return seed; in findSyncPosition()
1063 seed = last; in findSyncPosition()
1069 seed = first; in findSyncPosition()
/frameworks/base/core/java/android/widget/
DAdapterView.java1096 int seed = mSyncPosition; in findSyncPosition() local
1104 seed = Math.max(0, seed); in findSyncPosition()
1105 seed = Math.min(count - 1, seed); in findSyncPosition()
1112 int first = seed; in findSyncPosition()
1115 int last = seed; in findSyncPosition()
1134 rowId = adapter.getItemId(seed); in findSyncPosition()
1137 return seed; in findSyncPosition()
1151 seed = last; in findSyncPosition()
1157 seed = first; in findSyncPosition()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DBlackWhiteFilter.java124 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() }; in updateParameters() local
125 mProgram.setHostValue("seed", seed); in updateParameters()
DLomoishFilter.java170 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() }; in initParameters() local
171 mProgram.setHostValue("seed", seed); in initParameters()
DDocumentaryFilter.java158 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() }; in initParameters() local
159 mProgram.setHostValue("seed", seed); in initParameters()
DGrainFilter.java127 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() }; in updateParameters() local
128 mNoiseProgram.setHostValue("seed", seed); in updateParameters()
/frameworks/native/opengl/tests/hwc/
DhwcStress.cpp202 void initFrames(unsigned int seed);
550 void initFrames(unsigned int seed) in initFrames() argument
557 if (verbose) { testPrintI("initFrames seed: %u", seed); } in initFrames()
558 srand48(seed); in initFrames()
/frameworks/rs/cpu_ref/linkloader/
Dmain.cpp93 void stub_srand(unsigned int seed) { in stub_srand() argument
94 srand(seed); in stub_srand()
/frameworks/base/core/java/android/util/
DMathUtils.java177 public static void randomSeed(long seed) { in randomSeed() argument
178 sRandom.setSeed(seed); in randomSeed()
/frameworks/base/core/java/android/content/res/
DAssetManager.java255 /*package*/ final void makeStringBlocks(StringBlock[] seed) { in makeStringBlocks() argument
256 final int seedNum = (seed != null) ? seed.length : 0; in makeStringBlocks()
263 mStringBlocks[i] = seed[i]; in makeStringBlocks()
/frameworks/compile/mclinker/lib/Support/Windows/
DSystem.inc47 /// srandom - set the initial seed value for future calls to random().
/frameworks/rs/api/
Dgen_runtime.cpp332 const string& seed, char vectorSize,
336 const string& seed, char vectorSize,
1466 string seed = hashString(mJavaCheckMethodName + param.javaAllocName); in writeJavaInputAllocationDefinition() local
1470 writeJavaRandomCompatibleFloatAllocation(file, dataType, seed, vectorSize, in writeJavaInputAllocationDefinition()
1474 writeJavaRandomCompatibleIntegerAllocation(file, dataType, seed, vectorSize, in writeJavaInputAllocationDefinition()
1483 << vectorSize << ", " << seed << ", " << param.minValue << ", " << param.maxValue in writeJavaInputAllocationDefinition()
1490 << ", " << seed << ", false)"; in writeJavaInputAllocationDefinition()
1496 const string& seed, char vectorSize, in writeJavaRandomCompatibleFloatAllocation() argument
1500 << "(mRS, Element.DataType." << dataType << ", " << vectorSize << ", " << seed << ", "; in writeJavaRandomCompatibleFloatAllocation()
1529 const string& seed, char vectorSize, in writeJavaRandomCompatibleIntegerAllocation() argument
[all …]
/frameworks/compile/mclinker/include/mcld/ADT/
DStringHash.h140 const uint32_t seed = 131;
144 hash_val = (hash_val * seed) + pKey[i];
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DStreamingTextView.java232 public DottySpan(int seed, int pos) { in DottySpan() argument
233 mSeed = seed; in DottySpan()
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.cpp813 unsigned long seed = 0xdeadbeef; in main() local
828 seed = x; in main()
850 "with \"%s -s %lu\"\n", me, seed); in main()
852 srand(seed); in main()
/frameworks/compile/mclinker/lib/Support/Unix/
DSystem.inc77 /// srandom - set the initial seed value for future calls to random().
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java123 public LoggingRng(long seed) { in LoggingRng() argument
124 super(seed); in LoggingRng()
125 Log.i(LOG_TAG, "Seeding RNG with value: " + seed); in LoggingRng()
/frameworks/base/docs/html/tools/help/
Dmonkey.jd93 <td><code>-s &lt;seed&gt;</code></td>
94 <td>Seed value for pseudo-random number generator. If you re-run the Monkey with the same seed
238 need to clear data, use of the seed, etc. -->
/frameworks/native/opengl/tests/angeles/
Ddemo.c46 static void seedRandom(unsigned long seed) in seedRandom() argument
48 sRandomSeed = seed; in seedRandom()

12