Searched refs:bundle (Results 1 - 25 of 63) sorted by relevance

123

/packages/apps/Contacts/src/com/android/contacts/util/
H A DDialogManager.java65 * The View needs to have a valid and unique Id. This function modifies the bundle by adding a
68 public void showDialogInView(final View view, final Bundle bundle) { argument
70 if (bundle.containsKey(VIEW_ID_KEY)) {
76 bundle.putInt(VIEW_ID_KEY, viewId);
78 mActivity.showDialog(dialogId, bundle);
85 public Dialog onCreateDialog(final int id, final Bundle bundle) { argument
93 if (!bundle.containsKey(VIEW_ID_KEY)) {
96 final int viewId = bundle.getInt(VIEW_ID_KEY);
101 final Dialog dialog = ((DialogShowingView)view).createDialog(bundle);
123 Dialog createDialog(Bundle bundle); argument
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
H A DFeedbackFragment.java70 final Bundle bundle = getActivity().getIntent().getExtras();
71 if (bundle != null) {
72 restoreState(bundle);
83 final Bundle bundle = new Bundle();
84 onSaveInstanceState(bundle);
89 researchLogger.setFeedbackDialogBundle(bundle);
119 public void onSaveInstanceState(final Bundle bundle) { argument
122 bundle.putString(KEY_FEEDBACK_STRING, savedFeedbackString);
123 bundle.putBoolean(KEY_INCLUDE_ACCOUNT_NAME, mIncludingAccountNameCheckBox.isChecked());
124 bundle
127 restoreState(final Bundle bundle) argument
[all...]
H A DUploaderService.java62 private boolean isUploadingUnconditionally(final Bundle bundle) { argument
63 if (bundle == null) return false;
64 if (bundle.containsKey(EXTRA_UPLOAD_UNCONDITIONALLY)) {
65 return bundle.getBoolean(EXTRA_UPLOAD_UNCONDITIONALLY);
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/
H A DTestAuthenticator.java65 final Bundle bundle = new Bundle();
73 bundle.putString(AccountManager.KEY_ACCOUNT_NAME, account.name);
74 bundle.putString(AccountManager.KEY_ACCOUNT_TYPE, account.type);
75 return bundle;
85 final Bundle bundle = new Bundle();
86 bundle.putString(AccountManager.KEY_ACCOUNT_NAME, account.name);
87 bundle.putString(AccountManager.KEY_ACCOUNT_TYPE, account.type);
88 bundle.putString(AccountManager.KEY_AUTHTOKEN, account.name);
90 return bundle;
/packages/apps/CertInstaller/src/com/android/certinstaller/
H A DCertInstallerMain.java65 Bundle bundle = intent.getExtras();
73 if (bundle != null && !Credentials.INSTALL_AS_USER_ACTION.equals(action)) {
74 bundle.remove(Credentials.EXTRA_INSTALL_AS_UID);
77 // If bundle is empty of any actual credentials, install from external storage.
80 if (bundle == null
81 || bundle.isEmpty()
82 || (bundle.size() == 1
83 && (bundle.containsKey(KeyChain.EXTRA_NAME)
84 || bundle.containsKey(Credentials.EXTRA_INSTALL_AS_UID)))) {
H A DCredentialHelper.java76 Bundle bundle = intent.getExtras();
77 if (bundle == null) {
81 String name = bundle.getString(KeyChain.EXTRA_NAME);
82 bundle.remove(KeyChain.EXTRA_NAME);
87 mUid = bundle.getInt(Credentials.EXTRA_INSTALL_AS_UID, -1);
88 bundle.remove(Credentials.EXTRA_INSTALL_AS_UID);
90 Log.d(TAG, "# extras: " + bundle.size());
91 for (String key : bundle.keySet()) {
92 byte[] bytes = bundle.getByteArray(key);
/packages/apps/Settings/src/com/android/settings/users/
H A DRestrictionUtils.java95 final Bundle bundle = new Bundle();
98 bundle.putBoolean(entry.getKey(), entry.getSelectedState());
100 bundle.putStringArray(entry.getKey(), entry.getAllSelectedStrings());
102 bundle.putString(entry.getKey(), entry.getSelectedString());
105 return bundle;
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DEmailServiceProxy.java221 Bundle bundle = new Bundle();
222 bundle.putInt(VALIDATE_BUNDLE_RESULT_CODE, MessagingException.UNSPECIFIED_EXCEPTION);
223 return bundle;
225 Bundle bundle = (Bundle) mReturn;
226 bundle.setClassLoader(Policy.class.getClassLoader());
227 Log.v(TAG, "validate returns " + bundle.getInt(VALIDATE_BUNDLE_RESULT_CODE));
228 return bundle;
256 Bundle bundle = (Bundle) mReturn;
257 bundle.setClassLoader(HostAuth.class.getClassLoader());
258 Log.v(TAG, "autoDiscover returns " + bundle
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
H A DSelectAccountActivity.java52 protected void onCreate(Bundle bundle) { argument
53 super.onCreate(bundle);
100 protected Dialog onCreateDialog(int resId, Bundle bundle) { argument
112 return super.onCreateDialog(resId, bundle);
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
H A DSelectCalendarsSyncFragment.java92 public SelectCalendarsSyncFragment(Bundle bundle) { argument
93 mAccount = new Account(bundle.getString(Calendars.ACCOUNT_NAME),
94 bundle.getString(Calendars.ACCOUNT_TYPE));
148 Bundle bundle = getArguments();
149 if (bundle != null && bundle.containsKey(Calendars.ACCOUNT_NAME)
150 && bundle.containsKey(Calendars.ACCOUNT_TYPE)) {
151 mAccount = new Account(bundle.getString(Calendars.ACCOUNT_NAME),
152 bundle.getString(Calendars.ACCOUNT_TYPE));
/packages/apps/Phone/src/com/android/phone/
H A DGsmUmtsCallForwardOptions.java94 Bundle bundle = mIcicle.getParcelable(pref.getKey());
95 pref.setToggled(bundle.getBoolean(KEY_TOGGLE));
97 cf.number = bundle.getString(KEY_NUMBER);
98 cf.status = bundle.getInt(KEY_STATUS);
113 Bundle bundle = new Bundle();
114 bundle.putBoolean(KEY_TOGGLE, pref.isToggled());
116 bundle.putString(KEY_NUMBER, pref.callForwardInfo.number);
117 bundle.putInt(KEY_STATUS, pref.callForwardInfo.status);
119 outState.putParcelable(pref.getKey(), bundle);
H A DEditFdnContactScreen.java284 ContentValues bundle = new ContentValues(3);
285 bundle.put("tag", getNameFromTextField());
286 bundle.put("number", number);
287 bundle.put("pin2", mPin2);
290 mQueryHandler.startInsert(0, null, uri, bundle);
307 ContentValues bundle = new ContentValues();
308 bundle.put("tag", mName);
309 bundle.put("number", mNumber);
310 bundle.put("newTag", name);
311 bundle
[all...]
/packages/apps/Mms/src/com/android/mms/transaction/
H A DTransactionBundle.java83 * Constructor of a bundle used for TransactionBundle instances of type
98 * Constructor of a transaction bundle used for incoming bundle instances.
100 * @param bundle The incoming bundle
102 public TransactionBundle(Bundle bundle) { argument
103 mBundle = bundle;
/packages/apps/VideoEditor/src/com/android/videoeditor/
H A DOverlayTitleTemplatePicker.java70 final Bundle bundle = MovieOverlay.buildUserAttributes(overlayType, "", "");
71 extras.putExtra(PARAM_OVERLAY_ATTRIBUTES, bundle);
/packages/apps/DeskClock/src/com/android/deskclock/
H A DLabelDialogFragment.java77 Bundle bundle = getArguments();
78 final String label = bundle.getString(KEY_LABEL);
79 final Alarm alarm = bundle.getParcelable(KEY_ALARM);
80 final TimerObj timer = bundle.getParcelable(KEY_TIMER);
81 final String tag = bundle.getString(KEY_TAG);
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DWallpaper.java51 protected void onCreate(Bundle bundle) { argument
52 super.onCreate(bundle);
53 if (bundle != null) {
54 mState = bundle.getInt(KEY_STATE);
55 mPickedItem = (Uri) bundle.getParcelable(KEY_PICKED_ITEM);
H A DStateManager.java41 private static final String KEY_STATE = "bundle";
277 Bundle bundle = (Bundle) parcelable;
279 (Class<? extends ActivityState>) bundle.getSerializable(KEY_CLASS);
281 Bundle data = bundle.getBundle(KEY_DATA);
282 Bundle state = bundle.getBundle(KEY_STATE);
308 Bundle bundle = new Bundle();
309 bundle.putSerializable(KEY_CLASS, entry.activityState.getClass());
310 bundle.putBundle(KEY_DATA, entry.data);
313 bundle.putBundle(KEY_STATE, state);
315 list[i++] = bundle;
[all...]
H A DSinglePhotoDataAdapter.java123 private void onDecodeLargeComplete(ImageBundle bundle) { argument
125 setScreenNail(bundle.backupImage,
126 bundle.decoder.getWidth(), bundle.decoder.getHeight());
127 setRegionDecoder(bundle.decoder);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DFastScrollingIndexCache.java162 Bundle bundle = new Bundle();
163 bundle.putStringArray(ContactCounts.EXTRA_ADDRESS_BOOK_INDEX_TITLES, titles);
164 bundle.putIntArray(ContactCounts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS, counts);
165 return bundle;
231 String countExpression, Bundle bundle) {
237 bundle.getStringArray(ContactCounts.EXTRA_ADDRESS_BOOK_INDEX_TITLES),
238 bundle.getIntArray(ContactCounts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS)));
230 put(Uri queryUri, String selection, String[] selectionArgs, String sortOrder, String countExpression, Bundle bundle) argument
/packages/apps/Contacts/src/com/android/contacts/
H A DNonPhoneActivity.java52 Bundle bundle = new Bundle();
53 bundle.putString(PHONE_NUMBER_KEY, phoneNumber);
54 fragment.setArguments(bundle);
/packages/apps/Settings/src/com/android/settings/
H A DCredentialStorage.java95 * When non-null, the bundle containing credentials to install.
190 Bundle bundle = mInstallBundle;
193 final int uid = bundle.getInt(Credentials.EXTRA_INSTALL_AS_UID, -1);
195 if (bundle.containsKey(Credentials.EXTRA_USER_PRIVATE_KEY_NAME)) {
196 String key = bundle.getString(Credentials.EXTRA_USER_PRIVATE_KEY_NAME);
197 byte[] value = bundle.getByteArray(Credentials.EXTRA_USER_PRIVATE_KEY_DATA);
205 if (bundle.containsKey(Credentials.EXTRA_USER_CERTIFICATE_NAME)) {
206 String certName = bundle.getString(Credentials.EXTRA_USER_CERTIFICATE_NAME);
207 byte[] certData = bundle.getByteArray(Credentials.EXTRA_USER_CERTIFICATE_DATA);
215 if (bundle
[all...]
/packages/apps/Email/src/com/android/email/activity/setup/
H A DSetupData.java237 static public void save(Bundle bundle) { argument
238 bundle.putParcelable(EXTRA_SETUP_DATA, getInstance());
241 static public synchronized SetupData restore(Bundle bundle) { argument
242 if (bundle != null && bundle.containsKey(EXTRA_SETUP_DATA)) {
243 INSTANCE = bundle.getParcelable(EXTRA_SETUP_DATA);
/packages/apps/Email/src/com/android/email/service/
H A DAccountService.java94 Bundle bundle = new Bundle();
95 bundle.putBoolean(Configuration.EXCHANGE_CONFIGURATION_USE_ALTERNATE_STRINGS,
97 return bundle;
/packages/apps/Settings/src/com/android/settings/accounts/
H A DAddAccountSettings.java83 Bundle bundle = future.getResult();
84 //bundle.keySet();
85 Intent intent = (Intent) bundle.get(AccountManager.KEY_INTENT);
102 if (Log.isLoggable(TAG, Log.VERBOSE)) Log.v(TAG, "account added: " + bundle);
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DInputMethodPreference.java117 final Bundle bundle = new Bundle();
118 bundle.putString(Settings.EXTRA_INPUT_METHOD_ID, imiId);
120 0, bundle);
149 final Bundle bundle = new Bundle();
150 bundle.putString(Settings.EXTRA_INPUT_METHOD_ID, imiId);
152 0, bundle);

Completed in 1091 milliseconds

123