/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/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
ConverterTest.java | 33 ArrayList<String> values = new ArrayList<String>(); local 35 values.add("Hello"); 36 values.add("World"); 39 mBinder.setList(values);
|
ProcessBindableTest.java | 55 HashSet<Integer> values = new HashSet<>(); local 56 values.add(0); 60 assertFalse(values.contains(fieldValues.get(fieldName))); 61 values.add(fieldValues.get(fieldName));
|
/frameworks/support/transition/src/main/java/androidx/transition/ |
TransitionValues.java | 26 * Data structure which holds cached values for the transition. 27 * The view field is the target which all of the values pertain to. 28 * The values field is a map which holds information for fields 30 * be unique to avoid clobbering values stored by other transitions, 35 * <p>These values are cached during the 37 * capture} phases of a scene change, once when the start values are captured 38 * and again when the end values are captured. These start/end values are then 46 * The set of values tracked by transitions for this scene 48 public final Map<String, Object> values = new HashMap<>() field in class:TransitionValues [all...] |
VisibilityPropagation.java | 44 public void captureValues(TransitionValues values) { 45 View view = values.view; 46 Integer visibility = (Integer) values.values.get(Visibility.PROPNAME_VISIBILITY); 50 values.values.put(PROPNAME_VISIBILITY, visibility); 57 values.values.put(PROPNAME_VIEW_CENTER, loc); 66 * Returns {@link android.view.View#getVisibility()} for the View at the time the values 68 * @param values The TransitionValues captured at the start or end of the Transition [all...] |
/system/core/libunwindstack/include/unwindstack/ |
DwarfLocation.h | 40 uint64_t values[2]; member in struct:unwindstack::DwarfLocation
|
/system/extras/perfprofd/ |
configreader.h | 28 // key/value pairs. Values come in two flavors: strings, or unsigned 67 typedef struct { unsigned minv, maxv; } values; typedef in class:ConfigReader 68 std::map<std::string, values> u_info;
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
UniqueMultiMap.java | 23 * A {@link MultiMap} that ensures unique values for each key. 34 Collection<V> values = get(key); local 35 if (values != null && values.contains(value)) {
|
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/ |
ChangeDefaultUris.java | 42 ContentValues values = new ContentValues(); local 43 values.put(MediaStore.MediaColumns.DATA, mediaFile.getPath()); 44 values.put(MediaStore.MediaColumns.TITLE, RINGER_TITLE); 45 values.put(MediaStore.MediaColumns.MIME_TYPE, "audio/mp3"); 46 values.put(MediaStore.Audio.AudioColumns.ARTIST, "CTS ringer artist"); 47 values.put(MediaStore.Audio.AudioColumns.IS_RINGTONE, true); 48 values.put(MediaStore.Audio.AudioColumns.IS_NOTIFICATION, true); 49 values.put(MediaStore.Audio.AudioColumns.IS_ALARM, true); 50 values.put(MediaStore.Audio.AudioColumns.IS_MUSIC, false); 54 .insert(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, values); [all...] |
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
ContactDbUtil.java | 57 ContentValues values = new ContentValues(); local 58 values.put(ContactsContract.Data.CARRIER_PRESENCE, 0); // reset all. 59 int count = resolver.update(ContactsContract.Data.CONTENT_URI, values, selection, null); 88 ContentValues values = new ContentValues(); local 89 values.put(ContactsContract.Data.CARRIER_PRESENCE, 92 int count = resolver.update(ContactsContract.Data.CONTENT_URI, values, selection, null);
|
/external/libbackup/src/com/google/android/libraries/backup/ |
BackupKeyPredicates.java | 52 Set<String> values = new HashSet<>(); local 54 addAnnotatedFieldValues(annotation, klass, values); 56 return values; 60 Class<? extends Annotation> annotation, Class<?> klass, Set<String> values) { 62 addFieldValueIfAnnotated(annotation, field, values); 67 Class<? extends Annotation> annotation, Field field, Set<String> values) { 70 values.add((String) field.get(null));
|
/frameworks/base/core/java/android/transition/ |
VisibilityPropagation.java | 43 public void captureValues(TransitionValues values) { 44 View view = values.view; 45 Integer visibility = (Integer) values.values.get(Visibility.PROPNAME_VISIBILITY); 49 values.values.put(PROPNAME_VISIBILITY, visibility); 56 values.values.put(PROPNAME_VIEW_CENTER, loc); 65 * Returns {@link android.view.View#getVisibility()} for the View at the time the values 67 * @param values The TransitionValues captured at the start or end of the Transition [all...] |
/frameworks/base/media/java/android/media/ |
DecoderCapabilities.java | 58 decoderList.add(VideoDecoder.values()[native_get_video_decoder_type(i)]); 71 decoderList.add(AudioDecoder.values()[native_get_audio_decoder_type(i)]);
|
/frameworks/support/leanback/kitkat/androidx/leanback/transition/ |
Scale.java | 34 private void captureValues(TransitionValues values) { 35 View view = values.view; 36 values.values.put(PROPNAME_SCALE, view.getScaleX()); 56 final float startScale = (Float) startValues.values.get(PROPNAME_SCALE); 57 final float endScale = (Float) endValues.values.get(PROPNAME_SCALE);
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
VoicemailQueryHandler.java | 80 ContentValues values = new ContentValues(1); local 81 values.put(Calls.NEW, "0"); 87 values,
|
/test/suite_harness/tools/dex-tools/src/dex/reader/ |
DexEncodedAnnotationImpl.java | 31 private List<DexAnnotationAttribute> values; field in class:DexEncodedAnnotationImpl 52 values = new ArrayList<DexAnnotationAttribute>(size); 54 values.add(new DexAnnotationAttributeImpl(buffer, annotation, 64 return values;
|
/external/guava/guava-tests/test/com/google/common/cache/ |
EmptyCachesTest.java | 178 // values of these removes, but the cache should be empty after the removes, regardless. 191 /* ---------------- Values -------------- */ 195 Collection<Object> values = cache.asMap().values(); local 197 values.toArray(null); 209 cache.asMap().values().add(1); 216 cache.asMap().values().addAll(asList(1, 2)); 228 Collection<Object> values = cache.asMap().values(); local 229 values.clear() 237 Collection<Object> values = cache.asMap().values(); local 253 Collection<Object> values = cache.asMap().keySet(); local [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_PlaylistsTest.java | 67 ContentValues values = new ContentValues(); local 68 values.put(Playlists.NAME, "My favourites"); 69 values.put(Playlists.DATA, externalPlaylistPath); 72 values.put(Playlists.DATE_MODIFIED, dateModified); 74 Uri uri = mContentResolver.insert(Playlists.EXTERNAL_CONTENT_URI, values); 93 values.clear(); 94 values.put(Playlists.NAME, "xxx"); 96 values.put(Playlists.DATE_MODIFIED, dateModified); 97 assertEquals(1, mContentResolver.update(uri, values, null, null)); 113 ContentValues values = new ContentValues() local [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
SwitchList.java | 28 /** {@code non-null;} list of test values */ 29 private final IntList values; field in class:SwitchList 32 * {@code non-null;} list of targets corresponding to the test values; there 48 this.values = new IntList(size); 56 values.setImmutable(); 77 return values.get(n); 112 * Gets the list of all case values. 117 return values; 154 values.add(value); 180 values.set(at, values.get(i)) [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowContentValues.java | 40 private HashMap<String, Object> values = new HashMap<String, Object>(); field in class:ShadowContentValues 43 values = new HashMap<String, Object>(shadowOf(from).values); 48 values.put(key, value); 53 values.putAll(shadowOf(other).values); 58 values.put(key, value); 63 values.put(key, value); 68 values.put(key, value); 73 values.put(key, value) [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
VoicemailStatus.java | 38 private ContentValues values = new ContentValues(); field in class:VoicemailStatus.Editor 57 values.put(Status.SOURCE_TYPE, type); 62 values.put(Status.CONFIGURATION_STATE, configurationState); 67 values.put(Status.DATA_CHANNEL_STATE, dataChannelState); 72 values.put(Status.NOTIFICATION_CHANNEL_STATE, notificationChannelState); 82 values.put(Status.QUOTA_OCCUPIED, occupied); 83 values.put(Status.QUOTA_TOTAL, total); 96 values.put( 99 values.put(Status.PHONE_ACCOUNT_ID, phoneAccountHandle.getId()); 103 StrictModeUtils.bypass(() -> contentResolver.insert(statusUri, values)); [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
LauncherDbUtils.java | 92 ContentValues values = new ContentValues(); local 93 values.put(WorkspaceScreens._ID, newScreen); 94 db.update(WorkspaceScreens.TABLE_NAME, values, "_id = ?", whereParams); 96 values.clear(); 97 values.put(Favorites.SCREEN, newScreen); 98 db.update(Favorites.TABLE_NAME, values, "container = -100 and screen = ?", whereParams);
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
FixupMessageStatusOnStartupAction.java | 60 final ContentValues values = new ContentValues(); local 61 values.put(DatabaseHelper.MessageColumns.STATUS, 63 downloadFailedCnt += db.update(DatabaseHelper.MESSAGES_TABLE, values, 69 values.clear(); 71 values.clear(); 72 values.put(DatabaseHelper.MessageColumns.STATUS, 74 sendFailedCnt = db.update(DatabaseHelper.MESSAGES_TABLE, values,
|