/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
GridInHorizontal.java | 42 String values[] = new String[1000]; local 45 values[i] = ((Integer)i).toString(); 51 android.R.layout.simple_list_item_1, values));
|
GridInVertical.java | 42 String values[] = new String[1000]; local 45 values[i] = ((Integer)i).toString(); 51 android.R.layout.simple_list_item_1, values));
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListRecyclerProfiling.java | 36 String values[] = new String[1000]; local 38 values[i] = ((Integer) i).toString(); 46 android.R.layout.simple_list_item_1, values));
|
ListScrollListener.java | 43 String values[] = new String[1000]; local 46 values[i] = ((Integer)i).toString(); 51 android.R.layout.simple_list_item_1, values));
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
IccServiceTable.java | 55 Object[] values = getValues(); local 71 if (ordinal < values.length) { 72 builder.append(values[ordinal]);
|
/frameworks/ml/bordeaux/learning/multiclass_pa/jni/ |
jni_multiclass_pa.cpp | 26 void CreateIndexValuePairs(const int* indices, const float* values, 31 pair<int, float> new_pair(indices[i], values[i]); 66 jfloat* values = env->GetFloatArrayElements(value_array, NULL); local 71 if (values && indices && value_len == index_len) { 74 CreateIndexValuePairs(indices, values, value_len, &inputs); 77 env->ReleaseFloatArrayElements(value_array, values, JNI_ABORT); 82 env->ReleaseFloatArrayElements(value_array, values, JNI_ABORT); 99 jfloat* values = env->GetFloatArrayElements(value_array, NULL); local 104 if (values && indices && value_len == index_len) { 106 CreateIndexValuePairs(indices, values, value_len, &inputs) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
BasicConstraints.java | 54 Object[] values = (Object[]) ASN1.decode(encoding); local 55 ca = (Boolean) values[0]; 56 if (values[1] != null) { 57 pathLenConstraint = new BigInteger((byte[]) values[1]).intValue(); 97 protected void getValues(Object object, Object[] values) { 99 values[0] = array[0]; 100 values[1] = ((BigInteger) array[1]).toByteArray();
|
/libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/ |
ElementTypeTest.java | 45 ElementType[] values = ElementType.values(); local 46 assertTrue(values.length > 1); 47 Arrays.sort(values); 48 assertTrue(Arrays.binarySearch(values, ElementType.METHOD) >= 0);
|
RetentionPolicyTest.java | 39 RetentionPolicy[] values = RetentionPolicy.values(); local 40 assertTrue(values.length > 1); 41 Arrays.sort(values); 42 assertTrue(Arrays.binarySearch(values, RetentionPolicy.RUNTIME) >= 0);
|
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/ |
CallLogQueryTestUtils.java | 26 * Helper class to create test values for {@link CallLogQuery}. 30 Object[] values = new Object[]{ local 34 assertEquals(CallLogQuery._PROJECTION.length, values.length); 35 return values; 39 Object[] values = new Object[]{ local 43 Assert.assertEquals(CallLogQuery.EXTENDED_PROJECTION.length, values.length); 44 return values;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
DBQueryUtilsTest.java | 60 final ContentValues values = new ContentValues(); local 61 values.put("A", "?"); 62 values.put("C", "?"); 64 checkForSupportedColumns(projectionMap, values); 69 values.put("D", "?"); 70 checkForSupportedColumns(projectionMap, values);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/pulse/ |
volume.h | 64 * volume values as opaque with a range from PA_VOLUME_MUTE (0%) to 112 pa_volume_t values[PA_CHANNELS_MAX]; /**< Per-channel volume */ member in struct:pa_cvolume
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/pulse/ |
volume.h | 64 * volume values as opaque with a range from PA_VOLUME_MUTE (0%) to 112 pa_volume_t values[PA_CHANNELS_MAX]; /**< Per-channel volume */ member in struct:pa_cvolume
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/pulse/ |
volume.h | 64 * volume values as opaque with a range from PA_VOLUME_MUTE (0%) to 112 pa_volume_t values[PA_CHANNELS_MAX]; /**< Per-channel volume */ member in struct:pa_cvolume
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/descriptors/ |
ColorValueDescriptor.java | 17 package com.android.ide.eclipse.adt.internal.editors.values.descriptors; 23 import com.android.ide.eclipse.adt.internal.editors.values.uimodel.UiColorValueNode;
|
ItemElementDescriptor.java | 17 package com.android.ide.eclipse.adt.internal.editors.values.descriptors; 22 import com.android.ide.eclipse.adt.internal.editors.values.uimodel.UiItemElementNode;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/uimodel/ |
UiColorValueNode.java | 17 package com.android.ide.eclipse.adt.internal.editors.values.uimodel;
|
UiItemElementNode.java | 17 package com.android.ide.eclipse.adt.internal.editors.values.uimodel; 21 import com.android.ide.eclipse.adt.internal.editors.values.descriptors.ItemElementDescriptor; 22 import com.android.ide.eclipse.adt.internal.editors.values.descriptors.ValuesDescriptors;
|
/cts/tests/src/android/provider/cts/ |
MediaStoreAudioTestHelper.java | 122 ContentValues values = new ContentValues(); local 123 values.put(Media.DATA, isInternal ? INTERNAL_DATA : EXTERNAL_DATA); 124 values.put(Media.DATE_MODIFIED, DATE_MODIFIED); 125 values.put(Media.DISPLAY_NAME, DISPLAY_NAME); 126 values.put(Media.MIME_TYPE, MIME_TYPE); 127 values.put(Media.SIZE, SIZE); 128 values.put(Media.TITLE, TITLE); 129 values.put(Media.ALBUM, ALBUM); 130 values.put(Media.ARTIST, ARTIST); 131 values.put(Media.COMPOSER, COMPOSER) 201 ContentValues values = new ContentValues(); local [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStoreTest.java | 51 // restore initial values 53 ContentValues values = new ContentValues(); local 54 values.put(MediaStore.MEDIA_SCANNER_VOLUME, mVolumnBackup); 55 mContentResolver.insert(mScannerUri, values); 62 ContentValues values = new ContentValues(); local 71 values.put(MediaStore.MEDIA_SCANNER_VOLUME, TEST_VOLUME_NAME); 73 mContentResolver.insert(mScannerUri, values));
|
MediaStore_VideoTest.java | 62 ContentValues values = new ContentValues(); local 64 values.put(VideoColumns.DATA, valueOfData); 66 Uri newUri = mContentResolver.insert(Video.Media.INTERNAL_CONTENT_URI, values);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
TransposedTableTest.java | 65 assertSame(original.values(), transpose.values());
|
/frameworks/base/core/java/android/content/ |
ContentQueryMap.java | 54 * @param columnNameOfKey the column that is to be used as the key of the values map 103 // let it query lazily when they ask for the values. 149 // Make a new map so old values returned by getRows() are undisturbed. 153 ContentValues values = new ContentValues(); local 156 values.put(mColumnNames[i], cursor.getString(i)); 159 mValues.put(cursor.getString(mKeyColumn), values); local
|
/frameworks/base/core/java/android/provider/ |
SyncStateContract.java | 105 ContentValues values = new ContentValues(); local 106 values.put(Columns.DATA, data); 107 values.put(Columns.ACCOUNT_NAME, account.name); 108 values.put(Columns.ACCOUNT_TYPE, account.type); 109 provider.insert(uri, values); 114 ContentValues values = new ContentValues(); local 115 values.put(Columns.DATA, data); 116 values.put(Columns.ACCOUNT_NAME, account.name); 117 values.put(Columns.ACCOUNT_TYPE, account.type); 118 return provider.insert(uri, values); 123 ContentValues values = new ContentValues(); local 160 ContentValues values = new ContentValues(); local 179 ContentValues values = new ContentValues(); local [all...] |
/frameworks/ex/common/java/com/android/common/content/ |
SyncStateContentProviderHelper.java | 67 ContentValues values = new ContentValues(); local 68 values.put(SYNC_STATE_META_VERSION_COLUMN, DB_VERSION); 69 db.insert(SYNC_STATE_META_TABLE, SYNC_STATE_META_VERSION_COLUMN, values); 87 public long insert(SQLiteDatabase db, ContentValues values) { 88 return db.replace(SYNC_STATE_TABLE, SyncStateContract.Columns.ACCOUNT_NAME, values); 95 public int update(SQLiteDatabase db, ContentValues values, 97 return db.update(SYNC_STATE_TABLE, values, selection, selectionArgs);
|