/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | DialogManager.java | 65 * 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/Messaging/src/com/android/messaging/ui/ |
H A D | LicenseActivity.java | 29 public void onCreate(final Bundle bundle) { argument 30 super.onCreate(bundle);
|
H A D | TestActivity.java | 42 protected void onCreate(final Bundle bundle) { argument 43 super.onCreate(bundle); 45 if (bundle != null) {
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/ |
H A D | TestAuthenticator.java | 65 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/Exchange/src/com/android/exchange/ |
H A D | ExchangeBroadcastReceiver.java | 33 final Bundle bundle = new Bundle(3); 34 bundle.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true); 35 bundle.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); 36 bundle.putBoolean(Mailbox.SYNC_EXTRA_ACCOUNT_ONLY, true); 37 ContentResolver.requestSync(account, EmailContent.AUTHORITY, bundle);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
H A D | ActivityTransitionBitmapHelper.java | 51 public static Bitmap getBitmapFromBinderBundle(Bundle bundle) { argument 52 if (bundle.containsKey(EXTRA_BINDER)) { 58 binder = (IBinder) sGetBinder.invoke(bundle, EXTRA_BINDER); 81 Bundle bundle = new Bundle(); 85 sPutBinder.invoke(bundle, EXTRA_BINDER, provider); 91 return bundle;
|
H A D | TransitionImage.java | 197 public boolean readFromBundle(Context context, Rect intentSourceBounds, Bundle bundle) { argument 199 if (bundle == null) { 202 mUri = bundle.getParcelable(EXTRA_TRANSITION_BITMAP_URI); 211 if (bundle.containsKey(EXTRA_TRANSITION_BITMAP)) { 214 bundle.getBundle(EXTRA_TRANSITION_BITMAP))); 221 String bitmapRectStr = bundle.getString(EXTRA_TRANSITION_BITMAP_RECT); 233 if (!readRectF(bundle.getFloatArray(EXTRA_TRANSITION_BITMAP_CLIPPED_RECT), 237 if (!readRectF(bundle.getFloatArray(EXTRA_TRANSITION_BITMAP_UNCLIPPED_RECT), 241 setAlpha(bundle.getFloat(EXTRA_TRANSITION_BITMAP_ALPHA, 1f)); 242 setSaturation(bundle 247 writeToBundle(Bundle bundle) argument [all...] |
/packages/apps/FMRadio/src/com/android/fmradio/ |
H A D | FmService.java | 302 Bundle bundle = new Bundle(2); 303 bundle.putInt(FmListener.CALLBACK_FLAG, 305 bundle.putBoolean(FmListener.KEY_IS_SPEAKER_MODE, false); 306 notifyActivityStateChanged(bundle); 337 Bundle bundle = new Bundle(2); 338 bundle.putInt(FmListener.CALLBACK_FLAG, 340 bundle.putInt(FmListener.KEY_RECORDING_STATE, 342 notifyActivityStateChanged(bundle); 584 Bundle bundle = new Bundle(bundleSize); 585 bundle 2154 notifyActivityStateChanged(Bundle bundle) argument 2180 notifyCurrentActivityStateChanged(Bundle bundle) argument 2549 handlePowerUp(Bundle bundle) argument [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
H A D | CameraMediaChooserView.java | 44 final Bundle bundle = new Bundle(); 45 bundle.putInt(KEY_CAMERA_INDEX, CameraManager.get().getCameraIndex()); 46 return bundle; 55 final Bundle bundle = (Bundle) state; 56 CameraManager.get().selectCameraByIndex(bundle.getInt(KEY_CAMERA_INDEX));
|
/packages/apps/UnifiedEmail/src/com/android/mail/ |
H A D | ConversationListContext.java | 65 * De-serializes a context from a bundle. 67 public static ConversationListContext forBundle(Bundle bundle) { argument 70 Account account = bundle.getParcelable(Utils.EXTRA_ACCOUNT); 71 Folder folder = bundle.getParcelable(Utils.EXTRA_FOLDER); 72 return new ConversationListContext(account, bundle.getString(EXTRA_SEARCH_QUERY), folder); 117 * Serializes the context to a bundle.
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
H A D | MessageParser.java | 120 * Furthermore this class can construct the bundle of extras for the second kind of intent given a 141 // Key for the admin extras bundle 197 public void addProvisioningParamsToBundle(Bundle bundle, ProvisioningParams params) { argument 198 bundle.putString(EXTRA_PROVISIONING_TIME_ZONE, params.timeZone); 199 bundle.putString(EXTRA_PROVISIONING_LOCALE, localeToString(params.locale)); 200 bundle.putString(EXTRA_PROVISIONING_WIFI_SSID, params.wifiInfo.ssid); 201 bundle.putString(EXTRA_PROVISIONING_WIFI_SECURITY_TYPE, params.wifiInfo.securityType); 202 bundle.putString(EXTRA_PROVISIONING_WIFI_PASSWORD, params.wifiInfo.password); 203 bundle.putString(EXTRA_PROVISIONING_WIFI_PROXY_HOST, params.wifiInfo.proxyHost); 204 bundle [all...] |
/packages/apps/Email/provider_src/com/android/email/service/ |
H A D | AccountService.java | 49 Bundle bundle = new Bundle(); 50 bundle.putBoolean(Configuration.EXCHANGE_CONFIGURATION_USE_ALTERNATE_STRINGS, 52 return bundle;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
H A D | RestrictionUtils.java | 86 final Bundle bundle = new Bundle(); 89 bundle.putBoolean(entry.getKey(), entry.getSelectedState()); 91 bundle.putStringArray(entry.getKey(), entry.getAllSelectedStrings()); 93 bundle.putString(entry.getKey(), entry.getSelectedString()); 96 return bundle;
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
H A D | EmailServiceProxy.java | 159 Bundle bundle = new Bundle(); 160 bundle.putInt(VALIDATE_BUNDLE_RESULT_CODE, MessagingException.UNSPECIFIED_EXCEPTION); 161 return bundle; 163 Bundle bundle = (Bundle) mReturn; 164 bundle.setClassLoader(Policy.class.getClassLoader()); 165 LogUtils.v(TAG, "validate returns " + bundle.getInt(VALIDATE_BUNDLE_RESULT_CODE)); 166 return bundle; 193 Bundle bundle = (Bundle) mReturn; 194 bundle.setClassLoader(HostAuth.class.getClassLoader()); 196 + bundle [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | AuthenticationView.java | 220 Bundle bundle = new Bundle(); 221 bundle.putParcelable(SUPER_STATE, super.onSaveInstanceState()); 222 bundle.putBoolean(SAVE_OFFER_OAUTH, mOfferOAuth); 223 bundle.putBoolean(SAVE_USE_OAUTH, mUseOAuth); 224 bundle.putString(SAVE_PASSWORD, getPassword()); 225 bundle.putString(SAVE_OAUTH_PROVIDER, mOAuthProvider); 226 return bundle; 232 Bundle bundle = (Bundle)parcelable; 233 super.onRestoreInstanceState(bundle.getParcelable(SUPER_STATE)); 234 mOfferOAuth = bundle [all...] |
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
H A D | SelectCalendarsSyncFragment.java | 92 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/services/Telephony/src/com/android/phone/ |
H A D | GsmUmtsCallForwardOptions.java | 103 Bundle bundle = mIcicle.getParcelable(pref.getKey()); 104 pref.setToggled(bundle.getBoolean(KEY_TOGGLE)); 106 cf.number = bundle.getString(KEY_NUMBER); 107 cf.status = bundle.getInt(KEY_STATUS); 122 Bundle bundle = new Bundle(); 123 bundle.putBoolean(KEY_TOGGLE, pref.isToggled()); 125 bundle.putString(KEY_NUMBER, pref.callForwardInfo.number); 126 bundle.putInt(KEY_STATUS, pref.callForwardInfo.status); 128 outState.putParcelable(pref.getKey(), bundle);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
H A D | SelectAccountActivity.java | 52 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/CertInstaller/src/com/android/certinstaller/ |
H A D | CertInstallerMain.java | 85 Bundle bundle = intent.getExtras(); 95 if (bundle != null && !installAsUserClassName.equals(calledClass)) { 96 bundle.remove(Credentials.EXTRA_INSTALL_AS_UID); 99 // If bundle is empty of any actual credentials, ask user to open. 102 if (bundle == null 103 || bundle.isEmpty() 104 || (bundle.size() == 1 105 && (bundle.containsKey(KeyChain.EXTRA_NAME) 106 || bundle.containsKey(Credentials.EXTRA_INSTALL_AS_UID)))) {
|
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
H A D | UserCallActivity.java | 53 protected void onCreate(Bundle bundle) { argument 54 super.onCreate(bundle); 55 // TODO: Figure out if there is something to restore from bundle.
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | Wallpaper.java | 55 protected void onCreate(Bundle bundle) { argument 56 super.onCreate(bundle); 57 if (bundle != null) { 58 mState = bundle.getInt(KEY_STATE); 59 mPickedItem = (Uri) bundle.getParcelable(KEY_PICKED_ITEM);
|
H A D | StateManager.java | 40 private static final String KEY_STATE = "bundle"; 272 Bundle bundle = (Bundle) parcelable; 274 (Class<? extends ActivityState>) bundle.getSerializable(KEY_CLASS); 276 Bundle data = bundle.getBundle(KEY_DATA); 277 Bundle state = bundle.getBundle(KEY_STATE); 303 Bundle bundle = new Bundle(); 304 bundle.putSerializable(KEY_CLASS, entry.activityState.getClass()); 305 bundle.putBundle(KEY_DATA, entry.data); 308 bundle.putBundle(KEY_STATE, state); 310 list[i++] = bundle; [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | FastScrollingIndexCache.java | 162 Bundle bundle = new Bundle(); 163 bundle.putStringArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES, titles); 164 bundle.putIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS, counts); 165 return bundle; 231 String countExpression, Bundle bundle) { 237 bundle.getStringArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES), 238 bundle.getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS))); 230 put(Uri queryUri, String selection, String[] selectionArgs, String sortOrder, String countExpression, Bundle bundle) argument
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
H A D | DialogActivity.java | 196 Bundle bundle = getIntent().getExtras(); 197 if (bundle != null) { 198 boolean createFragmentFromExtra = bundle.getBoolean(EXTRA_CREATE_FRAGMENT_FROM_EXTRA); 200 // If intent bundle is not null, and flag indicates that should create fragments, 201 // set ContentFragment and ActionFragment using bundle extras. 202 String title = bundle.getString(EXTRA_DIALOG_TITLE); 203 String breadcrumb = bundle.getString(EXTRA_DIALOG_BREADCRUMB); 204 String description = bundle.getString(EXTRA_DIALOG_DESCRIPTION); 205 String imageUriStr = bundle.getString(EXTRA_DIALOG_IMAGE_URI); 207 int backgroundColor = bundle [all...] |
/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | QuickActivity.java | 108 protected final void onCreate(Bundle bundle) { argument 112 super.onCreate(bundle); 114 onCreateTasks(bundle);
|