/frameworks/base/media/libstagefright/codecs/amrwb/src/ |
H A D | get_amr_wb_bits.cpp | 121 int16 value = 0; local 125 value <<= 2; 129 value |= 2; 134 value |= 1; 141 value <<= 1; 145 value |= 1; 150 return (value); 156 int16 value = 0; local 160 value = 1; 162 return (value); [all...] |
/frameworks/base/core/java/android/util/ |
H A D | FloatMath.java | 34 * 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 [all...] |
H A D | FloatProperty.java | 41 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 D | IntProperty.java | 41 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/include/utils/ |
H A D | BitSet.h | 30 uint32_t value; member in struct:android::BitSet32 32 inline BitSet32() : value(0) { } 33 explicit inline BitSet32(uint32_t value) : value(value) { } argument 35 // Gets the value associated with a particular bit index. 39 inline void clear() { value = 0; } 42 inline uint32_t count() const { return __builtin_popcount(value); } 45 inline bool isEmpty() const { return ! value; } 48 inline bool isFull() const { return value [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | SystemPropertiesTest.java | 30 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/base/core/java/android/webkit/ |
H A D | ValueCallback.java | 26 public void onReceiveValue(T value); argument
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_vlc.h | 52 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/telephony/java/com/android/internal/telephony/cat/ |
H A D | FontSize.java | 32 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 D | TextAlignment.java | 34 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/base/core/java/com/google/android/mms/pdu/ |
H A D | RetrieveConf.java | 59 * 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 D | NotificationInd.java | 52 * @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 D | SendReq.java | 53 * @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 D | DeliveryInd.java | 49 * 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 D | ContentValues.java | 90 * 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 D | Keyframe.java | 20 * 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 324 FloatKeyframe(float fraction, float value) argument 344 setValue(Object value) argument [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | TypedProperties.java | 202 // 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/base/tools/layoutlib/bridge/src/android/util/ |
H A D | FloatMath_Delegate.java | 39 * 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 [all...] |
H A D | BridgeXmlPullAttributes.java | 84 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...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | ContentValuesBuilder.java | 31 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/core/java/android/database/ |
H A D | MatrixCursor.java | 62 * 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...] |
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/ |
H A D | bits2prm.cpp | 83 no_of_bits = number of bits associated with value 119 Word16 no_of_bits, // input : number of bits associated with value 123 Word16 value, i, bit; 125 value = 0; 128 value = shl (value, 1); 131 value = add (value, 1); 133 return (value); 163 Word16 no_of_bits, /* input : number of bits associated with value */ 167 Word16 value; local [all...] |
/frameworks/base/core/tests/systemproperties/src/android/os/ |
H A D | SystemPropertiesTest.java | 48 String value; 51 value = SystemProperties.get(KEY, "default"); 52 assertEquals("default", value); 55 value = SystemProperties.get(KEY, "default"); 56 assertEquals("SA", value); 58 value = SystemProperties.get(KEY); 59 assertEquals("SA", value); 62 value = SystemProperties.get(KEY, "default"); 63 assertEquals("default", value); 65 value [all...] |
/frameworks/base/tools/localize/ |
H A D | res_check.cpp | 9 static int check_value(const SourcePos& pos, const XMLNode* value); 10 static int scan_for_unguarded_format(const SourcePos& pos, const XMLNode* value, int depth = 0); 41 XMLNode* value = it->value; local 42 if (value != NULL) { 43 err |= check_value(it->pos, value); 63 check_value(const SourcePos& pos, const XMLNode* value) argument 66 err |= scan_for_unguarded_format(pos, value); 91 scan_for_unguarded_format(const SourcePos& pos, const XMLNode* value, int depth) argument 93 if (value [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | JsonWriterTest.java | 31 jsonWriter.value("a"); 66 jsonWriter.value(true); 123 jsonWriter.value((String) null); 133 jsonWriter.value(Double.NaN); 138 jsonWriter.value(Double.NEGATIVE_INFINITY); 143 jsonWriter.value(Double.POSITIVE_INFINITY); 154 jsonWriter.value(new Double(Double.NaN)); 159 jsonWriter.value(new Double(Double.NEGATIVE_INFINITY)); 164 jsonWriter.value(new Double(Double.POSITIVE_INFINITY)); 174 jsonWriter.value( [all...] |