/frameworks/base/graphics/java/android/renderscript/ |
H A D | ScriptIntrinsicLUT.java | 26 * 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/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
H A D | ScriptIntrinsicLUT.java | 24 * tables are 256 entries in size and can cover the full value 62 private void validate(int index, int value) { argument 66 if (value < 0 || value > 255) { 75 * @param value Must be 0-255 77 public void setRed(int index, int value) { argument 78 validate(index, value); 79 mCache[index] = (byte)value; 87 * @param value Must be 0-255 89 public void setGreen(int index, int value) { argument 101 setBlue(int index, int value) argument 113 setAlpha(int index, int value) argument [all...] |
/frameworks/av/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/media/mca/filterfw/native/core/ |
H A D | statistics.cpp | 34 void IncrementalGaussian::Add(float value) { argument 36 sum_x_ += value; 37 sum_x2_ += value * value; 50 float IncrementalGaussian::Pdf(float value) const { 51 if (var_ == 0.0f) { return n_ > 0 ? value == mean_ : 0.0f; } 52 const float diff = value - mean_;
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
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/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...] |
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
H A D | ReadOrigInd.java | 46 * Get Date value. 48 * @return the value 55 * Set Date value. 57 * @param value the value 59 public void setDate(long value) { argument 60 mPduHeaders.setLongInteger(value, PduHeaders.DATE); 64 * Get From value. 65 * From-value = Value-length 66 * (Address-present-token Encoded-string-value | Inser 80 setFrom(EncodedStringValue value) argument 99 setMessageId(byte[] value) argument 118 setReadStatus(int value) argument 137 setTo(EncodedStringValue[] value) argument [all...] |
H A D | PduHeaders.java | 323 * The map contains the value of all headers. 335 * Get octet value by header field. 338 * @return the octet value of the pdu header 340 * the value is not set. 352 * Set octet value to pdu header by header field. 354 * @param value the value 356 * @throws InvalidHeaderValueException if the value is invalid. 358 protected void setOctet(int value, int field) argument 376 if ((VALUE_YES != value) 515 setTextString(byte[] value, int field) argument 581 setEncodedStringValue(EncodedStringValue value, int field) argument 618 setEncodedStringValues(EncodedStringValue[] value, int field) argument 651 appendEncodedStringValue(EncodedStringValue value, int field) argument 698 setLongInteger(long value, int field) argument [all...] |
H A D | GenericPdu.java | 54 * Get X-Mms-Message-Type field value. 56 * @return the X-Mms-Report-Allowed value 63 * Set X-Mms-Message-Type field value. 65 * @param value the value 66 * @throws InvalidHeaderValueException if the value is invalid. 67 * RuntimeException if field's value is not Octet. 69 public void setMessageType(int value) throws InvalidHeaderValueException { argument 70 mPduHeaders.setOctet(value, PduHeaders.MESSAGE_TYPE); 74 * Get X-Mms-MMS-Version field value 89 setMmsVersion(int value) argument 110 setFrom(EncodedStringValue value) argument [all...] |
H A D | NotifyRespInd.java | 30 * @param transactionId the transaction-id value 31 * @param status the status value 56 * Get X-Mms-Report-Allowed field value. 58 * @return the X-Mms-Report-Allowed value 65 * Set X-Mms-Report-Allowed field value. 67 * @param value the value 68 * @throws InvalidHeaderValueException if the value is invalid. 71 public void setReportAllowed(int value) throws InvalidHeaderValueException { argument 72 mPduHeaders.setOctet(value, PduHeader 82 setStatus(int value) argument 111 setTransactionId(byte[] value) argument [all...] |
H A D | SendConf.java | 46 * Get Message-ID value. 48 * @return the value 55 * Set Message-ID value. 57 * @param value the value 58 * @throws NullPointerException if the value is null. 60 public void setMessageId(byte[] value) { argument 61 mPduHeaders.setTextString(value, PduHeaders.MESSAGE_ID); 67 * @return the value 76 * @param value th 79 setResponseStatus(int value) argument 98 setTransactionId(byte[] value) argument [all...] |
H A D | AcknowledgeInd.java | 30 * @param transactionId the transaction-id value 53 * Get X-Mms-Report-Allowed field value. 55 * @return the X-Mms-Report-Allowed value 62 * Set X-Mms-Report-Allowed field value. 64 * @param value the value 65 * @throws InvalidHeaderValueException if the value is invalid. 67 public void setReportAllowed(int value) throws InvalidHeaderValueException { argument 68 mPduHeaders.setOctet(value, PduHeaders.REPORT_ALLOWED); 72 * Get X-Mms-Transaction-Id field value 86 setTransactionId(byte[] value) argument [all...] |
H A D | MultimediaMessagePdu.java | 79 * @return the value 88 * @param value the value 89 * @throws NullPointerException if the value is null. 91 public void setSubject(EncodedStringValue value) { argument 92 mPduHeaders.setEncodedStringValue(value, PduHeaders.SUBJECT); 96 * Get To value. 98 * @return the value 105 * Add a "To" value. 107 * @param value th 110 addTo(EncodedStringValue value) argument 129 setPriority(int value) argument 147 setDate(long value) argument [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
H A D | MediaMetadataTest.java | 71 String value = null; 81 //METADATA_KEY_CD_TRACK_NUMBER should return the TCRK value 82 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_CD_TRACK_NUMBER); 83 Log.v(TAG, "CD_TRACK_NUMBER : " + value); 84 assertEquals(TAG, meta_data_file[fileIndex][meta.CD_TRACK.ordinal()], value); 86 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ALBUM); 87 Log.v(TAG, "Album : "+ value); 88 assertEquals(TAG, meta_data_file[fileIndex][meta.ALBUM.ordinal()], value); 90 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ARTIST); 91 Log.v(TAG, "Artist : "+ value); [all...] |
/frameworks/base/test-runner/src/android/test/ |
H A D | SimpleCache.java | 31 V value = load(key); 32 map.put(key, value); 33 return value;
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
H A D | StringPart.java | 67 /** The String value of this part. */ 68 private String value; field in class:StringPart 74 * @param value the string to post 78 public StringPart(String name, String value, String charset) { argument 86 if (value == null) { 89 if (value.indexOf(0) != -1) { 93 this.value = value; 100 * @param value the string to post 102 public StringPart(String name, String value) { argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | TextColor.java | 45 TextColor(int value) { argument 46 mValue = value; 51 * @param value Integer value to be converted to a TextColor object. 52 * @return TextColor object whose value is {@code value}. If no TextColor 53 * object has that value, null is returned. 55 public static TextColor fromInt(int value) { argument 57 if (e.mValue == value) {
|
/frameworks/av/media/libmedia/ |
H A D | AudioParameter.cpp | 47 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...] |
/frameworks/av/media/mtp/ |
H A D | MtpDataPacket.h | 53 void getUInt128(uint128_t& value); 54 inline void getInt128(int128_t& value) { getUInt128((uint128_t&)value); } argument 66 void putInt8(int8_t value); 67 void putUInt8(uint8_t value); 68 void putInt16(int16_t value); 69 void putUInt16(uint16_t value); 70 void putInt32(int32_t value); 71 void putUInt32(uint32_t value); 72 void putInt64(int64_t value); [all...] |
/frameworks/base/core/java/android/net/http/ |
H A D | HttpAuthHeader.java | 52 * rejected because the nonce value was stale. If stale is TRUE 84 * value "auth" indicates authentication; the value "auth-int" 190 * the client was rejected because the nonce value was stale. 197 * @return The realm value or null if there is none. 204 * @return The nonce value or null if there is none. 211 * @return The opaque value or null if there is none. 218 * @return The QOP ("quality-of_protection") value or null if 219 * there is none. The QOP value is always lower-case. 278 * scheme, sets the algorithm value t 365 parseParameter(String token, String value) argument 398 parseStale(String value) argument 411 trimDoubleQuotesIfAny(String value) argument [all...] |
/frameworks/base/core/java/android/accounts/ |
H A D | IAccountAuthenticatorResponse.aidl | 25 void onResult(in Bundle value);
|
H A D | IAccountManagerResponse.aidl | 25 void onResult(in Bundle value);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | HarfbuzzSkia.h | 45 static inline HB_Fixed SkScalarToHBFixed(SkScalar value) { argument 47 return SkScalarToFloat(value) * 64.0f;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | BlurMaskFilter.java | 33 Blur(int value) { argument 34 native_int = value;
|