/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, "Deprecated." 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 | 98 public static int checkArgumentNonnegative(final int value, final String errorMessage) { in checkArgumentNonnegative() argument 99 if (value < 0) { in checkArgumentNonnegative() 103 return value; in checkArgumentNonnegative() 114 public static long checkArgumentNonnegative(final long value, final String errorMessage) { in checkArgumentNonnegative() argument 115 if (value < 0) { in checkArgumentNonnegative() 119 return value; in checkArgumentNonnegative() 130 public static int checkArgumentPositive(final int value, final String errorMessage) { in checkArgumentPositive() argument 131 if (value <= 0) { in checkArgumentPositive() 135 return value; in checkArgumentPositive() 151 public static float checkArgumentFinite(final float value, final String valueName) { in checkArgumentFinite() 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/av/media/mtp/ |
D | MtpDataPacket.cpp | 54 bool MtpDataPacket::getUInt8(uint8_t& value) { in getUInt8() argument 55 if (mPacketSize - mOffset < sizeof(value)) in getUInt8() 57 value = mBuffer[mOffset++]; in getUInt8() 61 bool MtpDataPacket::getUInt16(uint16_t& value) { in getUInt16() argument 62 if (mPacketSize - mOffset < sizeof(value)) in getUInt16() 65 value = (uint16_t)mBuffer[offset] | ((uint16_t)mBuffer[offset + 1] << 8); in getUInt16() 66 mOffset += sizeof(value); in getUInt16() 70 bool MtpDataPacket::getUInt32(uint32_t& value) { in getUInt32() argument 71 if (mPacketSize - mOffset < sizeof(value)) in getUInt32() 74 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/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/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | FrameValues.java | 31 Object value = super.getValue(); in getCount() local 32 if (value == null || !value.getClass().isArray()) { in getCount() 49 Object value = super.getValue(); in getValues() local 50 if (value == null || value.getClass().isArray()) { in getValues() 54 Object[] array = (Object[])Array.newInstance(value.getClass(), 1); in getValues() 55 array[0] = value; in getValues() 70 Object value = super.getValue(); in getValueAtIndex() local 71 if (value == null || !value.getClass().isArray()) { in getValueAtIndex() 75 return value; in getValueAtIndex() 78 return Array.get(value, index); in getValueAtIndex() [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 …]
|
/frameworks/base/core/java/android/animation/ |
D | Keyframe.java | 82 public static Keyframe ofInt(float fraction, int value) { in ofInt() argument 83 return new IntKeyframe(fraction, value); in ofInt() 114 public static Keyframe ofFloat(float fraction, float value) { in ofFloat() argument 115 return new FloatKeyframe(fraction, value); in ofFloat() 146 public static Keyframe ofObject(float fraction, Object value) { in ofObject() argument 147 return new ObjectKeyframe(fraction, value); in ofObject() 203 public abstract void setValue(Object value); in setValue() argument 269 ObjectKeyframe(float fraction, Object value) { in ObjectKeyframe() argument 271 mValue = value; in ObjectKeyframe() 272 mHasValue = (value != null); in ObjectKeyframe() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelper.java | 72 public static int getColor(String value) { in getColor() argument 73 if (value != null) { in getColor() 74 if (!value.startsWith("#")) { in getColor() 75 if (value.startsWith(SdkConstants.PREFIX_THEME_REF)) { in getColor() 77 "Attribute '%s' not found. Are you using the right theme?", value)); in getColor() 80 String.format("Color value '%s' must start with #", value)); in getColor() 83 value = value.substring(1); in getColor() 86 if (value.length() > 8) { in getColor() 90 value)); in getColor() 93 if (value.length() == 3) { // RGB format in getColor() [all …]
|