/packages/apps/Browser/src/com/android/browser/ |
H A D | AddBookmarkPage.java | 153 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 D | BookmarksLoader.java | 54 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 D | BrowserBookmarksPage.java | 106 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 D | BrowserProvider2.java | 857 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 D | BP2ProviderTests.java | 67 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 D | SelectSyncedCalendarsMultiAccountAdapter.java | 264 * @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 D | ContactSaveService.java | 79 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 D | ContactsUtils.java | 210 public static Intent getInvitableIntent(AccountType accountType, Uri lookupUri) { argument 211 String syncAdapterPackageName = accountType.syncAdapterPackageName; 212 String className = accountType.getInviteContactActivityClassName();
|
H A D | GroupMetaData.java | 31 public GroupMetaData(String accountName, String accountType, String dataSet, long groupId, argument 34 this.mAccountType = accountType;
|
H A D | SplitAggregateView.java | 117 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 D | ConfirmAddDetailActivity.java | 629 final AccountType accountType = accounts.getAccountType( 646 accountType, StructuredName.CONTENT_ITEM_TYPE);
|
H A D | ContactEditorActivity.java | 206 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 D | GroupDetailActivity.java | 134 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 D | ContactDetailFragment.java | 831 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 D | ContactDetailUpdatesFragment.java | 64 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 D | PhotoSelectionHandler.java | 176 final AccountType accountType = AccountTypeManager.getInstance(mContext).getAccountType( 180 delta, accountType, Photo.CONTENT_ITEM_TYPE);
|
H A D | StreamItemAdapter.java | 103 final AccountType accountType = 110 (accountType.getViewStreamItemPhotoActivity() == null) ? null : mPhotoClickListener 116 if (accountType.getViewStreamItemActivity() != null) {
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | AggregationSuggestionEngine.java | 59 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 D | AggregationSuggestionView.java | 117 String accountType = rawContact.accountType; 119 if (accountType == null) { 122 AccountType type = accountTypes.getAccountType(accountType, dataSet);
|
H A D | ContactEditorFragment.java | 454 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 D | ContactEditorUtils.java | 244 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 D | GroupMembershipView.java | 224 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 D | RawContactEditorView.java | 183 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 D | RawContactReadOnlyEditorView.java | 136 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 D | GroupBrowseListAdapter.java | 120 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);
|