Home
last modified time | relevance | path

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

12

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/voice/
DFieldContext.java62 private static void addEditorInfoToBundle(EditorInfo info, Bundle bundle) { in addEditorInfoToBundle() argument
67 bundle.putString(LABEL, safeToString(info.label)); in addEditorInfoToBundle()
68 bundle.putString(HINT, safeToString(info.hintText)); in addEditorInfoToBundle()
69 bundle.putString(PACKAGE_NAME, safeToString(info.packageName)); in addEditorInfoToBundle()
70 bundle.putInt(FIELD_ID, info.fieldId); in addEditorInfoToBundle()
71 bundle.putString(FIELD_NAME, safeToString(info.fieldName)); in addEditorInfoToBundle()
72 bundle.putInt(INPUT_TYPE, info.inputType); in addEditorInfoToBundle()
73 bundle.putInt(IME_OPTIONS, info.imeOptions); in addEditorInfoToBundle()
77 InputConnection conn, Bundle bundle) { in addInputConnectionToBundle() argument
86 bundle.putBoolean(SINGLE_LINE, (et.flags & et.FLAG_SINGLE_LINE) > 0); in addInputConnectionToBundle()
[all …]
DWhitelist.java38 Bundle bundle = new Bundle(); in addApp() local
39 bundle.putString("packageName", app); in addApp()
40 mConditions.add(bundle); in addApp()
/packages/apps/Browser/src/com/android/browser/
DAddBookmarkPage.java124 Bundle bundle = mMessage.getData(); in run() local
125 String title = bundle.getString("title"); in run()
126 String url = bundle.getString("url"); in run()
127 boolean invalidateThumbnail = bundle.getBoolean( in run()
130 : (Bitmap) bundle.getParcelable("thumbnail"); in run()
131 String touchIconUrl = bundle.getString("touchIconUrl"); in run()
231 Bundle bundle = new Bundle(); in save() local
232 bundle.putString("title", title); in save()
233 bundle.putString("url", url); in save()
234 bundle.putParcelable("thumbnail", mThumbnail); in save()
[all …]
DTab.java309 Bundle bundle = mVoiceSearchData.mHeaders.get(bundleIndex); in activateVoiceSearchMode() local
310 if (bundle != null && !bundle.isEmpty()) { in activateVoiceSearchMode()
311 Iterator<String> iter = bundle.keySet().iterator(); in activateVoiceSearchMode()
315 headers.put(key, bundle.getString(key)); in activateVoiceSearchMode()
/packages/apps/Phone/src/com/android/phone/
DGsmUmtsCallForwardOptions.java86 Bundle bundle = mIcicle.getParcelable(pref.getKey()); in onResume() local
87 pref.setToggled(bundle.getBoolean(KEY_TOGGLE)); in onResume()
89 cf.number = bundle.getString(KEY_NUMBER); in onResume()
90 cf.status = bundle.getInt(KEY_STATUS); in onResume()
105 Bundle bundle = new Bundle(); in onSaveInstanceState() local
106 bundle.putBoolean(KEY_TOGGLE, pref.isToggled()); in onSaveInstanceState()
108 bundle.putString(KEY_NUMBER, pref.callForwardInfo.number); in onSaveInstanceState()
109 bundle.putInt(KEY_STATUS, pref.callForwardInfo.status); in onSaveInstanceState()
111 outState.putParcelable(pref.getKey(), bundle); in onSaveInstanceState() local
DEditFdnContactScreen.java280 ContentValues bundle = new ContentValues(3); in addContact() local
281 bundle.put("tag", getNameFromTextField()); in addContact()
282 bundle.put("number", getNumberFromTextField()); in addContact()
283 bundle.put("pin2", mPin2); in addContact()
287 mQueryHandler.startInsert(0, null, uri, bundle); in addContact()
301 ContentValues bundle = new ContentValues(); in updateContact() local
302 bundle.put("tag", mName); in updateContact()
303 bundle.put("number", mNumber); in updateContact()
304 bundle.put("newTag", getNameFromTextField()); in updateContact()
305 bundle.put("newNumber", getNumberFromTextField()); in updateContact()
[all …]
/packages/apps/Settings/src/com/android/settings/
DCredentialInstaller.java70 Bundle bundle = (intent == null) ? null : intent.getExtras(); in install() local
71 if (bundle == null) return; in install()
72 for (String key : bundle.keySet()) { in install()
73 byte[] data = bundle.getByteArray(key); in install()
DDeviceAdminAdd.java189 protected void onResult(Bundle bundle) { in onCreate()
190 CharSequence msg = bundle != null in onCreate()
191 ? bundle.getCharSequence( in onCreate()
/packages/apps/Email/tests/src/com/android/email/activity/
DMessageListUnitTests.java128 Bundle bundle = new Bundle(); in testRestoreAndSaveInstanceState() local
129 mMessageList.onSaveInstanceState(bundle); in testRestoreAndSaveInstanceState()
130 long[] checkedarray = bundle.getLongArray(STATE_CHECKED_ITEMS); in testRestoreAndSaveInstanceState()
136 mMessageList.onSaveInstanceState(bundle); in testRestoreAndSaveInstanceState()
137 checkedarray = bundle.getLongArray(STATE_CHECKED_ITEMS); in testRestoreAndSaveInstanceState()
147 Bundle bundle = new Bundle(); in testRestoreInstanceState() local
154 bundle.putLongArray(STATE_CHECKED_ITEMS, checkedarray); in testRestoreInstanceState()
155 mMessageList.onRestoreInstanceState(bundle); in testRestoreInstanceState()
/packages/apps/Calendar/src/com/android/calendar/
DAgendaItemView.java70 Bundle bundle = mTempEventBundle; in dispatchPopulateAccessibilityEvent() local
71 bundle.putInt("color", holder.calendarColor); in dispatchPopulateAccessibilityEvent()
72 event.setParcelableData(bundle); in dispatchPopulateAccessibilityEvent()
DAlertService.java94 Bundle bundle = (Bundle) msg.obj; in processMessage() local
98 String action = bundle.getString("action"); in processMessage()
100 Log.d(TAG, "" + bundle.getLong(android.provider.Calendar.CalendarAlerts.ALARM_TIME) in processMessage()
DCalendarView.java1709 Bundle bundle = mTempEventBundle; in dispatchPopulateAccessibilityEvent() local
1710 bundle.clear(); in dispatchPopulateAccessibilityEvent()
1711 bundle.putLong("id", selectedEvent.id); in dispatchPopulateAccessibilityEvent()
1712 bundle.putInt("color", selectedEvent.color); in dispatchPopulateAccessibilityEvent()
1713 bundle.putCharSequence("title", selectedEvent.title); in dispatchPopulateAccessibilityEvent()
1714 bundle.putCharSequence("location", selectedEvent.location); in dispatchPopulateAccessibilityEvent()
1715 bundle.putBoolean("allDay", selectedEvent.allDay); in dispatchPopulateAccessibilityEvent()
1716 bundle.putInt("startDay", selectedEvent.startDay); in dispatchPopulateAccessibilityEvent()
1717 bundle.putInt("endDay", selectedEvent.endDay); in dispatchPopulateAccessibilityEvent()
1718 bundle.putInt("startTime", selectedEvent.startTime); in dispatchPopulateAccessibilityEvent()
[all …]
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCertInstallerMain.java52 Bundle bundle = intent.getExtras(); in run() local
54 if ((bundle == null) || bundle.isEmpty()) { in run()
DCredentialHelper.java73 Bundle bundle = intent.getExtras(); in CredentialHelper() local
74 if (bundle == null) return; in CredentialHelper()
76 String name = bundle.getString(CERT_NAME_KEY); in CredentialHelper()
77 bundle.remove(CERT_NAME_KEY); in CredentialHelper()
80 Log.d(TAG, "# extras: " + bundle.size()); in CredentialHelper()
81 for (String key : bundle.keySet()) { in CredentialHelper()
82 byte[] bytes = bundle.getByteArray(key); in CredentialHelper()
/packages/apps/Email/src/com/android/exchange/provider/
DExchangeProvider.java87 final Bundle bundle = new Bundle(); in query() local
88 bundle.putInt(EXTRAS_TOTAL_RESULTS, galResult.total); in query()
89 c.setExtras(bundle); in query()
/packages/apps/Mms/src/com/android/mms/transaction/
DTransactionBundle.java100 public TransactionBundle(Bundle bundle) { in TransactionBundle() argument
101 mBundle = bundle; in TransactionBundle()
/packages/apps/AccountsAndSyncSettings/src/com/android/settings/
DAddAccountSettings.java112 Bundle bundle = future.getResult();
113 bundle.keySet();
115 if (LDEBUG) Log.d(TAG, "account added: " + bundle);
/packages/apps/Email/src/com/android/email/service/
DEmailServiceProxy.java232 Bundle bundle = (Bundle) mReturn; in autoDiscover() local
233 Log.v(TAG, "autoDiscover returns " + bundle.getInt(AUTO_DISCOVER_BUNDLE_ERROR_CODE)); in autoDiscover()
234 return bundle; in autoDiscover()
/packages/apps/Mms/src/com/android/mms/data/
DWorkingMessage.java816 public void writeStateToBundle(Bundle bundle) { in writeStateToBundle() argument
818 bundle.putString("subject", mSubject.toString()); in writeStateToBundle()
822 bundle.putParcelable("msg_uri", mMessageUri); in writeStateToBundle()
824 bundle.putString("sms_body", mText.toString()); in writeStateToBundle()
833 public void readStateFromBundle(Bundle bundle) { in readStateFromBundle() argument
834 if (bundle == null) { in readStateFromBundle()
838 String subject = bundle.getString("subject"); in readStateFromBundle()
841 Uri uri = (Uri)bundle.getParcelable("msg_uri"); in readStateFromBundle()
846 String body = bundle.getString("sms_body"); in readStateFromBundle()
/packages/apps/Contacts/src/com/android/contacts/model/
DEntityModifier.java524 private static void fixupLegacyImType(Bundle bundle) { in fixupLegacyImType() argument
525 final String encodedString = bundle.getString(Insert.IM_PROTOCOL); in fixupLegacyImType()
532 bundle.putInt(Insert.IM_PROTOCOL, (Integer)protocol); in fixupLegacyImType()
534 bundle.putString(Insert.IM_PROTOCOL, (String)protocol); in fixupLegacyImType()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupOptions.java147 Bundle bundle = future.getResult();
148 bundle.keySet();
/packages/apps/Gallery3D/src/com/cooliris/picasa/
DPicasaApi.java115 …Bundle bundle = accountManager.getAuthToken(account, PicasaService.SERVICE_NAME, null, (Activity) … in getAuthenticatedAccounts() local
117 authToken = bundle.getString("authtoken"); in getAuthenticatedAccounts()
/packages/apps/Contacts/src/com/android/contacts/
DExportVCardActivity.java241 protected void onCreate(Bundle bundle) { in onCreate() argument
242 super.onCreate(bundle); in onCreate()
/packages/apps/Email/src/com/android/exchange/
DEasSyncService.java551 Bundle bundle = new Bundle(); in tryAutodiscover() local
552 bundle.putInt(EmailServiceProxy.AUTO_DISCOVER_BUNDLE_ERROR_CODE, in tryAutodiscover()
641 bundle.putParcelable( in tryAutodiscover()
644 bundle.putInt(EmailServiceProxy.AUTO_DISCOVER_BUNDLE_ERROR_CODE, in tryAutodiscover()
657 bundle.putInt(EmailServiceProxy.AUTO_DISCOVER_BUNDLE_ERROR_CODE, in tryAutodiscover()
660 bundle.putInt(EmailServiceProxy.AUTO_DISCOVER_BUNDLE_ERROR_CODE, in tryAutodiscover()
664 bundle.putInt(EmailServiceProxy.AUTO_DISCOVER_BUNDLE_ERROR_CODE, in tryAutodiscover()
667 bundle.putInt(EmailServiceProxy.AUTO_DISCOVER_BUNDLE_ERROR_CODE, in tryAutodiscover()
670 return bundle; in tryAutodiscover()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncher.java1815 Bundle bundle = new Bundle(); in pickShortcut() local
1819 bundle.putStringArrayList(Intent.EXTRA_SHORTCUT_NAME, shortcutNames); in pickShortcut()
1824 bundle.putParcelableArrayList(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, shortcutIcons); in pickShortcut()
1829 pickIntent.putExtras(bundle); in pickShortcut()
2061 Bundle bundle = new Bundle(); in onClick() local
2065 bundle.putStringArrayList(Intent.EXTRA_SHORTCUT_NAME, shortcutNames); in onClick()
2071bundle.putParcelableArrayList(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, shortcutIcons); in onClick()
2078 pickIntent.putExtras(bundle); in onClick()

12