Searched refs:accountType (Results 1 - 25 of 104) sorted by path

12345

/packages/apps/Browser/src/com/android/browser/
H A DAddBookmarkPage.java153 account.accountType, account.accountName);
408 setAccount(info.accountName, info.accountType);
420 && TextUtils.equals(info.lastUsedAccountType, info.accountType)) {
442 void setAccount(String accountName, String accountType) { argument
446 && TextUtils.equals(account.accountType, accountType)) {
1030 String accountName, accountType; field in class:AddBookmarkPage.BookmarkAccount
1036 accountType = cursor.getString(
1058 String accountType; field in class:AddBookmarkPage.EditBookmarkInfo
1110 info.accountType
[all...]
H A DBookmarksLoader.java54 public BookmarksLoader(Context context, String accountType, String accountName) { argument
55 super(context, addAccount(Bookmarks.CONTENT_URI_DEFAULT_FOLDER, accountType, accountName),
57 mAccountType = accountType;
66 static Uri addAccount(Uri uri, String accountType, String accountName) { argument
67 return uri.buildUpon().appendQueryParameter(Bookmarks.PARAM_ACCOUNT_TYPE, accountType).
H A DBrowserBookmarksPage.java106 String accountType = args.getString(ACCOUNT_TYPE);
109 accountType, accountName);
123 String accountType = cursor.getString(1);
126 args.putString(ACCOUNT_TYPE, accountType);
/packages/apps/Browser/src/com/android/browser/provider/
H A DBrowserProvider2.java857 String accountType = uri.getQueryParameter(Bookmarks.PARAM_ACCOUNT_TYPE);
860 if (accountType != null && accountName != null) {
861 if (!isNullAccount(accountType) && !isNullAccount(accountName)) {
865 new String[] { accountType, accountName });
944 String accountType = uri.getQueryParameter(Bookmarks.PARAM_ACCOUNT_TYPE);
946 if (!isNullAccount(accountType) && !isNullAccount(accountName)) {
983 args = new String[] {accountType, accountName,
984 accountType, accountName};
1001 accountType, accountName, ChromeSyncColumns.FOLDER_NAME_OTHER_BOOKMARKS,
1018 String accountType
1347 queryDefaultFolderId(String accountName, String accountType) argument
1528 isValidParent(String accountType, String accountName, long parentId) argument
[all...]
/packages/apps/Browser/tests/src/com/android/browser/tests/
H A DBP2ProviderTests.java67 private void doTestIsValidParent(String accountName, String accountType) { argument
73 values.put(BrowserContract.Bookmarks.ACCOUNT_TYPE, accountType);
95 assertEquals(accountType, insertedAccountType);
113 assertEquals(accountType, insertedAccountType);
118 accountType = "com.google";
120 values.put(BrowserContract.Bookmarks.ACCOUNT_TYPE, accountType);
133 assertEquals(accountType, insertedAccountType);
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
H A DSelectSyncedCalendarsMultiAccountAdapter.java264 * @param accountType the type of account
267 protected CharSequence getLabelForType(final String accountType) { argument
269 if (mTypeToAuthDescription.containsKey(accountType)) {
271 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType);
275 Log.w(TAG, "No label for account type " + ", type " + accountType);
318 String accountType = cursor.getString(accountTypeColumn);
319 CharSequence accountLabel = getLabelForType(accountType);
331 String accountType = groupCursor.getString(accountTypeColumn);
333 Cursor childCursor = mChildrenCursors.get(accountType + "#" + account);
334 new RefreshCalendars(groupCursor.getPosition(), account, accountType)
356 RefreshCalendars(int token, String account, String accountType) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/
H A DContactSaveService.java79 public static final String EXTRA_ACCOUNT_TYPE = "accountType";
248 String accountType = intent.getStringExtra(EXTRA_ACCOUNT_TYPE);
256 .withValue(RawContacts.ACCOUNT_TYPE, accountType)
583 String accountType = intent.getStringExtra(EXTRA_ACCOUNT_TYPE);
590 values.put(Groups.ACCOUNT_TYPE, accountType);
H A DContactsUtils.java210 public static Intent getInvitableIntent(AccountType accountType, Uri lookupUri) { argument
211 String syncAdapterPackageName = accountType.syncAdapterPackageName;
212 String className = accountType.getInviteContactActivityClassName();
H A DGroupMetaData.java31 public GroupMetaData(String accountName, String accountType, String dataSet, long groupId, argument
34 this.mAccountType = accountType;
H A DSplitAggregateView.java117 String accountType; field in class:SplitAggregateView.RawContactInfo
145 String thisAccount = accountType != null ? accountType : "";
146 String thatAccount = another.accountType != null ? another.accountType : "";
167 info.accountType = cursor.getString(SplitQuery.ACCOUNT_TYPE);
251 AccountType accountType = mAccountTypes.getAccountType(info.accountType, info.dataSet);
252 if (accountType != null) {
253 icon = accountType
[all...]
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DConfirmAddDetailActivity.java629 final AccountType accountType = accounts.getAccountType(
646 accountType, StructuredName.CONTENT_ITEM_TYPE);
H A DContactEditorActivity.java206 final AccountType accountType = accountTypes.getAccountType(
210 intent.setClassName(accountType.syncAdapterPackageName,
211 accountType.getCreateContactActivityClassName());
231 final AccountType accountType = accountTypes.getAccountType(
235 intent.setClassName(accountType.syncAdapterPackageName,
236 accountType.getEditContactActivityClassName());
H A DGroupDetailActivity.java134 final AccountType accountType =
137 || TextUtils.isEmpty(accountType.getViewGroupActivity())) {
150 intent.setClassName(accountType.syncAdapterPackageName,
151 accountType.getViewGroupActivity());
/packages/apps/Contacts/src/com/android/contacts/detail/
H A DContactDetailFragment.java831 for (AccountType accountType : mOtherEntriesMap.keySet()) {
834 mAllEntries.add(new NetworkTitleViewEntry(mContext, accountType));
836 for (DetailViewEntry detailEntry : mOtherEntriesMap.get(accountType)) {
2202 final AccountType accountType = mAccountTypes.get(position);
2204 CharSequence action = accountType.getInviteContactActionLabel(mContext);
2205 CharSequence label = accountType.getDisplayLabel(mContext);
2214 icon.setImageDrawable(accountType.getDisplayIcon(mContext));
H A DContactDetailUpdatesFragment.java64 final AccountType accountType = getAccountTypeForStreamItemEntry(streamItemEntry);
69 intent.setClassName(accountType.syncAdapterPackageName,
70 accountType.getViewStreamItemActivity());
83 final AccountType accountType = getAccountTypeForStreamItemEntry(tag.streamItem);
86 intent.setClassName(accountType.syncAdapterPackageName,
87 accountType.getViewStreamItemPhotoActivity());
H A DPhotoSelectionHandler.java176 final AccountType accountType = AccountTypeManager.getInstance(mContext).getAccountType(
180 delta, accountType, Photo.CONTENT_ITEM_TYPE);
H A DStreamItemAdapter.java103 final AccountType accountType =
110 (accountType.getViewStreamItemPhotoActivity() == null) ? null : mPhotoClickListener
116 if (accountType.getViewStreamItemActivity() != null) {
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DAggregationSuggestionEngine.java59 public String accountType; field in class:AggregationSuggestionEngine.RawContact
65 return "ID: " + rawContactId + " account: " + accountType + "/" + accountName
396 rawContact.accountType = mDataCursor.getString(DataQuery.ACCOUNT_TYPE);
H A DAggregationSuggestionView.java117 String accountType = rawContact.accountType;
119 if (accountType == null) {
122 AccountType type = accountTypes.getAccountType(accountType, dataSet);
H A DContactEditorFragment.java454 AccountType accountType = rawContact.getAccountType();
455 if (accountType.getEditContactActivityClassName() != null &&
456 !accountType.areContactsWritable()) {
583 final AccountType accountType =
587 if (accountType.getCreateContactActivityClassName() != null) {
592 bindEditorsForNewContact(account, accountType);
625 final AccountType accountType) {
626 bindEditorsForNewContact(account, accountType, null, null);
1312 if (type1.accountType == null) {
1315 value = type1.accountType
624 bindEditorsForNewContact(AccountWithDataSet account, final AccountType accountType) argument
[all...]
H A DContactEditorUtils.java244 types.add(type.accountType);
286 final String accountType = resultData.getStringExtra(AccountManager.KEY_ACCOUNT_TYPE);
290 if (TextUtils.isEmpty(accountType) || TextUtils.isEmpty(accountName)) return null;
292 return new AccountWithDataSet(accountName, accountType, null);
H A DGroupMembershipView.java224 String accountType = mGroupMetaData.getString(GroupMetaDataLoader.ACCOUNT_TYPE);
226 if (accountName.equals(mAccountName) && accountType.equals(mAccountType)
294 String accountType = mGroupMetaData.getString(GroupMetaDataLoader.ACCOUNT_TYPE);
296 if (accountName.equals(mAccountName) && accountType.equals(mAccountType)
H A DRawContactEditorView.java183 CharSequence accountType = type.getDisplayLabel(mContext);
185 accountType));
190 CharSequence accountType = type.getDisplayLabel(mContext);
191 if (TextUtils.isEmpty(accountType)) {
192 accountType = mContext.getString(R.string.account_phone);
203 mContext.getString(R.string.account_type_format, accountType));
363 String accountType = mState.getAccountType();
371 if (name.equals(accountName) && type.equals(accountType)
H A DRawContactReadOnlyEditorView.java136 CharSequence accountType = type.getDisplayLabel(mContext);
138 accountType));
142 CharSequence accountType = type.getDisplayLabel(mContext);
143 if (TextUtils.isEmpty(accountType)) {
144 accountType = mContext.getString(R.string.account_phone);
155 accountType));
/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupBrowseListAdapter.java120 String accountType = mCursor.getString(GroupListLoader.ACCOUNT_TYPE);
137 accountType.equals(previousGroupAccountType) &&
143 return new GroupListItem(accountName, accountType, dataSet, groupId, title,
198 AccountType accountType = mAccountTypeManager.getAccountType(
200 viewCache.accountType.setText(accountType.getDisplayLabel(mContext).toString());
213 public final TextView accountType; field in class:GroupBrowseListAdapter.GroupListItemViewCache
223 accountType = (TextView) view.findViewById(R.id.account_type);

Completed in 211 milliseconds

12345