Searched defs:value (Results 126 - 150 of 572) sorted by relevance

1234567891011>>

/frameworks/base/media/mca/filterfw/native/core/
H A Dnative_program.cpp126 bool NativeProgram::CallSetValue(const std::string& key, const std::string& value) { argument
128 setvalue_function_(key.c_str(), value.c_str(), user_data_);
/frameworks/base/media/mca/filterpacks/native/base/
H A Dutilities.h58 // Given an STL container consisting of (key, value) pairs, STLDeleteValues
59 // deletes all the "value" components and clears the container. Does nothing
71 // If the key is present a const pointer to the associated value is returned,
123 // If the key is present a const pointer to the associated value is returned,
126 // to a NULL value.
145 // Insert a new key and value into a map or hash_map.
146 // If the key is not present in the map the key and value are
151 const Key& key, const Value& value) {
153 collection->insert(typename Collection::value_type(key, value));
150 InsertIfNotPresent(Collection * const collection, const Key& key, const Value& value) argument
/frameworks/base/media/mca/filterpacks/native/imageproc/
H A Dbrightness.c29 int value; member in union:__anon39
41 void brightness_setvalue(const char* key, const char* value, void* user_data) { argument
43 ((BrightnessParameters*)user_data)->brightness = atof(value);
83 pixel.value = *(input_ptr++);
H A Dcontrast.c36 void contrast_setvalue(const char* key, const char* value, void* user_data) { argument
38 ((ContrastParameters*)user_data)->contrast = atof(value);
/frameworks/base/native/android/
H A Dnative_window.cpp44 int value; local
45 int res = window->query(window, what, &value);
46 return res < 0 ? res : value;
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsHelper.java48 * @param value the string value of the setting
49 * @return whether to continue with writing the value to the database. In
51 * and in some cases the property value needs to be modified before setting.
53 public boolean restoreValue(String name, String value) { argument
55 setBrightness(Integer.parseInt(value));
57 setSoundEffects(Integer.parseInt(value) == 1);
59 setGpsLocation(value);
62 setAutoRestore(Integer.parseInt(value) == 1);
98 private void setGpsLocation(String value) { argument
[all...]
/frameworks/av/libvideoeditor/vss/src/
H A DM4PCMR_CoreReader.c68 M4OSA_Char value[6]; local
98 M4OSA_chrNCopy(value, pTempURL, 5);
104 M4OSA_chrNCopy(value, pTempURL, 1);
611 * - Return corresponding option value
614 * @param pValue: (OUT) Variable where the option value is returned
640 /* Depend of the OptionID, the value to return is different */
661 * - Set corresponding option value
664 * @param Value: (IN) Variable where the option value is stored
689 /* Depend of the OptionID, the value to set is different */
/frameworks/av/media/libmedia/
H A DAudioParameter.cpp47 String8 value; local
49 value = String8("");
51 value = String8(pair + eqIdx + 1);
54 mParameters.add(key, value);
56 mParameters.replaceValueFor(key, value);
59 ALOGV("AudioParameter() cstor empty key value pair");
86 status_t AudioParameter::add(const String8& key, const String8& value) argument
89 mParameters.add(key, value);
92 mParameters.replaceValueFor(key, value);
97 status_t AudioParameter::addInt(const String8& key, const int value) argument
108 addFloat(const String8& key, const float value) argument
129 get(const String8& key, String8& value) argument
139 getInt(const String8& key, int& value) argument
155 getFloat(const String8& key, float& value) argument
171 getAt(size_t index, String8& key, String8& value) argument
[all...]
H A DIMediaMetadataRetriever.cpp189 String8 value = data.readString8(); local
190 headers.add(key, value);
249 const char* value = extractMetadata(keyCode); local
250 if (value != NULL) { // Don't send NULL across the binder interface
252 reply->writeCString(value);
H A DMediaScannerClient.cpp65 status_t MediaScannerClient::addStringTag(const char* name, const char* value) argument
70 // check to see if value (which should be utf8) has any non-ASCII characters
72 const char* chp = value;
84 mValues->push_back(value);
92 return handleStringTag(name, value);
155 // for each value string, convert from native encoding to UTF-8
214 // finally, push all name/value pairs to the client
/frameworks/av/media/libstagefright/
H A DDataSource.cpp126 char value[PROPERTY_VALUE_MAX]; local
127 if (property_get("drm.service.enabled", value, NULL)
128 && (!strcmp(value, "1") || !strcasecmp(value, "true"))) {
H A DStagefrightMediaScanner.cpp160 const char *value; local
161 if ((value = mRetriever->extractMetadata(
163 status = client.setMimeType(value);
193 const char *value; local
194 if ((value = mRetriever->extractMetadata(kKeyMap[i].key)) != NULL) {
195 status = client.addStringTag(kKeyMap[i].tag, value);
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
H A Doper_32b.c64 * 32 bit long signed integer (Word32) whose value falls in the *
151 * 32 bit long signed integer (Word32) whose value falls in the *
157 * 16 bit positive normalized integer whose value falls in the *
160 * 16 bit positive integer whose value falls in the *
166 * 32 bit long signed integer (Word32) whose value falls in the *
205 iLog4(x) = (Word32)(4 * log(value)/log(2.0))
207 \return ilog4 value
210 Word16 iLog4(Word32 value) argument
214 if(value != 0){
217 iLog4 = norm_l(value);
243 rsqrt(Word32 value, Word32 accuracy) argument
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dvlc_encode.cpp32 AVCEnc_Status se_v(AVCEncBitstream *bitstream, int value) argument
37 if (value <= 0)
39 codeNum = -value * 2;
43 codeNum = value * 2 - 1;
51 AVCEnc_Status te_v(AVCEncBitstream *bitstream, uint value, uint range) argument
57 return ue_v(bitstream, value);
61 status = BitstreamWrite1Bit(bitstream, 1 - value);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A DEvaluationTestBench.c346 void H264SwDecMemset(void *ptr, i32 value, u32 count) argument
348 memset(ptr, value, count);
/frameworks/av/media/libstagefright/rtsp/
H A DAAMRAssembler.cpp33 static bool GetAttribute(const char *s, const char *key, AString *value) { argument
34 value->clear();
45 value->setTo(&s[keyLen + 1], len - keyLen - 1);
49 value->setTo("1");
67 AString value; local
68 CHECK(GetAttribute(params.c_str(), "octet-align", &value) && value == "1");
69 CHECK(!GetAttribute(params.c_str(), "crc", &value) || value == "0");
70 CHECK(!GetAttribute(params.c_str(), "interleaving", &value));
[all...]
/frameworks/av/media/libstagefright/wifi-display/
H A DParsedMessage.cpp46 bool ParsedMessage::findString(const char *name, AString *value) const {
53 value->clear();
58 *value = mDict.valueAt(index);
62 bool ParsedMessage::findInt32(const char *name, int32_t *value) const {
70 *value = strtol(stringValue.c_str(), &end, 10);
73 *value = 0;
127 AString &value = mDict.editValueAt(lastDictIndex); local
128 value.append(line);
215 const AString &value = mDict.valueAt(i); local
223 line.append(value);
234 GetAttribute( const char *s, const char *key, AString *value) argument
264 GetInt32Attribute( const char *s, const char *key, int32_t *value) argument
[all...]
/frameworks/av/media/mtp/
H A DMtpDataPacket.cpp79 void MtpDataPacket::getUInt128(uint128_t& value) { argument
80 value[0] = getUInt32();
81 value[1] = getUInt32();
82 value[2] = getUInt32();
83 value[3] = getUInt32();
155 void MtpDataPacket::putInt8(int8_t value) { argument
157 mBuffer[mOffset++] = (uint8_t)value;
162 void MtpDataPacket::putUInt8(uint8_t value) { argument
164 mBuffer[mOffset++] = (uint8_t)value;
169 void MtpDataPacket::putInt16(int16_t value) { argument
177 putUInt16(uint16_t value) argument
185 putInt32(int32_t value) argument
195 putUInt32(uint32_t value) argument
205 putInt64(int64_t value) argument
219 putUInt64(uint64_t value) argument
233 putInt128(const int128_t& value) argument
240 putUInt128(const uint128_t& value) argument
247 putInt128(int64_t value) argument
[all...]
H A DMtpPacket.cpp103 void MtpPacket::putUInt16(int offset, uint16_t value) { argument
104 mBuffer[offset++] = (uint8_t)(value & 0xFF);
105 mBuffer[offset++] = (uint8_t)((value >> 8) & 0xFF);
108 void MtpPacket::putUInt32(int offset, uint32_t value) { argument
109 mBuffer[offset++] = (uint8_t)(value & 0xFF);
110 mBuffer[offset++] = (uint8_t)((value >> 8) & 0xFF);
111 mBuffer[offset++] = (uint8_t)((value >> 16) & 0xFF);
112 mBuffer[offset++] = (uint8_t)((value >> 24) & 0xFF);
143 void MtpPacket::setParameter(int index, uint32_t value) { argument
151 putUInt32(offset, value);
[all...]
H A DMtpProperty.cpp282 int value = *values++; local
285 mEnumValues[i].u.i8 = value;
288 mEnumValues[i].u.u8 = value;
291 mEnumValues[i].u.i16 = value;
294 mEnumValues[i].u.u16 = value;
297 mEnumValues[i].u.i32 = value;
300 mEnumValues[i].u.u32 = value;
303 mEnumValues[i].u.i64 = value;
306 mEnumValues[i].u.u64 = value;
328 buffer = " default value
367 print(MtpPropertyValue& value, MtpString& buffer) argument
410 readValue(MtpDataPacket& packet, MtpPropertyValue& value) argument
463 writeValue(MtpDataPacket& packet, MtpPropertyValue& value) argument
[all...]
/frameworks/base/cmds/service/
H A Dservice.cpp167 char* value = strtok_r(NULL, "=", &context1); local
174 action = value;
178 dataArg = value;
182 type = value;
186 launchFlags = atoi(value);
190 component = value;
196 categories[categoryCount] = strtok_r(value, ",", &context2);
/frameworks/base/cmds/settings/src/com/android/commands/settings/
H A DSettingsCmd.java194 final String table, final String key, final String value) {
206 arg.putString(Settings.NameValueTable.VALUE, value);
216 System.err.println(" settings [--user NUM] put namespace key value");
193 putForUser(IContentProvider provider, int userHandle, final String table, final String key, final String value) argument
/frameworks/base/core/java/android/animation/
H A DAnimator.java36 * value(s) set immediately, followed by calls to
62 * Ends the animation. This causes the animation to assign the end value of the property being
106 * such as acceleration and deceleration. The default value is
109 * @param value the interpolator to be used by this animation
111 public abstract void setInterpolator(TimeInterpolator value); argument
131 // Default method returns value for isRunning(). Subclasses should override to return a
132 // real value.
/frameworks/base/core/java/android/content/
H A DContentValues.java90 * Adds a value to the set.
92 * @param key the name of the value to put
93 * @param value the data for the value to put
95 public void put(String key, String value) { argument
96 mValues.put(key, value);
109 * Adds a value to the set.
111 * @param key the name of the value to put
112 * @param value the data for the value t
114 put(String key, Byte value) argument
124 put(String key, Short value) argument
134 put(String key, Integer value) argument
144 put(String key, Long value) argument
154 put(String key, Float value) argument
164 put(String key, Double value) argument
174 put(String key, Boolean value) argument
184 put(String key, byte[] value) argument
488 putStringArrayList(String key, ArrayList<String> value) argument
[all...]
H A DSharedPreferences.java50 * may be called even if a preference is set to its existing value.
70 * Set a String value in the preferences editor, to be written back once
74 * @param value The new value for the preference.
79 Editor putString(String key, String value); argument
93 * Set an int value in the preferences editor, to be written back once
97 * @param value The new value for the preference.
102 Editor putInt(String key, int value); argument
105 * Set a long value i
114 putLong(String key, long value) argument
126 putFloat(String key, float value) argument
138 putBoolean(String key, boolean value) argument
[all...]

Completed in 1303 milliseconds

1234567891011>>