/frameworks/base/core/java/android/hardware/ |
H A D | SensorEvent.java | 22 * 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 D | SensorListener.java | 21 * 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 D | Sorter.java | 15 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 D | ChecksumTest.java | 42 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 D | JPEGHuffmanTable.java | 92 * 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 D | Entity.java | 37 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 D | ContentProviderClient.java | 75 public int update(Uri url, ContentValues values, String selection, argument 77 return mContentProvider.update(url, values, selection, selectionArgs);
|
H A D | AsyncQueryHandler.java | 57 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 D | ContentValues.java | 29 * 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 D | IContentProvider.java | 54 public int update(Uri url, ContentValues values, String selection, argument
|
/frameworks/base/core/java/android/pim/vcard/ |
H A D | VCardInterpreter.java | 34 * "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 D | VCardEntryCounter.java | 61 public void propertyValues(List<String> values) { argument
|
H A D | VCardInterpreterCollection.java | 97 public void propertyValues(List<String> values) { argument 99 builder.propertyValues(values);
|
/frameworks/base/core/java/android/view/ |
H A D | OrientationListener.java | 96 public void onSensorChanged(int sensor, float[] values) { argument
|
/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/ |
H A D | DisabledProvider.java | 43 public Uri insert(Uri uri, ContentValues values) { argument 51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
|
H A D | EnabledProvider.java | 43 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 D | FeatureDescriptor.java | 31 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 D | SqliteWrapper.java | 77 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 D | PackedObjectVector.java | 64 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 D | SelectionBuilder.java | 115 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 D | SqliteWrapper.java | 89 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 D | Interpolator.cpp | 29 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 D | SuggestionProvider.java | 97 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument
|
/frameworks/base/awt/java/awt/image/ |
H A D | RescaleOp.java | 36 * 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 D | BulkCursorNative.java | 127 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);
|