/developers/samples/android/admin/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/ |
D | ProvisioningValuesLoader.java | 60 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 …]
|
D | NfcProvisioningFragment.java | 181 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()
|
/developers/build/prebuilts/gradle/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/ |
D | ProvisioningValuesLoader.java | 60 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 …]
|
D | NfcProvisioningFragment.java | 181 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()
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/simple/ |
D | SimpleTvInputSetupActivity.java | 75 ContentValues values = new ContentValues(); in registerChannels() local 76 values.put(TvContract.Channels.COLUMN_INPUT_ID, mInputId); in registerChannels() 79 values.put(TvContract.Channels.COLUMN_DISPLAY_NUMBER, CHANNEL_1_NUMBER); in registerChannels() 80 values.put(TvContract.Channels.COLUMN_DISPLAY_NAME, CHANNEL_1_NAME); in registerChannels() 81 values.put(TvContract.Channels.COLUMN_ORIGINAL_NETWORK_ID, CHANNEL_1_ORIG_NETWORK_ID); in registerChannels() 82 values.put(TvContract.Channels.COLUMN_TRANSPORT_STREAM_ID, CHANNEL_1_TRANSPORT_STREAM_ID); in registerChannels() 83 values.put(TvContract.Channels.COLUMN_SERVICE_ID, CHANNEL_1_SERVICE_ID); in registerChannels() 84 getContentResolver().insert(TvContract.Channels.CONTENT_URI, values); in registerChannels() 87 values.put(TvContract.Channels.COLUMN_DISPLAY_NUMBER, CHANNEL_2_NUMBER); in registerChannels() 88 values.put(TvContract.Channels.COLUMN_DISPLAY_NAME, CHANNEL_2_NAME); in registerChannels() [all …]
|
/developers/build/prebuilts/gradle/CustomTransition/Application/src/main/java/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()
|
/developers/samples/android/ui/transition/CustomTransition/Application/src/main/java/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()
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/ |
D | TvContractUtils.java | 91 ContentValues values = new ContentValues(); in updateChannels() local 92 values.put(Channels.COLUMN_INPUT_ID, inputId); in updateChannels() 95 values.put(Channels.COLUMN_DISPLAY_NUMBER, channel.number); in updateChannels() 96 values.put(Channels.COLUMN_DISPLAY_NAME, channel.name); in updateChannels() 97 values.put(Channels.COLUMN_ORIGINAL_NETWORK_ID, channel.originalNetworkId); in updateChannels() 98 values.put(Channels.COLUMN_TRANSPORT_STREAM_ID, channel.transportStreamId); in updateChannels() 99 values.put(Channels.COLUMN_SERVICE_ID, channel.serviceId); in updateChannels() 102 values.put(Channels.COLUMN_VIDEO_FORMAT, videoFormat); in updateChannels() 104 values.putNull(Channels.COLUMN_VIDEO_FORMAT); in updateChannels() 109 uri = resolver.insert(TvContract.Channels.CONTENT_URI, values); in updateChannels() [all …]
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/syncadapter/ |
D | SyncAdapter.java | 99 ContentValues values = new ContentValues(); in insertPrograms() local 100 values.put(TvContract.Programs.COLUMN_CHANNEL_ID, ContentUris.parseId(channelUri)); in insertPrograms() 101 values.put(TvContract.Programs.COLUMN_TITLE, program.title); in insertPrograms() 102 values.put(TvContract.Programs.COLUMN_SHORT_DESCRIPTION, program.description); in insertPrograms() 103 values.put(TvContract.Programs.COLUMN_CONTENT_RATING, in insertPrograms() 106 values.put(TvContract.Programs.COLUMN_POSTER_ART_URI, program.posterArtUri); in insertPrograms() 111 values.put(TvContract.Programs.COLUMN_INTERNAL_PROVIDER_DATA, in insertPrograms() 114 programs.add(values); in insertPrograms()
|
/developers/samples/android/wearable/wear/SpeedTracker/Application/src/main/java/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()
|
/developers/build/prebuilts/gradle/SpeedTracker/Application/src/main/java/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()
|
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/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()
|
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/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()
|
/developers/samples/android/content/WidgetData/Application/src/main/java/com/example/android/widgetdata/ |
D | WeatherDataProvider.java | 104 public Uri insert(Uri uri, ContentValues values) { in insert() argument 116 public synchronized int update(Uri uri, ContentValues values, String selection, in update() argument 127 data.degrees = values.getAsInteger(Columns.TEMPERATURE); in update()
|
/developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/Application/src/main/java/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
|
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/Application/src/main/java/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
|
/developers/build/prebuilts/gradle/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/ |
D | CustomRestrictionsFragment.java | 159 final String[] values = mRestrictionsBundle.getStringArray( in onActivityCreated() local 161 if (values != null) { in onActivityCreated() 162 for (String value : values) { in onActivityCreated()
|
/developers/samples/android/content/multiuser/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/ |
D | CustomRestrictionsFragment.java | 159 final String[] values = mRestrictionsBundle.getStringArray( in onActivityCreated() local 161 if (values != null) { in onActivityCreated() 162 for (String value : values) { in onActivityCreated()
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/data/ |
D | VideoContentProvider.java | 129 public Uri insert(Uri uri, ContentValues values) { in insert() argument 139 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
|
/developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/common/midi/synth/ |
D | SynthEngine.java | 185 Iterator<SynthVoice> iterator = mVoices.values().iterator(); in generateBuffer() 205 Iterator<SynthVoice> iterator = mVoices.values().iterator(); in allNotesOff() 250 Iterator<SynthVoice> iterator = mVoices.values().iterator(); in pitchBend()
|
/developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/cardstream/ |
D | CardStreamFragment.java | 225 return mVisibleCards.values(); in getVisibleCards() 256 final Card[] visible = cloneCards(mVisibleCards.values()); in dumpState() 257 final Card[] hidden = cloneCards(mHiddenCards.values()); in dumpState()
|
/developers/build/prebuilts/gradle/MidiSynth/Application/src/main/java/com/example/android/common/midi/synth/ |
D | SynthEngine.java | 185 Iterator<SynthVoice> iterator = mVoices.values().iterator(); in generateBuffer() 205 Iterator<SynthVoice> iterator = mVoices.values().iterator(); in allNotesOff() 250 Iterator<SynthVoice> iterator = mVoices.values().iterator(); in pitchBend()
|
/developers/samples/android/common/src/java/com/example/android/common/midi/synth/ |
D | SynthEngine.java | 185 Iterator<SynthVoice> iterator = mVoices.values().iterator(); in generateBuffer() 205 Iterator<SynthVoice> iterator = mVoices.values().iterator(); in allNotesOff() 250 Iterator<SynthVoice> iterator = mVoices.values().iterator(); in pitchBend()
|
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
D | AsyncTask.java | 411 protected void onProgressUpdate(Progress... values) { in onProgressUpdate() argument 646 protected final void publishProgress(Progress... values) { in publishProgress() argument 649 new AsyncTaskResult<Progress>(this, values)).sendToTarget(); in publishProgress()
|
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
D | AsyncTask.java | 411 protected void onProgressUpdate(Progress... values) { in onProgressUpdate() argument 646 protected final void publishProgress(Progress... values) { in publishProgress() argument 649 new AsyncTaskResult<Progress>(this, values)).sendToTarget(); in publishProgress()
|