Searched defs:value (Results 451 - 475 of 796) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/java/android/content/
H A DContentProviderOperation.java274 throw new OperationApplicationException("Found value " + cursorValue
299 * key refers to a column and the value is an index of the back reference whose
336 * and the value is the index of the previous result that should be used for that selection
466 * and the value is an integer that is the index of the previous result whose
467 * value should be used for the column. The value is added as a {@link String}.
468 * A column value from the back references takes precedence over a value specified in
476 "only inserts, updates, and asserts can have value back-references");
484 * A column value fro
547 withValue(String key, Object value) argument
[all...]
H A DRestrictionEntry.java30 * value is an ArrayList<RestrictionsEntry>.
36 * but shouldn't be presented to the user in the UI. Stores a single String value.
41 * A type of restriction. Use this for storing a boolean value, typically presented as
47 * A type of restriction. Use this for storing a string value, typically presented as
55 * A type of restriction. Use this for storing a string value, typically presented as
60 * particular value is chosen.
77 * A type of restriction. Use this for storing an integer value. The range of values
83 * A type of restriction. Use this for storing a string value.
104 /** The values corresponding to the user-visible choices. The value(s) of this entry will
110 /* The chosen value, whos
225 setIntValue(int value) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/
H A DDngCreator.java109 * Set the orientation value to write.
116 * @param orientation the orientation value to set, one of:
133 " is not a valid EXIF orientation value");
589 private static int[] toExifLatLong(double value) { argument
591 value = Math.abs(value);
592 int degrees = (int) value;
593 value = (value - degrees) * 60;
594 int minutes = (int) value;
[all...]
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DParameterUtils.java165 * <p>If the score is out of range of {@value Face#SCORE_MIN}, {@value Face#SCORE_MAX},
191 * <p>If the score is out of range of {@value Face#SCORE_MIN}, {@value Face#SCORE_MAX},
208 private static int clipLower(int value, int lo, Rect rect, String name) { argument
209 return clip(value, lo, /*hi*/Integer.MAX_VALUE, rect, name);
212 private static int clip(int value, int lo, int hi, Rect rect, String name) { argument
213 if (value < lo) {
216 value = lo;
217 } else if (value > h
[all...]
/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiTimerRecordSources.java143 * Creates {@link Duration} for time value.
165 * Creates {@link Duration} for duration value.
206 /* package */ static byte toBcdByte(int value) { argument
207 int digitOfTen = (value / 10) % 10;
208 int digitOfOne = value % 10;
214 * Place holder for time value.
225 * Place holder for duration value.
270 * @throws IllegalArgumentException if input value is invalid
288 "Invalid reecording sequence value:" + recordingSequence);
331 * the recording sequence value i
[all...]
/frameworks/base/core/java/android/net/
H A DLocalSocketImpl.java190 int b, int value) throws IOException;
441 int value = getOption_native(fd, optID);
446 return value;
449 return value;
453 public void setOption(int optID, Object value) argument
468 if (value instanceof Integer) {
469 intValue = (Integer)value;
470 } else if (value instanceof Boolean) {
471 boolValue = ((Boolean) value)? 1 : 0;
473 throw new IOException("bad value
189 setOption_native(FileDescriptor fd, int optID, int b, int value) argument
[all...]
/frameworks/base/core/java/android/os/
H A DBundle.java119 * Make a Bundle for a single key/value pair.
123 public static Bundle forPair(String key, String value) { argument
125 b.putString(key, value);
255 * Inserts a byte value into the mapping of this Bundle, replacing
256 * any existing value for the given key.
259 * @param value a byte
262 public void putByte(String key, byte value) { argument
263 super.putByte(key, value);
267 * Inserts a char value into the mapping of this Bundle, replacing
268 * any existing value fo
274 putChar(String key, char value) argument
286 putShort(String key, short value) argument
298 putFloat(String key, float value) argument
310 putCharSequence(String key, CharSequence value) argument
321 putParcelable(String key, Parcelable value) argument
334 putSize(String key, Size value) argument
346 putSizeF(String key, SizeF value) argument
359 putParcelableArray(String key, Parcelable[] value) argument
373 putParcelableArrayList(String key, ArrayList<? extends Parcelable> value) argument
381 putParcelableList(String key, List<? extends Parcelable> value) argument
395 putSparseParcelableArray(String key, SparseArray<? extends Parcelable> value) argument
410 putIntegerArrayList(String key, ArrayList<Integer> value) argument
422 putStringArrayList(String key, ArrayList<String> value) argument
434 putCharSequenceArrayList(String key, ArrayList<CharSequence> value) argument
446 putSerializable(String key, Serializable value) argument
458 putByteArray(String key, byte[] value) argument
470 putShortArray(String key, short[] value) argument
482 putCharArray(String key, char[] value) argument
494 putFloatArray(String key, float[] value) argument
506 putCharSequenceArray(String key, CharSequence[] value) argument
517 putBundle(String key, Bundle value) argument
536 putBinder(String key, IBinder value) argument
552 putIBinder(String key, IBinder value) argument
[all...]
/frameworks/base/core/java/android/util/
H A DJsonReader.java29 * encoded value as a stream of tokens. This stream includes both literal
33 * Within JSON objects, name/value pairs are represented by a single token.
58 * skip the value's nested tokens, which may otherwise conflict.
60 * <p>If a value may be null, you should first check using {@link #peek()}.
212 * #advance}. If null, peek() will assign a value.
220 * For the next literal value, we may have the text value, or the position
223 private String value; field in class:JsonReader
255 * was the omitted value.
258 * <li>Name/value pair
[all...]
H A DMapCollections.java154 final Object value = colGetEntry(mIndex, 1);
156 (value == null ? 0 : value.hashCode());
259 final Object value = colGetEntry(i, 1);
261 (value == null ? 0 : value.hashCode()) );
555 protected abstract void colPut(K key, V value); argument
556 protected abstract V colSetValue(int index, V value); argument
H A DTypedValue.java20 * Container for a dynamically typed data value. Primarily used with
24 /** The value contains no data. */
41 * dimension value. */
47 /** Identifies the start of plain integer values. Any type value
49 * <var>data</var> field holds a generic integer value. */
142 * {@link #TYPE_NULL} data indicating the value was not specified.
146 * {@link #TYPE_NULL} data indicating the value was explicitly set to null.
153 * If {@link #density} is equal to this value, then the density should be
154 * treated as the system's default density value: {@link DisplayMetrics#DENSITY_DEFAULT}.
159 * If {@link #density} is equal to this value, the
339 applyDimension(int unit, float value, DisplayMetrics metrics) argument
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityWindowInfo.java515 * Gets the value of a boolean property.
518 * @return The value.
528 * @param value The value.
532 private void setBooleanProperty(int property, boolean value) { argument
533 if (value) {
/frameworks/base/core/java/android/view/animation/
H A DAnimationSet.java141 private void setFlag(int mask, boolean value) { argument
142 if (value) {
/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
1503 writeIntAttribute(XmlSerializer out, String name, int value) argument
1526 writeLongAttribute(XmlSerializer out, String name, long value) argument
1540 writeFloatAttribute(XmlSerializer out, String name, float value) argument
1560 writeBooleanAttribute(XmlSerializer out, String name, boolean value) argument
1570 writeUriAttribute(XmlSerializer out, String name, Uri value) argument
1581 writeStringAttribute(XmlSerializer out, String name, String value) argument
1597 writeByteArrayAttribute(XmlSerializer out, String name, byte[] value) argument
1614 writeBitmapAttribute(XmlSerializer out, String name, Bitmap value) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_database_CursorWindow.cpp182 const void* value = window->getFieldSlotValueBlob(fieldSlot, &size); local
189 env->SetByteArrayRegion(byteArray, 0, size, static_cast<const jbyte*>(value));
217 const char* value = window->getFieldSlotValueString(fieldSlot, &sizeIncludingNull); local
224 String16 utf16(value, sizeIncludingNull - 1);
227 int64_t value = window->getFieldSlotValueLong(fieldSlot); local
229 snprintf(buf, sizeof(buf), "%" PRId64, value);
232 double value = window->getFieldSlotValueDouble(fieldSlot); local
234 snprintf(buf, sizeof(buf), "%g", value);
309 const char* value = window->getFieldSlotValueString(fieldSlot, &sizeIncludingNull); local
311 fillCharArrayBufferUTF(env, bufferObj, value, sizeIncludingNul
316 int64_t value = window->getFieldSlotValueLong(fieldSlot); local
321 double value = window->getFieldSlotValueDouble(fieldSlot); local
350 const char* value = window->getFieldSlotValueString(fieldSlot, &sizeIncludingNull); local
381 const char* value = window->getFieldSlotValueString(fieldSlot, &sizeIncludingNull); local
401 void* value = env->GetPrimitiveArrayCritical(valueObj, NULL); local
436 nativePutLong(JNIEnv* env, jclass clazz, jlong windowPtr, jlong value, jint row, jint column) argument
450 nativePutDouble(JNIEnv* env, jclass clazz, jlong windowPtr, jdouble value, jint row, jint column) argument
[all...]
H A Dandroid_hardware_SensorManager.cpp171 float value = float(buffer[i].u64.step_counter); local
172 env->SetFloatArrayRegion(mScratch, 0, 1, &value);
H A Dandroid_net_LocalSocketImpl.cpp236 int ret, value; local
261 value = -1;
263 value = lingr.l_linger;
268 ret = getsockopt(fd, level, opt, &value, &size);
278 return value;
318 * value is in milliseconds.
H A Dandroid_view_Surface.cpp175 int value = 0; local
177 anw->query(anw, NATIVE_WINDOW_CONSUMER_RUNNING_BEHIND, &value);
178 return value;
363 int value = 0; local
364 anw->query(anw, NATIVE_WINDOW_WIDTH, &value);
365 return value;
371 int value = 0; local
372 anw->query(anw, NATIVE_WINDOW_HEIGHT, &value);
373 return value;
/frameworks/base/keystore/java/android/security/
H A DKeyStore.java113 public boolean put(String key, byte[] value, int uid, int flags) { argument
115 return mBinder.insert(key, value, uid, flags) == NO_ERROR;
/frameworks/base/location/java/android/location/
H A DGpsClock.java42 * The source of the time value reported by this class is the 'Local Hardware Clock'.
47 * The source of the time value reported by this class is the 'GPS time' derived from
111 public void setType(byte value) { argument
112 switch (value) {
116 mType = value;
119 Log.d(TAG, "Sanitizing invalid 'type': " + value);
151 * The sign of the value is defined by the following equation:
154 * The value is only available if {@link #hasLeapSecond()} is true.
177 * Gets the GPS receiver internal clock value in nanoseconds.
178 * This can be either the 'local hardware clock' value ({
265 setFullBiasInNs(long value) argument
[all...]
/frameworks/base/media/java/android/media/
H A DExifInterface.java128 * Returns the value of the specified tag or {@code null} if there
138 * Returns the integer value of the specified tag. If there is no such tag
139 * in the JPEG file or the value cannot be parsed as integer, return
143 * @param defaultValue the value to return if the tag is not available.
146 String value = mAttributes.get(tag);
147 if (value == null) return defaultValue;
149 return Integer.valueOf(value);
156 * Returns the double value of the specified rational tag. If there is no
157 * such tag in the JPEG file or the value cannot be parsed as double, return
161 * @param defaultValue the value t
184 setAttribute(String tag, String value) argument
[all...]
H A DMediaMetadata.java227 * A String key for identifying the content. This value is specific to the
346 * Returns the value associated with the given key, or null if no mapping of
347 * the desired type exists for the given key or a null value is explicitly
350 * @param key The key the value is stored under
351 * @return a CharSequence value, or null
358 * Returns the text value associated with the given key as a String, or null
360 * value is explicitly associated with the key. This is equivalent to
361 * calling {@link #getText getText().toString()} if the value is not null.
363 * @param key The key the value is stored under
364 * @return a String value, o
616 putText(String key, CharSequence value) argument
658 putString(String key, String value) argument
685 putLong(String key, long value) argument
709 putRating(String key, Rating value) argument
738 putBitmap(String key, Bitmap value) argument
[all...]
/frameworks/base/media/java/android/media/audiofx/
H A DEnvironmentalReverb.java370 * [0, 1000]. A value of 1000 o/oo indicates a smooth reverberation decay.
403 * A value of 1000 o/oo indicates a natural sounding reverberation. Values below this level
432 * when a parameter value has changed.
436 * Method called when a parameter value has changed. The method is called only if the
442 * @param value the new parameter value.
444 void onParameterChange(EnvironmentalReverb effect, int status, int param, int value); argument
455 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { argument
470 if (value.length == 2) {
471 v = (int)byteArrayToShort(value,
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaMetadataRetriever.cpp362 const char* value = retriever->extractMetadata(keyCode); local
363 if (!value) {
367 ALOGV("extractMetadata: value (%s) for keyCode(%d)", value, keyCode);
368 return env->NewStringUTF(value);
H A Dandroid_media_MediaScanner.cpp167 virtual status_t handleStringTag(const char* name, const char* value) argument
169 ALOGV("handleStringTag: name(%s) and value(%s)", name, value);
176 if (!isValidUtf8(value)) {
177 cleaned = strdup(value);
186 value = cleaned;
188 valueStr = mEnv->NewStringUTF(value);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFrame.java80 // Attempt to set the value using a specific setter (which may be more optimized), and
175 protected void setGenericObjectValue(Object value) { argument
177 "Cannot set object value of unsupported type: " + value.getClass());

Completed in 404 milliseconds

<<11121314151617181920>>