Home
last modified time | relevance | path

Searched refs:values (Results 1 – 25 of 119) sorted by relevance

12345

/development/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/
DProvisioningValuesLoader.java60 HashMap<String, String> values = new HashMap<>(); in loadInBackground() local
61 loadFromDisk(values); in loadInBackground()
62 gatherAdminExtras(values); in loadInBackground()
63 loadSystemValues(values); in loadInBackground()
64 return values; in loadInBackground()
68 public void deliverResult(Map<String, String> values) { in deliverResult() argument
72 mValues = values; in deliverResult()
73 super.deliverResult(values); in deliverResult()
98 private void loadFromDisk(HashMap<String, String> values) { in loadFromDisk() argument
106 loadFromFile(values, file); in loadFromDisk()
[all …]
DNfcProvisioningFragment.java181 public void onLoadFinished(Loader<Map<String, String>> loader, Map<String, String> values) { in onLoadFinished() argument
183 mProvisioningValues = values; in onLoadFinished()
184 mEditPackageName.setText(values.get( in onLoadFinished()
186 mEditLocale.setText(values.get(DevicePolicyManager.EXTRA_PROVISIONING_LOCALE)); in onLoadFinished()
187 mEditTimezone.setText(values.get(DevicePolicyManager.EXTRA_PROVISIONING_TIME_ZONE)); in onLoadFinished()
188 mEditWifiSsid.setText(values.get(DevicePolicyManager.EXTRA_PROVISIONING_WIFI_SSID)); in onLoadFinished()
189 mEditWifiSecurityType.setText(values.get( in onLoadFinished()
/development/samples/browseable/CustomTransition/src/com.example.android.customtransition/
DChangeColor.java44 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/
Dfindunusedtranslations28 $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/
DNotePadProvider.java474 ContentValues values; in insert() local
478 values = new ContentValues(initialValues); in insert()
482 values = new ContentValues(); in insert()
489 if (values.containsKey(NotePad.Notes.COLUMN_NAME_CREATE_DATE) == false) { in insert()
490 values.put(NotePad.Notes.COLUMN_NAME_CREATE_DATE, now); in insert()
495 if (values.containsKey(NotePad.Notes.COLUMN_NAME_MODIFICATION_DATE) == false) { in insert()
496 values.put(NotePad.Notes.COLUMN_NAME_MODIFICATION_DATE, now); in insert()
500 if (values.containsKey(NotePad.Notes.COLUMN_NAME_TITLE) == false) { in insert()
502 values.put(NotePad.Notes.COLUMN_NAME_TITLE, r.getString(android.R.string.untitled)); in insert()
506 if (values.containsKey(NotePad.Notes.COLUMN_NAME_NOTE) == false) { in insert()
[all …]
DTitleEditor.java171 ContentValues values = new ContentValues(); in saveTitle() local
174 values.put(NotePad.Notes.COLUMN_NAME_TITLE, newTitle); in saveTitle()
186 values, in saveTitle()
DNoteEditor.java467 ContentValues values = new ContentValues(); in updateNote() local
468 values.put(NotePad.Notes.COLUMN_NAME_MODIFICATION_DATE, System.currentTimeMillis()); in updateNote()
493 values.put(NotePad.Notes.COLUMN_NAME_TITLE, title); in updateNote()
496 values.put(NotePad.Notes.COLUMN_NAME_TITLE, title); in updateNote()
500 values.put(NotePad.Notes.COLUMN_NAME_NOTE, text); in updateNote()
515 values, // The map of column names and new values to apply to them. in updateNote()
529 ContentValues values = new ContentValues(); in cancelNote() local
530 values.put(NotePad.Notes.COLUMN_NAME_NOTE, mOriginalContent); in cancelNote()
531 getContentResolver().update(mUri, values, null, null); in cancelNote()
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/db/
DLocationDbHelper.java91 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/tools/idegen/src/com/android/idegen/
DMakeFileParser.java48 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/
DLoaderThrottle.java275 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/
DExpandingCells.java48 ExpandableListItem[] values = new ExpandableListItem[] { in onCreate() local
60 ExpandableListItem obj = values[i % values.length]; in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DCompass.java41 … "sensorChanged (" + event.values[0] + ", " + event.values[1] + ", " + event.values[2] + ")");
42 mValues = event.values;
DSensorTest.java89 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/
DAccelerometerPlayActivity.java392 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/
DContactManager.java441 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/NetworkConnect/src/com.example.android.networkconnect/
DNetworkFragment.java185 protected void onProgressUpdate(Integer... values) { in onProgressUpdate() argument
186 super.onProgressUpdate(values); in onProgressUpdate()
187 if (values.length >= 2) { in onProgressUpdate()
188 mCallback.onProgressUpdate(values[0], values[1]); in onProgressUpdate()
/development/tools/emulator/skins/WQVGA400/
Dhardware.ini1 # skin-specific hardware values
/development/tools/emulator/skins/WQVGA432/
Dhardware.ini1 # skin-specific hardware values
/development/tools/emulator/skins/WVGA854/
Dhardware.ini1 # skin-specific hardware values
/development/tools/emulator/skins/QVGA/
Dhardware.ini1 # skin-specific hardware values
/development/tools/emulator/skins/HVGA/
Dhardware.ini1 # skin-specific hardware values
/development/tools/emulator/skins/WVGA800/
Dhardware.ini1 # skin-specific hardware values
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/
DFeedProvider.java122 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/ApiDemos/src/com/example/android/apis/os/
DMmsFileProvider.java51 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/ApiDemos/src/com/example/android/mmslib/pdu/
DEncodedStringValue.java231 String[] values = src.split(";"); in extract() local
234 for (int i = 0; i < values.length; i++) { in extract()
235 if (values[i].length() > 0) { in extract()
236 list.add(new EncodedStringValue(values[i])); in extract()

12345