/frameworks/base/core/jni/android/graphics/ |
H A D | Shader.cpp | 23 float* values = autoHSV.ptr(); local 25 values[i] = SkScalarToFloat(hsv[i]); 32 float* values = autoHSV.ptr();; local 36 hsv[i] = SkFloatToScalar(values[i]);
|
H A D | Matrix.cpp | 321 static void getValues(JNIEnv* env, jobject clazz, SkMatrix* matrix, jfloatArray values) { argument 322 AutoJavaFloatArray autoValues(env, values, 9); 339 static void setValues(JNIEnv* env, jobject clazz, SkMatrix* matrix, jfloatArray values) { argument 340 AutoJavaFloatArray autoValues(env, values, 9);
|
/frameworks/base/core/jni/ |
H A D | android_hardware_SensorManager.cpp | 149 jfloatArray values, jintArray status, jlongArray timestamp) 155 env->SetFloatArrayRegion(values, 0, 3, data.vector.v); 148 sensors_data_poll(JNIEnv *env, jclass clazz, jfloatArray values, jintArray status, jlongArray timestamp) argument
|
H A D | android_bluetooth_common.cpp | 598 } values[max_num_properties]; local 606 values[i].used = false; 623 values[prop_index].value = value; 624 values[prop_index].len = len; 625 values[prop_index].used = true; 634 if (values[i].used) { 635 create_prop_array(env, strArray, &properties[i], &values[i].value, values[i].len, 638 if (properties[i].type == DBUS_TYPE_ARRAY && values[i].used 639 && values[ [all...] |
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | ContentProviderOperationTest.java | 57 public Uri insert(Uri uri, ContentValues values) { 59 assertEquals(sTestValues1.toString(), values.toString()); 70 public Uri insert(Uri uri, ContentValues values) { 72 assertNull(values); 85 public Uri insert(Uri uri, ContentValues values) { 87 assertEquals(sTestValues1.toString(), values.toString()); 109 public Uri insert(Uri uri, ContentValues values) { 114 assertEquals(expected.toString(), values.toString()); 127 public Uri insert(Uri uri, ContentValues values) { 129 assertEquals(sTestValues1.toString(), values 421 builderSetValues( ContentProviderOperation.Builder builder, ContentValues values) argument 538 insert(Uri uri, ContentValues values) argument 546 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/pim/vcard/ |
H A D | VCardTestsBase.java | 100 public int update(Uri url, ContentValues values, String selection, String[] selectionArgs) { argument
|
H A D | VNodeBuilder.java | 194 // Assume BASE64 is used only when the number of values is 1. 266 public void propertyValues(List<String> values) { argument 267 if (values == null || values.size() == 0) { 284 for (String value : values) {
|
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | StaticLayoutTest.java | 285 private void assertVertMetrics(Layout l, int topPad, int botPad, int... values) { argument 287 assertLinesMetrics(l, values); 290 private void assertLinesMetrics(Layout l, int... values) { argument 292 if ((values.length & 0x1) != 0) { 293 throw new IllegalArgumentException(String.valueOf(values.length)); 296 int lines = values.length >> 1; 301 int a = values[n]; 302 int d = values[n+1];
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsProvider.java | 128 * @param values found in the row 132 private Uri getUriFor(Uri tableUri, ContentValues values, long rowId) { argument 138 String name = values.getAsString(Settings.NameValueTable.NAME); 230 final ContentValues values = new ContentValues(); 231 values.put(Settings.NameValueTable.NAME, Settings.Secure.ANDROID_ID); 232 values.put(Settings.NameValueTable.VALUE, newAndroidIdValue); 233 final Uri uri = insert(Settings.Secure.CONTENT_URI, values); 333 public int bulkInsert(Uri uri, ContentValues[] values) { argument 344 int numValues = values.length; 346 if (db.insert(args.table, null, values[ [all...] |
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockContentProvider.java | 112 public int update(Uri url, ContentValues values, String selection, String[] selectionArgs) argument 114 return MockContentProvider.this.update(url, values, selection, selectionArgs); 179 public Uri insert(Uri uri, ContentValues values) { argument 195 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument 203 public int bulkInsert(Uri uri, ContentValues[] values) { argument
|
H A D | MockCursor.java | 186 public boolean commitUpdates(Map<? extends Long, ? extends Map<String, Object>> values) { argument
|
/frameworks/base/awt/java/awt/ |
H A D | RenderingHints.java | 364 * Returns a Collection of values contained in current RenderingHints 367 * @return the Collection of RenderingHints's values. 369 public Collection<Object> values() { method in class:RenderingHints 370 return map.values();
|
H A D | BasicStroke.java | 150 * The temporary pre-calculated values. 409 * @return true, if the Object is a BasicStroke with the same data values as 1890 * The values. 1892 double[] values; field in class:BasicStroke.DashIterator.Quad 1936 values = new double[valSize]; 1947 values[i] = Math.sqrt(lx * lx + ly * ly); 1948 length += values[i]; 1963 curLen += lastLen = values[valPos++]; 2004 * The values. 2006 double[] values; field in class:BasicStroke.DashIterator.Cubic [all...] |
/frameworks/base/awt/javax/imageio/stream/ |
H A D | ImageInputStreamImpl.java | 366 * The values. 368 private long[] values = new long[SIZE]; field in class:ImageInputStreamImpl.PositionStack 382 if (pos >= values.length) { 385 values[pos++] = v; 394 return values[--pos]; 413 long[] arr = new long[Math.max(2 * values.length, size)]; 414 System.arraycopy(values, 0, arr, 0, values.length); 415 values = arr;
|
/frameworks/base/core/java/android/database/ |
H A D | Cursor.java | 67 * range of values is -1 <= position <= count. 458 * updates included in values. After completion, 462 * @param values A map from row IDs to Maps associating column names with 463 * updated values. A null value indicates the field should be 472 ? extends Map<String,Object>> values); 568 * Returns a bundle of extra values. This is an optional way for cursors to provide out-of-band 572 * <p>These values may only change when requery is called. 573 * @return cursor-defined values, or Bundle.EMTPY if there are no values. Never null. 583 * @param extras extra values, o 471 commitUpdates(Map<? extends Long, ? extends Map<String,Object>> values) argument [all...] |
H A D | CursorWrapper.java | 65 Map<? extends Long, ? extends Map<String, Object>> values) { 66 return mCursor.commitUpdates(values); 64 commitUpdates( Map<? extends Long, ? extends Map<String, Object>> values) argument
|
H A D | AbstractCursor.java | 115 public boolean commitUpdates(Map<? extends Long,? extends Map<String,Object>> values) { argument 618 * that maps from String column names to new values. A NULL value means to 619 * remove an existing value, and all numeric values are in their class
|
H A D | DatabaseUtils.java | 260 * Concatenates two SQL WHERE clauses, handling empty or null values. 456 * @param values The {@link ContentValues} to put the value into, with the field as the key 459 ContentValues values) { 460 cursorStringToContentValues(cursor, field, values, field); 481 * @param values The {@link ContentValues} to put the value into, with the field as the key 485 ContentValues values, String key) { 486 values.put(key, cursor.getString(cursor.getColumnIndexOrThrow(field))); 494 * @param values The {@link ContentValues} to put the value into, with the field as the key 496 public static void cursorIntToContentValues(Cursor cursor, String field, ContentValues values) { argument 497 cursorIntToContentValues(cursor, field, values, fiel 458 cursorStringToContentValues(Cursor cursor, String field, ContentValues values) argument 484 cursorStringToContentValues(Cursor cursor, String field, ContentValues values, String key) argument 508 cursorIntToContentValues(Cursor cursor, String field, ContentValues values, String key) argument 525 cursorLongToContentValues(Cursor cursor, String field, ContentValues values) argument 538 cursorLongToContentValues(Cursor cursor, String field, ContentValues values, String key) argument 556 cursorDoubleToCursorValues(Cursor cursor, String field, ContentValues values) argument 569 cursorDoubleToContentValues(Cursor cursor, String field, ContentValues values, String key) argument 585 cursorRowToContentValues(Cursor cursor, ContentValues values) argument 681 cursorStringToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 697 cursorLongToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 713 cursorShortToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 729 cursorIntToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 745 cursorFloatToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 761 cursorDoubleToContentValuesIfPresent(Cursor cursor, ContentValues values, String column) argument 876 insertInternal(ContentValues values, boolean allowReplace) argument 1010 insert(ContentValues values) argument 1084 replace(ContentValues values) argument [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | IccProvider.java | 437 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument 451 pin2 = values.getAsString("pin2"); 459 String tag = values.getAsString("tag"); 460 String number = values.getAsString("number"); 462 String newTag = values.getAsString("newTag"); 463 String newNumber = values.getAsString("newNumber");
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Matrix.java | 143 /** Returns true if obj is a Matrix and its values equal our values. 275 * Set the matrix to rotate by the specified sine and cosine values, with a 300 /** Set the matrix to rotate by the specified sine and cosine values. */ 637 // the native values must match those in SkMatrix.h 645 * Set the matrix to the scale and translate values that map the source 724 * order [x0, y0, x1, y1, ...], where each "point" is 2 float values. 727 * @param srcIndex Index of the first pair of src values 729 * @param dstIndex Index of the first pair of dst values 935 /** Copy 9 values fro 938 getValues(float[] values) argument 952 setValues(float[] values) argument [all...] |
/frameworks/base/tools/localize/ |
H A D | localize.cpp | 116 ValuesFile_to_XLIFFFile(const ValuesFile* values, XLIFFFile* xliff, const string& englishFilename) argument 118 const set<StringResource>& strings = values->GetStrings(); 367 // old and current source values and are not in the reject list, or just 368 // old values and no source values 578 "Supply all of the android resource files (values files) to export after that.\n"
|
/frameworks/base/core/java/android/content/ |
H A D | ContentResolver.java | 215 * explicit values in the {@code selection} parameter, so that queries 216 * that differ only by those values will be recognized as the same 229 * replaced by the values from selectionArgs, in the order that they 230 * appear in the selection. The values will be bound as Strings. 575 * @param values The initial values for the newly inserted row. The key is the column name for 579 public final Uri insert(Uri url, ContentValues values) argument 587 Uri createdRow = provider.insert(url, values); 634 * @param values The initial values fo 638 bulkInsert(Uri url, ContentValues[] values) argument 699 update(Uri uri, ContentValues values, String where, String[] selectionArgs) argument [all...] |
/frameworks/base/core/java/android/text/ |
H A D | TextUtils.java | 784 * <code>values</code>. "^^" is used to produce a single caret in 785 * the output. Only up to 9 replacement values are supported, 790 * placeholder values. This object is not modified; a copy is 793 * @param values CharSequences substituted into the template. The 799 * value that was not provided, or if more than 9 values are 803 CharSequence... values) { 804 if (values.length > 9) { 805 throw new IllegalArgumentException("max of 9 values are supported"); 825 if (which >= values.length) { 828 "; only " + values 802 expandTemplate(CharSequence template, CharSequence... values) argument [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Matrix.java | 86 /** Returns true iff obj is a Matrix and its values equal our values. 135 * Set the matrix to rotate by the specified sine and cosine values, with a 143 /** Set the matrix to rotate by the specified sine and cosine values. */ 330 // the native values must match those in SkMatrix.h 338 * Set the matrix to the scale and translate values that map the source 370 * order [x0, y0, x1, y1, ...], where each "point" is 2 float values. 373 * @param srcIndex Index of the first pair of src values 375 * @param dstIndex Index of the first pair of dst values 521 /** Copy 9 values fro 523 getValues(float[] values) argument 536 setValues(float[] values) argument 667 native_getValues(int native_object, float[] values) argument 669 native_setValues(int native_object, float[] values) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaScanner.java | 615 * Formats the data into a values array suitable for use with the Media 618 * @return a map of values 678 ContentValues values = toValues(); 679 String title = values.getAsString(MediaStore.MediaColumns.TITLE); 681 title = values.getAsString(MediaStore.MediaColumns.DATA); 695 values.put(MediaStore.MediaColumns.TITLE, title); 697 String album = values.getAsString(Audio.Media.ALBUM); 699 album = values.getAsString(MediaStore.MediaColumns.DATA); 713 values.put(Audio.Media.ALBUM, album); 721 // values s 1253 addPlayListEntry(String entry, String playListDirectory, Uri uri, ContentValues values, int index) argument 1317 processM3uPlayList(String path, String playListDirectory, Uri uri, ContentValues values) argument 1348 processPlsPlayList(String path, String playListDirectory, Uri uri, ContentValues values) argument 1387 ContentValues values = new ContentValues(); field in class:MediaScanner.WplHandler [all...] |