/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | get_amr_wb_bits.cpp | 121 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 D | value.h | 29 void* value; member in struct:__anon1046 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 D | value.cpp | 21 #include "value.h" 34 POD GetPODValue(Value value) { argument 35 return value.type == TYPEID ? *reinterpret_cast<POD*>(value.value) : POD(); 39 PTR GetPtrValue(Value value) { argument 40 return value.type == TYPEID ? reinterpret_cast<PTR>(value.value) : NULL; 44 Value MakePODValue(POD value) { argument 64 SetPODValue(Value* value, POD new_value) argument 78 SetPtrValue(Value* value, const BASE* new_values, int count) argument 92 GetIntValue(Value value) argument 96 GetFloatValue(Value value) argument 100 GetStringValue(Value value) argument 104 GetBufferValue(Value value) argument 110 GetMutableBufferValue(Value value) argument 114 GetIntArrayValue(Value value) argument 118 GetFloatArrayValue(Value value) argument 122 ValueIsNull(Value value) argument 126 ValueIsInt(Value value) argument 130 ValueIsFloat(Value value) argument 134 ValueIsString(Value value) argument 138 ValueIsBuffer(Value value) argument 142 ValueIsIntArray(Value value) argument 146 ValueIsFloatArray(Value value) argument 158 MakeIntValue(int value) argument 162 MakeFloatValue(float value) argument 166 MakeStringValue(const char* value) argument 202 SetIntValue(Value* value, int new_value) argument 206 SetFloatValue(Value* value, float new_value) argument 210 SetStringValue(Value* value, const char* new_value) argument 214 SetMutableBufferValue(Value* value, const char* new_data, int size) argument 218 SetIntArrayValue(Value* value, const int* new_values, int count) argument 222 SetFloatArrayValue(Value* value, const float* new_values, int count) argument 226 GetValueCount(Value value) argument 230 ReleaseValue(Value* value) argument [all...] |
/frameworks/support/v4/api21/android/support/v4/view/ |
H A D | ViewPropertyAnimatorCompatLollipop.java | 23 public static void translationZ(View view, float value) { argument 24 view.animate().translationZ(value); 27 public static void translationZBy(View view, float value) { argument 28 view.animate().translationZBy(value); 31 public static void z(View view, float value) { argument 32 view.animate().z(value); 35 public static void zBy(View view, float value) { argument 36 view.animate().zBy(value);
|
/frameworks/data-binding/library/src/main/java/android/databinding/ |
H A D | ObservableField.java | 29 * field's value, not of the field itself. 41 * @param value The value to be wrapped as an observable. 43 public ObservableField(T value) { argument 44 mValue = value; 54 * @return the stored value. 61 * Set the stored value. 63 public void set(T value) { argument 64 if (value != mValue) { 65 mValue = value; [all...] |
/frameworks/base/keystore/java/android/security/keystore/ |
H A D | Utils.java | 29 static Date cloneIfNotNull(Date value) { argument 30 return (value != null) ? (Date) value.clone() : null;
|
/frameworks/base/core/java/android/security/keymaster/ |
H A D | KeymasterLongArgument.java | 25 public final long value; field in class:KeymasterLongArgument 27 public KeymasterLongArgument(int tag, long value) { argument 36 this.value = value; 41 value = in.readLong(); 46 out.writeLong(value);
|
/frameworks/base/core/java/android/util/ |
H A D | FloatMath.java | 40 * positive infinity) integer value which is less than the argument. 42 * @param value to be converted 43 * @return the floor of value 46 public static float floor(float value) { argument 47 return (float) Math.floor(value); 52 * negative infinity) integer value which is greater than the argument. 54 * @param value to be converted 55 * @return the ceiling of value 58 public static float ceil(float value) { argument 59 return (float) Math.ceil(value); 92 sqrt(float value) argument 104 exp(float value) argument [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | FastMath.java | 29 public static int round(float value) { argument 30 long lx = (long) (value * (65536 * 256f));
|
H A D | Preconditions.java | 91 * Ensures that that the argument numeric value is non-negative. 93 * @param value a numeric int value 95 * @return the validated numeric value 96 * @throws IllegalArgumentException if {@code value} was negative 98 public static int checkArgumentNonnegative(final int value, final String errorMessage) { argument 99 if (value < 0) { 103 return value; 107 * Ensures that that the argument numeric value is non-negative. 109 * @param value 114 checkArgumentNonnegative(final long value, final String errorMessage) argument 130 checkArgumentPositive(final int value, final String errorMessage) argument 151 checkArgumentFinite(final float value, final String valueName) argument 176 checkArgumentInRange(float value, float lower, float upper, String valueName) argument 205 checkArgumentInRange(int value, int lower, int upper, String valueName) argument 230 checkArrayElementsNotNull(final T[] value, final String valueName) argument 256 checkCollectionElementsNotNull(final Collection<T> value, final String valueName) argument 285 checkCollectionNotEmpty(final Collection<T> value, final String valueName) argument 312 checkArrayElementsInRange(float[] value, float lower, float upper, String valueName) argument [all...] |
H A D | TypedProperties.java | 202 // 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 D | IRemoteVolumeObserver.aidl | 25 void dispatchRemoteVolumeUpdate(int direction, int value);
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | IBordeauxServiceCallback.aidl | 26 * 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 D | ViewPropertyAnimatorCompatICS.java | 25 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 D | SystemPropertiesTest.java | 30 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 D | h264bsd_vlc.h | 52 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/webkit/ |
H A D | ValueCallback.java | 24 * Invoked when the value is available. 25 * @param value The value. 27 public void onReceiveValue(T value); argument
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/ |
H A D | CustomNamespaceAdapter.java | 23 public static void setOne(TextView view, String value) { argument 24 view.setText(value); 28 public static void setTwo(TextView view, String value) { argument 29 view.setText(value);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | FontSize.java | 32 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 D | TextAlignment.java | 34 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 D | FrameValues.java | 26 * 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 D | SystemProperties_Delegate.java | 44 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 D | RetrieveConf.java | 59 * 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...] |
/frameworks/base/core/java/android/content/ |
H A D | ContentValues.java | 90 * 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 D | LongSparseLongArrayTest.java | 35 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...] |