Home
last modified time | relevance | path

Searched refs:putString (Results 1 – 25 of 66) sorted by relevance

123

/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
DRecipe.java45 bundle.putString(Constants.RECIPE_FIELD_STEP_TEXT, stepText); in toBundle()
46 bundle.putString(Constants.RECIPE_FIELD_STEP_IMAGE, stepImage); in toBundle()
97 bundle.putString(Constants.RECIPE_FIELD_TITLE, titleText); in toBundle()
98 bundle.putString(Constants.RECIPE_FIELD_SUMMARY, summaryText); in toBundle()
99 bundle.putString(Constants.RECIPE_FIELD_IMAGE, recipeImage); in toBundle()
100 bundle.putString(Constants.RECIPE_FIELD_INGREDIENTS, ingredientsText); in toBundle()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
DAuthenticator.java96 result.putString(AccountManager.KEY_ERROR_MESSAGE, "invalid authTokenType"); in getAuthToken()
108 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in getAuthToken()
109 result.putString(AccountManager.KEY_ACCOUNT_TYPE, Constants.ACCOUNT_TYPE); in getAuthToken()
110 result.putString(AccountManager.KEY_AUTHTOKEN, authToken); in getAuthToken()
/development/samples/Support4Demos/src/com/example/android/supportv4/media/model/
DMusicProvider.java278 .putString(MediaMetadataCompat.METADATA_KEY_MEDIA_ID, id) in buildFromJSON()
279 .putString(CUSTOM_METADATA_TRACK_SOURCE, source) in buildFromJSON()
280 .putString(MediaMetadataCompat.METADATA_KEY_ALBUM, album) in buildFromJSON()
281 .putString(MediaMetadataCompat.METADATA_KEY_ARTIST, artist) in buildFromJSON()
283 .putString(MediaMetadataCompat.METADATA_KEY_GENRE, genre) in buildFromJSON()
284 .putString(MediaMetadataCompat.METADATA_KEY_ALBUM_ART_URI, iconUrl) in buildFromJSON()
285 .putString(MediaMetadataCompat.METADATA_KEY_TITLE, title) in buildFromJSON()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/model/
DMusicProvider.java279 .putString(MediaMetadata.METADATA_KEY_MEDIA_ID, id) in buildFromJSON()
280 .putString(CUSTOM_METADATA_TRACK_SOURCE, source) in buildFromJSON()
281 .putString(MediaMetadata.METADATA_KEY_ALBUM, album) in buildFromJSON()
282 .putString(MediaMetadata.METADATA_KEY_ARTIST, artist) in buildFromJSON()
284 .putString(MediaMetadata.METADATA_KEY_GENRE, genre) in buildFromJSON()
285 .putString(MediaMetadata.METADATA_KEY_ALBUM_ART_URI, iconUrl) in buildFromJSON()
286 .putString(MediaMetadata.METADATA_KEY_TITLE, title) in buildFromJSON()
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DAppRestrictionEnforcerFragment.java329 mCurrentRestrictions.putString(RESTRICTION_KEY_MESSAGE, message); in updateMessage()
343 mCurrentRestrictions.putString(RESTRICTION_KEY_RANK, selectedRank); in updateRank()
370 profile.putString(RESTRICTION_KEY_PROFILE_NAME, name); in updateProfile()
409 bundle.putString(RESTRICTION_KEY_ITEM_KEY, key); in convertToBundles()
410 bundle.putString(RESTRICTION_KEY_ITEM_VALUE, items.get(key)); in convertToBundles()
451 mCurrentRestrictions.putString(RESTRICTION_KEY_MESSAGE, message); in saveMessage()
453 editPreferences(activity).putString(RESTRICTION_KEY_MESSAGE, message).apply(); in saveMessage()
475 mCurrentRestrictions.putString(RESTRICTION_KEY_RANK, rank); in saveRank()
477 editPreferences(activity).putString(RESTRICTION_KEY_RANK, rank).apply(); in saveRank()
509 editPreferences(activity).putString(RESTRICTION_KEY_APPROVALS, in saveApprovals()
[all …]
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/
DBasicManagedProfileFragment.java251 settings.putString("EditBookmarksEnabled", "false"); in setChromeRestrictions()
252 settings.putString("IncognitoModeAvailability", "1"); in setChromeRestrictions()
253 settings.putString("ManagedBookmarks", in setChromeRestrictions()
256 settings.putString("DefaultSearchProviderEnabled", "true"); in setChromeRestrictions()
257 settings.putString("DefaultSearchProviderName", "\"LMGTFY\""); in setChromeRestrictions()
258 settings.putString("DefaultSearchProviderSearchURL", in setChromeRestrictions()
260 settings.putString("URLBlacklist", "[\"example.com\", \"example.org\"]"); in setChromeRestrictions()
/development/samples/Support7Demos/src/com/example/android/supportv7/media/
DPlayer.java112 bob.putString(MediaMetadataCompat.METADATA_KEY_DISPLAY_TITLE, getDescription()); in updateMetadata()
113 bob.putString(MediaMetadataCompat.METADATA_KEY_DISPLAY_SUBTITLE, "Subtitle of the thing"); in updateMetadata()
114 bob.putString(MediaMetadataCompat.METADATA_KEY_DISPLAY_DESCRIPTION, in updateMetadata()
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
DNoteEdit.java63 bundle.putString(NotesDbAdapter.KEY_TITLE, mTitleText.getText().toString()); in onCreate()
64 bundle.putString(NotesDbAdapter.KEY_BODY, mBodyText.getText().toString()); in onCreate()
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/
DNoteEdit.java63 bundle.putString(NotesDbAdapter.KEY_TITLE, mTitleText.getText().toString()); in onCreate()
64 bundle.putString(NotesDbAdapter.KEY_BODY, mBodyText.getText().toString()); in onCreate()
/development/samples/browseable/SkeletonWearableApp/src/com.example.android.google.wearable.app/
DGridExampleActivity.java108 args.putString(CardFragment.KEY_TITLE, "Row:" + rowNum); in newInstance()
109 args.putString(CardFragment.KEY_TEXT, "Col:" + colNum); in newInstance()
/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/
DAccountStorage.java43 prefs.edit().putString(PREF_ACCOUNT_NUMBER, s).commit(); in SetAccount()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyInstrumentationEvent.java46 args.putString("class", mTestCaseName); in injectEvent()
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
DMessageLogger.java43 .putString(LOG_KEY, prefs.getString(LOG_KEY, "") + LINE_BREAKS + message) in logMessage()
/development/apps/SdkSetup/src/com/android/sdksetup/
DDefaultActivity.java47 Settings.Secure.putString(getContentResolver(), Settings.Secure.LOCATION_PROVIDERS_ALLOWED, in onCreate()
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DMessageDialogFragment.java40 args.putString(ARG_MESSAGE_STRING, message); in newInstance()
/development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/
DSynchronizedNotificationsFragment.java126 putDataMapRequest.getDataMap().putString(Constants.KEY_CONTENT, content); in buildWearableOnlyNotification()
127 putDataMapRequest.getDataMap().putString(Constants.KEY_TITLE, title); in buildWearableOnlyNotification()
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
DBluetoothChatService.java202 bundle.putString(Constants.DEVICE_NAME, device.getName()); in connected()
262 bundle.putString(Constants.TOAST, "Unable to connect device"); in connectionFailed()
277 bundle.putString(Constants.TOAST, "Device connection was lost"); in connectionLost()
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DBluetoothChatService.java178 bundle.putString(BluetoothChat.DEVICE_NAME, device.getName()); in connected()
237 bundle.putString(BluetoothChat.TOAST, "Unable to connect device"); in connectionFailed()
252 bundle.putString(BluetoothChat.TOAST, "Device connection was lost"); in connectionLost()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DRedirectGetter.java78 editor.putString("text", mText.getText().toString());
DPersistentState.java121 editor.putString("text", mSaved.getText().toString()); in onPause()
/development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/
DMainActivity.java68 bundle.putString(QUERY_KEY, query); in handleIntent()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/ui/
DDialogHelperImpl.java89 bundle.putString(KEY_TITLE, title); in showErrorMessageDialog()
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/
DCalendarQueryService.java259 data.putString(DATA_ITEM_URI, putDataMapRequest.getUri().toString()); in toPutDataMapRequest()
262 data.putString(TITLE, title); in toPutDataMapRequest()
266 data.putString(DESCRIPTION, description); in toPutDataMapRequest()
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/settings/
DSettingsExampleFragment.java58 args.putString("root", root); in buildPreferenceFragment()
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/
DUtilityService.java455 attractionData.putString(Constants.EXTRA_TITLE, attraction.name); in sendDataToWearable()
456 attractionData.putString(Constants.EXTRA_DESCRIPTION, attraction.description); in sendDataToWearable()
461 attractionData.putString(Constants.EXTRA_DISTANCE, distance); in sendDataToWearable()
462 attractionData.putString(Constants.EXTRA_CITY, attraction.city); in sendDataToWearable()

123