/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
D | FeedbackFragment.java | 70 final Bundle bundle = getActivity().getIntent().getExtras(); in onCreateView() local 71 if (bundle != null) { in onCreateView() 72 restoreState(bundle); in onCreateView() 83 final Bundle bundle = new Bundle(); in onClick() local 84 onSaveInstanceState(bundle); in onClick() 89 researchLogger.setFeedbackDialogBundle(bundle); in onClick() 119 public void onSaveInstanceState(final Bundle bundle) { in onSaveInstanceState() argument 122 bundle.putString(KEY_FEEDBACK_STRING, savedFeedbackString); in onSaveInstanceState() 123 bundle.putBoolean(KEY_INCLUDE_ACCOUNT_NAME, mIncludingAccountNameCheckBox.isChecked()); in onSaveInstanceState() 124 bundle.putBoolean(KEY_HAS_USER_RECORDING, mIncludingUserRecordingCheckBox.isChecked()); in onSaveInstanceState() [all …]
|
/packages/apps/Phone/src/com/android/phone/ |
D | EditFdnContactScreen.java | 284 ContentValues bundle = new ContentValues(3); in addContact() local 285 bundle.put("tag", getNameFromTextField()); in addContact() 286 bundle.put("number", number); in addContact() 287 bundle.put("pin2", mPin2); in addContact() 290 mQueryHandler.startInsert(0, null, uri, bundle); in addContact() 307 ContentValues bundle = new ContentValues(); in updateContact() local 308 bundle.put("tag", mName); in updateContact() 309 bundle.put("number", mNumber); in updateContact() 310 bundle.put("newTag", name); in updateContact() 311 bundle.put("newNumber", number); in updateContact() [all …]
|
D | GsmUmtsCallForwardOptions.java | 94 Bundle bundle = mIcicle.getParcelable(pref.getKey()); in onResume() local 95 pref.setToggled(bundle.getBoolean(KEY_TOGGLE)); in onResume() 97 cf.number = bundle.getString(KEY_NUMBER); in onResume() 98 cf.status = bundle.getInt(KEY_STATUS); in onResume() 113 Bundle bundle = new Bundle(); in onSaveInstanceState() local 114 bundle.putBoolean(KEY_TOGGLE, pref.isToggled()); in onSaveInstanceState() 116 bundle.putString(KEY_NUMBER, pref.callForwardInfo.number); in onSaveInstanceState() 117 bundle.putInt(KEY_STATUS, pref.callForwardInfo.status); in onSaveInstanceState() 119 outState.putParcelable(pref.getKey(), bundle); in onSaveInstanceState() local
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
D | EmailServiceProxy.java | 221 Bundle bundle = new Bundle(); in validate() local 222 bundle.putInt(VALIDATE_BUNDLE_RESULT_CODE, MessagingException.UNSPECIFIED_EXCEPTION); in validate() 223 return bundle; in validate() 225 Bundle bundle = (Bundle) mReturn; in validate() local 226 bundle.setClassLoader(Policy.class.getClassLoader()); in validate() 227 Log.v(TAG, "validate returns " + bundle.getInt(VALIDATE_BUNDLE_RESULT_CODE)); in validate() 228 return bundle; in validate() 256 Bundle bundle = (Bundle) mReturn; in autoDiscover() local 257 bundle.setClassLoader(HostAuth.class.getClassLoader()); in autoDiscover() 258 Log.v(TAG, "autoDiscover returns " + bundle.getInt(AUTO_DISCOVER_BUNDLE_ERROR_CODE)); in autoDiscover() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | DialogManager.java | 68 public void showDialogInView(final View view, final Bundle bundle) { in showDialogInView() argument 70 if (bundle.containsKey(VIEW_ID_KEY)) { in showDialogInView() 76 bundle.putInt(VIEW_ID_KEY, viewId); in showDialogInView() 78 mActivity.showDialog(dialogId, bundle); in showDialogInView() 85 public Dialog onCreateDialog(final int id, final Bundle bundle) { in onCreateDialog() argument 93 if (!bundle.containsKey(VIEW_ID_KEY)) { in onCreateDialog() 96 final int viewId = bundle.getInt(VIEW_ID_KEY); in onCreateDialog() 101 final Dialog dialog = ((DialogShowingView)view).createDialog(bundle); in onCreateDialog() 123 Dialog createDialog(Bundle bundle); in createDialog() argument
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/ |
D | TestAuthenticator.java | 65 final Bundle bundle = new Bundle(); in addAccount() local 73 bundle.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in addAccount() 74 bundle.putString(AccountManager.KEY_ACCOUNT_TYPE, account.type); in addAccount() 75 return bundle; in addAccount() 85 final Bundle bundle = new Bundle(); in getAuthToken() local 86 bundle.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in getAuthToken() 87 bundle.putString(AccountManager.KEY_ACCOUNT_TYPE, account.type); in getAuthToken() 88 bundle.putString(AccountManager.KEY_AUTHTOKEN, account.name); in getAuthToken() 90 return bundle; in getAuthToken()
|
/packages/apps/Settings/src/com/android/settings/ |
D | CredentialStorage.java | 190 Bundle bundle = mInstallBundle; in installIfAvailable() local 193 final int uid = bundle.getInt(Credentials.EXTRA_INSTALL_AS_UID, -1); in installIfAvailable() 195 if (bundle.containsKey(Credentials.EXTRA_USER_PRIVATE_KEY_NAME)) { in installIfAvailable() 196 String key = bundle.getString(Credentials.EXTRA_USER_PRIVATE_KEY_NAME); in installIfAvailable() 197 byte[] value = bundle.getByteArray(Credentials.EXTRA_USER_PRIVATE_KEY_DATA); in installIfAvailable() 205 if (bundle.containsKey(Credentials.EXTRA_USER_CERTIFICATE_NAME)) { in installIfAvailable() 206 String certName = bundle.getString(Credentials.EXTRA_USER_CERTIFICATE_NAME); in installIfAvailable() 207 byte[] certData = bundle.getByteArray(Credentials.EXTRA_USER_CERTIFICATE_DATA); in installIfAvailable() 215 if (bundle.containsKey(Credentials.EXTRA_CA_CERTIFICATES_NAME)) { in installIfAvailable() 216 String caListName = bundle.getString(Credentials.EXTRA_CA_CERTIFICATES_NAME); in installIfAvailable() [all …]
|
/packages/apps/Browser/src/com/android/browser/ |
D | AddBookmarkPage.java | 759 Bundle bundle = mMessage.getData(); in run() local 760 String title = bundle.getString(BrowserContract.Bookmarks.TITLE); in run() 761 String url = bundle.getString(BrowserContract.Bookmarks.URL); in run() 762 boolean invalidateThumbnail = bundle.getBoolean(REMOVE_THUMBNAIL); in run() 764 : (Bitmap) bundle.getParcelable(BrowserContract.Bookmarks.THUMBNAIL); in run() 765 String touchIconUrl = bundle.getString(TOUCH_ICON_URL); in run() 930 Bundle bundle = new Bundle(); in save() local 931 bundle.putString(BrowserContract.Bookmarks.TITLE, title); in save() 932 bundle.putString(BrowserContract.Bookmarks.URL, url); in save() 933 bundle.putParcelable(BrowserContract.Bookmarks.FAVICON, favicon); in save() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
D | SelectCalendarsSyncFragment.java | 92 public SelectCalendarsSyncFragment(Bundle bundle) { in SelectCalendarsSyncFragment() argument 93 mAccount = new Account(bundle.getString(Calendars.ACCOUNT_NAME), in SelectCalendarsSyncFragment() 94 bundle.getString(Calendars.ACCOUNT_TYPE)); in SelectCalendarsSyncFragment() 148 Bundle bundle = getArguments(); in onAttach() local 149 if (bundle != null && bundle.containsKey(Calendars.ACCOUNT_NAME) in onAttach() 150 && bundle.containsKey(Calendars.ACCOUNT_TYPE)) { in onAttach() 151 mAccount = new Account(bundle.getString(Calendars.ACCOUNT_NAME), in onAttach() 152 bundle.getString(Calendars.ACCOUNT_TYPE)); in onAttach()
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
D | CertInstallerMain.java | 65 Bundle bundle = intent.getExtras(); in run() local 73 if (bundle != null && !Credentials.INSTALL_AS_USER_ACTION.equals(action)) { in run() 74 bundle.remove(Credentials.EXTRA_INSTALL_AS_UID); in run() 80 if (bundle == null in run() 81 || bundle.isEmpty() in run() 82 || (bundle.size() == 1 in run() 83 && (bundle.containsKey(KeyChain.EXTRA_NAME) in run() 84 || bundle.containsKey(Credentials.EXTRA_INSTALL_AS_UID)))) { in run()
|
D | CredentialHelper.java | 76 Bundle bundle = intent.getExtras(); in CredentialHelper() local 77 if (bundle == null) { in CredentialHelper() 81 String name = bundle.getString(KeyChain.EXTRA_NAME); in CredentialHelper() 82 bundle.remove(KeyChain.EXTRA_NAME); in CredentialHelper() 87 mUid = bundle.getInt(Credentials.EXTRA_INSTALL_AS_UID, -1); in CredentialHelper() 88 bundle.remove(Credentials.EXTRA_INSTALL_AS_UID); in CredentialHelper() 90 Log.d(TAG, "# extras: " + bundle.size()); in CredentialHelper() 91 for (String key : bundle.keySet()) { in CredentialHelper() 92 byte[] bytes = bundle.getByteArray(key); in CredentialHelper()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | StateManager.java | 277 Bundle bundle = (Bundle) parcelable; in restoreFromState() local 279 (Class<? extends ActivityState>) bundle.getSerializable(KEY_CLASS); in restoreFromState() 281 Bundle data = bundle.getBundle(KEY_DATA); in restoreFromState() 282 Bundle state = bundle.getBundle(KEY_STATE); in restoreFromState() 308 Bundle bundle = new Bundle(); in saveState() local 309 bundle.putSerializable(KEY_CLASS, entry.activityState.getClass()); in saveState() 310 bundle.putBundle(KEY_DATA, entry.data); in saveState() 313 bundle.putBundle(KEY_STATE, state); in saveState() 315 list[i++] = bundle; in saveState()
|
D | Wallpaper.java | 51 protected void onCreate(Bundle bundle) { in onCreate() argument 52 super.onCreate(bundle); in onCreate() 53 if (bundle != null) { in onCreate() 54 mState = bundle.getInt(KEY_STATE); in onCreate() 55 mPickedItem = (Uri) bundle.getParcelable(KEY_PICKED_ITEM); in onCreate()
|
D | SinglePhotoDataAdapter.java | 123 private void onDecodeLargeComplete(ImageBundle bundle) { in onDecodeLargeComplete() argument 125 setScreenNail(bundle.backupImage, in onDecodeLargeComplete() 126 bundle.decoder.getWidth(), bundle.decoder.getHeight()); in onDecodeLargeComplete() 127 setRegionDecoder(bundle.decoder); in onDecodeLargeComplete()
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
D | MediaLinearLayout.java | 233 final Bundle bundle = new Bundle(); in onActionItemClicked() local 234 bundle.putString(PARAM_DIALOG_MEDIA_ITEM_ID, mMediaItem.getId()); in onActionItemClicked() 236 VideoEditorActivity.DIALOG_REMOVE_EFFECT_ID, bundle); in onActionItemClicked() 242 final Bundle bundle = new Bundle(); in onActionItemClicked() local 243 bundle.putString(PARAM_DIALOG_MEDIA_ITEM_ID, mMediaItem.getId()); in onActionItemClicked() 244 bundle.putInt(PARAM_DIALOG_CURRENT_RENDERING_MODE, in onActionItemClicked() 247 VideoEditorActivity.DIALOG_CHANGE_RENDERING_MODE_ID, bundle); in onActionItemClicked() 252 final Bundle bundle = new Bundle(); in onActionItemClicked() local 253 bundle.putString(PARAM_DIALOG_MEDIA_ITEM_ID, mMediaItem.getId()); in onActionItemClicked() 255 VideoEditorActivity.DIALOG_REMOVE_MEDIA_ITEM_ID, bundle); in onActionItemClicked() [all …]
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
D | VideoEditorActivity.java | 608 final Bundle bundle = new Bundle(); in onOptionsItemSelected() local 609 bundle.putIntegerArrayList(PARAM_ASPECT_RATIOS_LIST, aspectRatiosList); in onOptionsItemSelected() 621 bundle.putInt(PARAM_CURRENT_ASPECT_RATIO_INDEX, currentAspectRatioIndex); in onOptionsItemSelected() 622 showDialog(DIALOG_CHOOSE_ASPECT_RATIO_ID, bundle); in onOptionsItemSelected() 675 public Dialog onCreateDialog(int id, final Bundle bundle) { in onCreateDialog() argument 681 bundle.getIntegerArrayList(PARAM_ASPECT_RATIOS_LIST); in onCreateDialog() 719 bundle.getInt(PARAM_CURRENT_ASPECT_RATIO_INDEX), in onCreateDialog() 776 bundle.getString(PARAM_PROJECT_PATH)); in onCreateDialog() 863 return mMediaLayout.onCreateDialog(id, bundle); in onCreateDialog() 867 return mMediaLayout.onCreateDialog(id, bundle); in onCreateDialog() [all …]
|
D | ProjectsActivity.java | 137 final Bundle bundle = new Bundle(); in onCreate() 138 bundle.putString(PARAM_DIALOG_PATH_ID, in onCreate() 140 showDialog(DIALOG_REMOVE_PROJECT_ID, bundle); in onCreate() 191 public Dialog onCreateDialog(int id, final Bundle bundle) { in onCreateDialog() argument 228 final String projectPath = bundle.getString(PARAM_DIALOG_PATH_ID); in onCreateDialog()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | FastScrollingIndexCache.java | 162 Bundle bundle = new Bundle(); in buildExtraBundle() local 163 bundle.putStringArray(ContactCounts.EXTRA_ADDRESS_BOOK_INDEX_TITLES, titles); in buildExtraBundle() 164 bundle.putIntArray(ContactCounts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS, counts); in buildExtraBundle() 165 return bundle; in buildExtraBundle() 231 String countExpression, Bundle bundle) { in put() argument 237 bundle.getStringArray(ContactCounts.EXTRA_ADDRESS_BOOK_INDEX_TITLES), in put() 238 bundle.getIntArray(ContactCounts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS))); in put()
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
D | EasSyncService.java | 432 Bundle bundle = new Bundle(); in validateAccount() local 463 bundle.putInt(EmailServiceProxy.VALIDATE_BUNDLE_RESULT_CODE, in validateAccount() 465 return bundle; in validateAccount() 543 bundle.putParcelable(EmailServiceProxy.VALIDATE_BUNDLE_POLICY_SET, in validateAccount() 555 bundle.putParcelable(EmailServiceProxy.VALIDATE_BUNDLE_POLICY_SET, in validateAccount() 585 bundle.putInt(EmailServiceProxy.VALIDATE_BUNDLE_RESULT_CODE, resultCode); in validateAccount() 586 return bundle; in validateAccount() 681 Bundle bundle = new Bundle(); in tryAutodiscover() local 682 bundle.putInt(EmailServiceProxy.AUTO_DISCOVER_BUNDLE_ERROR_CODE, in tryAutodiscover() 775 bundle.putParcelable( in tryAutodiscover() [all …]
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | SetupData.java | 237 static public void save(Bundle bundle) { in save() argument 238 bundle.putParcelable(EXTRA_SETUP_DATA, getInstance()); in save() 241 static public synchronized SetupData restore(Bundle bundle) { in restore() argument 242 if (bundle != null && bundle.containsKey(EXTRA_SETUP_DATA)) { in restore() 243 INSTANCE = bundle.getParcelable(EXTRA_SETUP_DATA); in restore()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | InputMethodPreference.java | 117 final Bundle bundle = new Bundle(); in onBindView() 118 bundle.putString(Settings.EXTRA_INPUT_METHOD_ID, imiId); in onBindView() 120 0, bundle); in onBindView() 149 final Bundle bundle = new Bundle(); in onBindView() 150 bundle.putString(Settings.EXTRA_INPUT_METHOD_ID, imiId); in onBindView() 152 0, bundle); in onBindView()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | RawContactEditorView.java | 170 Bundle bundle = new Bundle(); in onSaveInstanceState() local 171 bundle.putBoolean(KEY_ORGANIZATION_VIEW_EXPANDED, mOrganizationViewExpanded); in onSaveInstanceState() 173 bundle.putParcelable(KEY_SUPER_INSTANCE_STATE, super.onSaveInstanceState()); in onSaveInstanceState() 174 return bundle; in onSaveInstanceState() 180 Bundle bundle = (Bundle) state; in onRestoreInstanceState() local 181 mOrganizationViewExpanded = bundle.getBoolean(KEY_ORGANIZATION_VIEW_EXPANDED); in onRestoreInstanceState() 190 super.onRestoreInstanceState(bundle.getParcelable(KEY_SUPER_INSTANCE_STATE)); in onRestoreInstanceState()
|
D | LabeledEditorView.java | 484 Bundle bundle = new Bundle(); in showDialog() local 485 bundle.putInt(DIALOG_ID_KEY, bundleDialogId); in showDialog() 486 getDialogManager().showDialogInView(this, bundle); in showDialog() 503 public Dialog createDialog(Bundle bundle) { in createDialog() argument 504 if (bundle == null) throw new IllegalArgumentException("bundle must not be null"); in createDialog() 505 int dialogId = bundle.getInt(DIALOG_ID_KEY); in createDialog()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | RestrictionUtils.java | 95 final Bundle bundle = new Bundle(); in restrictionsToBundle() local 98 bundle.putBoolean(entry.getKey(), entry.getSelectedState()); in restrictionsToBundle() 100 bundle.putStringArray(entry.getKey(), entry.getAllSelectedStrings()); in restrictionsToBundle() 102 bundle.putString(entry.getKey(), entry.getSelectedString()); in restrictionsToBundle() 105 return bundle; in restrictionsToBundle()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | LabelDialogFragment.java | 77 Bundle bundle = getArguments(); in onCreateView() local 78 final String label = bundle.getString(KEY_LABEL); in onCreateView() 79 final Alarm alarm = bundle.getParcelable(KEY_ALARM); in onCreateView() 80 final TimerObj timer = bundle.getParcelable(KEY_TIMER); in onCreateView() 81 final String tag = bundle.getString(KEY_TAG); in onCreateView()
|