Lines Matching refs:mContext

227     private Context mContext;
350 mContext = activity;
351 mEditorUtils = ContactEditorUtils.getInstance(mContext);
525 AccountType accountType = rawContact.getAccountType(mContext);
543 if (!contact.isUserProfile() && !contact.isWritableContact(mContext)) {
608 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(mContext);
613 RawContactModifier.parseExtras(mContext, type, state, extras);
630 Intent intent = new Intent(mContext, ContactEditorAccountsChangedActivity.class);
651 AccountTypeManager.getInstance(mContext).getAccounts(true);
669 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(mContext);
694 AccountTypeManager accountTypes = AccountTypeManager.getInstance(mContext);
737 RawContactModifier.parseExtras(mContext, newAccountType, insert, mIntentExtras);
739 RawContactModifier.migrateStateForNewContact(mContext, oldState, insert,
785 final LayoutInflater inflater = (LayoutInflater) mContext.getSystemService(
787 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(mContext);
809 AccountTypeManager.getInstance(mContext).getAccounts(true);
920 final PhotoHandler photoHandler = new PhotoHandler(mContext, editor, mode, state);
975 final ListPopupWindow popup = new ListPopupWindow(mContext, null);
977 new AccountsListAdapter(mContext,
1035 mState.getFirstWritableRawContact(mContext) != null);
1040 HelpUtils.prepareHelpMenuItem(mContext, helpMenu, R.string.help_url_people_add);
1043 HelpUtils.prepareHelpMenuItem(mContext, helpMenu, R.string.help_url_people_edit);
1088 Toast.makeText(mContext, R.string.toast_join_with_empty_contact,
1109 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(mContext);
1146 Intent intent = ContactSaveService.createSaveContactIntent(mContext, mState,
1148 ((Activity)mContext).getClass(), ContactEditorActivity.ACTION_SAVE_COMPLETED,
1150 mContext.startService(intent);
1213 Toast.makeText(mContext, R.string.contactSavedToast, Toast.LENGTH_SHORT).show();
1216 Toast.makeText(mContext, R.string.contactSavedErrorToast, Toast.LENGTH_LONG).show();
1234 mContext.getContentResolver(), contactLookupUri));
1301 Intent intent = ContactSaveService.createJoinContactsIntent(mContext, mContactIdForJoin,
1304 mContext.startService(intent);
1311 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(mContext);
1387 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(mContext);
1518 mAggregationSuggestionPopup = new ListPopupWindow(mContext, null);
1776 mContext.getContentResolver().openInputStream(uri);
1799 return new ContactLoader(mContext, mLookupUri, true);
1835 return new GroupMetaDataLoader(mContext, Groups.CONTENT_URI);
1949 final Bitmap bitmap = ContactPhotoUtils.getBitmapFromUri(mContext, uri);