Searched refs:value (Results 276 - 300 of 1696) sorted by path

<<11121314151617181920>>

/frameworks/base/core/java/android/content/res/
H A DTypedArray.java142 * Retrieves the styled string value for the attribute at <var>index</var>.
178 * Retrieves the string value for the attribute at <var>index</var>.
216 * Retrieves the string value for the attribute at <var>index</var>, but
217 * only if that string comes from an immediate value in an XML file. That
227 * an immediate string value.
249 * Retrieves the string value for the attribute at <var>index</var> that is
293 * Retrieve the boolean value for the attribute at <var>index</var>.
295 * If the attribute is an integer value, this method will return whether
296 * it is equal to zero. If the attribute is not a boolean or integer value,
304 * @return Boolean value o
[all...]
H A DXmlBlock.java102 public void setProperty(String name, Object value) throws XmlPullParserException { argument
/frameworks/base/core/java/android/database/
H A DCursorWindow.java79 private static native boolean nativePutBlob(long windowPtr, byte[] value, int row, int column); argument
80 private static native boolean nativePutString(long windowPtr, String value, int row, int column); argument
81 private static native boolean nativePutLong(long windowPtr, long value, int row, int column); argument
82 private static native boolean nativePutDouble(long windowPtr, double value, int row, int column); argument
100 /** The cursor window size. resource xml file specifies the value in kB.
380 * Gets the value of the field at the specified row and column index as a byte array.
387 * is the blob value.</li>
390 * string value.</li>
398 * @return The value of the field as a byte array.
410 * Gets the value o
605 putBlob(byte[] value, int row, int column) argument
622 putString(String value, int row, int column) argument
639 putLong(long value, int row, int column) argument
657 putDouble(double value, int row, int column) argument
[all...]
H A DDatabaseUtils.java194 * @param value the value to bind
197 Object value) {
198 if (value == null) {
200 } else if (value instanceof Double || value instanceof Float) {
201 prog.bindDouble(index, ((Number)value).doubleValue());
202 } else if (value instanceof Number) {
203 prog.bindLong(index, ((Number)value).longValue());
204 } else if (value instanceo
196 bindObjectToProgram(SQLiteProgram prog, int index, Object value) argument
357 sqlEscapeString(String value) argument
368 appendValueToSql(StringBuilder sql, Object value) argument
1166 bind(int index, double value) argument
1176 bind(int index, float value) argument
1186 bind(int index, long value) argument
1196 bind(int index, int value) argument
1206 bind(int index, boolean value) argument
1225 bind(int index, byte[] value) argument
1239 bind(int index, String value) argument
[all...]
H A DMatrixCursor.java62 * Gets value at the given column for the current row.
186 * column value at a time. This follows the same ordering as the column
188 * <li>Column and value pairs can be offered for possible inclusion using
190 * the value will be set for that column, otherwise the value is ignored.
208 * Sets the next column value in this row.
225 * Offer value for possible inclusion if this cursor defines the given
230 public RowBuilder add(String columnName, Object value) { argument
233 data[(row * columnCount) + i] = value;
254 Object value
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteConnection.java136 int index, long value);
138 int index, double value);
140 int index, String value);
142 int index, byte[] value);
251 long value = executeForLong("PRAGMA page_size", null, null);
252 if (value != newValue) {
261 long value = executeForLong("PRAGMA wal_autocheckpoint", null, null);
262 if (value != newValue) {
271 long value = executeForLong("PRAGMA journal_size_limit", null, null);
272 if (value !
135 nativeBindLong(long connectionPtr, long statementPtr, int index, long value) argument
137 nativeBindDouble(long connectionPtr, long statementPtr, int index, double value) argument
139 nativeBindString(long connectionPtr, long statementPtr, int index, String value) argument
141 nativeBindBlob(long connectionPtr, long statementPtr, int index, byte[] value) argument
308 canonicalizeSyncMode(String value) argument
[all...]
H A DSQLiteGlobal.java110 int value = SystemProperties.getInt("debug.sqlite.wal.autocheckpoint",
113 return Math.max(1, value);
120 int value = SystemProperties.getInt("debug.sqlite.wal.poolsize",
123 return Math.max(2, value);
H A DSQLiteProgram.java124 * Bind a NULL value to this statement. The value remains bound until
134 * Bind a long value to this statement. The value remains bound until
138 * @param value The value to bind
140 public void bindLong(int index, long value) { argument
141 bind(index, value);
145 * Bind a double value to this statement. The value remain
151 bindDouble(int index, double value) argument
162 bindString(int index, String value) argument
176 bindBlob(int index, byte[] value) argument
210 bind(int index, Object value) argument
[all...]
/frameworks/base/core/java/android/ddm/
H A DDdmHandleViewDebug.java314 * The type specifier is followed by the actual value of argument.
403 int value = in.getInt();
405 ViewDebug.setLayoutParameter(targetView, param, value);
/frameworks/base/core/java/android/gesture/
H A DGestureUtils.java71 * value at pixel [i%bitmapSize, i/bitmapSize]
88 * value at pixel [i%bitmapSize, i/bitmapSize]
234 float value = topLeft / sum;
236 if (value > sample[index]){
237 sample[index] = value;
240 value = topRight / sum;
242 if (value > sample[index]){
243 sample[index] = value;
246 value = btmLeft / sum;
248 if (value > sampl
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java280 * <p>The orientation of the camera image. The value is the angle that the
287 * right edge of the screen in natural orientation, the value should be
289 * the right of the screen, the value should be 270.</p>
1197 * onAutoFocus will be called immediately with a fake value of
1439 * Zooms to the requested value smoothly. The driver will notify {@link
1440 * OnZoomChangeListener} of the zoom value and whether zoom is stopped at
1442 * is called with value 3. The
1447 * value before zoom stops. If the supplied zoom value equals to the current
1448 * zoom value, n
1458 startSmoothZoom(int value) argument
2535 set(String key, String value) argument
2554 set(String key, int value) argument
2558 put(String key, String value) argument
3240 setWhiteBalance(String value) argument
3284 setColorEffect(String value) argument
3375 setSceneMode(String value) argument
3412 setFlashMode(String value) argument
3452 setFocusMode(String value) argument
3520 setExposureCompensation(int value) argument
3719 setZoom(int value) argument
[all...]
H A DSensor.java331 * allowed value to return is 1.0 and an event is generated for each step. Like with any other
354 * while activated. The value is returned as a float (with the fractional part set to zero) and
397 * The reported value is the heart rate in beats per minute.
403 * value should be discarded.
500 * before (desk, pocket, bag). The only allowed return value is 1.0. This sensor deactivates
519 * The only allowed return value is 1.0.
562 * Can use camera, depth sensor etc to compute output value.
674 * Events are reported only when the value changes. Event delivery rate can be limited by
675 * setting appropriate value for rate parameter of
781 // case, we don't know how many value i
1042 setType(int value) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/
H A DCaptureRequest.java259 * Get a capture request field value.
263 * <p>Querying the value for the same key more than once will return a value
264 * which is equal to the previous queried value.</p>
269 * @return The value of that key, or {@code null} if the field is not set.
556 * Set a capture request field to a value. The field definitions can be
564 * @param value The value to set the field to, which must be of a matching
567 public <T> void set(@NonNull Key<T> key, T value) { argument
568 mRequest.mSettings.set(key, value);
[all...]
H A DCaptureResult.java224 * Get a capture result field value.
228 * <p>Querying the value for the same key more than once will return a value
229 * which is equal to the previous queried value.</p>
234 * @return The value of that key, or {@code null} if the field is not set.
238 T value = mResults.get(key);
239 if (VERBOSE) Log.v(TAG, "#get for Key = " + key.getName() + ", returned value = " + value);
240 return value;
319 * value monotonicall
[all...]
H A DDngCreator.java113 * Set the orientation value to write.
120 * @param orientation the orientation value to set, one of:
138 " is not a valid EXIF orientation value");
612 private static int[] toExifLatLong(double value) { argument
614 value = Math.abs(value);
615 int degrees = (int) value;
616 value = (value - degrees) * 60;
617 int minutes = (int) value;
[all...]
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCameraMetadataNative.java191 * <p>This value is looked up the first time, and cached subsequently.</p>
193 * @return The tag numeric value corresponding to the string
343 * Look-up a metadata field value by its key.
346 * @return the field corresponding to the {@code key}, or {@code null} if no value was set
387 * Set a camera metadata field to a value. The field definitions can be
392 * @param value The value to set the field to, which must be of a matching
395 public <T> void set(Key<T> key, T value) { argument
398 s.setValue(this, value);
402 setBase(key, value);
405 set(CaptureRequest.Key<T> key, T value) argument
409 set(CaptureResult.Key<T> key, T value) argument
413 set(CameraCharacteristics.Key<T> key, T value) argument
935 setBase(CameraCharacteristics.Key<T> key, T value) argument
939 setBase(CaptureResult.Key<T> key, T value) argument
943 setBase(CaptureRequest.Key<T> key, T value) argument
947 setBase(Key<T> key, T value) argument
1008 setAvailableFormats(int[] value) argument
[all...]
H A DSetCommand.java20 * Setter interface for use with Command pattern metadata value setters.
25 * Set the value in the given metadata.
27 * @param metadata {@link CameraMetadataNative} to set value in.
28 * @param value value to set.
29 * @param <T> type of the value to set.
32 T value);
31 setValue( CameraMetadataNative metadata, T value) argument
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DCaptureCollector.java453 timestamp.value = h.mTimestamp;
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...]
H A DRequestThreadManager.java881 MutableLong timestampMutable = new MutableLong(/*value*/0L);
899 mLastRequest, timestampMutable.value);
/frameworks/base/core/java/android/hardware/camera2/marshal/
H A DMarshaler.java69 * Marshal the specified object instance (value) into a byte buffer.
72 * the {@link #calculateMarshalSize marshal size} of {@code value}.</p>
74 * @param value the value of type T that we wish to write into the byte buffer
77 public abstract void marshal(T value, ByteBuffer buffer); argument
80 * Get the size in bytes for how much space would be required to write this {@code value}
84 * then this method will always return the same value (and particularly, it will return
85 * an equivalent value to {@link #getNativeSize()}.</p>
89 * @param value the value o
92 calculateMarshalSize(T value) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableArray.java61 public void marshal(T value, ByteBuffer buffer) { argument
62 int length = Array.getLength(value);
64 marshalArrayElement(mComponentMarshaler, buffer, value, i);
124 public int calculateMarshalSize(T value) { argument
126 int arrayLength = Array.getLength(value);
135 size += calculateElementMarshalSize(mComponentMarshaler, value, i);
H A DMarshalQueryableBlackLevelPattern.java41 public void marshal(BlackLevelPattern value, ByteBuffer buffer) { argument
44 buffer.putInt(value.getOffsetForIndex(j, i));
H A DMarshalQueryableBoolean.java38 public void marshal(Boolean value, ByteBuffer buffer) { argument
39 boolean unboxValue = value;
H A DMarshalQueryableColorSpaceTransform.java45 public void marshal(ColorSpaceTransform value, ByteBuffer buffer) { argument
47 value.copyElements(transformAsArray, /*offset*/0);

Completed in 284 milliseconds

<<11121314151617181920>>