/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));
|
GridPadding.java | 38 String values[] = new String[1000]; local 40 values[i] = String.valueOf(i); 45 android.R.layout.simple_list_item_1, values));
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListDividers.java | 38 String values[] = new String[1000]; local 40 values[i] = ((Integer) i).toString(); 45 android.R.layout.simple_list_item_1, values));
|
ListInHorizontal.java | 41 String values[] = new String[1000]; local 43 values[i] = ((Integer) i).toString(); 48 android.R.layout.simple_list_item_1, values));
|
ListInVertical.java | 41 String values[] = new String[1000]; local 43 values[i] = ((Integer) i).toString(); 48 android.R.layout.simple_list_item_1, values));
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
VCardBuilderTest.java | 38 final ContentValues values = new ContentValues(); local 39 values.put(ContactsContract.CommonDataKinds.StructuredName.DISPLAY_NAME, "??"); 40 contentList.add(values);
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
ORAddress.java | 68 @Override protected void getValues(Object object, Object[] values) {} 77 @Override protected void getValues(Object object, Object[] values) { 78 values[0] = foo;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherAppWidgetInfo.java | 58 // Since the widget isn't instantiated yet, we don't know these values. Set them to -1 65 void onAddToDatabase(ContentValues values) { 66 super.onAddToDatabase(values); 67 values.put(LauncherSettings.Favorites.APPWIDGET_ID, appWidgetId);
|
LauncherProvider.java | 126 SQLiteDatabase db, String table, String nullColumnHack, ContentValues values) { 127 if (!values.containsKey(LauncherSettings.Favorites._ID)) { 130 return db.insert(table, nullColumnHack, values); 154 public int bulkInsert(Uri uri, ContentValues[] values) { 160 int numValues = values.length; 162 if (dbInsertAndCheck(mOpenHelper, db, args.table, null, values[i]) < 0) { 172 return values.length; 187 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 191 int count = db.update(args.table, values, args.where, args.args); 373 ContentValues values = new ContentValues(c.getColumnCount()) local 563 final ContentValues values = new ContentValues(); local 706 final ContentValues values = new ContentValues(); local 793 ContentValues values = new ContentValues(); local [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
BaseContactsProvider2Test.java | 173 ContentValues values = new ContentValues(); local 174 CommonDatabaseUtils.extrasVarArgsToValues(values, extras); 175 return mResolver.update(uri, values, null, null); 193 ContentValues values = new ContentValues(); local 194 values.put(Groups.SOURCE_ID, sourceId); 195 values.put(Groups.TITLE, title); 196 values.put(Groups.GROUP_VISIBLE, visible); 197 values.put(Groups.AUTO_ADD, autoAdd ? 1 : 0); 198 values.put(Groups.FAVORITES, favorite ? 1 : 0); 200 return ContentUris.parseId(mResolver.insert(uri, values)); 210 ContentValues values = new ContentValues(); local 247 ContentValues values = new ContentValues(); local 280 ContentValues values = new ContentValues(); local 302 ContentValues values = new ContentValues(); local 315 ContentValues values = new ContentValues(); local 326 ContentValues values = new ContentValues(); local 343 ContentValues values = new ContentValues(); local 352 ContentValues values = new ContentValues(); local 361 ContentValues values = new ContentValues(); local 369 ContentValues values = new ContentValues(); local 396 ContentValues values = new ContentValues(); local 411 ContentValues values = new ContentValues(); local 455 ContentValues values = new ContentValues(); local 468 ContentValues values = new ContentValues(); local 478 ContentValues values = new ContentValues(); local 487 ContentValues values = new ContentValues(); local 498 ContentValues values = new ContentValues(); local 503 RawContacts.CONTENT_URI, rawContactId), values, null, null); local 507 ContentValues values = new ContentValues(); local 778 ContentValues values = new ContentValues(); local 788 ContentValues values = new ContentValues(); local 799 ContentValues values = new ContentValues(); local 1512 ContentValues values = new ContentValues(); local 1521 ContentValues values = new ContentValues(); local 1536 ContentValues values = new ContentValues(); local 1556 ContentValues values = new ContentValues(); local [all...] |
ContactsActor.java | 224 * Mock {@link Context} that reports specific well-known values for testing 372 final ContentValues values = new ContentValues(); local 374 Uri rawContactUri = resolver.insert(RawContacts.CONTENT_URI, values); 388 final ContentValues values = new ContentValues(); local 389 values.put(Data.RAW_CONTACT_ID, contactId); 390 values.put(Data.IS_PRIMARY, 1); 391 values.put(Data.IS_SUPER_PRIMARY, 1); 392 values.put(Data.MIMETYPE, CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE); 393 values.put(CommonDataKinds.StructuredName.FAMILY_NAME, name); 396 Uri dataUri = resolver.insert(insertUri, values); 402 final ContentValues values = new ContentValues(); local 418 final ContentValues values = new ContentValues(); local 433 final ContentValues values = new ContentValues(); local 482 final ContentValues values = new ContentValues(); local 491 final ContentValues values = new ContentValues(); local 500 final ContentValues values = new ContentValues(); local 511 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));
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
SampleElements.java | 66 SampleElements<K> keys, SampleElements<V> values) { 68 Helpers.mapEntry(keys.e0, values.e0), 69 Helpers.mapEntry(keys.e1, values.e1), 70 Helpers.mapEntry(keys.e2, values.e2), 71 Helpers.mapEntry(keys.e3, values.e3), 72 Helpers.mapEntry(keys.e4, values.e4));
|
/frameworks/base/core/java/android/transition/ |
Recolor.java | 45 transitionValues.values.put(PROPNAME_BACKGROUND, transitionValues.view.getBackground()); 47 transitionValues.values.put(PROPNAME_TEXT_COLOR, 69 Drawable startBackground = (Drawable) startValues.values.get(PROPNAME_BACKGROUND); 70 Drawable endBackground = (Drawable) endValues.values.get(PROPNAME_BACKGROUND); 84 int start = (Integer) startValues.values.get(PROPNAME_TEXT_COLOR); 85 int end = (Integer) endValues.values.get(PROPNAME_TEXT_COLOR);
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
AttributeListImpl.java | 143 values.add(value); 166 values.remove(i); 184 values.clear(); 249 if (i < 0 || i >= values.size()) { 252 return values.get(i); 291 private ArrayList<String> values = new ArrayList<String>(); 288 private ArrayList<String> values = new ArrayList<String>(); field in class:AttributeListImpl
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
DBQueryUtilsTest.java | 62 final ContentValues values = new ContentValues(); local 63 values.put("A", "?"); 64 values.put("C", "?"); 66 checkForSupportedColumns(projectionMap, values); 71 values.put("D", "?"); 72 checkForSupportedColumns(projectionMap, values);
|
/external/chromium/net/tools/testserver/ |
asn1der.py | 53 def Sequence(values): 54 """Encodes a sequence of other values. 57 values: the list of values, must be strings holding already encoded data. 61 return Data(SEQUENCE, ''.join(values))
|
/external/chromium_org/build/android/pylib/ |
perf_tests_helper.py | 13 # Valid values of result type. 26 def _Flatten(values): 29 for entry in values: 64 def _MeanAndStdDevFromList(values): 67 if len(values) > 1: 69 value = '[%s]' % ','.join([str(v) for v in values]) 70 avg = sum([float(v) for v in values]) / len(values) 71 sqdiffs = [(float(v) - avg) ** 2 for v in values] 72 variance = sum(sqdiffs) / (len(values) - 1 [all...] |
/external/chromium_org/chrome/browser/policy/test/ |
asn1der.py | 52 def Sequence(values): 53 """Encodes a sequence of other values. 56 values: the list of values, must be strings holding already encoded data. 60 return Data(SEQUENCE, ''.join(values))
|
/external/chromium_org/components/test/data/autofill/merge/tools/ |
reserialize_profiles_from_query.py | 32 values = line.split("|") 33 profiles.append(zip(types, values))
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGFEColorMatrixElement.idl | 38 readonly attribute SVGAnimatedNumberList values;
|
/external/chromium_org/third_party/skia/src/animator/ |
SkOperandInterpolator.h | 25 /** Add or replace a key frame, copying the values[] data into the interpolator. 28 @param values The array of values [elemCount] for this frame. The data is copied 35 bool setKeyFrame(int index, SkMSec time, const SkOperand values[], SkScalar blend = SK_Scalar1); 36 Result timeToValues(SkMSec time, SkOperand values[]) const;
|
/external/hamcrest/src/org/hamcrest/ |
BaseDescription.java | 56 public <T> Description appendValueList(String start, String separator, String end, T... values) {
57 return appendValueList(start, separator, end, Arrays.asList(values));
60 public <T> Description appendValueList(String start, String separator, String end, Iterable<T> values) {
61 return appendValueList(start, separator, end, values.iterator());
64 private <T> Description appendValueList(String start, String separator, String end, Iterator<T> values) {
65 return appendList(start, separator, end, new SelfDescribingValueIterator<T>(values));
68 public Description appendList(String start, String separator, String end, Iterable<? extends SelfDescribing> values) {
69 return appendList(start, separator, end, values.iterator());
|
/external/jsilver/src/com/google/clearsilver/jsilver/functions/numeric/ |
AbsFunction.java | 20 import com.google.clearsilver.jsilver.values.Value; 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant;
|