Searched refs:value (Results 251 - 275 of 1198) sorted by relevance

<<11121314151617181920>>

/frameworks/av/include/drm/
H A DDrmConstraints.h120 const char* value = this->getAsByteArray(&key); local
121 if (NULL != value) {
122 delete[] value;
123 value = NULL;
137 * Adds constraint information as <key, value> pair to this instance
140 * @param[in] value Value to add
143 status_t put(const String8* key, const char* value);
146 * Retrieves the value of given key
148 * @param key Key whose value to be retrieved
149 * @return The value
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dresidual.cpp158 int escape, numPrefix, sufmask, suffix, shift, sign, value, absvalue, vlcnum, level_two_or_higher; local
295 value = level[i];
296 absvalue = (value >= 0) ? value : -value;
300 if (value > 0) value--;
301 else value++;
305 if (value >= 0)
312 value
[all...]
/frameworks/base/services/core/java/com/android/server/firewall/
H A DStringFilter.java118 protected abstract boolean matchesValue(String value); argument
123 String value = mValueProvider.getValue(resolvedComponent, intent, resolvedType);
124 return matchesValue(value);
150 public boolean matchesValue(String value) { argument
151 return value != null && value.equals(mFilterValue);
164 public boolean matchesValue(String value) { argument
165 return value != null && value.contains(mFilterValue);
178 public boolean matchesValue(String value) { argument
192 matchesValue(String value) argument
206 matchesValue(String value) argument
225 matchesValue(String value) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeSharedPreferences.java78 public Editor putString(String key, String value) {
88 public Editor putInt(String key, int value) {
93 public Editor putLong(String key, long value) {
98 public Editor putFloat(String key, float value) {
103 public Editor putBoolean(String key, boolean value) {
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DRadialPickerLayout.java236 * Set either the hour or the minute. Will set the internal value, and set the selection.
238 private void setItem(int index, int value) { argument
240 setValueForItem(HOUR_INDEX, value);
241 int hourDegrees = (value % 12) * HOUR_VALUE_TO_DEGREES_STEP_SIZE;
242 mHourRadialSelectorView.setSelection(hourDegrees, isHourInnerCircle(value), false);
245 setValueForItem(MINUTE_INDEX, value);
246 int minuteDegrees = value * MINUTE_VALUE_TO_DEGREES_STEP_SIZE;
294 * Set the internal value for the hour, minute, or AM/PM.
296 private void setValueForItem(int index, int value) { argument
298 mCurrentHoursOfDay = value;
[all...]
/frameworks/base/core/java/android/preference/
H A DListPreference.java32 * This preference will store a string into the SharedPreferences. This string will be the value
108 * The array to find the value to save for a preference when an entry from
136 * Sets the value of the key. This should be one of the entries in
139 * @param value The value to set for the key.
141 public void setValue(String value) { argument
143 final boolean changed = !TextUtils.equals(mValue, value);
145 mValue = value;
147 persistString(value);
158 * value wil
228 findIndexOfValue(String value) argument
324 String value; field in class:ListPreference.SavedState
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DInputConnectionWrapper.java52 * any other thread. The returned object's 'have value' flag is cleared and its expected
198 CharSequence value = null;
205 value = callback.mTextAfterCursor;
212 return value;
216 CharSequence value = null;
223 value = callback.mTextBeforeCursor;
230 return value;
234 CharSequence value = null;
241 value = callback.mSelectedText;
248 return value;
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_seq_param_set.c50 /* enumeration to indicate invalid return value from the GetDpbSize function */
88 u32 tmp, i, value; local
138 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value);
141 if (value > 12)
147 pSeqParamSet->maxFrameNum = 1 << (value+4);
150 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value);
153 if (value > 2)
158 pSeqParamSet->picOrderCntType = value;
163 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value);
166 if (value > 1
[all...]
H A Dh264bsd_util.h67 /* value to be returned by GetBits if stream buffer is empty */
84 /* macro for range checking an value, used only if compiler flag _RANGE_CHECK
87 #define RANGE_CHECK(value, minBound, maxBound) \
89 if ((value) < (minBound) || (value) > (maxBound)) \
93 #define RANGE_CHECK(value, minBound, maxBound)
132 /* macro to get absolute value */
135 /* macro to clip a value z, so that x <= z =< y */
138 /* macro to clip a value z, so that 0 <= z =< 255 */
166 u32 h264bsdCountLeadingZeros(u32 value, u3
[all...]
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DEventRecurrence.java114 /** maps a FREQ value to an integer constant */
141 /** If set, validate the value of UNTIL parts. Minor performance impact. */
562 * (2) For each part, find substrings for left/right sides of '=' (name/value).
563 * (3) Call a <name>-specific parsing function to parse the <value> into an
644 throw new InvalidFormatException("Must specify a FREQ value");
664 * @param value The right-hand-side of the part.
666 * @return A bit value indicating which part was parsed.
668 public abstract int parsePart(String value, EventRecurrence er); argument
674 * @param minVal Minimum allowed value.
675 * @param maxVal Maximum allowed value
726 parsePart(String value, EventRecurrence er) argument
737 parsePart(String value, EventRecurrence er) argument
753 parsePart(String value, EventRecurrence er) argument
764 parsePart(String value, EventRecurrence er) argument
775 parsePart(String value, EventRecurrence er) argument
784 parsePart(String value, EventRecurrence er) argument
793 parsePart(String value, EventRecurrence er) argument
802 parsePart(String value, EventRecurrence er) argument
853 parsePart(String value, EventRecurrence er) argument
862 parsePart(String value, EventRecurrence er) argument
871 parsePart(String value, EventRecurrence er) argument
880 parsePart(String value, EventRecurrence er) argument
889 parsePart(String value, EventRecurrence er) argument
898 parsePart(String value, EventRecurrence er) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp99 const Res_value& value, uint32_t ref, ssize_t block,
103 const Res_value& value, uint32_t ref, ssize_t block,
106 env->SetIntField(outValue, gTypedValueOffsets.mType, value.dataType);
109 env->SetIntField(outValue, gTypedValueOffsets.mData, value.data);
803 Res_value value; local
806 ssize_t block = res.getResource(ident, &value, false, density, &typeSpecFlags, &config);
815 block = res.resolveReference(&value, block, &ref, &typeSpecFlags, &config);
824 return copyValue(env, outValue, &res, value, ref, block, typeSpecFlags, &config);
844 Res_value value; local
853 value
102 copyValue(JNIEnv* env, jobject outValue, const ResTable* table, const Res_value& value, uint32_t ref, ssize_t block, uint32_t typeSpecFlags, ResTable_config* config) argument
975 Res_value value; local
1055 Res_value value; local
1090 Res_value value; local
1246 Res_value value; local
1278 Res_value value; local
1480 Res_value value; local
1631 Res_value value; local
1766 Res_value value; local
1818 Res_value value; local
1883 Res_value value; local
1927 Res_value value; local
[all...]
/frameworks/rs/
H A DrsAdapter.cpp66 void rsi_Adapter1DSetConstraint(Context *rsc, RsAdapter1D va, RsDimension dim, uint32_t value) { argument
73 a->setY(value);
76 a->setZ(value);
79 a->setLOD(value);
82 a->setFace((RsAllocationCubemapFace)value);
140 void rsi_Adapter2DSetConstraint(Context *rsc, RsAdapter2D va, RsDimension dim, uint32_t value) { argument
150 a->setZ(value);
153 a->setLOD(value);
156 a->setFace((RsAllocationCubemapFace)value);
/frameworks/base/core/java/android/util/
H A DLongSparseArray.java182 * Adds a mapping from the specified key to the specified value,
186 public void put(long key, E value) { argument
190 mValues[i] = value;
196 mValues[i] = value;
208 mValues = GrowingArrayUtils.insert(mValues, mSize, i, value);
214 * Returns the number of key-value mappings that this LongSparseArray
227 * the key from the <code>index</code>th key-value mapping that this
245 * the value from the <code>index</code>th key-value mapping that this
250 * <code>valueAt(0)</code> will return the value associate
268 setValueAt(int index, E value) argument
297 indexOfValue(E value) argument
328 append(long key, E value) argument
[all...]
H A DSparseArray.java195 * Adds a mapping from the specified key to the specified value,
199 public void put(int key, E value) { argument
203 mValues[i] = value;
209 mValues[i] = value;
221 mValues = GrowingArrayUtils.insert(mValues, mSize, i, value);
227 * Returns the number of key-value mappings that this SparseArray
240 * the key from the <code>index</code>th key-value mapping that this
258 * the value from the <code>index</code>th key-value mapping that this
263 * <code>valueAt(0)</code> will return the value associate
281 setValueAt(int index, E value) argument
312 indexOfValue(E value) argument
343 append(int key, E value) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DTweener.java70 Object value = vars[i+1];
74 interpolator = (TimeInterpolator) value; // TODO: multiple interpolators?
76 updateListener = (AnimatorUpdateListener) value;
78 listener = (AnimatorListener) value;
80 delay = ((Number) value).longValue();
83 } else if (value instanceof float[]) {
85 ((float[])value)[0], ((float[])value)[1]));
86 } else if (value instanceof int[]) {
88 ((int[])value)[
[all...]
/frameworks/base/media/java/android/media/
H A DMediaMetadataEditor.java53 * The value associated with this key is a {@link Rating} instance.
60 * The value associated with this key is a {@link Rating} instance.
199 * @param value The text for the given key, or {@code null} to signify there is no valid
204 public synchronized MediaMetadataEditor putString(int key, String value) argument
213 mEditorMetadata.putString(String.valueOf(key), value);
225 * {@link android.media.MediaMetadataRetriever#METADATA_KEY_DURATION} (with a value
228 * @param value The long value for the given key
233 public synchronized MediaMetadataEditor putLong(int key, long value) argument
242 mEditorMetadata.putLong(String.valueOf(key), value);
288 putObject(int key, Object value) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
H A DAdapterHelper.java88 Object value = callback.getAdapterItemValue(
94 if (value != null) {
95 if (value.getClass() != ViewAttribute.TEXT.getAttributeClass()) {
97 "Wrong Adapter Item value class for TEXT. Expected String, got %s",
98 value.getClass().getName()), null);
100 tv.setText((String) value);
108 Object value = callback.getAdapterItemValue(
114 if (value != null) {
115 if (value.getClass() != ViewAttribute.IS_CHECKED.getAttributeClass()) {
117 "Wrong Adapter Item value clas
[all...]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DImportTestProvider.java98 Object value = entry.getValue();
99 if (value == null || TextUtils.isEmpty(value.toString())) {
185 final Object value = entry.getValue();
186 final String valueString = (value != null ? value.toString() : null);
200 final String value = entry.getValue();
204 builder.append(value);
220 final Object value = entry.getValue();
224 // Type mismatch usuall happens as importer doesn't care the type of each value
[all...]
/frameworks/support/v4/java/android/support/v4/util/
H A DLongSparseArray.java174 * Adds a mapping from the specified key to the specified value,
178 public void put(long key, E value) { argument
182 mValues[i] = value;
188 mValues[i] = value;
220 mValues[i] = value;
226 * Returns the number of key-value mappings that this LongSparseArray
239 * the key from the <code>index</code>th key-value mapping that this
252 * the value from the <code>index</code>th key-value mapping that this
266 * value fo
269 setValueAt(int index, E value) argument
298 indexOfValue(E value) argument
329 append(long key, E value) argument
[all...]
H A DSparseArrayCompat.java167 * Adds a mapping from the specified key to the specified value,
171 public void put(int key, E value) { argument
175 mValues[i] = value;
181 mValues[i] = value;
213 mValues[i] = value;
219 * Returns the number of key-value mappings that this SparseArray
232 * the key from the <code>index</code>th key-value mapping that this
245 * the value from the <code>index</code>th key-value mapping that this
259 * value fo
262 setValueAt(int index, E value) argument
293 indexOfValue(E value) argument
324 append(int key, E value) argument
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattCharacteristic.java26 * {@link BluetoothGattService}. The characteristic contains a value as well as
129 * Characteristic value format type uint8
134 * Characteristic value format type uint16
139 * Characteristic value format type uint32
144 * Characteristic value format type sint8
149 * Characteristic value format type sint16
154 * Characteristic value format type sint32
159 * Characteristic value format type sfloat (16-bit float)
164 * Characteristic value format type float (32-bit float)
213 * The cached value o
523 setValue(byte[] value) argument
537 setValue(int value, int formatType, int offset) argument
621 setValue(String value) argument
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DViewCompat.java311 public void setRotation(View view, float value); argument
312 public void setRotationX(View view, float value); argument
313 public void setRotationY(View view, float value); argument
314 public void setScaleX(View view, float value); argument
315 public void setScaleY(View view, float value); argument
316 public void setTranslationX(View view, float value); argument
317 public void setTranslationY(View view, float value); argument
318 public void setX(View view, float value); argument
319 public void setY(View view, float value); argument
320 public void setAlpha(View view, float value); argument
321 setPivotX(View view, float value) argument
322 setPivotY(View view, float value) argument
610 setRotation(View view, float value) argument
615 setTranslationX(View view, float value) argument
620 setTranslationY(View view, float value) argument
625 setAlpha(View view, float value) argument
630 setRotationX(View view, float value) argument
635 setRotationY(View view, float value) argument
640 setScaleX(View view, float value) argument
645 setScaleY(View view, float value) argument
650 setX(View view, float value) argument
655 setY(View view, float value) argument
660 setPivotX(View view, float value) argument
665 setPivotY(View view, float value) argument
825 setTranslationX(View view, float value) argument
829 setTranslationY(View view, float value) argument
833 setAlpha(View view, float value) argument
837 setX(View view, float value) argument
841 setY(View view, float value) argument
845 setRotation(View view, float value) argument
849 setRotationX(View view, float value) argument
853 setRotationY(View view, float value) argument
857 setScaleX(View view, float value) argument
861 setScaleY(View view, float value) argument
865 setPivotX(View view, float value) argument
869 setPivotY(View view, float value) argument
1990 setTranslationX(View view, float value) argument
2006 setTranslationY(View view, float value) argument
2022 setAlpha(View view, float value) argument
2036 setX(View view, float value) argument
2050 setY(View view, float value) argument
2062 setRotation(View view, float value) argument
2075 setRotationX(View view, float value) argument
2088 setRotationY(View view, float value) argument
2100 setScaleX(View view, float value) argument
2112 setScaleY(View view, float value) argument
2138 setPivotX(View view, float value) argument
2165 setPivotY(View view, float value) argument
[all...]
/frameworks/av/drm/common/
H A DDrmMetadata.cpp26 const char* value) {
27 if((value != NULL) && (key != NULL)) {
28 int length = strlen(value);
31 memcpy(charValue, value, length);
114 String8 value = String8(mDrmMetadata->mMetadataMap.editValueAt(mIndex)); local
116 return value;
25 put(const String8* key, const char* value) argument
/frameworks/base/core/java/com/android/internal/widget/
H A DAutoScrollHelper.java53 * {@link #setActivationDelay}. Default value is
55 * <li>Location of activation areas, see {@link #setEdgeType}. Default value is
58 * {@link #setRelativeEdges}. Default value is 20% for both vertical and
61 * {@link #setMaximumEdges}. Default value is {@link #NO_MAX}.
69 * value is 500 milliseconds.
71 * Default value is 500 milliseconds.
73 * Default value is 100% per second for both vertical and horizontal.
76 * larger of either this value or the relative target value. Default value i
651 constrain(int value, int min, int max) argument
661 constrain(float value, float min, float max) argument
805 interpolateValue(float value) argument
[all...]
H A DILockSettings.aidl21 void setBoolean(in String key, in boolean value, in int userId);
22 void setLong(in String key, in long value, in int userId);
23 void setString(in String key, in String value, in int userId);

Completed in 606 milliseconds

<<11121314151617181920>>