Searched defs:values (Results 1 - 25 of 96) sorted by relevance

1234

/frameworks/base/core/java/android/hardware/
H A DSensorEvent.java23 * course the sensor's {@link SensorEvent#values data}.
39 * screen. In this system, coordinates behind the screen have negative Z values.
61 * The length and contents of the {@link #values values} array depends on
67 * Sensor.TYPE_ACCELEROMETER}:</h4> All values are in SI units (m/s^2)
71 * values[0]: Acceleration minus Gx on the x-axis
74 * values[1]: Acceleration minus Gy on the y-axis
77 * values[2]: Acceleration minus Gz on the z-axis
125 * gravity[0] = alpha * gravity[0] + (1 - alpha) * event.values[0];
126 * gravity[1] = alpha * gravity[1] + (1 - alpha) * event.values[
434 public final float[] values; field in class:SensorEvent
[all...]
H A DSensorListener.java21 * sensor values have changed.
30 * <p>Called when sensor values have changed.
31 * The length and contents of the values array vary
45 * device's screen orientation changes. To access the unswapped values,
46 * use indices 3, 4 and 5 in values[].
50 * All values are angles in degrees.
52 * <p>values[0]: Azimuth, rotation around the Z axis (0<=azimuth<360).
55 * <p>values[1]: Pitch, rotation around X axis (-180<=pitch<=180), with positive
56 * values when the z-axis moves toward the y-axis.
58 * <p>values[
90 onSensorChanged(int sensor, float[] values) argument
[all...]
/frameworks/base/test-runner/src/junit/runner/
H A DSorter.java15 public void swap(Vector values, int left, int right); argument
18 public static void sortStrings(Vector values , int left, int right, Swapper swapper) {
21 String mid= (String)values.elementAt((left + right) / 2);
23 while (((String)(values.elementAt(left))).compareTo(mid) < 0)
25 while (mid.compareTo((String)(values.elementAt(right))) < 0)
28 swapper.swap(values, left, right);
35 sortStrings(values, oleft, right, swapper);
37 sortStrings(values, left, oright, swapper);
/frameworks/base/core/java/android/content/
H A DEntity.java37 public Entity(ContentValues values) { argument
38 mValues = values;
50 public void addSubValue(Uri uri, ContentValues values) { argument
51 mSubValues.add(new Entity.NamedContentValues(uri, values));
56 public final ContentValues values; field in class:Entity.NamedContentValues
58 public NamedContentValues(Uri uri, ContentValues values) { argument
60 this.values = values;
69 sb.append("\n -> ").append(namedValue.values);
H A DAsyncQueryHandler.java57 public ContentValues values; field in class:AsyncQueryHandler.WorkerArgs
96 args.result = resolver.insert(args.uri, args.values);
100 args.result = resolver.update(args.uri, args.values, args.selection,
110 // on top of the event values in arg1.
158 * replaced by the values from selectionArgs, in the order that they
159 * appear in the selection. The values will be bound as Strings.
217 args.values = initialValues;
231 * @param values the ContentValues parameter passed to the update operation.
234 ContentValues values, String selection, String[] selectionArgs) {
243 args.values
233 startUpdate(int token, Object cookie, Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
H A DContentProviderClient.java81 public int update(Uri url, ContentValues values, String selection, argument
83 return mContentProvider.update(url, values, selection, selectionArgs);
H A DContentValues.java29 * This class is used to store a set of values that the {@link ContentResolver}
35 /** Holds the actual values */
39 * Creates an empty set of values using the default initial size
48 * Creates an empty set of values using the given initial size
50 * @param size the initial size of the set of values
57 * Creates a set of values copied from the given set
59 * @param from the values to copy
66 * Creates a set of values copied from the given HashMap. This is used
69 * @param values the values t
72 ContentValues(HashMap<String, Object> values) argument
[all...]
H A DSharedPreferences.java27 * to ensure the preference values remain in a consistent state and control
62 * Interface used for modifying values in a {@link SharedPreferences}
81 * Set a set of String values in the preferences editor, to be written
85 * @param values The new values for the preference.
89 Editor putStringSet(String key, Set<String> values); argument
156 * Mark in the editor to remove <em>all</em> values from the
182 * @return Returns true if the new values were successfully written
227 * Retrieve all values from the preferences.
251 * Retrieve a set of String values fro
[all...]
/frameworks/base/media/java/android/media/
H A DMediaInserter.java46 public void insert(Uri tableUri, ContentValues values) throws RemoteException { argument
52 list.add(new ContentValues(values));
/frameworks/base/media/jni/
H A Dandroid_media_Utils.cpp26 JNIEnv *env, jobjectArray keys, jobjectArray values,
31 if (keys != NULL && values != NULL) {
33 failed = (nKeyValuePairs != env->GetArrayLength(values));
37 failed = ((keys != NULL && values == NULL) ||
38 (keys == NULL && values != NULL));
42 LOGE("keys and values arrays have different length");
51 jstring value = (jstring) env->GetObjectArrayElement(values, i);
25 ConvertKeyValueArraysToKeyedVector( JNIEnv *env, jobjectArray keys, jobjectArray values, KeyedVector<String8, String8>* keyedVector) argument
/frameworks/base/core/java/android/view/
H A DOrientationListener.java96 public void onSensorChanged(int sensor, float[] values) { argument
/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/
H A DDisabledProvider.java43 public Uri insert(Uri uri, ContentValues values) { argument
51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
H A DEnabledProvider.java43 public Uri insert(Uri uri, ContentValues values) { argument
51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/core/java/android/animation/
H A DKeyframeSet.java27 * values between those keyframes for a given animation. The class internal to the animation
50 public static KeyframeSet ofInt(int... values) { argument
51 int numKeyframes = values.length;
55 keyframes[1] = (IntKeyframe) Keyframe.ofInt(1f, values[0]);
57 keyframes[0] = (IntKeyframe) Keyframe.ofInt(0f, values[0]);
59 keyframes[i] = (IntKeyframe) Keyframe.ofInt((float) i / (numKeyframes - 1), values[i]);
65 public static KeyframeSet ofFloat(float... values) { argument
66 int numKeyframes = values.length;
70 keyframes[1] = (FloatKeyframe) Keyframe.ofFloat(1f, values[0]);
72 keyframes[0] = (FloatKeyframe) Keyframe.ofFloat(0f, values[
112 ofObject(Object... values) argument
[all...]
H A DObjectAnimator.java54 * a setter function that will be called to set animated values.
61 * name of the property being animated, use <code>float</code> or <code>int</code> typed values,
89 // New property/values/target should cause re-initialization prior to starting
114 // New property/values/target should cause re-initialization prior to starting
120 * a setter function that will be called to set animated values.
164 * Constructs and returns an ObjectAnimator that animates between int values. A single
165 * value implies that that value is the one being animated to. Two values imply a starting
166 * and ending values. More than two values imply a starting value, values t
177 ofInt(Object target, String propertyName, int... values) argument
195 ofInt(T target, Property<T, Integer> property, int... values) argument
215 ofFloat(Object target, String propertyName, float... values) argument
233 ofFloat(T target, Property<T, Float> property, float... values) argument
257 ofObject(Object target, String propertyName, TypeEvaluator evaluator, Object... values) argument
280 ofObject(T target, Property<T, V> property, TypeEvaluator<V> evaluator, V... values) argument
305 ofPropertyValuesHolder(Object target, PropertyValuesHolder... values) argument
314 setIntValues(int... values) argument
329 setFloatValues(float... values) argument
344 setObjectValues(Object... values) argument
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSqliteWrapper.java77 ContentValues values, String where, String[] selectionArgs) {
79 return resolver.update(uri, values, where, selectionArgs);
99 Uri uri, ContentValues values) {
101 return resolver.insert(uri, values);
76 update(Context context, ContentResolver resolver, Uri uri, ContentValues values, String where, String[] selectionArgs) argument
98 insert(Context context, ContentResolver resolver, Uri uri, ContentValues values) argument
/frameworks/base/core/java/android/text/
H A DPackedObjectVector.java64 insertAt(int row, E[] values) argument
74 if (values == null)
79 setValue(row, i, values[i]);
H A DPackedIntVector.java25 * offsetting the values in segments of a given column.
137 * Increments all values in the specified column whose row >= the
163 * Inserts a new row of values at the specified row offset.
168 * @param values the new values to be added. If this is null,
173 * values array is too small (values.length < width()).
175 public void insertAt(int row, int[] values) { argument
180 if ((values != null) && (values
[all...]
/frameworks/base/core/java/com/android/internal/content/
H A DSelectionBuilder.java115 public int update(SQLiteDatabase db, String table, ContentValues values) { argument
116 return db.update(table, values, getSelection(), getSelectionArgs());
/frameworks/base/core/java/com/google/android/mms/util/
H A DSqliteWrapper.java89 ContentValues values, String where, String[] selectionArgs) {
91 return resolver.update(uri, values, where, selectionArgs);
111 Uri uri, ContentValues values) {
113 return resolver.insert(uri, values);
88 update(Context context, ContentResolver resolver, Uri uri, ContentValues values, String where, String[] selectionArgs) argument
110 insert(Context context, ContentResolver resolver, Uri uri, ContentValues values) argument
/frameworks/base/core/jni/android/graphics/
H A DInterpolator.cpp29 float* values = autoValues.ptr(); local
36 scalars[i] = SkFloatToScalar(values[i]);
40 values = autoBlend.ptr();
42 blendStorage[i] = SkFloatToScalar(values[i]);
62 float* values = valueArray ? env->GetFloatArrayElements(valueArray, NULL) : NULL; local
63 result = interp->timeToValues(msec, (SkScalar*)values);
68 values[i] = SkScalarToFloat(*(SkScalar*)&values[i]);
70 env->ReleaseFloatArrayElements(valueArray, values, 0);
H A DMaskFilter.cpp31 float* values = autoDir.ptr(); local
33 direction[i] = SkFloatToScalar(values[i]);
/frameworks/base/core/tests/coretests/src/android/app/
H A DSuggestionProvider.java97 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument
/frameworks/base/core/java/android/database/
H A DCursorJoiner.java24 * supports the case where the tuple of key column values is unique.
149 * next() are guaranteed to point to the row that was indicated. Reading values
196 * array and saves them in values beginning at startingIndex, skipping a slot
198 * values will be stored in slots 1, 3, and 5.
199 * @param values the String[] to populate
201 * @param columnIndicies the indicies of the values to read from the cursor
202 * @param startingIndex the slot in which to start storing values, and must be either 0 or 1.
204 private static void populateValues(String[] values, Cursor cursor, int[] columnIndicies, argument
208 values[startingIndex + i*2] = cursor.getString(columnIndicies[i]);
235 * Compare the values
242 compareStrings(String... values) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DFilter.java166 * implementation returns an empty String for null values or the default
177 * <p>Holds the results of a filtering operation. The results are the values
178 * computed by the filtering operation and the number of these values.</p>
186 * <p>Contains all the values computed by the filtering operation.</p>
188 public Object values; field in class:Filter.FilterResults
191 * <p>Contains the number of values computed by the filtering
205 * @param count the number of values computed by the filter

Completed in 807 milliseconds

1234