/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
H A D | DeliveryInd.java | 49 * Get Date value. 51 * @return the value 58 * Set Date value. 60 * @param value the value 62 public void setDate(long value) { argument 63 mPduHeaders.setLongInteger(value, PduHeaders.DATE); 67 * Get Message-ID value. 69 * @return the value 76 * Set Message-ID value 81 setMessageId(byte[] value) argument 100 setStatus(int value) argument 119 setTo(EncodedStringValue[] value) argument [all...] |
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...] |
/frameworks/support/compat/java/android/support/v4/util/ |
H A D | Preconditions.java | 161 * Ensures that that the argument numeric value is non-negative. 163 * @param value a numeric int value 165 * @return the validated numeric value 166 * @throws IllegalArgumentException if {@code value} was negative 168 public static @IntRange(from = 0) int checkArgumentNonnegative(final int value, argument 170 if (value < 0) { 174 return value; 178 * Ensures that that the argument numeric value is non-negative. 180 * @param value 185 checkArgumentNonnegative(final int value) argument 200 checkArgumentNonnegative(final long value) argument 216 checkArgumentNonnegative(final long value, final String errorMessage) argument 232 checkArgumentPositive(final int value, final String errorMessage) argument 253 checkArgumentFinite(final float value, final String valueName) argument 278 checkArgumentInRange(float value, float lower, float upper, String valueName) argument 307 checkArgumentInRange(int value, int lower, int upper, String valueName) argument 334 checkArgumentInRange(long value, long lower, long upper, String valueName) argument 359 checkArrayElementsNotNull(final T[] value, final String valueName) argument 385 checkCollectionElementsNotNull( final C value, final String valueName) argument 414 checkCollectionNotEmpty(final Collection<T> value, final String valueName) argument 441 checkArrayElementsInRange(float[] value, float lower, float upper, String valueName) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | CanvasProperty.h | 31 explicit CanvasPropertyPrimitive(float initialValue) : value(initialValue) {} 33 float value; member in class:android::uirenderer::CanvasPropertyPrimitive 39 explicit CanvasPropertyPaint(const SkPaint& initialValue) : value(initialValue) {} 41 SkPaint value; member in class:android::uirenderer::CanvasPropertyPaint
|
/frameworks/base/telephony/java/com/android/ims/ |
H A D | ImsConfigListener.aidl | 25 * Notifies client the value of the get operation result on the feature config item. 30 * @param value. as defined in com.android.ims.ImsConfig#FeatureValueConstants. 34 void onGetFeatureResponse(int feature, int network, int value, int status); 37 * Notifies client the set value operation result for feature config item. 45 * @param value. as defined in com.android.ims.ImsConfig#FeatureValueConstants. 50 void onSetFeatureResponse(int feature, int network, int value, int status); 53 * Notifies client the value of the get operation result on the video quality item. 64 * Notifies client the set value operation result for video quality item.
|
/frameworks/support/dynamic-animation/src/android/support/animation/ |
H A D | Force.java | 26 boolean isAtEquilibrium(float value, float velocity); argument
|
/frameworks/base/core/java/android/util/ |
H A D | FloatProperty.java | 37 public abstract void setValue(T object, float value); argument 40 final public void set(T object, Float value) { argument 41 setValue(object, value);
|
H A D | IntProperty.java | 37 public abstract void setValue(T object, int value); argument 40 final public void set(T object, Integer value) { argument 41 setValue(object, value.intValue());
|
H A D | KeyValueListParser.java | 21 * 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/native/libs/binder/tests/ |
H A D | binderValueTypeTest.cpp | 41 Value value = VAL; \ 42 ASSERT_FALSE(value.empty()); \ 43 ASSERT_TRUE(value.is ## TYPENAME ()); \ 44 ASSERT_TRUE(value.get ## TYPENAME (&y)); \ 46 ASSERT_EQ(value, Value(y)); \ 47 value.put ## TYPENAME (x); \ 48 ASSERT_EQ(value, Value(y)); \ 49 value = Value(); \ 50 ASSERT_TRUE(value.empty()); \ 51 ASSERT_NE(value, Valu 92 Value value; local [all...] |
/frameworks/base/rs/java/android/renderscript/ |
H A D | ScriptIntrinsicLUT.java | 22 * 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...] |
H A D | Double3.java | 62 * @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 D | Float3.java | 62 * @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...] |
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
H A D | ScriptIntrinsicLUT.java | 24 * 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 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/compile/mclinker/lib/Script/ |
H A D | BinaryOp.cpp | 30 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...] |
/frameworks/av/media/mtp/ |
H A D | MtpDataPacket.h | 47 bool getUInt8(uint8_t& value); 48 inline bool getInt8(int8_t& value) { return getUInt8((uint8_t&)value); } argument 49 bool getUInt16(uint16_t& value); 50 inline bool getInt16(int16_t& value) { return getUInt16((uint16_t&)value); } argument 51 bool getUInt32(uint32_t& value); 52 inline bool getInt32(int32_t& value) { return getUInt32((uint32_t&)value); } argument 53 bool getUInt64(uint64_t& value); 54 getInt64(int64_t& value) argument 56 getInt128(int128_t& value) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
H A D | MarshalQueryablePrimitive.java | 69 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 D | Keyframe.java | 20 * 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/base/libs/hwui/pipeline/skia/ |
H A D | AnimatedDrawables.h | 44 return SkRect::MakeLTRB(mLeft->value, mTop->value, mRight->value, mBottom->value); 47 SkRect rect = SkRect::MakeLTRB(mLeft->value, mTop->value, mRight->value, mBottom->value); 48 canvas->drawRoundRect(rect, mRx->value, mRy->value, mPain [all...] |
/frameworks/support/v7/preference/tests/src/android/support/v7/preference/tests/helpers/ |
H A D | PreferenceWrapper.java | 39 public boolean putString(String value) { argument 40 return persistString(value); 55 public boolean putInt(int value) { argument 56 return persistInt(value); 63 public boolean putLong(long value) { argument 64 return persistLong(value); 71 public boolean putFloat(float value) { argument 72 return persistFloat(value); 79 public boolean putBoolean(boolean value) { argument 80 return persistBoolean(value); [all...] |
/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | OpPropAnimation.cpp | 47 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...] |