Searched refs:value (Results 1 - 25 of 845) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dget_amr_wb_bits.cpp121 int16 value = 0; local
126 value <<= 2;
130 value |= 2;
135 value |= 1;
142 value <<= 1;
146 value |= 1;
151 return (value);
157 int16 value = 0; local
161 value = 1;
163 return (value);
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dvalue.h29 void* value; member in struct:__anon36
35 int GetIntValue(Value value);
36 float GetFloatValue(Value value);
37 const char* GetStringValue(Value value);
38 const char* GetBufferValue(Value value);
39 char* GetMutableBufferValue(Value value);
40 int* GetIntArrayValue(Value value);
41 float* GetFloatArrayValue(Value value);
44 int ValueIsNull(Value value);
45 int ValueIsInt(Value value);
[all...]
H A Dvalue.cpp20 #include "value.h"
33 POD GetPODValue(Value value) { argument
34 return value.type == TYPEID ? *reinterpret_cast<POD*>(value.value) : POD();
38 PTR GetPtrValue(Value value) { argument
39 return value.type == TYPEID ? reinterpret_cast<PTR>(value.value) : NULL;
43 Value MakePODValue(POD value) { argument
63 SetPODValue(Value* value, POD new_value) argument
77 SetPtrValue(Value* value, const BASE* new_values, int count) argument
91 GetIntValue(Value value) argument
95 GetFloatValue(Value value) argument
99 GetStringValue(Value value) argument
103 GetBufferValue(Value value) argument
109 GetMutableBufferValue(Value value) argument
113 GetIntArrayValue(Value value) argument
117 GetFloatArrayValue(Value value) argument
121 ValueIsNull(Value value) argument
125 ValueIsInt(Value value) argument
129 ValueIsFloat(Value value) argument
133 ValueIsString(Value value) argument
137 ValueIsBuffer(Value value) argument
141 ValueIsIntArray(Value value) argument
145 ValueIsFloatArray(Value value) argument
157 MakeIntValue(int value) argument
161 MakeFloatValue(float value) argument
165 MakeStringValue(const char* value) argument
201 SetIntValue(Value* value, int new_value) argument
205 SetFloatValue(Value* value, float new_value) argument
209 SetStringValue(Value* value, const char* new_value) argument
213 SetMutableBufferValue(Value* value, const char* new_data, int size) argument
217 SetIntArrayValue(Value* value, const int* new_values, int count) argument
221 SetFloatArrayValue(Value* value, const float* new_values, int count) argument
225 GetValueCount(Value value) argument
229 ReleaseValue(Value* value) argument
[all...]
/frameworks/native/include/utils/
H A DBitSet.h31 uint32_t value; member in struct:android::BitSet32
33 inline BitSet32() : value(0) { }
34 explicit inline BitSet32(uint32_t value) : value(value) { } argument
36 // Gets the value associated with a particular bit index.
40 inline void clear() { value = 0; }
43 inline uint32_t count() const { return __builtin_popcount(value); }
46 inline bool isEmpty() const { return ! value; }
49 inline bool isFull() const { return value
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DFastMath.java29 public static int round(float value) { argument
30 long lx = (long) (value * (65536 * 256f));
H A DTypedProperties.java202 // Read a value of the appropriate type, and insert into the map.
203 final Object value = parseValue(st, type);
208 if (value.getClass() != oldValue.getClass()) {
213 map.put(propertyName, value);
229 * @return a Boolean, Number subclass, or String representing the value.
257 long value;
259 value = Long.decode(st.sval);
264 // Ensure that the type can hold this value, and return.
268 if (value < Byte.MIN_VALUE || value > Byt
419 TypeException(String property, Object value, String requestedType) argument
[all...]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DIBordeauxServiceCallback.aidl26 * Called when the service has a new value for you.
28 void valueChanged(int value);
/frameworks/base/media/java/android/media/
H A DIRemoteVolumeObserver.aidl25 void dispatchRemoteVolumeUpdate(int direction, int value);
/frameworks/base/core/tests/coretests/src/android/os/
H A DSystemPropertiesTest.java30 String value;
33 value = SystemProperties.get(KEY, "default");
34 assertEquals("default", value);
37 value = SystemProperties.get(KEY, "default");
38 assertEquals("AAA", value);
40 value = SystemProperties.get(KEY);
41 assertEquals("AAA", value);
44 value = SystemProperties.get(KEY, "default");
45 assertEquals("default", value);
47 value
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_vlc.h52 u32 h264bsdDecodeExpGolombUnsigned(strmData_t *pStrmData, u32 *value);
54 u32 h264bsdDecodeExpGolombSigned(strmData_t *pStrmData, i32 *value);
56 u32 h264bsdDecodeExpGolombMapped(strmData_t *pStrmData, u32 *value,
59 u32 h264bsdDecodeExpGolombTruncated(strmData_t *pStrmData, u32 *value,
/frameworks/base/core/java/android/util/
H A DFloatMath.java34 * positive infinity) integer value which is less than the argument.
36 * @param value to be converted
37 * @return the floor of value
39 public static native float floor(float value); argument
43 * negative infinity) integer value which is greater than the argument.
45 * @param value to be converted
46 * @return the ceiling of value
48 public static native float ceil(float value); argument
70 * @param value to compute sqrt of
71 * @return the square root of value
73 sqrt(float value) argument
82 exp(float value) argument
[all...]
H A DFloatProperty.java41 public abstract void setValue(T object, float value); argument
44 final public void set(T object, Float value) { argument
45 setValue(object, value);
H A DIntProperty.java41 public abstract void setValue(T object, int value); argument
44 final public void set(T object, Integer value) { argument
45 set(object, value.intValue());
/frameworks/base/core/java/android/webkit/
H A DValueCallback.java24 * Invoked when the value is available.
25 * @param value The value.
27 public void onReceiveValue(T value); argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DFontSize.java32 FontSize(int value) { argument
33 mValue = value;
38 * @param value Integer value to be converted to a FontSize object.
39 * @return FontSize object whose value is {@code value}. If no
40 * FontSize object has that value, null is returned.
42 public static FontSize fromInt(int value) { argument
44 if (e.mValue == value) {
H A DTextAlignment.java34 TextAlignment(int value) { argument
35 mValue = value;
40 * @param value Integer value to be converted to a TextAlignment object.
41 * @return TextAlignment object whose value is {@code value}. If no
42 * TextAlignment object has that value, null is returned.
44 public static TextAlignment fromInt(int value) { argument
46 if (e.mValue == value) {
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
H A DRetrieveConf.java59 * Get CC value.
61 * @return the value
68 * Add a "CC" value.
70 * @param value the value
71 * @throws NullPointerException if the value is null.
73 public void addCc(EncodedStringValue value) { argument
74 mPduHeaders.appendEncodedStringValue(value, PduHeaders.CC);
78 * Get Content-type value.
80 * @return the value
92 setContentType(byte[] value) argument
111 setDeliveryReport(int value) argument
132 setFrom(EncodedStringValue value) argument
153 setMessageClass(byte[] value) argument
172 setMessageId(byte[] value) argument
191 setReadReport(int value) argument
210 setRetrieveStatus(int value) argument
229 setRetrieveText(EncodedStringValue value) argument
248 setTransactionId(byte[] value) argument
[all...]
H A DNotificationInd.java52 * @return the value
61 * @param value the value
62 * @throws InvalidHeaderValueException if the value is invalid.
65 public void setContentClass(int value) throws InvalidHeaderValueException { argument
66 mPduHeaders.setOctet(value, PduHeaders.CONTENT_CLASS);
70 * Get X-Mms-Content-Location value.
72 * Content-location-value = Uri-value
74 * @return the value
87 setContentLocation(byte[] value) argument
109 setExpiry(long value) argument
131 setFrom(EncodedStringValue value) argument
153 setMessageClass(byte[] value) argument
173 setMessageSize(long value) argument
193 setSubject(EncodedStringValue value) argument
213 setTransactionId(byte[] value) argument
233 setDeliveryReport(int value) argument
[all...]
H A DSendReq.java53 * @param contentType the content type value
54 * @param from the from value
56 * @param transactionId the transaction-id value
92 * Get Bcc value.
94 * @return the value
101 * Add a "BCC" value.
103 * @param value the value
104 * @throws NullPointerException if the value is null.
106 public void addBcc(EncodedStringValue value) { argument
116 setBcc(EncodedStringValue[] value) argument
135 addCc(EncodedStringValue value) argument
145 setCc(EncodedStringValue[] value) argument
164 setContentType(byte[] value) argument
183 setDeliveryReport(int value) argument
204 setExpiry(long value) argument
224 setMessageSize(long value) argument
245 setMessageClass(byte[] value) argument
264 setReadReport(int value) argument
274 setTo(EncodedStringValue[] value) argument
293 setTransactionId(byte[] value) argument
[all...]
H A DDeliveryInd.java49 * Get Date value.
51 * @return the value
58 * Set Date value.
60 * @param value the value
62 public void setDate(long value) { argument
63 mPduHeaders.setLongInteger(value, PduHeaders.DATE);
67 * Get Message-ID value.
69 * @return the value
76 * Set Message-ID value
81 setMessageId(byte[] value) argument
100 setStatus(int value) argument
119 setTo(EncodedStringValue[] value) argument
[all...]
/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...]
/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/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DContentValuesBuilder.java31 public ContentValuesBuilder put(String key, String value) { argument
32 mContentValues.put(key, value);
37 public ContentValuesBuilder put(String key, Byte value) {
38 mContentValues.put(key, value);
42 public ContentValuesBuilder put(String key, Short value) {
43 mContentValues.put(key, value);
47 public ContentValuesBuilder put(String key, Integer value) { argument
48 mContentValues.put(key, value);
53 public ContentValuesBuilder put(String key, Long value) {
54 mContentValues.put(key, value);
73 put(String key, byte[] value) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/util/
H A DFloatMath_Delegate.java39 * positive infinity) integer value which is less than the argument.
41 * @param value to be converted
42 * @return the floor of value
45 /*package*/ static float floor(float value) { argument
46 return (float)Math.floor(value);
51 * negative infinity) integer value which is greater than the argument.
53 * @param value to be converted
54 * @return the ceiling of value
57 /*package*/ static float ceil(float value) { argument
58 return (float)Math.ceil(value);
91 sqrt(float value) argument
103 exp(float value) argument
[all...]
/frameworks/base/core/java/android/database/
H A DMatrixCursor.java62 * Gets value at the given column for the current row.
184 * value at a time. Follows the same ordering as the column names specified
198 * Sets the next column value in this row.
229 Object value = get(column);
230 if (value == null) return null;
231 return value.toString();
236 Object value = get(column);
237 if (value == null) return 0;
238 if (value instanceof Number) return ((Number) value)
[all...]

Completed in 419 milliseconds

1234567891011>>