Searched refs:value (Results 1 - 25 of 1186) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dget_amr_wb_bits.cpp121 int16 value = 0; local
126 value <<= 2;
130 value |= 2;
135 value |= 1;
142 value <<= 1;
146 value |= 1;
151 return (value);
157 int16 value = 0; local
161 value = 1;
163 return (value);
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dvalue.h29 void* value; member in struct:__anon978
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...]
H A Dvalue.cpp20 #include "value.h"
33 POD GetPODValue(Value value) { argument
34 return value.type == TYPEID ? *reinterpret_cast<POD*>(value.value) : POD();
38 PTR GetPtrValue(Value value) { argument
39 return value.type == TYPEID ? reinterpret_cast<PTR>(value.value) : NULL;
43 Value MakePODValue(POD value) { argument
63 SetPODValue(Value* value, POD new_value) argument
77 SetPtrValue(Value* value, const BASE* new_values, int count) argument
91 GetIntValue(Value value) argument
95 GetFloatValue(Value value) argument
99 GetStringValue(Value value) argument
103 GetBufferValue(Value value) argument
109 GetMutableBufferValue(Value value) argument
113 GetIntArrayValue(Value value) argument
117 GetFloatArrayValue(Value value) argument
121 ValueIsNull(Value value) argument
125 ValueIsInt(Value value) argument
129 ValueIsFloat(Value value) argument
133 ValueIsString(Value value) argument
137 ValueIsBuffer(Value value) argument
141 ValueIsIntArray(Value value) argument
145 ValueIsFloatArray(Value value) argument
157 MakeIntValue(int value) argument
161 MakeFloatValue(float value) argument
165 MakeStringValue(const char* value) argument
201 SetIntValue(Value* value, int new_value) argument
205 SetFloatValue(Value* value, float new_value) argument
209 SetStringValue(Value* value, const char* new_value) argument
213 SetMutableBufferValue(Value* value, const char* new_data, int size) argument
217 SetIntArrayValue(Value* value, const int* new_values, int count) argument
221 SetFloatArrayValue(Value* value, const float* new_values, int count) argument
225 GetValueCount(Value value) argument
229 ReleaseValue(Value* value) argument
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DFastMath.java29 public static int round(float value) { argument
30 long lx = (long) (value * (65536 * 256f));
H A DPreconditions.java85 * Ensures that that the argument numeric value is non-negative.
87 * @param value a numeric int value
89 * @return the validated numeric value
90 * @throws IllegalArgumentException if {@code value} was negative
92 public static int checkArgumentNonnegative(final int value, final String errorMessage) { argument
93 if (value < 0) {
97 return value;
101 * Ensures that that the argument numeric value is non-negative.
103 * @param value
108 checkArgumentNonnegative(final long value, final String errorMessage) argument
124 checkArgumentPositive(final int value, final String errorMessage) argument
145 checkArgumentFinite(final float value, final String valueName) argument
170 checkArgumentInRange(float value, float lower, float upper, String valueName) argument
199 checkArgumentInRange(int value, int lower, int upper, String valueName) argument
224 checkArrayElementsNotNull(final T[] value, final String valueName) argument
250 checkCollectionElementsNotNull(final Collection<T> value, final String valueName) argument
279 checkCollectionNotEmpty(final Collection<T> value, final String valueName) argument
306 checkArrayElementsInRange(float[] value, float lower, float upper, String valueName) argument
[all...]
H A DTypedProperties.java202 // Read a value of the appropriate type, and insert into the map.
203 final Object value = parseValue(st, type);
208 if (value.getClass() != oldValue.getClass()) {
213 map.put(propertyName, value);
229 * @return a Boolean, Number subclass, or String representing the value.
257 long value;
259 value = Long.decode(st.sval);
264 // Ensure that the type can hold this value, and return.
268 if (value < Byte.MIN_VALUE || value > Byt
419 TypeException(String property, Object value, String requestedType) argument
[all...]
/frameworks/base/media/java/android/media/
H A DIRemoteVolumeObserver.aidl25 void dispatchRemoteVolumeUpdate(int direction, int value);
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DIBordeauxServiceCallback.aidl26 * Called when the service has a new value for you.
28 void valueChanged(int value);
/frameworks/support/v4/ics/android/support/v4/view/
H A DViewPropertyAnimatorCompatICS.java25 public static void setDuration(View view, long value) { argument
26 view.animate().setDuration(value);
29 public static void alpha(View view, float value) { argument
30 view.animate().alpha(value);
33 public static void translationX(View view, float value) { argument
34 view.animate().translationX(value);
37 public static void translationY(View view, float value) { argument
38 view.animate().translationY(value);
45 public static void setInterpolator(View view, Interpolator value) { argument
46 view.animate().setInterpolator(value);
49 setStartDelay(View view, long value) argument
57 alphaBy(View view, float value) argument
61 rotation(View view, float value) argument
65 rotationBy(View view, float value) argument
69 rotationX(View view, float value) argument
73 rotationXBy(View view, float value) argument
77 rotationY(View view, float value) argument
81 rotationYBy(View view, float value) argument
85 scaleX(View view, float value) argument
89 scaleXBy(View view, float value) argument
93 scaleY(View view, float value) argument
97 scaleYBy(View view, float value) argument
105 x(View view, float value) argument
109 xBy(View view, float value) argument
113 y(View view, float value) argument
117 yBy(View view, float value) argument
121 translationXBy(View view, float value) argument
125 translationYBy(View view, float value) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/os/
H A DSystemPropertiesTest.java30 String value;
33 value = SystemProperties.get(KEY, "default");
34 assertEquals("default", value);
37 value = SystemProperties.get(KEY, "default");
38 assertEquals("AAA", value);
40 value = SystemProperties.get(KEY);
41 assertEquals("AAA", value);
44 value = SystemProperties.get(KEY, "default");
45 assertEquals("default", value);
47 value
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_vlc.h52 u32 h264bsdDecodeExpGolombUnsigned(strmData_t *pStrmData, u32 *value);
54 u32 h264bsdDecodeExpGolombSigned(strmData_t *pStrmData, i32 *value);
56 u32 h264bsdDecodeExpGolombMapped(strmData_t *pStrmData, u32 *value,
59 u32 h264bsdDecodeExpGolombTruncated(strmData_t *pStrmData, u32 *value,
/frameworks/base/core/java/android/util/
H A DFloatMath.java32 * positive infinity) integer value which is less than the argument.
34 * @param value to be converted
35 * @return the floor of value
37 public static native float floor(float value); argument
41 * negative infinity) integer value which is greater than the argument.
43 * @param value to be converted
44 * @return the ceiling of value
46 public static native float ceil(float value); argument
68 * @param value to compute sqrt of
69 * @return the square root of value
71 sqrt(float value) argument
80 exp(float value) argument
[all...]
H A DContainerHelpers.java22 static int binarySearch(int[] array, int size, int value) { argument
30 if (midVal < value) {
32 } else if (midVal > value) {
35 return mid; // value found
38 return ~lo; // value not present
41 static int binarySearch(long[] array, int size, long value) { argument
49 if (midVal < value) {
51 } else if (midVal > value) {
54 return mid; // value found
57 return ~lo; // value no
[all...]
/frameworks/base/core/java/android/webkit/
H A DValueCallback.java24 * Invoked when the value is available.
25 * @param value The value.
27 public void onReceiveValue(T value); argument
/frameworks/base/telephony/java/com/android/ims/
H A DImsConfigListener.aidl25 * 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);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DFontSize.java32 FontSize(int value) { argument
33 mValue = value;
38 * @param value Integer value to be converted to a FontSize object.
39 * @return FontSize object whose value is {@code value}. If no
40 * FontSize object has that value, null is returned.
42 public static FontSize fromInt(int value) { argument
44 if (e.mValue == value) {
H A DTextAlignment.java34 TextAlignment(int value) { argument
35 mValue = value;
40 * @param value Integer value to be converted to a TextAlignment object.
41 * @return TextAlignment object whose value is {@code value}. If no
42 * TextAlignment object has that value, null is returned.
44 public static TextAlignment fromInt(int value) { argument
46 if (e.mValue == value) {
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameValues.java26 * This returns 1, if the Frame value is null, or if the value is not an array.
31 Object value = super.getValue();
32 if (value == null || !value.getClass().isArray()) {
49 Object value = super.getValue();
50 if (value == null || value.getClass().isArray()) {
54 Object[] array = (Object[])Array.newInstance(value.getClass(), 1);
55 array[0] = value;
118 setValueAtIndex(Object value, int index) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/os/
H A DSystemProperties_Delegate.java44 String value = properties.get(key);
45 if (value != null) {
46 return value;
54 String value = properties.get(key);
55 if (value != null) {
56 return Integer.decode(value);
65 String value = properties.get(key);
66 if (value != null) {
67 return Long.decode(value);
80 String value
[all...]
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DRetrieveConf.java59 * Get CC value.
61 * @return the value
68 * Add a "CC" value.
70 * @param value the value
71 * @throws NullPointerException if the value is null.
73 public void addCc(EncodedStringValue value) { argument
74 mPduHeaders.appendEncodedStringValue(value, PduHeaders.CC);
78 * Get Content-type value.
80 * @return the value
92 setContentType(byte[] value) argument
111 setDeliveryReport(int value) argument
132 setFrom(EncodedStringValue value) argument
153 setMessageClass(byte[] value) argument
172 setMessageId(byte[] value) argument
191 setReadReport(int value) argument
210 setRetrieveStatus(int value) argument
229 setRetrieveText(EncodedStringValue value) argument
248 setTransactionId(byte[] value) argument
[all...]
H A DNotificationInd.java52 * @return the value
61 * @param value the value
62 * @throws InvalidHeaderValueException if the value is invalid.
65 public void setContentClass(int value) throws InvalidHeaderValueException { argument
66 mPduHeaders.setOctet(value, PduHeaders.CONTENT_CLASS);
70 * Get X-Mms-Content-Location value.
72 * Content-location-value = Uri-value
74 * @return the value
87 setContentLocation(byte[] value) argument
109 setExpiry(long value) argument
131 setFrom(EncodedStringValue value) argument
153 setMessageClass(byte[] value) argument
173 setMessageSize(long value) argument
193 setSubject(EncodedStringValue value) argument
213 setTransactionId(byte[] value) argument
233 setDeliveryReport(int value) argument
[all...]
H A DSendReq.java53 * @param contentType the content type value
54 * @param from the from value
56 * @param transactionId the transaction-id value
92 * Get Bcc value.
94 * @return the value
101 * Add a "BCC" value.
103 * @param value the value
104 * @throws NullPointerException if the value is null.
106 public void addBcc(EncodedStringValue value) { argument
116 setBcc(EncodedStringValue[] value) argument
135 addCc(EncodedStringValue value) argument
145 setCc(EncodedStringValue[] value) argument
164 setContentType(byte[] value) argument
183 setDeliveryReport(int value) argument
204 setExpiry(long value) argument
224 setMessageSize(long value) argument
245 setMessageClass(byte[] value) argument
264 setReadReport(int value) argument
274 setTo(EncodedStringValue[] value) argument
293 setTransactionId(byte[] value) argument
[all...]
/frameworks/base/core/java/android/content/
H A DContentValues.java90 * Adds a value to the set.
92 * @param key the name of the value to put
93 * @param value the data for the value to put
95 public void put(String key, String value) { argument
96 mValues.put(key, value);
109 * Adds a value to the set.
111 * @param key the name of the value to put
112 * @param value the data for the value t
114 put(String key, Byte value) argument
124 put(String key, Short value) argument
134 put(String key, Integer value) argument
144 put(String key, Long value) argument
154 put(String key, Float value) argument
164 put(String key, Double value) argument
174 put(String key, Boolean value) argument
184 put(String key, byte[] value) argument
488 putStringArrayList(String key, ArrayList<String> value) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/util/
H A DLongSparseLongArrayTest.java35 final long value = 1 << i;
36 array.put(value, value);
39 final long value = 1 << i;
40 assertEquals(value, array.get(value, -1));
41 assertEquals(-1, array.get(-value, -1));
48 final long value = 1 << i;
49 array.put(value, value);
[all...]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DContentValuesBuilder.java31 public ContentValuesBuilder put(String key, String value) { argument
32 mContentValues.put(key, value);
37 public ContentValuesBuilder put(String key, Byte value) {
38 mContentValues.put(key, value);
42 public ContentValuesBuilder put(String key, Short value) {
43 mContentValues.put(key, value);
47 public ContentValuesBuilder put(String key, Integer value) { argument
48 mContentValues.put(key, value);
53 public ContentValuesBuilder put(String key, Long value) {
54 mContentValues.put(key, value);
73 put(String key, byte[] value) argument
[all...]

Completed in 6247 milliseconds

1234567891011>>