Searched refs:value (Results 201 - 225 of 1198) sorted by relevance

1234567891011>>

/frameworks/base/tools/split-select/
H A DTestRules.cpp27 const Rule EqRule(Rule::Key key, long value) { argument
31 rule.longArgs.add(value);
35 const Rule GtRule(Rule::Key key, long value) { argument
39 rule.longArgs.add(value);
43 const Rule LtRule(Rule::Key key, long value) { argument
47 rule.longArgs.add(value);
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
H A DAbstractCache.java37 public boolean put(K key, V value) { argument
53 cacheEntry.value = value;
76 return cacheEntry.value;
93 return v != null ? v.value : null;
110 V value; field in class:AbstractCache.CacheEntry
/frameworks/support/v4/java/android/support/v4/util/
H A DArrayMap.java24 * ArrayMap is a generic key->value mapping data structure that is
29 * codes for each item, and an Object array of the key/value pairs. This allows it to
90 protected int colIndexOfValue(Object value) {
91 return indexOfValue(value);
100 protected void colPut(K key, V value) {
101 put(key, value);
105 protected V colSetValue(int index, V value) {
106 return setValueAt(index, value);
134 * Perform a {@link #put(Object, Object)} of all key/value pairs in <var>map</var>
/frameworks/support/v4/java/android/support/v4/widget/
H A DAutoScrollHelper.java54 * {@link #setActivationDelay}. Default value is
56 * <li>Location of activation areas, see {@link #setEdgeType}. Default value is
59 * {@link #setRelativeEdges}. Default value is 20% for both vertical and
62 * {@link #setMaximumEdges}. Default value is {@link #NO_MAX}.
70 * value is 500 milliseconds.
72 * Default value is 500 milliseconds.
74 * Default value is 100% per second for both vertical and horizontal.
77 * larger of either this value or the relative target value. Default value i
652 constrain(int value, int min, int max) argument
662 constrain(float value, float min, float max) argument
806 interpolateValue(float value) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_cavlc.c50 * of certain decoded symbol value and the length of the corresponding variable
52 * 4 bits symbol value (bits [4,7]) along with four bits to represent length
74 * If there is a 0x0000 value, it means that there is not corresponding VLC
324 #define BUFFER_INIT(value, bits) \
327 value = h264bsdShowBits32(pStrmData); \
332 #define BUFFER_SHOW(value, bits, outVal, numBits) \
338 value = h264bsdShowBits32(pStrmData); \
341 (outVal) = value >> (32 - (numBits)); \
345 #define BUFFER_FLUSH(value, bits, numBits) \
347 value <<
400 u32 value; local
543 u32 value = 0x0; local
665 u32 value = 0x0; local
[all...]
H A Dh264bsd_pic_param_set.c94 u32 tmp, i, value; local
139 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value);
142 pPicParamSet->numSliceGroups = value + 1;
170 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value);
173 pPicParamSet->runLength[i] = value+1;
188 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value);
191 pPicParamSet->topLeft[i] = value;
192 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value);
195 pPicParamSet->bottomRight[i] = value;
208 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value);
[all...]
/frameworks/base/obex/javax/obex/
H A DObexHelper.java170 byte[] value = null;
197 value = new byte[length];
198 System.arraycopy(headerArray, index, value, 0, length);
199 if (length == 0 || (length > 0 && (value[length - 1] != 0))) {
207 headerImpl.setHeader(headerID, new String(value, 0,
208 value.length, "ISO8859_1"));
210 headerImpl.setHeader(headerID, new String(value, 0,
211 value.length - 1, "ISO8859_1"));
240 String dateString = new String(value, "ISO8859_1");
267 value, tru
859 findTag(byte tag, byte[] value) argument
[all...]
/frameworks/av/include/media/
H A DCharacterEncodingDetector.h36 void addTag(const char *name, const char *value);
40 status_t getTag(int index, const char **name, const char**value);
50 // cached name and value strings, for native encoding support.
/frameworks/av/media/img_utils/src/
H A DTiffEntry.cpp37 const sp<TiffIfd>* TiffEntry::forceValidType<sp<TiffIfd> >(TagType type, const sp<TiffIfd>* value) { argument
39 return value;
47 const uint8_t* TiffEntry::forceValidType<uint8_t>(TagType type, const uint8_t* value) { argument
49 return value;
57 const int8_t* TiffEntry::forceValidType<int8_t>(TagType type, const int8_t* value) { argument
59 return value;
67 const uint16_t* TiffEntry::forceValidType<uint16_t>(TagType type, const uint16_t* value) { argument
69 return value;
77 const int16_t* TiffEntry::forceValidType<int16_t>(TagType type, const int16_t* value) { argument
79 return value;
87 forceValidType(TagType type, const uint32_t* value) argument
97 forceValidType(TagType type, const int32_t* value) argument
107 forceValidType(TagType type, const double* value) argument
117 forceValidType(TagType type, const float* value) argument
[all...]
/frameworks/av/media/libstagefright/foundation/
H A Dbase64.cpp52 unsigned value; local
54 value = c - 'A';
56 value = 26 + c - 'a';
58 value = 52 + c - '0';
60 value = 62;
62 value = 63;
70 value = 0;
73 accum = (accum << 6) | value;
H A DParsedMessage.cpp47 bool ParsedMessage::findString(const char *name, AString *value) const {
54 value->clear();
59 *value = mDict.valueAt(index);
63 bool ParsedMessage::findInt32(const char *name, int32_t *value) const {
71 *value = strtol(stringValue.c_str(), &end, 10);
74 *value = 0;
131 AString &value = mDict.editValueAt(lastDictIndex); local
132 value.append(line);
233 const AString &value = mDict.valueAt(i); local
241 line.append(value);
252 GetAttribute( const char *s, const char *key, AString *value) argument
282 GetInt32Attribute( const char *s, const char *key, int32_t *value) argument
[all...]
/frameworks/base/core/java/android/text/
H A DAnnotation.java22 * Annotations are simple key-value pairs that are preserved across
30 public Annotation(String key, String value) { argument
32 mValue = value;
/frameworks/base/core/jni/android/graphics/
H A DHarfBuzzNGFaceSkia.h49 static inline hb_position_t SkScalarToHBFixed(SkScalar value) { argument
50 return HBFloatToFixed(SkScalarToFloat(value));
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DProgramVariable.java41 public void setValue(Object value) { argument
46 mProgram.setHostValue(mVarName, value);
/frameworks/base/packages/Shell/src/com/android/shell/
H A DBugreportPrefs.java40 public static void setWarningState(Context context, int value) { argument
43 prefs.edit().putInt(KEY_WARNING_STATE, value).apply();
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DFlashlightTile.java71 boolean newState = !mState.value;
78 if (state.value) {
83 state.value = ((UserBoolean) arg).value;
86 if (!state.value && mWasLastOn != 0) {
99 final AnimationIcon icon = state.value ? mEnable : mDisable;
102 int onOrOffId = state.value
110 if (mState.value) {
/frameworks/base/rs/java/android/renderscript/
H A DByte2.java70 * @param value
72 public void add(byte value) { argument
73 x += value;
74 y += value;
120 * @param value
122 public void sub(byte value) { argument
123 x -= value;
124 y -= value;
170 * @param value
172 public void mul(byte value) { argument
222 div(byte value) argument
344 setAt(int i, byte value) argument
363 addAt(int i, byte value) argument
[all...]
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DUnmodifiableSparseIntArray.java53 public int indexOfValue(int value) { argument
54 return mArray.indexOfValue(value);
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/
H A DCamera2RequestSettingsSet.java69 * <p>Providing a {@code null} {@code value} will indicate a forced use of
76 * @param value The new selection for that setting, or {@code null} to force
79 * {@code value} is different from any already stored.
83 public <T> boolean set(Key<T> key, T value) { argument
89 // Only save the value if it's different from the one we already have
90 if (!mDictionary.containsKey(key) || !Objects.equals(value, currentValue)) {
91 mDictionary.put(key, value);
107 * specified setting already had a value or was forced to default.
146 * to its default value or simply unset. While {@link #get} will return
151 * @return Whether that setting has a value tha
172 matches(Key<T> key, T value) argument
[all...]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DIPredictor.aidl22 boolean setPredictorParameter(in String key, in String value);
/frameworks/native/services/sensorservice/
H A Dtraits.h47 enum { value = -1 }; enumerator in enum:android::TL::IndexOf::__anon1408
52 enum { value = 0 }; enumerator in enum:android::TL::IndexOf::__anon1409
58 enum { temp = IndexOf<Tail, T>::value };
60 enum { value = temp == -1 ? -1 : 1 + temp }; enumerator in enum:android::TL::IndexOf::__anon1411
104 enum { isStdUnsignedInt = TL::IndexOf<UnsignedInts, T>::value >= 0 };
105 enum { isStdSignedInt = TL::IndexOf<SignedInts, T>::value >= 0 };
106 enum { isStdIntegral = TL::IndexOf<OtherInts, T>::value >= 0 || isStdUnsignedInt || isStdSignedInt };
107 enum { isStdFloat = TL::IndexOf<Floats, T>::value >= 0 };
/frameworks/opt/net/wifi/service/jni/
H A Djni_helper.cpp59 jboolean value = (env)->GetBooleanField(obj, field); local
61 return value;
73 jint value = (env)->GetIntField(obj, field); local
75 return value;
87 jlong value = (env)->GetLongField(obj, field); local
89 return value;
121 jobject value = (env)->GetObjectField(obj, field); local
123 return value;
147 jlong value = elem[index]; local
153 return value;
179 jlong value = elem[index]; local
207 setIntField(JNIEnv *env, jobject obj, const char *name, jint value) argument
225 setLongField(JNIEnv *env, jobject obj, const char *name, jlong value) argument
243 setStaticLongField(JNIEnv *env, jobject obj, const char *name, jlong value) argument
255 setStaticLongField(JNIEnv *env, jclass cls, const char *name, jlong value) argument
266 setLongArrayField(JNIEnv *env, jobject obj, const char *name, jlongArray value) argument
288 setStaticLongArrayField(JNIEnv *env, jobject obj, const char *name, jlongArray value) argument
302 setStaticLongArrayField(JNIEnv *env, jclass cls, const char *name, jlongArray value) argument
314 setLongArrayElement(JNIEnv *env, jobject obj, const char *name, int index, jlong value) argument
352 setObjectField(JNIEnv *env, jobject obj, const char *name, const char *type, jobject value) argument
370 setStringField(JNIEnv *env, jobject obj, const char *name, const char *value) argument
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaMetadataRetrieverTest.java247 String value = null;
248 Log.v(TAG, (value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_CD_TRACK_NUMBER)) == null? "not found": value);
249 Log.v(TAG, (value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DURATION)) == null? "not found": value);
250 Log.v(TAG, (value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_NUM_TRACKS)) == null? "not found": value);
251 Log.v(TAG, (value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ALBUM)) == null? "not found": value);
252 Log.v(TAG, (value
[all...]
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DUnrefedPooledCache.java88 public V put(K key, V value) { argument
91 if (value == null) {
97 if (value.isEligibleForPooling()) {
98 prev = mCache.put(key, value);
100 prev = mNonPooledCache.put(key, value);
110 public void offer(V value) { argument
112 if (value.getRefCount() != 0 || !value.isEligibleForPooling()) {
114 throw new IllegalArgumentException("unexpected offer of an invalid object: " + value);
116 mPool.offer(value);
165 sizeOf(V value) argument
227 sizeOf(K key, V value) argument
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DPositionMap.java177 * Adds a mapping from the specified key to the specified value,
181 public void put(int key, E value) { argument
185 mValues[i] = value;
191 mValues[i] = value;
223 mValues[i] = value;
229 * Returns the number of key-value mappings that this SparseArray
242 * the key from the <code>index</code>th key-value mapping that this
255 * the value from the <code>index</code>th key-value mapping that this
269 * value fo
272 setValueAt(int index, E value) argument
303 indexOfValue(E value) argument
334 append(int key, E value) argument
440 binarySearch(int[] array, int size, int value) argument
[all...]

Completed in 1235 milliseconds

1234567891011>>