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

1234

/frameworks/base/core/java/android/hardware/
H A DSensorEvent.java22 * accuracy and of course the sensor's {@link SensorEvent#values data}.
35 * behind the screen have negative Z values.
63 * The length and contents of the values array vary depending on which
68 * All values are angles in degrees.
70 * <p>values[0]: Azimuth, angle between the magnetic north direction and
74 * <p>values[1]: Pitch, rotation around X axis (-180 to 180),
75 * with positive values when the z-axis moves <b>toward</b> the y-axis.
77 * <p>values[2]: Roll, rotation around Y axis (-90 to 90), with
78 * positive values when the x-axis moves <b>toward</b> the z-axis.
94 * to compute these values instea
134 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/tests/CoreTests/android/core/
H A DChecksumTest.java42 private void adler32Test(byte[] values, long expected) { argument
46 adler.update(values);
51 for (int i = 0; i < values.length; i++) {
52 adler.update(values[i]);
57 private void cRC32Test(byte[] values, long expected) { argument
61 crc.update(values);
66 for (int i = 0; i < values.length; i++) {
67 crc.update(values[i]);
/frameworks/base/awt/javax/imageio/plugins/jpeg/
H A DJPEGHuffmanTable.java92 * The values.
94 private short values[]; field in class:JPEGHuffmanTable
101 * @param values
102 * the values
106 JPEGHuffmanTable(short[] lengths, short[] values, boolean copy) { argument
111 this.values = values;
119 * @param values
120 * the array of shorts containing the values in order of
123 public JPEGHuffmanTable(short[] lengths, short[] values) { argument
186 checkHuffmanTable(short[] lengths, short[] values) argument
[all...]
/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 DContentProviderClient.java75 public int update(Uri url, ContentValues values, String selection, argument
77 return mContentProvider.update(url, values, selection, selectionArgs);
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 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 DIContentProvider.java54 public int update(Uri url, ContentValues values, String selection, argument
/frameworks/base/core/java/android/pim/vcard/
H A DVCardInterpreter.java34 * "parameter(param) names and values", and "property values".
98 * @param values List of property values. The size of values would be 1 unless
101 void propertyValues(List<String> values); argument
H A DVCardEntryCounter.java61 public void propertyValues(List<String> values) { argument
H A DVCardInterpreterCollection.java97 public void propertyValues(List<String> values) { argument
99 builder.propertyValues(values);
/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/awt/java/beans/
H A DFeatureDescriptor.java31 private Map<String, Object> values; field in class:FeatureDescriptor
47 this.values = new HashMap<String, Object>();
64 values.put(attributeName, value);
79 result = values.get(attributeName);
93 return Collections.enumeration(new LinkedList<String>(values.keySet()));
/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]);
/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);
/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/awt/java/awt/image/
H A DRescaleOp.java36 * multiplying the pixel values with a scale factor and then adding an offset.
67 * the array of scale factor values.
69 * the array of offset values.
388 // Don't forget to pass allocated arrays for levels and values, size should
401 * @param values
402 * the values.
407 int values[], int channelsOrder[]) {
464 // Fill values
467 values[idx] = (int)(extScaleFactors[i] * levels[idx] + extOffsets[i]);
468 if (values[id
406 createLevels(SampleModel sm, int numBands, boolean skipAlpha, int levels[], int values[], int channelsOrder[]) argument
[all...]
/frameworks/base/core/java/android/database/
H A DBulkCursorNative.java127 HashMap<Long, Map<String, Object>> values = data.readHashMap(null);
128 boolean result = updateRows(values);
346 public boolean updateRows(Map values) throws RemoteException argument
353 data.writeMap(values);

Completed in 452 milliseconds

1234