Searched defs:value (Results 76 - 100 of 572) sorted by relevance

1234567891011>>

/frameworks/opt/mms/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/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DDuration.java39 TimeUnit(int value) { argument
40 mValue = value;
43 public int value() { method in class:Duration.TimeUnit
/frameworks/base/media/java/android/mtp/
H A DMtpPropertyList.java38 // list of long int property values (fourth field in quadruplet, when value is integer type)
40 // list of long int property values (fourth field in quadruplet, when value is string type)
53 public void append(int handle, int property, int type, long value) { argument
61 mLongValues[index] = value;
64 public void append(int handle, int property, String value) { argument
72 mStringValues[index] = value;
/frameworks/av/drm/common/
H A DDrmInfo.cpp44 status_t DrmInfo::put(const String8& key, const String8& value) { argument
45 mAttributes.add(key, value);
107 String8& value = mDrmInfo->mAttributes.editValueAt(mIndex); local
109 return value;
H A DDrmSupportInfo.cpp132 String8& value = mDrmSupportInfo->mFileSuffixVector.editItemAt(mIndex); local
134 return value;
156 String8& value = mDrmSupportInfo->mMimeTypeVector.editItemAt(mIndex); local
158 return value;
/frameworks/av/drm/libdrmframework/plugins/common/util/include/
H A DSessionMap.h42 * Adds a new value in the session map table. It expects memory to be allocated already
46 * @param value - session object to add
48 * @return boolean result of adding value. returns false if key is already exist.
50 bool addValue(int key, TValue value) { argument
53 map.add(key, value);
84 * @param index - index of the value required
89 TValue value = NULL; local
93 value = map.valueAt(index);
95 return value;
101 * @param key - key of the value t
142 deleteValue(TValue value) argument
179 TValue value = NULL; local
[all...]
/frameworks/av/include/drm/
H A DDrmConstraints.h120 const char* value = this->getAsByteArray(&key); local
121 if (NULL != value) {
122 delete[] value;
123 value = NULL;
137 * Adds constraint information as <key, value> pair to this instance
140 * @param[in] value Value to add
143 status_t put(const String8* key, const char* value);
146 * Retrieves the value of given key
148 * @param key Key whose value to be retrieved
149 * @return The value
[all...]
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorBGAudioProcessing.cpp153 // Duck the BG track to ducking factor value before mixing
169 *pBTMdata1 = -32766; // less then max allowed value
176 *pBTMdata1 = 32767; // less than max allowed value
238 // Fast way to compute 10 * log(value)
239 M4OSA_Int32 VideoEditorBGAudioProcessing::getDecibelSound(M4OSA_UInt32 value) { argument
240 ALOGV("getDecibelSound: %ld", value);
242 if (value <= 0 || value > 0x8000) {
244 } else if (value > 0x4000) { // 32768
246 } else if (value >
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_util.c66 right-aligned, last bit of the code word in the lsb of the value.
69 value code word
80 u32 h264bsdCountLeadingZeros(u32 value, u32 length) argument
92 while (mask && !(value & mask))
/frameworks/av/media/libstagefright/foundation/
H A Dbase64.cpp48 unsigned value; local
50 value = c - 'A';
52 value = 26 + c - 'a';
54 value = 52 + c - '0';
56 value = 62;
58 value = 63;
66 value = 0;
69 accum = (accum << 6) | value;
/frameworks/base/core/java/android/animation/
H A DKeyframe.java20 * This class holds a time/value pair for an animation. The Keyframe class is used
22 * of the animation. As the time proceeds from one keyframe to the other, the value of the
23 * target object will animate between the value at the previous keyframe and the value at the
28 * a subclass of Keyframe specific to the type of value being stored. This is done to improve
43 * The type of the value in this Keyframe. This type is determined at construction time,
44 * based on the type of the <code>value</code> object passed into the constructor.
55 * Flag to indicate whether this keyframe has a valid value. This flag is used when an
62 * Constructs a Keyframe object with the given time and value. The time defines the
63 * time, as a proportion of an overall animation's duration, at which the value wil
73 ofInt(float fraction, int value) argument
105 ofFloat(float fraction, float value) argument
137 ofObject(float fraction, Object value) argument
180 setValue(Object value) argument
246 ObjectKeyframe(float fraction, Object value) argument
257 setValue(Object value) argument
280 IntKeyframe(float fraction, int value) argument
300 setValue(Object value) argument
326 FloatKeyframe(float fraction, float value) argument
346 setValue(Object value) argument
[all...]
/frameworks/base/core/java/android/text/
H A DPackedObjectVector.java49 Object value = mValues[row * mColumns + column];
51 return (E) value;
55 setValue(int row, int column, E value) argument
60 mValues[row * mColumns + column] = value;
/frameworks/base/core/java/android/util/
H A DLruCache.java24 * a value is accessed, it is moved to the head of a queue. When a value is
25 * added to a full cache, the value at the end of that queue is evicted and may
33 * assume a value will always be returned, even when there's a cache miss.
41 * protected int sizeOf(String key, Bitmap value) {
42 * return value.getByteCount();
50 * cache.put(key, value);
54 * <p>This class does not allow null to be used as a key or value. A return
55 * value of null from {@link #get}, {@link #put} or {@link #remove} is
106 * Returns the value fo
165 put(K key, V value) argument
286 safeSizeOf(K key, V value) argument
301 sizeOf(K key, V value) argument
[all...]
H A DSparseBooleanArray.java70 * Gets the boolean mapped from the specified key, or the specified value
97 * Adds a mapping from the specified key to the specified value,
101 public void put(int key, boolean value) { argument
105 mValues[i] = value;
130 mValues[i] = value;
136 * Returns the number of key-value mappings that this SparseBooleanArray
145 * the key from the <code>index</code>th key-value mapping that this
154 * the value from the <code>index</code>th key-value mapping that this
173 * specified value
178 indexOfValue(boolean value) argument
197 append(int key, boolean value) argument
[all...]
H A DSparseIntArray.java74 * Gets the int mapped from the specified key, or the specified value
108 * Adds a mapping from the specified key to the specified value,
112 public void put(int key, int value) { argument
116 mValues[i] = value;
141 mValues[i] = value;
147 * Returns the number of key-value mappings that this SparseIntArray
156 * the key from the <code>index</code>th key-value mapping that this
165 * the value from the <code>index</code>th key-value mapping that this
184 * specified value
189 indexOfValue(int value) argument
208 append(int key, int value) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DCookieManager.java77 * @param value the cookie as a string, using the format of the 'Set-Cookie'
80 public void setCookie(String url, String value) { argument
88 * @return value the cookies as a string, using the format of the 'Cookie'
100 * @return value the cookies as a string, using the format of the 'Cookie'
113 * @return value the cookies as a string, using the format of the 'Cookie'
/frameworks/base/core/java/com/android/internal/util/
H A DIndentingPrintWriter.java49 public void printPair(String key, Object value) { argument
50 print(key + "=" + String.valueOf(value) + " ");
/frameworks/base/core/jni/
H A Dandroid_view_HardwareRenderer.cpp74 EGLint value; local
77 eglQuerySurface(display, surface, EGL_SWAP_BEHAVIOR, &value);
84 return error == EGL_SUCCESS && value == EGL_BUFFER_PRESERVED;
110 EGLint value; local
113 eglQuerySurface(display, surface, EGL_WIDTH, &value);
114 storage[0] = value;
116 eglQuerySurface(display, surface, EGL_HEIGHT, &value);
117 storage[1] = value;
/frameworks/base/drm/java/android/drm/
H A DDrmInfo.java89 * Adds optional information as key-value pairs to this object. To add a custom object
93 * @param value Value to add.
96 public void put(String key, Object value) { argument
97 mAttributes.put(key, value);
101 * Retrieves the value of a given key.
103 * @param key The key whose value is being retrieved.
105 * @return The value of the key being retrieved. Returns null if the key cannot be found.
H A DDrmInfoRequest.java96 * Adds optional information as key-value pairs to this object.
99 * @param value The value to add.
101 public void put(String key, Object value) { argument
102 mRequestInformation.put(key, value);
106 * Retrieves the value of a given key.
108 * @param key The key whose value is being retrieved.
110 * @return The value of the key that is being retrieved. Returns null if the key cannot be
/frameworks/base/graphics/java/android/renderscript/
H A DScriptIntrinsicLUT.java26 * tables are 256 entries in size and can cover the full value
64 private void validate(int index, int value) { argument
68 if (value < 0 || value > 255) {
77 * @param value Must be 0-255
79 public void setRed(int index, int value) { argument
80 validate(index, value);
81 mCache[index] = (byte)value;
89 * @param value Must be 0-255
91 public void setGreen(int index, int value) { argument
103 setBlue(int index, int value) argument
115 setAlpha(int index, int value) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DCertBlacklisterTest.java45 private void overrideSettings(String key, String value) throws Exception { argument
46 Settings.Secure.putString(mContext.getContentResolver(), key, value);
/frameworks/base/tools/layoutlib/bridge/src/android/util/
H A DBridgeXmlPullAttributes.java84 String value = getAttributeValue(namespace, attribute);
85 if (value != null) {
86 ResourceValue r = getResourceValue(value);
89 value = r.getValue();
92 return XmlUtils.convertValueToList(value, options, defaultValue);
101 String value = getAttributeValue(namespace, attribute);
102 if (value != null) {
103 ResourceValue r = getResourceValue(value);
106 value = r.getValue();
109 return XmlUtils.convertValueToBoolean(value, defaultValu
256 getResourceValue(String value) argument
265 resolveResourceValue(String value, int defaultValue) argument
[all...]
H A DLruCache.java28 * a value is accessed, it is moved to the head of a queue. When a value is
29 * added to a full cache, the value at the end of that queue is evicted and may
37 * assume a value will always be returned, even when there's a cache miss.
45 * protected int sizeOf(String key, Bitmap value) {
46 * return value.getByteCount();
54 * cache.put(key, value);
58 * <p>This class does not allow null to be used as a key or value. A return
59 * value of null from {@link #get}, {@link #put} or {@link #remove} is
110 * Returns the value fo
169 put(K key, V value) argument
296 safeSizeOf(K key, V value) argument
311 sizeOf(K key, V value) argument
[all...]
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSInfoReader.cpp74 const char *value =pInfo.getStringFromPool(pItem.value); local
81 if (value == NULL) {
82 ALOGE("Invalid string index %d for value in RS pragma list.", pItem.value);
86 pResult.push(std::make_pair(key, value));

Completed in 3065 milliseconds

1234567891011>>