Searched refs:value (Results 76 - 100 of 2087) sorted by relevance

1234567891011>>

/frameworks/base/rs/java/android/renderscript/
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/av/media/mtp/
H A DMtpDataPacket.cpp74 bool MtpDataPacket::getUInt8(uint8_t& value) { argument
75 if (mPacketSize - mOffset < sizeof(value))
77 value = mBuffer[mOffset++];
81 bool MtpDataPacket::getUInt16(uint16_t& value) { argument
82 if (mPacketSize - mOffset < sizeof(value))
85 value = (uint16_t)mBuffer[offset] | ((uint16_t)mBuffer[offset + 1] << 8);
86 mOffset += sizeof(value);
90 bool MtpDataPacket::getUInt32(uint32_t& value) { argument
91 if (mPacketSize - mOffset < sizeof(value))
94 value
100 getUInt64(uint64_t& value) argument
112 getUInt128(uint128_t& value) argument
127 int8_t value; local
143 uint8_t value; local
159 int16_t value; local
175 uint16_t value; local
191 int32_t value; local
207 uint32_t value; local
223 int64_t value; local
239 uint64_t value; local
249 putInt8(int8_t value) argument
256 putUInt8(uint8_t value) argument
263 putInt16(int16_t value) argument
271 putUInt16(uint16_t value) argument
279 putInt32(int32_t value) argument
289 putUInt32(uint32_t value) argument
299 putInt64(int64_t value) argument
313 putUInt64(uint64_t value) argument
327 putInt128(const int128_t& value) argument
334 putUInt128(const uint128_t& value) argument
341 putInt128(int64_t value) argument
[all...]
/frameworks/compile/mclinker/lib/Script/
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/opt/telephony/src/java/com/google/android/mms/pdu/
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...]
H A DSendConf.java46 * 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 DAcknowledgeInd.java30 * @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...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DMediaMetadataTest.java71 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/native/include/binder/
H A DValue.h76 Value(const Value& value);
77 Value(const bool& value);
78 Value(const int8_t& value);
79 Value(const int32_t& value);
80 Value(const int64_t& value);
81 Value(const double& value);
82 Value(const String16& value);
83 Value(const std::vector<bool>& value);
84 Value(const std::vector<uint8_t>& value);
85 Value(const std::vector<int32_t>& value);
156 Value(const String8& value) argument
157 Value(const ::std::string& value) argument
158 putString(const String8& value) argument
159 putString(const ::std::string& value) argument
[all...]
/frameworks/native/libs/binder/include/binder/
H A DValue.h76 Value(const Value& value);
77 Value(const bool& value);
78 Value(const int8_t& value);
79 Value(const int32_t& value);
80 Value(const int64_t& value);
81 Value(const double& value);
82 Value(const String16& value);
83 Value(const std::vector<bool>& value);
84 Value(const std::vector<uint8_t>& value);
85 Value(const std::vector<int32_t>& value);
156 Value(const String8& value) argument
157 Value(const ::std::string& value) argument
158 putString(const String8& value) argument
159 putString(const ::std::string& value) argument
[all...]
/frameworks/base/tools/preload2/src/com/android/preload/actions/
H A DComputeThresholdXAction.java31 String value = Main.getUI().showInputDialog("Threshold?");
33 if (value != null) {
35 threshold = Integer.parseInt(value);
/frameworks/compile/libbcc/lib/
H A DProperties.h28 static inline int property_get(const char *key, char *value, const char *default_value) { argument
30 len = __system_property_get(key, value);
37 memcpy(value, default_value, len + 1);
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DSetCommand.java20 * Setter interface for use with Command pattern metadata value setters.
25 * Set the value in the given metadata.
27 * @param metadata {@link CameraMetadataNative} to set value in.
28 * @param value value to set.
29 * @param <T> type of the value to set.
32 T value);
31 setValue( CameraMetadataNative metadata, T value) argument
/frameworks/base/core/java/android/security/keymaster/
H A DKeymasterArguments.java65 * Adds an enum tag with the provided value.
69 public void addEnum(int tag, int value) { argument
74 addEnumTag(tag, value);
86 for (int value : values) {
87 addEnumTag(tag, value);
92 * Returns the value of the specified enum tag or {@code defaultValue} if the tag is not
126 private void addEnumTag(int tag, int value) { argument
127 mArguments.add(new KeymasterIntArgument(tag, value));
131 return ((KeymasterIntArgument) arg).value;
135 * Adds an unsigned 32-bit int tag with the provided value
140 addUnsignedInt(int tag, long value) argument
176 addUnsignedLong(int tag, BigInteger value) argument
202 addLongTag(int tag, BigInteger value) argument
250 addBytes(int tag, byte[] value) argument
283 addDate(int tag, Date value) argument
305 addDateIfNotNull(int tag, Date value) argument
374 toUint64(long value) argument
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DToBooleanFunction.java39 * @param value the function argument
42 boolean apply(T value); argument
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
H A Dencoding.h34 // This library attempts to optimize for space based on the value of such types.
335 // Encoding is fully contained within the type value.
347 // Encoding type followed by one-byte size or immediate value.
361 // Encoding type followed by two-byte size or immediate value.
371 // Encoding type followed by four-byte size or immediate value.
382 // Encoding type followed by eight-byte immediate value.
395 // encoding based on the data type, value, and size of their arguments.
446 inline constexpr EncodingType EncodeType(const StringWrapper<T>& value) { argument
447 return EncodeStringType(value.length());
450 inline constexpr EncodingType EncodeType(const std::string& value) { argument
460 EncodeType(const ArrayWrapper<T>& value) argument
465 EncodeType( const std::vector<T, Allocator>& value) argument
471 EncodeType( const std::map<Key, T, Compare, Allocator>& value) argument
478 EncodeType( const std::unordered_map<Key, T, Hash, KeyEqual, Allocator>& value) argument
484 EncodeType(const BufferWrapper<T>& value) argument
517 EncodeType(const bool& value) argument
524 EncodeType(const char& value) argument
531 EncodeType(const uint8_t& value) argument
537 EncodeType(const int8_t& value) argument
543 EncodeType(const uint16_t& value) argument
551 EncodeType(const int16_t& value) argument
559 EncodeType(const uint32_t& value) argument
569 EncodeType(const int32_t& value) argument
579 EncodeType(const uint64_t& value) argument
591 EncodeType(const int64_t& value) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DTextColor.java45 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/rs/tests/java_api/Refocus/src/com/android/rs/test/
H A DDepthTransform.java12 * @return The near depth value
17 * @return The far depth value
27 * @return the quantized value that corresponds to the given depth value
32 * @return the depth value that corresponds to the given quantized value
34 public float reconstruct(int value); argument
/frameworks/native/libs/vr/libdvr/
H A Ddvr_surface.cpp23 SurfaceAttributeValue value; local
24 switch (attributes[i].value.type) {
26 value = attributes[i].value.int32_value;
29 value = attributes[i].value.int64_value;
32 value = attributes[i].value.bool_value;
35 value = attributes[i].value
[all...]
H A Ddvr_display_manager.cpp23 // Extracts type and value from the attribute Variant and writes them into the
28 void operator()(int32_t value) { argument
29 attribute->value.int32_value = value;
30 attribute->value.type = DVR_SURFACE_ATTRIBUTE_TYPE_INT32;
32 void operator()(int64_t value) { argument
33 attribute->value.int64_value = value;
34 attribute->value.type = DVR_SURFACE_ATTRIBUTE_TYPE_INT64;
36 void operator()(bool value) { argument
40 operator ()(float value) argument
44 operator ()(const std::array<float, 2>& value) argument
48 operator ()(const std::array<float, 3>& value) argument
52 operator ()(const std::array<float, 4>& value) argument
56 operator ()(const std::array<float, 8>& value) argument
60 operator ()(const std::array<float, 16>& value) argument
[all...]
/frameworks/base/tools/aapt2/optimize/
H A DResourceDeduper.cpp29 * Remove duplicated key-value entries from dominated resources.
31 * Based on the dominator tree, we can remove a value of an entry if:
33 * 1. The configuration for the entry's value is dominated by a configuration
34 * with an equivalent entry value.
36 * unrelated by domination with the configuration for the entry's value) have
37 * an equivalent entry value.
51 ResourceConfigValue* node_value = node->value();
52 ResourceConfigValue* parent_value = parent->value();
56 if (!node_value->value->Equals(parent_value->value
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcAsyncChannel.java100 public static LinkPropertyChangeAction fromInt(int value) { argument
101 if (value == NONE.ordinal()) {
103 } else if (value == CHANGED.ordinal()) {
105 } else if (value == RESET.ordinal()) {
108 throw new RuntimeException("LinkPropertyChangeAction.fromInt: bad value=" + value);
144 boolean value;
148 value = rspIsInactive(response);
151 value = false;
154 value
[all...]
/frameworks/av/media/libaudioprocessing/
H A DAudioMixerOps.h22 /* Behavior of is_same<>::value is true if the types are identical,
28 static const bool value = false; member in struct:android::is_same
34 static const bool value = true; member in struct:android::is_same
60 TO MixMul(TI value, TV volume);
63 inline int32_t MixMul<int32_t, int16_t, int16_t>(int16_t value, int16_t volume) { argument
64 return value * volume;
68 inline int32_t MixMul<int32_t, int32_t, int16_t>(int32_t value, int16_t volume) { argument
69 return (value >> 12) * volume;
73 inline int32_t MixMul<int32_t, int16_t, int32_t>(int16_t value, int32_t volume) { argument
74 return value * (volum
78 MixMul(int32_t value, int32_t volume) argument
83 MixMul(float value, int16_t volume) argument
89 MixMul(float value, int32_t volume) argument
95 MixMul(float value, int16_t volume) argument
100 MixMul(float value, int32_t volume) argument
105 MixMul(int16_t value, int16_t volume) argument
111 MixMul(int16_t value, int32_t volume) argument
117 MixMul(int16_t value, int16_t volume) argument
122 MixMul(int32_t value, int16_t volume) argument
127 MixMul(int16_t value, int32_t volume) argument
132 MixMul(int32_t value, int32_t volume) argument
141 MixMul(float value, float volume) argument
146 MixMul(int16_t value, float volume) argument
152 MixMul(int32_t value, float volume) argument
158 MixMul(int16_t value, float volume) argument
165 MixMul(int16_t value, float volume) argument
171 MixMul(float value, float volume) argument
181 MixAccum(TO *auxaccum, TI value) argument
190 MixAccum(float *auxaccum, int16_t value) argument
196 MixAccum(float *auxaccum, int32_t value) argument
202 MixAccum(int32_t *auxaccum, int16_t value) argument
207 MixAccum(int32_t *auxaccum, float value) argument
216 MixMulAux(TI value, TV volume, TA *auxaccum) argument
[all...]
/frameworks/base/libs/androidfw/tests/
H A DTheme_test.cpp64 Res_value value; local
66 EXPECT_EQ(kInvalidCookie, theme->GetAttribute(app::R::attr::attr_one, &value, &flags));
76 Res_value value; local
80 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags);
82 EXPECT_EQ(Res_value::TYPE_INT_DEC, value.dataType);
83 EXPECT_EQ(1u, value.data);
86 cookie = theme->GetAttribute(app::R::attr::attr_two, &value, &flags);
88 EXPECT_EQ(Res_value::TYPE_INT_DEC, value.dataType);
89 EXPECT_EQ(2u, value.data);
100 Res_value value; local
134 Res_value value; local
168 Res_value value; local
202 Res_value value; local
231 Res_value value; local
[all...]

Completed in 2614 milliseconds

1234567891011>>