Searched defs:value (Results 251 - 275 of 1260) sorted by relevance

<<11121314151617181920>>

/frameworks/av/media/libstagefright/codecs/aacdec/
H A DDrcPresModeWrap.cpp127 CDrcPresModeWrapper::setParam(const DRC_PRES_MODE_WRAP_PARAM param, const int value) argument
131 mDesTarget = value;
134 mDesAttFactor = value;
137 mDesBoostFactor = value;
140 mDesHeavy = value;
143 mEncoderTarget = value;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_util.c66 right-aligned, last bit of the code word in the lsb of the value.
69 value code word
80 u32 h264bsdCountLeadingZeros(u32 value, u32 length) argument
92 while (mask && !(value & mask))
/frameworks/av/media/libstagefright/foundation/
H A Dbase64.cpp57 unsigned value; local
59 value = c - 'A';
61 value = 26 + c - 'a';
63 value = 52 + c - '0';
65 value = 62;
67 value = 63;
75 value = 0;
78 accum = (accum << 6) | value;
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothAvrcpPlayerSettings.java141 * @param settings a ORed value of SETTINGS_* defined above.
150 * @return int ORed value of supported settings.
157 * Add a setting value.
161 * @param value value for the setting.
164 public void addSettingValue(int setting, int value) { argument
169 mSettingsValue.put(setting, value);
173 * Get a setting value.
177 * @return value value fo
[all...]
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryablePair.java91 public void marshal(Pair<T1, T2> value, ByteBuffer buffer) { argument
92 if (value.first == null) {
94 } else if (value.second == null) {
98 mNestedTypeMarshalerFirst.marshal(value.first, buffer);
99 mNestedTypeMarshalerSecond.marshal(value.second, buffer);
133 public int calculateMarshalSize(Pair<T1, T2> value) { argument
139 int firstSize = mNestedTypeMarshalerFirst.calculateMarshalSize(value.first);
140 int secondSize = mNestedTypeMarshalerSecond.calculateMarshalSize(value.second);
H A DMarshalQueryableParcelable.java72 public void marshal(T value, ByteBuffer buffer) { argument
74 Log.v(TAG, "marshal " + value);
81 value.writeToParcel(parcel, /*flags*/0);
85 "Parcelable " + value + " must not have file descriptors");
95 throw new AssertionError("No data marshaled for " + value);
134 T value = mCreator.createFromParcel(parcel);
138 throw new AssertionError("No data marshaled for " + value);
147 Log.v(TAG, "unmarshal, value is " + value);
150 return mClass.cast(value);
162 calculateMarshalSize(T value) argument
[all...]
H A DMarshalQueryablePrimitive.java69 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...]
H A DMarshalQueryableRange.java76 public void marshal(Range<T> value, ByteBuffer buffer) { argument
77 mNestedTypeMarshaler.marshal(value.getLower(), buffer);
78 mNestedTypeMarshaler.marshal(value.getUpper(), buffer);
111 public int calculateMarshalSize(Range<T> value) { argument
117 int lowerSize = mNestedTypeMarshaler.calculateMarshalSize(value.getLower());
118 int upperSize = mNestedTypeMarshaler.calculateMarshalSize(value.getUpper());
H A DMarshalQueryableString.java48 public void marshal(String value, ByteBuffer buffer) { argument
49 byte[] arr = value.getBytes(PreloadHolder.UTF8_CHARSET);
56 public int calculateMarshalSize(String value) { argument
57 byte[] arr = value.getBytes(PreloadHolder.UTF8_CHARSET);
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DParamsUtils.java112 * Create a {@link Rational} value by approximating the float value as a rational.
118 * @param value a floating point value
121 public static Rational createRational(float value) { argument
122 if (Float.isNaN(value)) {
124 } else if (value == Float.POSITIVE_INFINITY) {
126 } else if (value == Float.NEGATIVE_INFINITY) {
128 } else if (value == 0.0f) {
132 // normal finite value
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DAudioPlaybackQueueItem.java112 private static final float clip(float value, float min, float max) { argument
113 return value < min ? min : (value < max ? value : max);
/frameworks/base/core/java/android/text/
H A DPackedObjectVector.java51 Object value = mValues[row * mColumns + column];
53 return (E) value;
57 setValue(int row, int column, E value) argument
62 mValues[row * mColumns + column] = value;
/frameworks/base/core/java/android/text/format/
H A DFormatter.java43 public final String value; field in class:Formatter.BytesResult
47 public BytesResult(String value, String units, long roundedBytes) { argument
48 this.value = value;
79 * @param sizeBytes size value to be formatted, in bytes
88 res.value, res.units));
101 res.value, res.units));
136 // compute the rounded value. String.format("%f", 0.1) might not return "0.1" due to
/frameworks/base/core/java/android/text/style/
H A DEasyEditSpan.java47 * The value of {@link #EXTRA_TEXT_CHANGED_TYPE} when the text wrapped by this span is deleted.
52 * The value of {@link #EXTRA_TEXT_CHANGED_TYPE} when the text wrapped by this span is modified.
127 public void setDeleteEnabled(boolean value) { argument
128 mDeleteEnabled = value;
/frameworks/base/core/java/android/util/
H A DIntArray.java55 * Appends the specified value to the end of this array.
57 public void add(int value) { argument
58 add(mSize, value);
62 * Inserts a value at the specified position in this array.
66 public void add(int index, int value) { argument
77 mValues[index] = value;
82 * Searches the array for the specified value using the binary search algorithm. The array must
85 * the specified value, there is no guarantee which one will be found.
87 * @param value The value t
95 binarySearch(int value) argument
154 indexOf(int value) argument
[all...]
H A DLongSparseLongArray.java99 * Gets the long mapped from the specified key, or the specified value
133 * Adds a mapping from the specified key to the specified value,
137 public void put(long key, long value) { argument
141 mValues[i] = value;
146 mValues = GrowingArrayUtils.insert(mValues, mSize, i, value);
152 * Returns the number of key-value mappings that this SparseIntArray
161 * the key from the <code>index</code>th key-value mapping that this
175 * the value from the <code>index</code>th key-value mapping that this
180 * <code>valueAt(0)</code> will return the value associate
205 indexOfValue(long value) argument
224 append(long key, long value) argument
[all...]
H A DLruCache.java24 * a value is accessed, it is moved to the head of a queue. When a value is
25 * added to a full cache, the value at the end of that queue is evicted and may
33 * assume a value will always be returned, even when there's a cache miss.
41 * protected int sizeOf(String key, Bitmap value) {
42 * return value.getByteCount();
50 * cache.put(key, value);
54 * <p>This class does not allow null to be used as a key or value. A return
55 * value of null from {@link #get}, {@link #put} or {@link #remove} is
105 * Returns the value fo
164 put(K key, V value) argument
285 safeSizeOf(K key, V value) argument
300 sizeOf(K key, V value) argument
[all...]
H A DSparseIntArray.java99 * Gets the int mapped from the specified key, or the specified value
133 * Adds a mapping from the specified key to the specified value,
137 public void put(int key, int value) { argument
141 mValues[i] = value;
146 mValues = GrowingArrayUtils.insert(mValues, mSize, i, value);
152 * Returns the number of key-value mappings that this SparseIntArray
161 * the key from the <code>index</code>th key-value mapping that this
175 * the value from the <code>index</code>th key-value mapping that this
180 * <code>valueAt(0)</code> will return the value associate
192 setValueAt(int index, int value) argument
213 indexOfValue(int value) argument
232 append(int key, int value) argument
[all...]
H A DSparseLongArray.java97 * Gets the long mapped from the specified key, or the specified value
131 * Adds a mapping from the specified key to the specified value,
135 public void put(int key, long value) { argument
139 mValues[i] = value;
144 mValues = GrowingArrayUtils.insert(mValues, mSize, i, value);
150 * Returns the number of key-value mappings that this SparseIntArray
159 * the key from the <code>index</code>th key-value mapping that this
173 * the value from the <code>index</code>th key-value mapping that this
178 * <code>valueAt(0)</code> will return the value associate
203 indexOfValue(long value) argument
222 append(int key, long value) argument
[all...]
/frameworks/base/core/java/com/android/internal/logging/
H A DMetricsLogger.java98 public void action(int category, int value) { argument
99 EventLogTags.writeSysuiAction(category, Integer.toString(value));
102 .setSubtype(value)
106 public void action(int category, boolean value) { argument
107 EventLogTags.writeSysuiAction(category, Boolean.toString(value));
110 .setSubtype(value ? 1 : 0)
125 /** Add an integer value to the monotonically increasing counter with the given name. */
126 public void count(String name, int value) { argument
127 EventLogTags.writeSysuiCount(name, value);
130 .setCounterValue(value)
179 action(Context context, int category, int value) argument
185 action(Context context, int category, boolean value) argument
206 count(Context context, String name, int value) argument
[all...]
/frameworks/base/core/java/org/apache/http/params/
H A DHttpConnectionParams.java62 * timeout for waiting for data. A timeout value of zero is interpreted as an infinite
63 * timeout. This value is used when no socket timeout is set in the
77 * timeout for waiting for data. A timeout value of zero is interpreted as an infinite
78 * timeout. This value is used when no socket timeout is set in the
112 * @param value <tt>true</tt> if the Nagle's algorithm is to NOT be used
115 public static void setTcpNoDelay(final HttpParams params, boolean value) { argument
119 params.setBooleanParameter(CoreConnectionPNames.TCP_NODELAY, value);
158 * @param value the linger-on-close timeout
160 public static void setLinger(final HttpParams params, int value) { argument
164 params.setIntParameter(CoreConnectionPNames.SO_LINGER, value);
221 setStaleCheckingEnabled(final HttpParams params, boolean value) argument
[all...]
H A DHttpParams.java51 * Obtains the value of the given parameter.
55 * @return an object that represents the value of the parameter,
64 * Assigns the value to the parameter with the given name.
67 * @param value parameter value
69 HttpParams setParameter(String name, Object value); argument
88 * Returns a {@link Long} parameter value with the given name.
89 * If the parameter is not explicitly set, the default value is returned.
92 * @param defaultValue the default value.
94 * @return a {@link Long} that represents the value o
106 setLongParameter(String name, long value) argument
127 setIntParameter(String name, int value) argument
148 setDoubleParameter(String name, double value) argument
169 setBooleanParameter(String name, boolean value) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_Trace.cpp49 jlong tag, jstring nameStr, jint value) {
52 ALOGV("%s: %" PRId64 " %s %d", __FUNCTION__, tag, name.c_str(), value);
53 atrace_int(tag, name.c_str(), value);
48 android_os_Trace_nativeTraceCounter(JNIEnv* env, jclass clazz, jlong tag, jstring nameStr, jint value) argument
H A Dandroid_util_MemoryIntArray.cpp167 std::atomic_int* value = reinterpret_cast<std::atomic_int*>(address) + index; local
168 return value->load(std::memory_order_relaxed);
189 std::atomic_int* value = reinterpret_cast<std::atomic_int*>(address) + index; local
190 value->store(newValue, std::memory_order_relaxed);
/frameworks/base/core/tests/utiltests/src/android/util/
H A DRemoteIntArray.java82 public void set(int index, int value) throws IOException { argument
84 mRemoteInstance.set(index, value);

Completed in 284 milliseconds

<<11121314151617181920>>