Home
last modified time | relevance | path

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

/developers/samples/android/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/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 …]
/developers/samples/android/ui/views/SlidingTabs/SlidingTabsColors/Application/src/main/java/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()
/developers/build/prebuilts/gradle/SlidingTabsColors/Application/src/main/java/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()
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/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
/developers/samples/android/common/src/java/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
/developers/build/prebuilts/gradle/BasicContactables/Application/src/main/java/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()
/developers/samples/android/content/contacts/BasicContactables/Application/src/main/java/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()
/developers/build/prebuilts/gradle/BluetoothChat/Application/src/main/java/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()
/developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/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()
/developers/samples/android/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/quiz/
DDeleteQuestionService.java84 public void onConnected(Bundle bundle) { in onConnected() argument
/developers/build/prebuilts/gradle/SynchronizedNotifications/Application/src/main/java/com/example/android/synchronizednotifications/
DDismissListener.java102 public void onConnected(Bundle bundle) { in onConnected() argument
DSynchronizedNotificationsFragment.java178 public void onConnected(Bundle bundle) { in onConnected() argument
/developers/samples/android/wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/synchronizednotifications/
DDismissListener.java102 public void onConnected(Bundle bundle) { in onConnected() argument
DSynchronizedNotificationsFragment.java178 public void onConnected(Bundle bundle) { in onConnected() argument
/developers/samples/android/wearable/wear/DelayedConfirmation/Application/src/main/java/com/example/android/delayedconfirmation/
DMainActivity.java74 public void onConnected(Bundle bundle) { in onConnected() argument
/developers/samples/android/wearable/wear/SpeedTracker/Application/src/main/java/com/example/android/wearable/speedtracker/db/
DUpdateService.java103 public void onConnected(Bundle bundle) { in onConnected() argument
/developers/samples/android/wearable/wear/SynchronizedNotifications/Wearable/src/main/java/com/example/android/synchronizednotifications/
DNotificationUpdateService.java139 public void onConnected(Bundle bundle) { in onConnected() argument
/developers/build/prebuilts/gradle/SynchronizedNotifications/Wearable/src/main/java/com/example/android/synchronizednotifications/
DNotificationUpdateService.java139 public void onConnected(Bundle bundle) { in onConnected() argument
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/
DEntryListFragment.java212 public Loader<Cursor> onCreateLoader(int i, Bundle bundle) { in onCreateLoader() argument
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/
DEntryListFragment.java212 public Loader<Cursor> onCreateLoader(int i, Bundle bundle) { in onCreateLoader() argument
/developers/samples/android/wearable/wear/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/
DWearableMainActivity.java207 public void onConnected(Bundle bundle) { in onConnected() argument