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

123

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/deprecated/voice/
H A DFieldContext.java62 private static void addEditorInfoToBundle(EditorInfo info, Bundle bundle) { argument
67 bundle.putString(LABEL, safeToString(info.label));
68 bundle.putString(HINT, safeToString(info.hintText));
69 bundle.putString(PACKAGE_NAME, safeToString(info.packageName));
70 bundle.putInt(FIELD_ID, info.fieldId);
71 bundle.putString(FIELD_NAME, safeToString(info.fieldName));
72 bundle.putInt(INPUT_TYPE, info.inputType);
73 bundle.putInt(IME_OPTIONS, info.imeOptions);
78 InputConnection conn, Bundle bundle) {
87 bundle
77 addInputConnectionToBundle( InputConnection conn, Bundle bundle) argument
90 addLanguageInfoToBundle( String selectedLanguage, String[] enabledLanguages, Bundle bundle) argument
[all...]
H A DWhitelist.java39 Bundle bundle = new Bundle();
40 bundle.putString("packageName", app);
41 mConditions.add(bundle);
/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/apps/Contacts/tests/src/com/android/contacts/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/Gallery2/src/com/android/gallery3d/app/
H A DWallpaper.java44 protected void onCreate(Bundle bundle) { argument
45 super.onCreate(bundle);
46 if (bundle != null) {
47 mState = bundle.getInt(KEY_STATE);
48 mPickedItem = (Uri) bundle.getParcelable(KEY_PICKED_ITEM);
H A DStateManager.java38 private static final String KEY_STATE = "bundle";
241 Bundle bundle = (Bundle) parcelable;
243 (Class<? extends ActivityState>) bundle.getSerializable(KEY_CLASS);
245 Bundle data = bundle.getBundle(KEY_DATA);
246 Bundle state = bundle.getBundle(KEY_STATE);
268 Bundle bundle = new Bundle();
269 bundle.putSerializable(KEY_CLASS, entry.activityState.getClass());
270 bundle.putBundle(KEY_DATA, entry.data);
273 bundle.putBundle(KEY_STATE, state);
275 list[i++] = bundle;
[all...]
H A DSinglePhotoDataAdapter.java116 private void onDecodeLargeComplete(ImageBundle bundle) { argument
118 setBackupImage(bundle.backupImage,
119 bundle.decoder.getWidth(), bundle.decoder.getHeight());
120 setRegionDecoder(bundle.decoder);
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DEmailServiceProxy.java201 Bundle bundle = new Bundle();
202 bundle.putInt(VALIDATE_BUNDLE_RESULT_CODE, MessagingException.UNSPECIFIED_EXCEPTION);
203 return bundle;
205 Bundle bundle = (Bundle) mReturn;
206 bundle.setClassLoader(Policy.class.getClassLoader());
207 Log.v(TAG, "validate returns " + bundle.getInt(VALIDATE_BUNDLE_RESULT_CODE));
208 return bundle;
234 Bundle bundle = (Bundle) mReturn;
235 bundle.setClassLoader(HostAuth.class.getClassLoader());
236 Log.v(TAG, "autoDiscover returns " + bundle
[all...]
/packages/apps/Phone/src/com/android/phone/
H A DEditFdnContactScreen.java280 ContentValues bundle = new ContentValues(3);
281 bundle.put("tag", getNameFromTextField());
282 bundle.put("number", getNumberFromTextField());
283 bundle.put("pin2", mPin2);
287 mQueryHandler.startInsert(0, null, uri, bundle);
301 ContentValues bundle = new ContentValues();
302 bundle.put("tag", mName);
303 bundle.put("number", mNumber);
304 bundle.put("newTag", getNameFromTextField());
305 bundle
[all...]
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);
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
H A DSelectCalendarsSyncFragment.java76 public SelectCalendarsSyncFragment(Bundle bundle) { argument
77 mAccount = new Account(bundle.getString(Calendars.ACCOUNT_NAME),
78 bundle.getString(Calendars.ACCOUNT_TYPE));
127 Bundle bundle = getArguments();
128 if (bundle != null && bundle.containsKey(Calendars.ACCOUNT_NAME)
129 && bundle.containsKey(Calendars.ACCOUNT_TYPE)) {
130 mAccount = new Account(bundle.getString(Calendars.ACCOUNT_NAME),
131 bundle.getString(Calendars.ACCOUNT_TYPE));
/packages/apps/Contacts/src/com/android/contacts/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);
H A DExportVCardActivity.java149 protected void onCreate(Bundle bundle) { argument
150 super.onCreate(bundle);
203 protected Dialog onCreateDialog(int id, Bundle bundle) { argument
244 return super.onCreateDialog(id, bundle);
/packages/apps/Mms/src/com/android/mms/transaction/
H A DTransactionBundle.java81 * Constructor of a bundle used for TransactionBundle instances of type
96 * Constructor of a transaction bundle used for incoming bundle instances.
98 * @param bundle The incoming bundle
100 public TransactionBundle(Bundle bundle) { argument
101 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);
H A DProjectsActivity.java137 final Bundle bundle = new Bundle();
138 bundle.putString(PARAM_DIALOG_PATH_ID,
140 showDialog(DIALOG_REMOVE_PROJECT_ID, bundle);
191 public Dialog onCreateDialog(int id, final Bundle bundle) { argument
228 final String projectPath = bundle.getString(PARAM_DIALOG_PATH_ID);
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DStorageMeasurement.java109 public void updateApproximate(Bundle bundle); argument
110 public void updateExact(Bundle bundle); argument
177 Bundle bundle = new Bundle();
178 bundle.putLong(TOTAL_SIZE, mTotalSize);
179 bundle.putLong(AVAIL_SIZE, mAvailSize);
181 receiver.updateApproximate(bundle);
193 Bundle bundle = new Bundle();
194 bundle.putLong(TOTAL_SIZE, mTotalSize);
195 bundle.putLong(AVAIL_SIZE, mAvailSize);
196 bundle
[all...]
H A DStorageVolumePreferenceCategory.java137 Bundle bundle = msg.getData();
138 final long totalSize = bundle.getLong(StorageMeasurement.TOTAL_SIZE);
139 final long availSize = bundle.getLong(StorageMeasurement.AVAIL_SIZE);
144 Bundle bundle = msg.getData();
145 final long totalSize = bundle.getLong(StorageMeasurement.TOTAL_SIZE);
146 final long availSize = bundle.getLong(StorageMeasurement.AVAIL_SIZE);
147 final long appsUsed = bundle.getLong(StorageMeasurement.APPS_USED);
148 final long downloadsSize = bundle.getLong(StorageMeasurement.DOWNLOADS_SIZE);
149 final long miscSize = bundle.getLong(StorageMeasurement.MISC_SIZE);
150 final long[] mediaSizes = bundle
381 updateApproximate(Bundle bundle) argument
388 updateExact(Bundle bundle) argument
[all...]
/packages/apps/CertInstaller/src/com/android/certinstaller/
H A DCertInstallerMain.java64 Bundle bundle = intent.getExtras();
66 if ((bundle == null) || bundle.isEmpty()) {
H A DCredentialHelper.java75 Bundle bundle = intent.getExtras();
76 if (bundle == null) {
80 String name = bundle.getString(CERT_NAME_KEY);
81 bundle.remove(CERT_NAME_KEY);
86 Log.d(TAG, "# extras: " + bundle.size());
87 for (String key : bundle.keySet()) {
88 byte[] bytes = bundle.getByteArray(key);
/packages/apps/Settings/src/com/android/settings/accounts/
H A DAddAccountSettings.java71 Bundle bundle = future.getResult();
72 bundle.keySet();
79 if (Log.isLoggable(TAG, Log.VERBOSE)) Log.v(TAG, "account added: " + bundle);
/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/inputmethod/
H A DInputMethodPreference.java111 final Bundle bundle = new Bundle();
112 bundle.putString(Settings.EXTRA_INPUT_METHOD_ID, imiId);
114 0, bundle);
139 final Bundle bundle = new Bundle();
140 bundle.putString(Settings.EXTRA_INPUT_METHOD_ID, imiId);
142 0, bundle);
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DLabeledEditorView.java439 Bundle bundle = new Bundle();
440 bundle.putInt(DIALOG_ID_KEY, bundleDialogId);
441 getDialogManager().showDialogInView(this, bundle);
458 public Dialog createDialog(Bundle bundle) { argument
459 if (bundle == null) throw new IllegalArgumentException("bundle must not be null");
460 int dialogId = bundle.getInt(DIALOG_ID_KEY);

Completed in 320 milliseconds

123