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

<<11121314151617181920>>

/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/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.java309 public void setRotation(View view, float value); argument
310 public void setRotationX(View view, float value); argument
311 public void setRotationY(View view, float value); argument
312 public void setScaleX(View view, float value); argument
313 public void setScaleY(View view, float value); argument
314 public void setTranslationX(View view, float value); argument
315 public void setTranslationY(View view, float value); argument
316 public void setX(View view, float value); argument
317 public void setY(View view, float value); argument
318 public void setAlpha(View view, float value); argument
319 setPivotX(View view, float value) argument
320 setPivotY(View view, float value) argument
602 setRotation(View view, float value) argument
607 setTranslationX(View view, float value) argument
612 setTranslationY(View view, float value) argument
617 setAlpha(View view, float value) argument
622 setRotationX(View view, float value) argument
627 setRotationY(View view, float value) argument
632 setScaleX(View view, float value) argument
637 setScaleY(View view, float value) argument
642 setX(View view, float value) argument
647 setY(View view, float value) argument
652 setPivotX(View view, float value) argument
657 setPivotY(View view, float value) argument
802 setTranslationX(View view, float value) argument
806 setTranslationY(View view, float value) argument
810 setAlpha(View view, float value) argument
814 setX(View view, float value) argument
818 setY(View view, float value) argument
822 setRotation(View view, float value) argument
826 setRotationX(View view, float value) argument
830 setRotationY(View view, float value) argument
834 setScaleX(View view, float value) argument
838 setScaleY(View view, float value) argument
842 setPivotX(View view, float value) argument
846 setPivotY(View view, float value) argument
1945 setTranslationX(View view, float value) argument
1961 setTranslationY(View view, float value) argument
1977 setAlpha(View view, float value) argument
1991 setX(View view, float value) argument
2005 setY(View view, float value) argument
2017 setRotation(View view, float value) argument
2030 setRotationX(View view, float value) argument
2043 setRotationY(View view, float value) argument
2055 setScaleX(View view, float value) argument
2067 setScaleY(View view, float value) argument
2093 setPivotX(View view, float value) argument
2120 setPivotY(View view, float value) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp98 const Res_value& value, uint32_t ref, ssize_t block,
102 const Res_value& value, uint32_t ref, ssize_t block,
105 env->SetIntField(outValue, gTypedValueOffsets.mType, value.dataType);
108 env->SetIntField(outValue, gTypedValueOffsets.mData, value.data);
802 Res_value value; local
805 ssize_t block = res.getResource(ident, &value, false, density, &typeSpecFlags, &config);
814 block = res.resolveReference(&value, block, &ref, &typeSpecFlags, &config);
823 return copyValue(env, outValue, &res, value, ref, block, typeSpecFlags, &config);
843 Res_value value; local
852 value
101 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
974 Res_value value; local
1030 Res_value value; local
1065 Res_value value; local
1225 Res_value value; local
1257 Res_value value; local
1467 Res_value value; local
1617 Res_value value; local
1751 Res_value value; local
1803 Res_value value; local
1868 Res_value value; local
1912 Res_value value; local
[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.aidl23 void setBoolean(in String key, in boolean value, in int userId);
24 void setLong(in String key, in long value, in int userId);
25 void setString(in String key, in String value, in int userId);
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DSegmentedButtons.java58 public void setSelectedValue(Object value) { argument
59 if (Objects.equals(value, mSelectedValue)) return;
60 mSelectedValue = value;
71 public void addButton(int labelResId, Object value) { argument
81 b.setTag(value);
119 void onSelected(Object value); argument
/frameworks/native/libs/gui/tests/
H A DIGraphicBufferProducer_test.cpp219 // Invalid API returns bad value
270 int value = -1; local
271 EXPECT_OK(mProducer->query(NATIVE_WINDOW_WIDTH, &value));
272 EXPECT_EQ(DEFAULT_WIDTH, value);
274 EXPECT_OK(mProducer->query(NATIVE_WINDOW_HEIGHT, &value));
275 EXPECT_EQ(DEFAULT_HEIGHT, value);
277 EXPECT_OK(mProducer->query(NATIVE_WINDOW_FORMAT, &value));
278 EXPECT_EQ(DEFAULT_FORMAT, value);
280 EXPECT_OK(mProducer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &value));
281 EXPECT_LE(0, value);
298 int value; local
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DXmlUtils.java57 convertValueToList(CharSequence value, String[] options, int defaultValue) argument
59 if (null != value) {
61 if (value.equals(options[i]))
70 convertValueToBoolean(CharSequence value, boolean defaultValue) argument
74 if (null == value)
77 if (value.equals("1")
78 || value.equals("true")
79 || value.equals("TRUE"))
96 int value;
131 public static int convertValueToUnsignedInt(String value, in argument
1396 writeIntAttribute(XmlSerializer out, String name, int value) argument
1419 writeLongAttribute(XmlSerializer out, String name, long value) argument
1433 writeFloatAttribute(XmlSerializer out, String name, float value) argument
1453 writeBooleanAttribute(XmlSerializer out, String name, boolean value) argument
1463 writeUriAttribute(XmlSerializer out, String name, Uri value) argument
1474 writeStringAttribute(XmlSerializer out, String name, String value) argument
1490 writeByteArrayAttribute(XmlSerializer out, String name, byte[] value) argument
1507 writeBitmapAttribute(XmlSerializer out, String name, Bitmap value) argument
[all...]
/frameworks/base/media/java/android/media/audiofx/
H A DEqualizer.java151 byte[] value = new byte[PARAM_STRING_SIZE_MAX];
156 checkStatus(getParameter(param, value));
158 while (value[length] != 0) length++;
160 mPresetNames[i] = new String(value, 0, length, "ISO-8859-1");
205 * Sets the given equalizer band to the given gain value.
218 short[] value = new short[1];
222 value[0] = level;
223 checkStatus(setParameter(param, value));
372 * parameter value has changed.
376 * Method called when a parameter value ha
385 onParameterChange(Equalizer effect, int status, int param1, int param2, int value) argument
396 onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) argument
[all...]

Completed in 639 milliseconds

<<11121314151617181920>>