/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | noise_gen_amrwb.cpp | 112 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()
|
D | lagconceal.cpp | 143 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()
|
D | pvamrwbdecoder_acelp.h | 76 int16 * seed, 312 int16 noise_gen_amrwb(int16 * seed);
|
D | e_pv_amrwbdec.h | 106 int16 seed; /* random memory for frame erasure */ member
|
D | pvamrwbdecoder.cpp | 236 dec_state->seed = 21845; /* init random with 21845 */ in pvDecoder_AmrWb_Reset() 721 code[i] = noise_gen_amrwb(&(st->seed)) >> 3; in pvDecoder_AmrWb()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | random.c | 27 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/ |
D | DynamicIdMap.java | 33 public DynamicIdMap(int seed) { in DynamicIdMap() argument 34 mDynamicSeed = seed; in DynamicIdMap() 37 public void reset(int seed) { in reset() argument 40 mDynamicSeed = seed; in reset()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | AdapterViewICS.java | 1006 int seed = mSyncPosition; in findSyncPosition() local 1014 seed = Math.max(0, seed); in findSyncPosition() 1015 seed = Math.min(count - 1, seed); in findSyncPosition() 1022 int first = seed; in findSyncPosition() 1025 int last = seed; in findSyncPosition() 1044 rowId = adapter.getItemId(seed); in findSyncPosition() 1047 return seed; in findSyncPosition() 1061 seed = last; in findSyncPosition() 1067 seed = first; in findSyncPosition()
|
/frameworks/base/core/java/android/widget/ |
D | AdapterView.java | 1065 int seed = mSyncPosition; in findSyncPosition() local 1073 seed = Math.max(0, seed); in findSyncPosition() 1074 seed = Math.min(count - 1, seed); in findSyncPosition() 1081 int first = seed; in findSyncPosition() 1084 int last = seed; in findSyncPosition() 1103 rowId = adapter.getItemId(seed); in findSyncPosition() 1106 return seed; in findSyncPosition() 1120 seed = last; in findSyncPosition() 1126 seed = first; in findSyncPosition()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | BlackWhiteFilter.java | 127 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() }; in updateParameters() local 128 mProgram.setHostValue("seed", seed); in updateParameters()
|
D | DocumentaryFilter.java | 161 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() }; in initParameters() local 162 mProgram.setHostValue("seed", seed); in initParameters()
|
D | LomoishFilter.java | 173 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() }; in initParameters() local 174 mProgram.setHostValue("seed", seed); in initParameters()
|
D | GrainFilter.java | 132 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() }; in updateParameters() local 133 mNoiseProgram.setHostValue("seed", seed); in updateParameters()
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcStress.cpp | 203 void initFrames(unsigned int seed); 551 void initFrames(unsigned int seed) in initFrames() argument 558 if (verbose) { testPrintI("initFrames seed: %u", seed); } in initFrames() 559 srand48(seed); in initFrames()
|
/frameworks/base/core/java/android/util/ |
D | MathUtils.java | 177 public static void randomSeed(long seed) { in randomSeed() argument 178 sRandom.setSeed(seed); in randomSeed()
|
/frameworks/rs/cpu_ref/linkloader/ |
D | main.cpp | 95 void stub_srand(unsigned int seed) { in stub_srand() argument 96 srand(seed); in stub_srand()
|
/frameworks/compile/mclinker/lib/Support/Windows/ |
D | System.inc | 47 /// srandom - set the initial seed value for future calls to random().
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
D | StringHash.h | 142 const uint32_t seed = 131; 146 hash_val = (hash_val * seed) + pKey[i];
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
D | System.inc | 77 /// srandom - set the initial seed value for future calls to random().
|
/frameworks/av/media/libstagefright/omx/tests/ |
D | OMXHarness.cpp | 808 unsigned long seed = 0xdeadbeef; in main() local 823 seed = x; in main() 845 "with \"%s -s %lu\"\n", me, seed); in main() 847 srand(seed); in main()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerBaseTest.java | 123 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/ |
D | monkey.jd | 93 <td><code>-s <seed></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/base/core/java/android/net/dhcp/ |
D | DhcpPacket.java | 376 private int checksum(ByteBuffer buf, int seed, int start, int end) { in checksum() argument 377 int sum = seed; in checksum()
|
/frameworks/native/opengl/tests/angeles/ |
D | demo.c | 46 static void seedRandom(unsigned long seed) in seedRandom() argument 48 sRandomSeed = seed; in seedRandom()
|
/frameworks/base/services/java/com/android/server/ |
D | AlarmManagerService.java | 143 Batch(Alarm seed) { in Batch() argument 144 start = seed.whenElapsed; in Batch() 145 end = seed.maxWhen; in Batch() 146 alarms.add(seed); in Batch()
|