Searched refs:value (Results 51 - 75 of 1696) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/util/
H A DKeyValueListParser.java21 * Parses a list of key=value pairs, separated by some delimiter, and puts the results in
22 * an internal Map. Values can be then queried by key, or if not found, a default value
33 * @param delim The delimiter that separates key=value pairs.
42 * <pre>key1=value,key2=value,key3=value</pre>
58 "'" + pair + "' in '" + str + "' is not a valid key-value pair");
66 * Get the value for key as an int.
68 * @param def The value to return if the key was not found, or the value wa
[all...]
/frameworks/rs/
H A DrsCompatibilityLib.cpp22 int property_get(const char *key, char *value, const char *default_value) { argument
25 len = __system_property_get(key, value);
35 memcpy(value, default_value, len + 1);
/frameworks/base/media/java/android/mtp/
H A DMtpObjectInfo.java320 * The value is represented as milliseconds since January 1, 1970
330 * The value is represented as milliseconds since January 1, 1970
388 public Builder setObjectHandle(int value) { argument
389 mObjectInfo.mHandle = value;
393 public Builder setAssociationDesc(int value) { argument
394 mObjectInfo.mAssociationDesc = value;
398 public Builder setAssociationType(int value) { argument
399 mObjectInfo.mAssociationType = value;
403 public Builder setCompressedSize(long value) { argument
404 mObjectInfo.mCompressedSize = longToUint32(value, "valu
408 setDateCreated(long value) argument
413 setDateModified(long value) argument
418 setFormat(int value) argument
423 setImagePixDepth(long value) argument
428 setImagePixHeight(long value) argument
433 setImagePixWidth(long value) argument
438 setKeywords(String value) argument
443 setName(String value) argument
448 setParent(int value) argument
453 setProtectionStatus(int value) argument
458 setSequenceNumber(long value) argument
463 setStorageId(int value) argument
468 setThumbCompressedSize(long value) argument
473 setThumbFormat(int value) argument
478 setThumbPixHeight(long value) argument
483 setThumbPixWidth(long value) argument
502 uint32ToLong(int value) argument
506 longToUint32(long value, String valueName) argument
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DScriptIntrinsicLUT.java22 * tables are 256 entries in size and can cover the full value
60 private void validate(int index, int value) { argument
64 if (value < 0 || value > 255) {
73 * @param value Must be 0-255
75 public void setRed(int index, int value) { argument
76 validate(index, value);
77 mCache[index] = (byte)value;
85 * @param value Must be 0-255
87 public void setGreen(int index, int value) { argument
99 setBlue(int index, int value) argument
111 setAlpha(int index, int value) argument
[all...]
H A DDouble3.java62 * @param value
64 public void add(Double3 value) { argument
65 x += value.x;
66 y += value.y;
67 z += value.z;
73 * @param value
75 public void add(double value) { argument
76 x += value;
77 y += value;
78 z += value;
102 sub(Double3 value) argument
129 sub(double value) argument
156 mul(Double3 value) argument
183 mul(double value) argument
210 div(Double3 value) argument
237 div(double value) argument
355 setAt(int i, double value) argument
377 addAt(int i, double value) argument
[all...]
H A DFloat3.java62 * @param value
64 public void add(Float3 value) { argument
65 x += value.x;
66 y += value.y;
67 z += value.z;
73 * @param value
75 public void add(float value) { argument
76 x += value;
77 y += value;
78 z += value;
102 sub(Float3 value) argument
129 sub(float value) argument
156 mul(Float3 value) argument
183 mul(float value) argument
210 div(Float3 value) argument
237 div(float value) argument
355 setAt(int i, float value) argument
377 addAt(int i, float value) argument
[all...]
H A DDouble4.java66 * @param value
68 public void add(Double4 value) { argument
69 x += value.x;
70 y += value.y;
71 z += value.z;
72 w += value.w;
78 * @param value
80 public void add(double value) { argument
81 x += value;
82 y += value;
109 sub(Double4 value) argument
121 sub(double value) argument
167 mul(Double4 value) argument
179 mul(double value) argument
225 div(Double4 value) argument
237 div(double value) argument
379 setAt(int i, double value) argument
404 addAt(int i, double value) argument
[all...]
H A DFloat4.java66 * @param value
68 public void add(Float4 value) { argument
69 x += value.x;
70 y += value.y;
71 z += value.z;
72 w += value.w;
78 * @param value
80 public void add(float value) { argument
81 x += value;
82 y += value;
109 sub(Float4 value) argument
121 sub(float value) argument
167 mul(Float4 value) argument
179 mul(float value) argument
225 div(Float4 value) argument
237 div(float value) argument
379 setAt(int i, float value) argument
404 addAt(int i, float value) argument
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicLUT.java24 * tables are 256 entries in size and can cover the full value
70 private void validate(int index, int value) { argument
74 if (value < 0 || value > 255) {
83 * @param value Must be 0-255
85 public void setRed(int index, int value) { argument
86 validate(index, value);
87 mCache[index] = (byte)value;
95 * @param value Must be 0-255
97 public void setGreen(int index, int value) { argument
109 setBlue(int index, int value) argument
121 setAlpha(int index, int value) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dbits2prm.cpp83 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/tools/layoutlib/bridge/src/android/util/
H A DBridgeXmlPullAttributes.java85 String value = getAttributeValue(namespace, attribute);
86 if (value != null) {
87 ResourceValue r = getResourceValue(value);
90 value = r.getValue();
93 return XmlUtils.convertValueToList(value, options, defaultValue);
102 String value = getAttributeValue(namespace, attribute);
103 if (value != null) {
104 ResourceValue r = getResourceValue(value);
107 value = r.getValue();
110 return XmlUtils.convertValueToBoolean(value, defaultValu
260 getResourceValue(String value) argument
269 resolveResourceValue(String value, int defaultValue) argument
[all...]
/frameworks/base/core/tests/systemproperties/src/android/os/
H A DSystemPropertiesTest.java48 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 Dstatistics.cpp34 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/compile/mclinker/lib/Script/
H A DBinaryOp.cpp30 res->setValue(m_pOperand[0]->value() * m_pOperand[1]->value());
38 res->setValue(m_pOperand[0]->value() / m_pOperand[1]->value());
46 res->setValue(m_pOperand[0]->value() % m_pOperand[1]->value());
54 res->setValue(m_pOperand[0]->value() + m_pOperand[1]->value());
62 res->setValue(m_pOperand[0]->value() - m_pOperand[1]->value());
179 uint64_t value = m_pOperand[0]->value(); local
193 uint64_t value = m_pOperand[0]->value() + m_pOperand[1]->value(); local
[all...]
H A DTernaryOp.cpp24 if (m_pOperand[0]->value())
25 res->setValue(m_pOperand[1]->value());
27 res->setValue(m_pOperand[2]->value());
42 uint64_t dot = m_pOperand[0]->value();
43 uint64_t maxPageSize = m_pOperand[1]->value();
44 uint64_t commonPageSize = m_pOperand[2]->value();
/frameworks/av/media/mtp/
H A DMtpDataPacket.h46 bool getUInt8(uint8_t& value);
47 inline bool getInt8(int8_t& value) { return getUInt8((uint8_t&)value); } argument
48 bool getUInt16(uint16_t& value);
49 inline bool getInt16(int16_t& value) { return getUInt16((uint16_t&)value); } argument
50 bool getUInt32(uint32_t& value);
51 inline bool getInt32(int32_t& value) { return getUInt32((uint32_t&)value); } argument
52 bool getUInt64(uint64_t& value);
53 getInt64(int64_t& value) argument
55 getInt128(int128_t& value) argument
[all...]
H A DMtpDataPacket.cpp52 bool MtpDataPacket::getUInt8(uint8_t& value) { argument
53 if (mPacketSize - mOffset < sizeof(value))
55 value = mBuffer[mOffset++];
59 bool MtpDataPacket::getUInt16(uint16_t& value) { argument
60 if (mPacketSize - mOffset < sizeof(value))
63 value = (uint16_t)mBuffer[offset] | ((uint16_t)mBuffer[offset + 1] << 8);
64 mOffset += sizeof(value);
68 bool MtpDataPacket::getUInt32(uint32_t& value) { argument
69 if (mPacketSize - mOffset < sizeof(value))
72 value
78 getUInt64(uint64_t& value) argument
90 getUInt128(uint128_t& value) argument
105 int8_t value; local
121 uint8_t value; local
137 int16_t value; local
153 uint16_t value; local
169 int32_t value; local
185 uint32_t value; local
201 int64_t value; local
217 uint64_t value; local
227 putInt8(int8_t value) argument
234 putUInt8(uint8_t value) argument
241 putInt16(int16_t value) argument
249 putUInt16(uint16_t value) argument
257 putInt32(int32_t value) argument
267 putUInt32(uint32_t value) argument
277 putInt64(int64_t value) argument
291 putUInt64(uint64_t value) argument
305 putInt128(const int128_t& value) argument
312 putUInt128(const uint128_t& value) argument
319 putInt128(int64_t value) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryablePrimitive.java69 public int calculateMarshalSize(T value) { argument
74 public void marshal(T value, ByteBuffer buffer) { argument
75 if (value instanceof Integer) {
77 final int val = (Integer) value;
79 } else if (value instanceof Float) {
81 final float val = (Float) value;
83 } else if (value instanceof Long) {
85 final long val = (Long) value;
87 } else if (value instanceof Rational) {
89 marshalPrimitive((Rational) value, buffe
104 marshalPrimitive(int value, ByteBuffer buffer) argument
108 marshalPrimitive(float value, ByteBuffer buffer) argument
112 marshalPrimitive(double value, ByteBuffer buffer) argument
116 marshalPrimitive(long value, ByteBuffer buffer) argument
120 marshalPrimitive(Rational value, ByteBuffer buffer) argument
125 marshalPrimitive(byte value, ByteBuffer buffer) 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
38 * Flag to indicate whether this keyframe has a valid value. This flag is used when an
45 * Flag to indicate whether the value in the keyframe was read from the target object or not.
46 * If so, its value will be recalculated if target changes.
57 * The type of the value in this Keyframe. This type is determined at construction time,
58 * based on the type of the <code>value</cod
82 ofInt(float fraction, int value) argument
114 ofFloat(float fraction, float value) argument
146 ofObject(float fraction, Object value) argument
203 setValue(Object value) argument
269 ObjectKeyframe(float fraction, Object value) argument
280 setValue(Object value) argument
304 IntKeyframe(float fraction, int value) argument
324 setValue(Object value) argument
351 FloatKeyframe(float fraction, float value) argument
371 setValue(Object value) argument
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPropertyAnimatorCompat.java40 public void setDuration(ViewPropertyAnimatorCompat vpa, View view, long value); argument
42 public void setInterpolator(ViewPropertyAnimatorCompat vpa, View view, Interpolator value); argument
44 public void setStartDelay(ViewPropertyAnimatorCompat vpa, View view, long value); argument
46 public void alpha(ViewPropertyAnimatorCompat vpa, View view, float value); argument
47 public void alphaBy(ViewPropertyAnimatorCompat vpa, View view, float value); argument
48 public void rotation(ViewPropertyAnimatorCompat vpa, View view, float value); argument
49 public void rotationBy(ViewPropertyAnimatorCompat vpa, View view, float value); argument
50 public void rotationX(ViewPropertyAnimatorCompat vpa, View view, float value); argument
51 public void rotationXBy(ViewPropertyAnimatorCompat vpa, View view, float value); argument
52 public void rotationY(ViewPropertyAnimatorCompat vpa, View view, float value); argument
53 rotationYBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
54 scaleX(ViewPropertyAnimatorCompat vpa, View view, float value) argument
55 scaleXBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
56 scaleY(ViewPropertyAnimatorCompat vpa, View view, float value) argument
57 scaleYBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
59 x(ViewPropertyAnimatorCompat vpa, View view, float value) argument
60 xBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
61 y(ViewPropertyAnimatorCompat vpa, View view, float value) argument
62 yBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
63 z(ViewPropertyAnimatorCompat vpa, View view, float value) argument
64 zBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
65 translationX(ViewPropertyAnimatorCompat vpa, View view, float value) argument
66 translationXBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
67 translationY(ViewPropertyAnimatorCompat vpa, View view, float value) argument
68 translationYBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
69 translationZ(ViewPropertyAnimatorCompat vpa, View view, float value) argument
70 translationZBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
85 setDuration(ViewPropertyAnimatorCompat vpa, View view, long value) argument
90 alpha(ViewPropertyAnimatorCompat vpa, View view, float value) argument
96 translationX(ViewPropertyAnimatorCompat vpa, View view, float value) argument
102 translationY(ViewPropertyAnimatorCompat vpa, View view, float value) argument
119 setInterpolator(ViewPropertyAnimatorCompat vpa, View view, Interpolator value) argument
129 setStartDelay(ViewPropertyAnimatorCompat vpa, View view, long value) argument
139 alphaBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
145 rotation(ViewPropertyAnimatorCompat vpa, View view, float value) argument
151 rotationBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
157 rotationX(ViewPropertyAnimatorCompat vpa, View view, float value) argument
163 rotationXBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
169 rotationY(ViewPropertyAnimatorCompat vpa, View view, float value) argument
175 rotationYBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
181 scaleX(ViewPropertyAnimatorCompat vpa, View view, float value) argument
187 scaleXBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
193 scaleY(ViewPropertyAnimatorCompat vpa, View view, float value) argument
199 scaleYBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
211 x(ViewPropertyAnimatorCompat vpa, View view, float value) argument
217 xBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
223 y(ViewPropertyAnimatorCompat vpa, View view, float value) argument
229 yBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
235 z(ViewPropertyAnimatorCompat vpa, View view, float value) argument
240 zBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
245 translationXBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
251 translationYBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
257 translationZ(ViewPropertyAnimatorCompat vpa, View view, float value) argument
262 translationZBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
368 setDuration(ViewPropertyAnimatorCompat vpa, View view, long value) argument
373 alpha(ViewPropertyAnimatorCompat vpa, View view, float value) argument
378 translationX(ViewPropertyAnimatorCompat vpa, View view, float value) argument
383 translationY(ViewPropertyAnimatorCompat vpa, View view, float value) argument
393 setInterpolator(ViewPropertyAnimatorCompat vpa, View view, Interpolator value) argument
398 setStartDelay(ViewPropertyAnimatorCompat vpa, View view, long value) argument
408 alphaBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
413 rotation(ViewPropertyAnimatorCompat vpa, View view, float value) argument
418 rotationBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
423 rotationX(ViewPropertyAnimatorCompat vpa, View view, float value) argument
428 rotationXBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
433 rotationY(ViewPropertyAnimatorCompat vpa, View view, float value) argument
438 rotationYBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
443 scaleX(ViewPropertyAnimatorCompat vpa, View view, float value) argument
448 scaleXBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
453 scaleY(ViewPropertyAnimatorCompat vpa, View view, float value) argument
458 scaleYBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
468 x(ViewPropertyAnimatorCompat vpa, View view, float value) argument
473 xBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
478 y(ViewPropertyAnimatorCompat vpa, View view, float value) argument
483 yBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
488 translationXBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
493 translationYBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
637 translationZ(ViewPropertyAnimatorCompat vpa, View view, float value) argument
642 translationZBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
647 z(ViewPropertyAnimatorCompat vpa, View view, float value) argument
652 zBy(ViewPropertyAnimatorCompat vpa, View view, float value) argument
686 setDuration(long value) argument
703 alpha(float value) argument
720 alphaBy(float value) argument
737 translationX(float value) argument
754 translationY(float value) argument
826 setInterpolator(Interpolator value) argument
860 setStartDelay(long value) argument
896 rotation(float value) argument
913 rotationBy(float value) argument
930 rotationX(float value) argument
947 rotationXBy(float value) argument
964 rotationY(float value) argument
981 rotationYBy(float value) argument
998 scaleX(float value) argument
1015 scaleXBy(float value) argument
1032 scaleY(float value) argument
1049 scaleYBy(float value) argument
1076 x(float value) argument
1093 xBy(float value) argument
1110 y(float value) argument
1127 yBy(float value) argument
1144 translationXBy(float value) argument
1161 translationYBy(float value) argument
1178 translationZBy(float value) argument
1195 translationZ(float value) argument
1212 z(float value) argument
1229 zBy(float value) argument
[all...]
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DReadOrigInd.java46 * 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 DPduHeaders.java323 * 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 DGenericPdu.java54 * 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 DNotifyRespInd.java30 * @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...]
/frameworks/base/libs/hwui/tests/common/scenes/
H A DOpPropAnimation.cpp47 mPaint->value.setAntiAlias(true);
48 mPaint->value.setColor(Color::Blue_500);
50 mRoundRectRight->value = width / 2;
51 mRoundRectBottom->value = height / 2;
53 mCircleX->value = width * 0.75;
54 mCircleY->value = height * 0.75;
66 float value = (abs((frameNr % 200) - 100)) / 100.0f; variable
67 mRoundRectRx->value = dp(10) + value * dp(40);
68 mRoundRectRy->value
[all...]

Completed in 529 milliseconds

1234567891011>>