/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | noise_gen_amrwb.cpp | 47 int16 * seed seed for the random ng 112 int16 noise_gen_amrwb(int16 * seed) argument 114 /* int16 seed = 21845; */ 115 *seed = (int16)fxp_mac_16by16(*seed, 31821, 13849L); 117 return (*seed);
|
H A D | lagconceal.cpp | 51 int16 * seed, 143 int16 * seed, 222 D = noise_gen_amrwb(seed); /* D={-1, ...,1} */ 307 D = noise_gen_amrwb(seed); /* D={-1,.., 1} */ 138 lagconceal( int16 gain_hist[], int16 lag_hist[], int16 * T0, int16 * old_T0, int16 * seed, int16 unusable_frame ) argument
|
H A D | e_pv_amrwbdec.h | 106 int16 seed; /* random memory for frame erasure */ member in struct:__anon391
|
H A D | pvamrwbdecoder_acelp.h | 76 int16 * seed, 312 int16 noise_gen_amrwb(int16 * seed);
|
H A D | pvamrwbdecoder.cpp | 236 dec_state->seed = 21845; /* init random with 21845 */ 721 code[i] = noise_gen_amrwb(&(st->seed)) >> 3;
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | random.c | 27 Word16 Random(Word16 * seed) argument 29 /* static Word16 seed = 21845; */ 30 *seed = (Word16)(L_add((L_mult(*seed, 31821) >> 1), 13849L)); 31 return (*seed);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
H A D | DynamicIdMap.java | 34 public DynamicIdMap(int seed) { argument 35 mDynamicSeed = seed; 38 public void reset(int seed) { argument 41 mDynamicSeed = seed;
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | AdapterViewCompat.java | 1008 int seed = mSyncPosition; 1015 // Pin seed to reasonable values 1016 seed = Math.max(0, seed); 1017 seed = Math.min(count - 1, seed); 1024 int first = seed; 1027 int last = seed; 1046 rowId = adapter.getItemId(seed); 1049 return seed; [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | BlackWhiteFilter.java | 50 "uniform vec2 seed;\n" + 78 " float dither = rand(v_texcoord + seed);\n" + 124 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() }; 125 mProgram.setHostValue("seed", seed);
|
H A D | DocumentaryFilter.java | 46 "uniform vec2 seed;\n" + 65 " float dither = rand(v_texcoord + seed);\n" + 158 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() }; 159 mProgram.setHostValue("seed", seed);
|
H A D | LomoishFilter.java | 46 "uniform vec2 seed;\n" + 109 " float dither = rand(v_texcoord + seed);\n" + 170 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() }; 171 mProgram.setHostValue("seed", seed);
|
H A D | GrainFilter.java | 52 "uniform vec2 seed;\n" + 66 " gl_FragColor = vec4(rand(v_texcoord + seed), 0.0, 0.0, 1.0);\n" + 127 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() }; 128 mNoiseProgram.setHostValue("seed", seed);
|
/frameworks/base/core/java/android/widget/ |
H A D | AdapterView.java | 1096 int seed = mSyncPosition; 1103 // Pin seed to reasonable values 1104 seed = Math.max(0, seed); 1105 seed = Math.min(count - 1, seed); 1112 int first = seed; 1115 int last = seed; 1134 rowId = adapter.getItemId(seed); 1137 return seed; [all...] |
/frameworks/base/core/java/android/util/ |
H A D | MathUtils.java | 177 public static void randomSeed(long seed) { argument 178 sRandom.setSeed(seed);
|
/frameworks/base/core/java/android/content/res/ |
H A D | AssetManager.java | 255 /*package*/ final void makeStringBlocks(StringBlock[] seed) { argument 256 final int seedNum = (seed != null) ? seed.length : 0; 263 mStringBlocks[i] = seed[i];
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcStress.cpp | 202 void initFrames(unsigned int seed); 531 // sets the seed on each pass. Defensively set it here 550 void initFrames(unsigned int seed) argument 557 if (verbose) { testPrintI("initFrames seed: %u", seed); } 558 srand48(seed);
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | StringHash.h | 140 const uint32_t seed = 131; local 144 hash_val = (hash_val * seed) + pKey[i];
|
/frameworks/rs/cpu_ref/linkloader/ |
H A D | main.cpp | 93 void stub_srand(unsigned int seed) { argument 94 srand(seed);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | StreamingTextView.java | 232 public DottySpan(int seed, int pos) { argument 233 mSeed = seed;
|
/frameworks/rs/api/ |
H A D | gen_runtime.cpp | 332 const string& seed, char vectorSize, 336 const string& seed, char vectorSize, 1466 string seed = hashString(mJavaCheckMethodName + param.javaAllocName); local 1470 writeJavaRandomCompatibleFloatAllocation(file, dataType, seed, vectorSize, 1474 writeJavaRandomCompatibleIntegerAllocation(file, dataType, seed, vectorSize, 1483 << vectorSize << ", " << seed << ", " << param.minValue << ", " << param.maxValue 1489 // << ", " << seed << ", " << (mTest == "limited" ? "false" : "true") << ")"; 1490 << ", " << seed << ", false)"; local 1496 const string& seed, char vectorSize, 1500 << "(mRS, Element.DataType." << dataType << ", " << vectorSize << ", " << seed << ", "; local 1495 writeJavaRandomCompatibleFloatAllocation(ofstream& file, const string& dataType, const string& seed, char vectorSize, const Type& compatibleType, const Type& generatedType) const argument 1528 writeJavaRandomCompatibleIntegerAllocation(ofstream& file, const string& dataType, const string& seed, char vectorSize, const Type& compatibleType, const Type& generatedType) const argument 1533 << "(mRS, Element.DataType." << dataType << ", " << vectorSize << ", " << seed << ", "; local [all...] |
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | DownloadManagerBaseTest.java | 110 * Creates RNG with self-generated seed value. 119 * Creats RNG with given initial seed value 121 * @param seed The initial seed value 123 public LoggingRng(long seed) { argument 124 super(seed); 125 Log.i(LOG_TAG, "Seeding RNG with value: " + seed);
|
/frameworks/av/media/libstagefright/omx/tests/ |
H A D | OMXHarness.cpp | 793 " -s(eed) Set the random seed\n" 813 unsigned long seed = 0xdeadbeef; local 824 fprintf(stderr, "Malformed seed.\n"); 828 seed = x; 850 "with \"%s -s %lu\"\n", me, seed); 852 srand(seed);
|
/frameworks/base/core/java/android/net/dhcp/ |
H A D | DhcpPacket.java | 264 // needed to seed the IP checksum. 370 * payload) on the specified portion of a ByteBuffer. The seed 373 private int checksum(ByteBuffer buf, int seed, int start, int end) { argument 374 int sum = seed;
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
H A D | acelp.h | 502 Word16 Random(Word16 * seed);
|
/frameworks/native/opengl/tests/angeles/ |
H A D | demo.c | 46 static void seedRandom(unsigned long seed) argument 48 sRandomSeed = seed;
|