Home
last modified time | relevance | path

Searched refs:bundle (Results 1 – 25 of 36) sorted by relevance

12

/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
DRecipe.java44 Bundle bundle = new Bundle(); in toBundle() local
45 bundle.putString(Constants.RECIPE_FIELD_STEP_TEXT, stepText); in toBundle()
46 bundle.putString(Constants.RECIPE_FIELD_STEP_IMAGE, stepImage); in toBundle()
47 return bundle; in toBundle()
50 public static RecipeStep fromBundle(Bundle bundle) { in fromBundle() argument
52 recipeStep.stepText = bundle.getString(Constants.RECIPE_FIELD_STEP_TEXT); in fromBundle()
53 recipeStep.stepImage = bundle.getString(Constants.RECIPE_FIELD_STEP_IMAGE); in fromBundle()
96 Bundle bundle = new Bundle(); in toBundle() local
97 bundle.putString(Constants.RECIPE_FIELD_TITLE, titleText); in toBundle()
98 bundle.putString(Constants.RECIPE_FIELD_SUMMARY, summaryText); in toBundle()
[all …]
/development/samples/training/threadsample/src/com/example/android/threadsample/
DPhotoFragment.java94 public void onCreate(Bundle bundle) { in onCreate() argument
95 super.onCreate(bundle); in onCreate()
102 public View onCreateView(LayoutInflater inflater, ViewGroup viewGroup, Bundle bundle) { in onCreateView() argument
103 super.onCreateView(inflater, viewGroup, bundle); in onCreateView()
121 if (bundle != null) { in onCreateView()
122 mURLString = bundle.getString(PHOTO_URL_KEY); in onCreateView()
172 public void onSaveInstanceState(Bundle bundle) { in onSaveInstanceState() argument
174 super.onSaveInstanceState(bundle); in onSaveInstanceState()
177 bundle.putString(PHOTO_URL_KEY, mURLString); in onSaveInstanceState()
DPhotoThumbnailFragment.java96 public Loader<Cursor> onCreateLoader(int loaderID, Bundle bundle) in onCreateLoader() argument
124 public View onCreateView(LayoutInflater inflater, ViewGroup viewGroup, Bundle bundle) { in onCreateView() argument
127 super.onCreateView(inflater, viewGroup, bundle); in onCreateView()
199 if (bundle == null) { in onCreateView()
207 } else if (bundle.getBoolean(STATE_IS_HIDDEN, false)) { in onCreateView()
329 public void onSaveInstanceState(Bundle bundle) { in onSaveInstanceState() argument
332 bundle.putBoolean(STATE_IS_HIDDEN, isHidden()); in onSaveInstanceState()
335 super.onSaveInstanceState(bundle); in onSaveInstanceState()
/development/apps/BluetoothDebug/src/com/android/bluetoothdebug/
DDebugReceiver.java49 Bundle bundle = intent.getExtras(); in onReceive() local
50 if (bundle == null) return; in onReceive()
51 for (String extra : bundle.keySet()) { in onReceive()
52 Log.d(TAG, "\t" + shorten(extra) + " = " + bundle.get(extra)); in onReceive()
/development/samples/browseable/SlidingTabsColors/src/com.example.android.slidingtabscolors/
DContentFragment.java42 Bundle bundle = new Bundle(); in newInstance() local
43 bundle.putCharSequence(KEY_TITLE, title); in newInstance()
44 bundle.putInt(KEY_INDICATOR_COLOR, indicatorColor); in newInstance()
45 bundle.putInt(KEY_DIVIDER_COLOR, dividerColor); in newInstance()
48 fragment.setArguments(bundle); in newInstance()
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
DNoteEdit.java61 Bundle bundle = new Bundle(); in onCreate()
63 bundle.putString(NotesDbAdapter.KEY_TITLE, mTitleText.getText().toString()); in onCreate()
64 bundle.putString(NotesDbAdapter.KEY_BODY, mBodyText.getText().toString()); in onCreate()
66 bundle.putLong(NotesDbAdapter.KEY_ROWID, mRowId); in onCreate()
70 mIntent.putExtras(bundle); in onCreate()
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/
DNoteEdit.java61 Bundle bundle = new Bundle(); in onCreate()
63 bundle.putString(NotesDbAdapter.KEY_TITLE, mTitleText.getText().toString()); in onCreate()
64 bundle.putString(NotesDbAdapter.KEY_BODY, mBodyText.getText().toString()); in onCreate()
66 bundle.putLong(NotesDbAdapter.KEY_ROWID, mRowId); in onCreate()
70 mIntent.putExtras(bundle); in onCreate()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/ui/
DDialogHelperImpl.java88 Bundle bundle = new Bundle(); in showErrorMessageDialog() local
89 bundle.putString(KEY_TITLE, title); in showErrorMessageDialog()
90 bundle.putSerializable(KEY_EXCEPTION, exception); in showErrorMessageDialog()
91 mActivity.showDialog(DIALOG_ID_EXCEPTION, bundle); in showErrorMessageDialog()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
DAuthenticator.java69 final Bundle bundle = new Bundle(); in addAccount() local
70 bundle.putParcelable(AccountManager.KEY_INTENT, intent); in addAccount()
71 return bundle; in addAccount()
122 final Bundle bundle = new Bundle(); in getAuthToken() local
123 bundle.putParcelable(AccountManager.KEY_INTENT, intent); in getAuthToken()
124 return bundle; in getAuthToken()
/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/
DPictureDetailsActivity.java79 Bundle bundle = getIntent().getExtras(); in onCreate() local
81 bundle.getInt(PACKAGE_NAME + ".resourceId")); in onCreate()
82 String description = bundle.getString(PACKAGE_NAME + ".description"); in onCreate()
83 final int thumbnailTop = bundle.getInt(PACKAGE_NAME + ".top"); in onCreate()
84 final int thumbnailLeft = bundle.getInt(PACKAGE_NAME + ".left"); in onCreate()
85 final int thumbnailWidth = bundle.getInt(PACKAGE_NAME + ".width"); in onCreate()
86 final int thumbnailHeight = bundle.getInt(PACKAGE_NAME + ".height"); in onCreate()
87 mOriginalOrientation = bundle.getInt(PACKAGE_NAME + ".orientation"); in onCreate()
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.common/accounts/
DGenericAccountService.java88 String s, String s2, String[] strings, Bundle bundle) in addAccount() argument
95 Account account, Bundle bundle) in confirmCredentials() argument
102 Account account, String s, Bundle bundle) in getAuthToken() argument
114 Account account, String s, Bundle bundle) in updateCredentials() argument
/development/samples/VoiceRecognitionService/src/com/example/android/voicerecognitionservice/
DVoiceRecognitionService.java67 Bundle bundle = new Bundle(); in onStartListening() local
68 bundle.putStringArrayList(SpeechRecognizer.RESULTS_RECOGNITION, results); in onStartListening()
71 listener.results(bundle); in onStartListening()
/development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/
DMainActivity.java67 Bundle bundle = new Bundle(); in handleIntent() local
68 bundle.putString(QUERY_KEY, query); in handleIntent()
73 getLoaderManager().restartLoader(CONTACT_QUERY_LOADER, bundle, loaderCallbacks); in handleIntent()
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
DBluetoothChatService.java201 Bundle bundle = new Bundle(); in connected() local
202 bundle.putString(Constants.DEVICE_NAME, device.getName()); in connected()
203 msg.setData(bundle); in connected()
261 Bundle bundle = new Bundle(); in connectionFailed() local
262 bundle.putString(Constants.TOAST, "Unable to connect device"); in connectionFailed()
263 msg.setData(bundle); in connectionFailed()
276 Bundle bundle = new Bundle(); in connectionLost() local
277 bundle.putString(Constants.TOAST, "Device connection was lost"); in connectionLost()
278 msg.setData(bundle); in connectionLost()
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DBluetoothChatService.java177 Bundle bundle = new Bundle(); in connected() local
178 bundle.putString(BluetoothChat.DEVICE_NAME, device.getName()); in connected()
179 msg.setData(bundle); in connected()
236 Bundle bundle = new Bundle(); in connectionFailed() local
237 bundle.putString(BluetoothChat.TOAST, "Unable to connect device"); in connectionFailed()
238 msg.setData(bundle); in connectionFailed()
251 Bundle bundle = new Bundle(); in connectionLost() local
252 bundle.putString(BluetoothChat.TOAST, "Device connection was lost"); in connectionLost()
253 msg.setData(bundle); in connectionLost()
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DBrowseFragment.java115 Bundle bundle; in onItemClicked() local
118 bundle = ActivityOptionsCompat.makeSceneTransitionAnimation(getActivity()) in onItemClicked()
122 bundle = ActivityOptionsCompat.makeSceneTransitionAnimation(getActivity()) in onItemClicked()
127 bundle = ActivityOptionsCompat.makeSceneTransitionAnimation( in onItemClicked()
132 getActivity().startActivity(intent, bundle); in onItemClicked()
DSearchFragment.java95 Bundle bundle = ActivityOptionsCompat.makeSceneTransitionAnimation( in onItemClicked() local
99 getActivity().startActivity(intent, bundle); in onItemClicked()
DRowsFragment.java117 Bundle bundle = ActivityOptionsCompat.makeSceneTransitionAnimation( in onItemClicked() local
121 getActivity().startActivity(intent, bundle); in onItemClicked()
DDetailsFragment.java108 Bundle bundle = ActivityOptionsCompat.makeSceneTransitionAnimation( in onCreate()
112 getActivity().startActivity(intent, bundle); in onCreate()
/development/samples/Support4Demos/src/com/example/android/supportv4/widget/
DSwipeRefreshLayoutActivity.java94 public void onCreate(Bundle bundle) { in onCreate() argument
95 super.onCreate(bundle); in onCreate()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/
DAddVoicemailActivity.java150 protected Dialog onCreateDialog(int id, Bundle bundle) { in onCreateDialog() argument
151 return mDialogHelper.handleOnCreateDialog(id, bundle); in onCreateDialog()
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/
DGameActivity.java52 public void onCreate(Bundle bundle) { in onCreate() argument
53 super.onCreate(bundle); in onCreate()
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/
DDeleteQuestionService.java84 public void onConnected(Bundle bundle) { in onConnected() argument
/development/samples/browseable/DelayedConfirmation/Application/src/com.example.android.wearable.delayedconfirmation/
DMainActivity.java74 public void onConnected(Bundle bundle) { in onConnected() argument
/development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/
DDismissListener.java102 public void onConnected(Bundle bundle) { in onConnected() argument

12