/development/samples/browseable/CustomTransition/src/com.example.android.customtransition/ |
D | ChangeColor.java | 44 private void captureValues(TransitionValues values) { in captureValues() argument 46 values.values.put(PROPNAME_BACKGROUND, values.view.getBackground()); in captureValues() 79 Drawable startBackground = (Drawable) startValues.values.get(PROPNAME_BACKGROUND); in createAnimator() 80 Drawable endBackground = (Drawable) endValues.values.get(PROPNAME_BACKGROUND); in createAnimator()
|
/development/tools/findunused/ |
D | findunusedtranslations | 28 $values = $2; 31 if ($values =~ /^(-mcc[^-]*)*(-mnc[^-]*)*(.*)$/) { 35 $pattern1 = "$prefix/values-??$values/$suffix"; 36 $pattern2 = "$prefix/values-??-r??$values/$suffix";
|
/development/samples/NotePad/src/com/example/android/notepad/ |
D | NotePadProvider.java | 507 ContentValues values; in insert() local 511 values = new ContentValues(initialValues); in insert() 515 values = new ContentValues(); in insert() 522 if (values.containsKey(NotePad.Notes.COLUMN_NAME_CREATE_DATE) == false) { in insert() 523 values.put(NotePad.Notes.COLUMN_NAME_CREATE_DATE, now); in insert() 528 if (values.containsKey(NotePad.Notes.COLUMN_NAME_MODIFICATION_DATE) == false) { in insert() 529 values.put(NotePad.Notes.COLUMN_NAME_MODIFICATION_DATE, now); in insert() 533 if (values.containsKey(NotePad.Notes.COLUMN_NAME_TITLE) == false) { in insert() 535 values.put(NotePad.Notes.COLUMN_NAME_TITLE, r.getString(android.R.string.untitled)); in insert() 539 if (values.containsKey(NotePad.Notes.COLUMN_NAME_NOTE) == false) { in insert() [all …]
|
D | TitleEditor.java | 141 ContentValues values = new ContentValues(); in onPause() local 144 values.put(NotePad.Notes.COLUMN_NAME_TITLE, mText.getText().toString()); in onPause() 156 values, // The values map containing the columns to update and the values to use. in onPause()
|
D | NoteEditor.java | 527 ContentValues values = new ContentValues(); in updateNote() local 528 values.put(NotePad.Notes.COLUMN_NAME_MODIFICATION_DATE, System.currentTimeMillis()); in updateNote() 553 values.put(NotePad.Notes.COLUMN_NAME_TITLE, title); in updateNote() 556 values.put(NotePad.Notes.COLUMN_NAME_TITLE, title); in updateNote() 560 values.put(NotePad.Notes.COLUMN_NAME_NOTE, text); in updateNote() 575 values, // The map of column names and new values to apply to them. in updateNote() 593 ContentValues values = new ContentValues(); in cancelNote() local 594 values.put(NotePad.Notes.COLUMN_NAME_NOTE, mOriginalContent); in cancelNote() 595 getContentResolver().update(mUri, values, null, null); in cancelNote()
|
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/db/ |
D | LocationDbHelper.java | 91 ContentValues values = new ContentValues(); in insert() local 92 values.put(COLUMN_NAME_DAY, entry.day); in insert() 93 values.put(COLUMN_NAME_LONGITUDE, entry.longitude); in insert() 94 values.put(COLUMN_NAME_LATITUDE, entry.latitude); in insert() 95 values.put(COLUMN_NAME_TIME, entry.calendar.getTimeInMillis()); in insert() 98 return db.insert(TABLE_NAME, "null", values); in insert()
|
/development/tutorials/ReverseDebug/ |
D | main.c | 32 int values[ARRAY_LENGTH]; in main() local 41 clobber(values, ARRAY_LENGTH); in main()
|
/development/tools/idegen/src/com/android/idegen/ |
D | MakeFileParser.java | 48 private HashMap<String, String> values; 62 String str = values.get(key); 75 values = Maps.newHashMap(); in parse() 83 return Objects.toStringHelper(this).add("values", values).toString(); in toString() 235 value = values.get(value); 258 String value = values.get(key); 260 values.put(key, newValue); 262 values.put(key, value + VALUE_DELIMITER + newValue);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | LoaderThrottle.java | 275 ContentValues values; in insert() local 278 values = new ContentValues(initialValues); in insert() 280 values = new ContentValues(); in insert() 283 if (values.containsKey(MainTable.COLUMN_NAME_DATA) == false) { in insert() 284 values.put(MainTable.COLUMN_NAME_DATA, ""); in insert() 289 long rowId = db.insert(MainTable.TABLE_NAME, null, values); in insert() 341 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { in update() argument 349 count = db.update(MainTable.TABLE_NAME, values, where, whereArgs); in update() 357 count = db.update(MainTable.TABLE_NAME, values, finalWhere, whereArgs); in update() 443 ContentValues values = new ContentValues(); in onOptionsItemSelected() [all …]
|
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/ |
D | ExpandingCells.java | 48 ExpandableListItem[] values = new ExpandableListItem[] { in onCreate() local 60 ExpandableListItem obj = values[i % values.length]; in onCreate()
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
D | LoaderThrottleSupport.java | 276 ContentValues values; in insert() local 279 values = new ContentValues(initialValues); in insert() 281 values = new ContentValues(); in insert() 284 if (values.containsKey(MainTable.COLUMN_NAME_DATA) == false) { in insert() 285 values.put(MainTable.COLUMN_NAME_DATA, ""); in insert() 290 long rowId = db.insert(MainTable.TABLE_NAME, null, values); in insert() 342 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { in update() argument 350 count = db.update(MainTable.TABLE_NAME, values, where, whereArgs); in update() 358 count = db.update(MainTable.TABLE_NAME, values, finalWhere, whereArgs); in update() 444 ContentValues values = new ContentValues(); in onOptionsItemSelected() [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | Compass.java | 41 … "sensorChanged (" + event.values[0] + ", " + event.values[1] + ", " + event.values[2] + ")"); 42 mValues = event.values;
|
D | SensorTest.java | 89 diff[i] = Math.round(mScale[i] * (event.values[i] - mPrev[i]) * 0.45f); 93 mPrev[i] = event.values[i]; 100 " (" + event.values[0] + ", " + event.values[1] + ", " + 101 event.values[2] + ")" + " diff(" + diff[0] +
|
/development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/ |
D | AccelerometerPlayActivity.java | 392 mSensorX = event.values[0]; in onSensorChanged() 393 mSensorY = event.values[1]; in onSensorChanged() 396 mSensorX = -event.values[1]; in onSensorChanged() 397 mSensorY = event.values[0]; in onSensorChanged() 400 mSensorX = -event.values[0]; in onSensorChanged() 401 mSensorY = -event.values[1]; in onSensorChanged() 404 mSensorX = event.values[1]; in onSensorChanged() 405 mSensorY = -event.values[0]; in onSensorChanged()
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
D | ContactManager.java | 441 ContentValues values = new ContentValues(); in setAccountContactsVisibility() local 442 values.put(RawContacts.ACCOUNT_NAME, account.name); in setAccountContactsVisibility() 443 values.put(RawContacts.ACCOUNT_TYPE, Constants.ACCOUNT_TYPE); in setAccountContactsVisibility() 444 values.put(Settings.UNGROUPED_VISIBLE, visible ? 1 : 0); in setAccountContactsVisibility() 446 context.getContentResolver().insert(Settings.CONTENT_URI, values); in setAccountContactsVisibility() 526 final ContentValues values = new ContentValues(); in updateContactStatus() local 538 values.put(StatusUpdates.DATA_ID, profileId); in updateContactStatus() 539 values.put(StatusUpdates.STATUS, status); in updateContactStatus() 540 values.put(StatusUpdates.PROTOCOL, Im.PROTOCOL_CUSTOM); in updateContactStatus() 541 values.put(StatusUpdates.CUSTOM_PROTOCOL, CUSTOM_IM_PROTOCOL); in updateContactStatus() [all …]
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/ |
D | FeedProvider.java | 122 public Uri insert(Uri uri, ContentValues values) { in insert() argument 129 long id = db.insertOrThrow(FeedContract.Entry.TABLE_NAME, null, values); in insert() 180 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument 189 .update(db, values); in update() 196 .update(db, values); in update()
|
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
D | WeatherDataProvider.java | 109 public Uri insert(Uri uri, ContentValues values) { in insert() argument 121 public synchronized int update(Uri uri, ContentValues values, String selection, in update() argument 132 data.degrees = values.getAsInteger(Columns.TEMPERATURE); in update()
|
/development/samples/browseable/ActionBarCompat-ShareActionProvider/src/com.example.android.actionbarcompat.shareactionprovider/content/ |
D | AssetProvider.java | 56 public Uri insert(Uri uri, ContentValues values) { in insert() argument 69 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
D | MmsFileProvider.java | 51 public Uri insert(Uri uri, ContentValues values) { in insert() argument 63 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
|
/development/samples/Support4Demos/src/com/example/android/supportv4/content/ |
D | SharingSupportProvider.java | 60 public Uri insert(Uri uri, ContentValues values) { in insert() argument 70 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
|
/development/samples/training/basic/ActivityLifecycle/ |
D | ant.properties | 1 # This file is used to override default values used by the Ant build system. 8 # You can use this to override default values such as
|
/development/samples/USB/MissileLauncher/src/com/android/missilelauncher/ |
D | MissileLauncherActivity.java | 176 if (event.values[0] < -THRESHOLD) { 178 } else if (event.values[0] > THRESHOLD) { 181 if (event.values[1] < -THRESHOLD) { 183 } else if (event.values[1] > THRESHOLD) {
|
/development/samples/NotePad/tests/src/com/example/android/notepad/ |
D | NotePadProviderTest.java | 140 ContentValues values = new ContentValues(); in insertData() local 673 ContentValues values = note.getContentValues(); in testInserts() local 676 values.put(NotePad.Notes._ID, (int) noteId); in testInserts() 681 rowUri = mMockResolver.insert(NotePad.Notes.CONTENT_URI, values); in testInserts() 754 ContentValues values = new ContentValues(); in testUpdates() local 760 values.put(NotePad.Notes.COLUMN_NAME_NOTE, "Testing an update with this string"); in testUpdates() 765 values, // a map of the updates to do (column title and value) in testUpdates() 782 values, // the same map of updates in testUpdates()
|
/development/tools/emulator/skins/QVGA/ |
D | hardware.ini | 1 # skin-specific hardware values
|
/development/tools/emulator/skins/HVGA/ |
D | hardware.ini | 1 # skin-specific hardware values
|