/frameworks/base/media/mca/filterfw/native/core/ |
D | value.cpp | 34 POD GetPODValue(Value value) { in GetPODValue() argument 35 return value.type == TYPEID ? *reinterpret_cast<POD*>(value.value) : POD(); in GetPODValue() 39 PTR GetPtrValue(Value value) { in GetPtrValue() argument 40 return value.type == TYPEID ? reinterpret_cast<PTR>(value.value) : NULL; in GetPtrValue() 44 Value MakePODValue(POD value) { in MakePODValue() argument 47 result.value = malloc(sizeof(POD)); in MakePODValue() 49 *reinterpret_cast<POD*>(result.value) = value; in MakePODValue() 57 result.value = malloc(sizeof(BASE) * count); in MakePtrValue() 58 memcpy(result.value, values, sizeof(BASE) * count); in MakePtrValue() 64 int SetPODValue(Value* value, POD new_value) { in SetPODValue() argument [all …]
|
D | value.h | 29 void* value; member 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 …]
|
/frameworks/base/core/java/android/content/ |
D | ContentValues.java | 95 public void put(String key, String value) { in put() argument 96 mValues.put(key, value); in put() 114 public void put(String key, Byte value) { in put() argument 115 mValues.put(key, value); in put() 124 public void put(String key, Short value) { in put() argument 125 mValues.put(key, value); in put() 134 public void put(String key, Integer value) { in put() argument 135 mValues.put(key, value); in put() 144 public void put(String key, Long value) { in put() argument 145 mValues.put(key, value); in put() [all …]
|
/frameworks/support/v4/ics/android/support/v4/view/ |
D | ViewPropertyAnimatorCompatICS.java | 25 public static void setDuration(View view, long value) { in setDuration() argument 26 view.animate().setDuration(value); in setDuration() 29 public static void alpha(View view, float value) { in alpha() argument 30 view.animate().alpha(value); in alpha() 33 public static void translationX(View view, float value) { in translationX() argument 34 view.animate().translationX(value); in translationX() 37 public static void translationY(View view, float value) { in translationY() argument 38 view.animate().translationY(value); in translationY() 45 public static void setInterpolator(View view, Interpolator value) { in setInterpolator() argument 46 view.animate().setInterpolator(value); in setInterpolator() [all …]
|
/frameworks/rs/api/ |
D | rs_object_types.spec | 90 value: RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X = 0 91 value: RS_ALLOCATION_CUBEMAP_FACE_NEGATIVE_X = 1 92 value: RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_Y = 2 93 value: RS_ALLOCATION_CUBEMAP_FACE_NEGATIVE_Y = 3 94 value: RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_Z = 4 95 value: RS_ALLOCATION_CUBEMAP_FACE_NEGATIVE_Z = 5 104 value: RS_ALLOCATION_USAGE_SCRIPT = 0x0001, "Allocation is bound to and accessed by scripts." 105 value: RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE = 0x0002, "Allocation is used as a texture source." 106 value: RS_ALLOCATION_USAGE_GRAPHICS_VERTEX = 0x0004, "Deprecated." 107 value: RS_ALLOCATION_USAGE_GRAPHICS_CONSTANTS = 0x0008, "Deprecated." [all …]
|
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
D | PduHeaders.java | 358 protected void setOctet(int value, int field) in setOctet() argument 376 if ((VALUE_YES != value) && (VALUE_NO != value)) { in setOctet() 382 if ((READ_STATUS_READ != value) && in setOctet() 383 (READ_STATUS__DELETED_WITHOUT_BEING_READ != value)) { in setOctet() 389 if ((CANCEL_STATUS_REQUEST_SUCCESSFULLY_RECEIVED != value) && in setOctet() 390 (CANCEL_STATUS_REQUEST_CORRUPTED != value)) { in setOctet() 396 if ((value < PRIORITY_LOW) || (value > PRIORITY_HIGH)) { in setOctet() 402 if ((value < STATUS_EXPIRED) || (value > STATUS_UNREACHABLE)) { in setOctet() 408 if ((value < REPLY_CHARGING_REQUESTED) in setOctet() 409 || (value > REPLY_CHARGING_ACCEPTED_TEXT_ONLY)) { in setOctet() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | TypedProperties.java | 203 final Object value = parseValue(st, type); in parse() local 208 if (value.getClass() != oldValue.getClass()) { in parse() 213 map.put(propertyName, value); in parse() 257 long value; in parseValue() local 259 value = Long.decode(st.sval); in parseValue() 268 if (value < Byte.MIN_VALUE || value > Byte.MAX_VALUE) { in parseValue() 271 return new Byte((byte)value); in parseValue() 273 if (value < Short.MIN_VALUE || value > Short.MAX_VALUE) { in parseValue() 276 return new Short((short)value); in parseValue() 278 if (value < Integer.MIN_VALUE || value > Integer.MAX_VALUE) { in parseValue() [all …]
|
D | Preconditions.java | 165 public static @IntRange(from = 0) int checkArgumentNonnegative(final int value, in checkArgumentNonnegative() argument 167 if (value < 0) { in checkArgumentNonnegative() 171 return value; in checkArgumentNonnegative() 182 public static @IntRange(from = 0) int checkArgumentNonnegative(final int value) { in checkArgumentNonnegative() argument 183 if (value < 0) { in checkArgumentNonnegative() 187 return value; in checkArgumentNonnegative() 197 public static long checkArgumentNonnegative(final long value) { in checkArgumentNonnegative() argument 198 if (value < 0) { in checkArgumentNonnegative() 202 return value; in checkArgumentNonnegative() 213 public static long checkArgumentNonnegative(final long value, final String errorMessage) { in checkArgumentNonnegative() argument [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
D | h264bsd_cavlc.c | 324 #define BUFFER_INIT(value, bits) \ argument 327 value = h264bsdShowBits32(pStrmData); \ 332 #define BUFFER_SHOW(value, bits, outVal, numBits) \ argument 338 value = h264bsdShowBits32(pStrmData); \ 341 (outVal) = value >> (32 - (numBits)); \ 345 #define BUFFER_FLUSH(value, bits, numBits) \ argument 347 value <<= (numBits); \ 353 #define BUFFER_GET(value, bits, outVal, numBits) \ argument 359 value = h264bsdShowBits32(pStrmData); \ 362 (outVal) = value >> (32 - (numBits)); \ [all …]
|
/frameworks/base/media/java/android/mtp/ |
D | MtpObjectInfo.java | 388 public Builder setObjectHandle(int value) { in setObjectHandle() argument 389 mObjectInfo.mHandle = value; in setObjectHandle() 393 public Builder setAssociationDesc(int value) { in setAssociationDesc() argument 394 mObjectInfo.mAssociationDesc = value; in setAssociationDesc() 398 public Builder setAssociationType(int value) { in setAssociationType() argument 399 mObjectInfo.mAssociationType = value; in setAssociationType() 403 public Builder setCompressedSize(long value) { in setCompressedSize() argument 404 mObjectInfo.mCompressedSize = longToUint32(value, "value"); in setCompressedSize() 408 public Builder setDateCreated(long value) { in setDateCreated() argument 409 mObjectInfo.mDateCreated = value; in setDateCreated() [all …]
|
/frameworks/av/media/mtp/ |
D | MtpDataPacket.cpp | 52 bool MtpDataPacket::getUInt8(uint8_t& value) { in getUInt8() argument 53 if (mPacketSize - mOffset < sizeof(value)) in getUInt8() 55 value = mBuffer[mOffset++]; in getUInt8() 59 bool MtpDataPacket::getUInt16(uint16_t& value) { in getUInt16() argument 60 if (mPacketSize - mOffset < sizeof(value)) in getUInt16() 63 value = (uint16_t)mBuffer[offset] | ((uint16_t)mBuffer[offset + 1] << 8); in getUInt16() 64 mOffset += sizeof(value); in getUInt16() 68 bool MtpDataPacket::getUInt32(uint32_t& value) { in getUInt32() argument 69 if (mPacketSize - mOffset < sizeof(value)) in getUInt32() 72 value = (uint32_t)mBuffer[offset] | ((uint32_t)mBuffer[offset + 1] << 8) | in getUInt32() [all …]
|
D | MtpDataPacket.h | 46 bool getUInt8(uint8_t& value); 47 inline bool getInt8(int8_t& value) { return getUInt8((uint8_t&)value); } in getInt8() argument 48 bool getUInt16(uint16_t& value); 49 inline bool getInt16(int16_t& value) { return getUInt16((uint16_t&)value); } in getInt16() argument 50 bool getUInt32(uint32_t& value); 51 inline bool getInt32(int32_t& value) { return getUInt32((uint32_t&)value); } in getInt32() argument 52 bool getUInt64(uint64_t& value); 53 inline bool getInt64(int64_t& value) { return getUInt64((uint64_t&)value); } in getInt64() argument 54 bool getUInt128(uint128_t& value); 55 inline bool getInt128(int128_t& value) { return getUInt128((uint128_t&)value); } in getInt128() argument [all …]
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | ViewPropertyAnimatorCompat.java | 40 public void setDuration(ViewPropertyAnimatorCompat vpa, View view, long value); in setDuration() argument 42 public void setInterpolator(ViewPropertyAnimatorCompat vpa, View view, Interpolator value); in setInterpolator() argument 44 public void setStartDelay(ViewPropertyAnimatorCompat vpa, View view, long value); in setStartDelay() argument 46 public void alpha(ViewPropertyAnimatorCompat vpa, View view, float value); in alpha() argument 47 public void alphaBy(ViewPropertyAnimatorCompat vpa, View view, float value); in alphaBy() argument 48 public void rotation(ViewPropertyAnimatorCompat vpa, View view, float value); in rotation() argument 49 public void rotationBy(ViewPropertyAnimatorCompat vpa, View view, float value); in rotationBy() argument 50 public void rotationX(ViewPropertyAnimatorCompat vpa, View view, float value); in rotationX() argument 51 public void rotationXBy(ViewPropertyAnimatorCompat vpa, View view, float value); in rotationXBy() argument 52 public void rotationY(ViewPropertyAnimatorCompat vpa, View view, float value); in rotationY() argument [all …]
|
/frameworks/compile/mclinker/lib/Script/ |
D | BinaryOp.cpp | 30 res->setValue(m_pOperand[0]->value() * m_pOperand[1]->value()); in eval() 38 res->setValue(m_pOperand[0]->value() / m_pOperand[1]->value()); in eval() 46 res->setValue(m_pOperand[0]->value() % m_pOperand[1]->value()); in eval() 54 res->setValue(m_pOperand[0]->value() + m_pOperand[1]->value()); in eval() 62 res->setValue(m_pOperand[0]->value() - m_pOperand[1]->value()); in eval() 70 res->setValue(m_pOperand[0]->value() << m_pOperand[1]->value()); in eval() 78 res->setValue(m_pOperand[0]->value() >> m_pOperand[1]->value()); in eval() 86 res->setValue(m_pOperand[0]->value() < m_pOperand[1]->value()); in eval() 94 res->setValue(m_pOperand[0]->value() <= m_pOperand[1]->value()); in eval() 102 res->setValue(m_pOperand[0]->value() > m_pOperand[1]->value()); in eval() [all …]
|
/frameworks/base/tools/aapt2/ |
D | ValueVisitor.h | 32 virtual void visitItem(Item* value) {} in visitItem() 33 virtual void visit(Reference* value) { visitItem(value); } in visit() 34 virtual void visit(RawString* value) { visitItem(value); } in visit() 35 virtual void visit(String* value) { visitItem(value); } in visit() 36 virtual void visit(StyledString* value) { visitItem(value); } in visit() 37 virtual void visit(FileReference* value) { visitItem(value); } in visit() 38 virtual void visit(Id* value) { visitItem(value); } in visit() 39 virtual void visit(BinaryPrimitive* value) { visitItem(value); } in visit() 41 virtual void visit(Attribute* value) {} in visit() 42 virtual void visit(Style* value) {} in visit() [all …]
|
D | ResourceUtils.cpp | 241 std::unique_ptr<Reference> value = util::make_unique<Reference>(ref); in tryParseReference() local 242 value->privateReference = privateRef; in tryParseReference() 243 return value; in tryParseReference() 257 android::Res_value value = { }; in tryParseNullOrEmpty() local 261 value.dataType = android::Res_value::TYPE_REFERENCE; in tryParseNullOrEmpty() 264 value.dataType = android::Res_value::TYPE_NULL; in tryParseNullOrEmpty() 265 value.data = android::Res_value::DATA_NULL_EMPTY; in tryParseNullOrEmpty() 269 return util::make_unique<BinaryPrimitive>(value); in tryParseNullOrEmpty() 278 const ResourceName& enumSymbolResourceName = symbol.symbol.name.value(); in tryParseEnumSymbol() 280 android::Res_value value = { }; in tryParseEnumSymbol() local [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | MediaMetadataTest.java | 71 String value = null; in validateMetatData() local 82 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_CD_TRACK_NUMBER); in validateMetatData() 83 Log.v(TAG, "CD_TRACK_NUMBER : " + value); in validateMetatData() 84 assertEquals(TAG, meta_data_file[fileIndex][meta.CD_TRACK.ordinal()], value); in validateMetatData() 86 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ALBUM); in validateMetatData() 87 Log.v(TAG, "Album : "+ value); in validateMetatData() 88 assertEquals(TAG, meta_data_file[fileIndex][meta.ALBUM.ordinal()], value); in validateMetatData() 90 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ARTIST); in validateMetatData() 91 Log.v(TAG, "Artist : "+ value); in validateMetatData() 92 assertEquals(TAG, meta_data_file[fileIndex][meta.ARTIST.ordinal()], value); in validateMetatData() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
D | BridgeXmlPullAttributes.java | 85 String value = getAttributeValue(namespace, attribute); in getAttributeListValue() local 86 if (value != null) { in getAttributeListValue() 87 ResourceValue r = getResourceValue(value); in getAttributeListValue() 90 value = r.getValue(); in getAttributeListValue() 93 return XmlUtils.convertValueToList(value, options, defaultValue); in getAttributeListValue() 102 String value = getAttributeValue(namespace, attribute); in getAttributeBooleanValue() local 103 if (value != null) { in getAttributeBooleanValue() 104 ResourceValue r = getResourceValue(value); in getAttributeBooleanValue() 107 value = r.getValue(); in getAttributeBooleanValue() 110 return XmlUtils.convertValueToBoolean(value, defaultValue); in getAttributeBooleanValue() [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | Float4.java | 68 public void add(Float4 value) { in add() argument 69 x += value.x; in add() 70 y += value.y; in add() 71 z += value.z; in add() 72 w += value.w; in add() 80 public void add(float value) { in add() argument 81 x += value; in add() 82 y += value; in add() 83 z += value; in add() 84 w += value; in add() [all …]
|
D | Double4.java | 68 public void add(Double4 value) { in add() argument 69 x += value.x; in add() 70 y += value.y; in add() 71 z += value.z; in add() 72 w += value.w; in add() 80 public void add(double value) { in add() argument 81 x += value; in add() 82 y += value; in add() 83 z += value; in add() 84 w += value; in add() [all …]
|
D | Double3.java | 64 public void add(Double3 value) { in add() argument 65 x += value.x; in add() 66 y += value.y; in add() 67 z += value.z; in add() 75 public void add(double value) { in add() argument 76 x += value; in add() 77 y += value; in add() 78 z += value; in add() 102 public void sub(Double3 value) { in sub() argument 103 x -= value.x; in sub() [all …]
|
D | Float3.java | 64 public void add(Float3 value) { in add() argument 65 x += value.x; in add() 66 y += value.y; in add() 67 z += value.z; in add() 75 public void add(float value) { in add() argument 76 x += value; in add() 77 y += value; in add() 78 z += value; in add() 102 public void sub(Float3 value) { in sub() argument 103 x -= value.x; in sub() [all …]
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | LongSparseLongArrayTest.java | 35 final long value = 1 << i; in testSimplePut() local 36 array.put(value, value); in testSimplePut() 39 final long value = 1 << i; in testSimplePut() local 40 assertEquals(value, array.get(value, -1)); in testSimplePut() 41 assertEquals(-1, array.get(-value, -1)); in testSimplePut() 48 final long value = 1 << i; in testSimplePutBackwards() local 49 array.put(value, value); in testSimplePutBackwards() 52 final long value = 1 << i; in testSimplePutBackwards() local 53 assertEquals(value, array.get(value, -1)); in testSimplePutBackwards() 54 assertEquals(-1, array.get(-value, -1)); in testSimplePutBackwards() [all …]
|
/frameworks/base/core/java/android/database/ |
D | MatrixCursor.java | 230 public RowBuilder add(String columnName, Object value) { in add() argument 233 data[(row * columnCount) + i] = value; in add() 254 Object value = get(column); in getString() local 255 if (value == null) return null; in getString() 256 return value.toString(); in getString() 261 Object value = get(column); in getShort() local 262 if (value == null) return 0; in getShort() 263 if (value instanceof Number) return ((Number) value).shortValue(); in getShort() 264 return Short.parseShort(value.toString()); in getShort() 269 Object value = get(column); in getInt() local [all …]
|
/frameworks/av/services/audioflinger/ |
D | AudioMixerOps.h | 28 static const bool value = false; member 34 static const bool value = true; 60 TO MixMul(TI value, TV volume); 63 inline int32_t MixMul<int32_t, int16_t, int16_t>(int16_t value, int16_t volume) { 64 return value * volume; 68 inline int32_t MixMul<int32_t, int32_t, int16_t>(int32_t value, int16_t volume) { 69 return (value >> 12) * volume; 73 inline int32_t MixMul<int32_t, int16_t, int32_t>(int16_t value, int32_t volume) { 74 return value * (volume >> 16); 78 inline int32_t MixMul<int32_t, int32_t, int32_t>(int32_t value, int32_t volume) { [all …]
|