Home
last modified time | relevance | path

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

12

/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/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/model/
DMusicProvider.java249 .putString(MediaMetadata.METADATA_KEY_MEDIA_ID, id) in buildFromJSON()
250 .putString(CUSTOM_METADATA_TRACK_SOURCE, source) in buildFromJSON()
251 .putString(MediaMetadata.METADATA_KEY_ALBUM, album) in buildFromJSON()
252 .putString(MediaMetadata.METADATA_KEY_ARTIST, artist) in buildFromJSON()
254 .putString(MediaMetadata.METADATA_KEY_GENRE, genre) in buildFromJSON()
255 .putString(MediaMetadata.METADATA_KEY_ALBUM_ART_URI, iconUrl) in buildFromJSON()
256 .putString(MediaMetadata.METADATA_KEY_TITLE, title) in buildFromJSON()
/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/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.java105 bob.putString(MediaMetadataCompat.METADATA_KEY_DISPLAY_TITLE, getDescription()); in updateMetadata()
106 bob.putString(MediaMetadataCompat.METADATA_KEY_DISPLAY_SUBTITLE, "Subtitle of the thing"); in updateMetadata()
107 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/Wearable/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.java42 .putString(LOG_KEY, prefs.getString(LOG_KEY, "") + LINE_BREAKS + message) in logMessage()
/development/apps/SdkSetup/src/com/android/sdksetup/
DDefaultActivity.java45 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/BasicContactables/src/com.example.android.basiccontactables/
DMainActivity.java68 bundle.putString(QUERY_KEY, query); in handleIntent()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPersistentState.java121 editor.putString("text", mSaved.getText().toString()); in onPause()
DRedirectGetter.java78 editor.putString("text", mText.getText().toString());
/development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/
DSynchronizedNotificationsFragment.java127 putDataMapRequest.getDataMap().putString(Constants.KEY_CONTENT, content); in buildWearableOnlyNotification()
128 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/VoicemailProviderDemo/src/com/example/android/voicemail/common/ui/
DDialogHelperImpl.java89 bundle.putString(KEY_TITLE, title); in showErrorMessageDialog()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/
DImageDetailFragment.java51 args.putString(IMAGE_DATA_EXTRA, imageUrl); in newInstance()
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/
DCalendarQueryService.java254 data.putString(DATA_ITEM_URI, putDataMapRequest.getUri().toString()); in toPutDataMapRequest()
257 data.putString(TITLE, title); in toPutDataMapRequest()
261 data.putString(DESCRIPTION, description); in toPutDataMapRequest()
/development/samples/training/threadsample/src/com/example/android/threadsample/
DPhotoFragment.java177 bundle.putString(PHOTO_URL_KEY, mURLString); in onSaveInstanceState()
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
DWeatherWidgetService.java92 extras.putString(WeatherWidgetProvider.EXTRA_DAY_ID, day); in getViewAt()
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
DMusicService.java470 .putString(MediaMetadataRetriever.METADATA_KEY_ARTIST, playingItem.getArtist()) in playNextSong()
471 .putString(MediaMetadataRetriever.METADATA_KEY_ALBUM, playingItem.getAlbum()) in playNextSong()
472 .putString(MediaMetadataRetriever.METADATA_KEY_TITLE, playingItem.getTitle()) in playNextSong()

12