Home
last modified time | relevance | path

Searched refs:bundle (Results 1 – 25 of 38) 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/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.java203 Bundle bundle = new Bundle(); in connected() local
204 bundle.putString(Constants.DEVICE_NAME, device.getName()); in connected()
205 msg.setData(bundle); in connected()
265 Bundle bundle = new Bundle(); in connectionFailed() local
266 bundle.putString(Constants.TOAST, "Unable to connect device"); in connectionFailed()
267 msg.setData(bundle); in connectionFailed()
284 Bundle bundle = new Bundle(); in connectionLost() local
285 bundle.putString(Constants.TOAST, "Device connection was lost"); in connectionLost()
286 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/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DAppRestrictionEnforcerFragment.java225 Bundle bundle = (Bundle) parcelable; in onItemAdded() local
226 items.put(bundle.getString(RESTRICTION_KEY_ITEM_KEY), in onItemAdded()
227 bundle.getString(RESTRICTION_KEY_ITEM_VALUE)); in onItemAdded()
349 Bundle bundle = new Bundle(); in convertToBundles() local
350 bundle.putString(RESTRICTION_KEY_ITEM_KEY, key); in convertToBundles()
351 bundle.putString(RESTRICTION_KEY_ITEM_VALUE, items.get(key)); in convertToBundles()
352 bundles[i++] = bundle; in convertToBundles()
362 Bundle bundle = (Bundle) parcelable; in removeItem() local
363 if (!key.equals(bundle.getString(RESTRICTION_KEY_ITEM_KEY))) { in removeItem()
364 items.put(bundle.getString(RESTRICTION_KEY_ITEM_KEY), in removeItem()
[all …]
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
DDetailFragment.java60 Bundle bundle = new Bundle(); in createInstance() local
61 bundle.putString(EXTRA_ATTRACTION, attractionName); in createInstance()
62 detailFragment.setArguments(bundle); in createInstance()
/development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/
DFitDistanceWatchFaceConfigActivity.java116 protected void onSaveInstanceState(Bundle bundle) { in onSaveInstanceState() argument
117 super.onSaveInstanceState(bundle); in onSaveInstanceState()
118 bundle.putBoolean(EXTRA_AUTH_STATE_PENDING, mResolvingAuthorization); in onSaveInstanceState()
/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.java85 public void onConnected(Bundle bundle) { in onConnected() argument
/development/samples/browseable/FindMyPhone/Wearable/src/com.example.android.wearable.findphone/
DDisconnectListenerService.java129 public void onConnected(Bundle bundle) { in onConnected() argument
/development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/
DDismissListener.java101 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/tools/repo_diff/
DREADME.md22 repo sync --current-branch --no-clone-bundle --no-tags --jobs=8
30 repo sync --current-branch --no-clone-bundle --no-tags --jobs=8
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/db/
DUpdateService.java103 public void onConnected(Bundle bundle) { in onConnected() argument
/development/samples/browseable/SynchronizedNotifications/Wearable/src/com.example.android.wearable.synchronizednotifications/
DNotificationUpdateService.java138 public void onConnected(Bundle bundle) { in onConnected() argument

12