/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
AlbumDataAdapter.java | 97 if (a.account == b.account) { 120 return a.account.compareTo(b.account);
|
PicasaSource.java | 58 private static final String PICASA_ACCOUNT = "account"; 318 String account = accounts.get(user); local 319 if (account == null) { 320 account = resolveAccount(user); 321 accounts.put(user, account); 340 data.account = account;
|
StockSource.java | 56 data.account = mStockPhotoName;
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountServerBaseFragment.java | 36 import com.android.emailcommon.provider.Account; 64 * account creation as well as subsequent account modification. If <code>mSettingsMode</code> 65 * if <code>false</code>, we are in account creation mode. Otherwise, we are in account 89 * Called when user clicks "next". Starts account checker. 96 * Called when account checker completes. Fragments are responsible for saving 242 * Check for duplicate account 257 // We're editing an existing account; don't allow modification of the user name 321 private class DuplicateCheckTask extends AsyncTask<Void, Void, Account> { 338 Account account = Utility.findExistingAccount(mContext, mAccountId, local 402 Account account = SetupData.getAccount(); local [all...] |
AccountSetupOutgoingFragment.java | 42 import com.android.emailcommon.provider.Account; 47 * Provides UI for SMTP account settings (for IMAP/POP accounts). 331 Account account = SetupData.getAccount(); local 332 account.mHostAuthSend.update(mContext, account.mHostAuthSend.toContentValues()); 349 Account account = SetupData.getAccount(); local 350 HostAuth sendAuth = account.getOrCreateHostAuthSend(mContext);
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
ContactEditorFragment.java | 19 import android.accounts.Account; 81 import com.android.contacts.model.account.AccountType; 82 import com.android.contacts.model.account.AccountWithDataSet; 83 import com.android.contacts.model.account.GoogleAccountType; 369 final Account account = mIntentExtras == null ? null : local 370 (Account) mIntentExtras.getParcelable(Intents.Insert.ACCOUNT); 374 if (account != null) { 375 // Account specified in Inten 860 AccountWithDataSet account = (name == null || type == null) ? null : local [all...] |
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/utility/ |
CalendarUtilitiesTests.java | 28 import com.android.emailcommon.provider.Account; 285 // Create a dummy account for the attendee 286 Account account = new Account(); local 287 account.mEmailAddress = ATTENDEE; 294 Message.FLAG_OUTGOING_MEETING_ACCEPT, uid, account); 331 // Create a dummy account for the attendee 332 Account account = new Account() local 394 Account account = new Account(); local 460 Account account = new Account(); local 541 Account account = new Account(); local [all...] |
/packages/apps/Exchange/tests/src/com/android/exchange/utility/ |
CalendarUtilitiesTests.java | 28 import com.android.emailcommon.provider.Account; 295 // Create a dummy account for the attendee 296 Account account = new Account(); local 297 account.mEmailAddress = ATTENDEE; 304 Message.FLAG_OUTGOING_MEETING_ACCEPT, uid, account); 341 // Create a dummy account for the attendee 342 Account account = new Account() local 404 Account account = new Account(); local 470 Account account = new Account(); local 551 Account account = new Account(); local [all...] |
/frameworks/ex/common/java/com/android/common/content/ |
SyncStateContentProviderHelper.java | 19 import android.accounts.Account; 113 public void onAccountsChanged(SQLiteDatabase db, Account[] accounts) { 119 Account account = new Account(accountName, accountType); local 120 if (!contains(accounts, account)) {
|
/packages/apps/Browser/src/com/android/browser/widget/ |
BookmarkWidgetConfigure.java | 77 BookmarkAccount account = mAccountAdapter.getItem(position); local 78 pickAccount(account.rootFolderId); 97 // We always have the local account, so fall back to that
|
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ |
ContactDeletionInteractionTest.java | 30 import com.android.contacts.model.account.AccountType; 31 import com.android.contacts.model.account.BaseAccountType;
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
FindParentMailboxTaskTest.java | 21 import com.android.emailcommon.provider.Account; 33 /** ID of the account created by {@link #setUpMailboxes}. */ 66 * Set up a test account and mailboxes. 69 Account a = ProviderTestUtils.setupAccount("a", true, mProviderContext); 80 private long createMailboxAndGetId(String name, Account account, int type, 82 Mailbox m = ProviderTestUtils.setupMailbox(name, account.mId, false, mProviderContext,
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
EasSyncService.java | 43 import com.android.emailcommon.provider.Account; 347 Account account = service.mAccount; local 348 if (account != null) { 349 account.mProtocolVersion = ourVersion; 352 (account.mFlags & Account.FLAGS_SUPPORTS_SEARCH) == 0) { 353 if (account.isSaved()) { 355 account.mFlags |= 356 Account.FLAGS_SUPPORTS_GLOBAL_SEARCH + Account.FLAGS_SUPPORTS_SEARCH 1376 Account account = svc.mAccount; local [all...] |
/frameworks/base/core/java/android/webkit/ |
WebViewClient.java | 271 * @param realm The account realm used to look up accounts. 272 * @param account An optional account. If not null, the account should be 274 * account, it should be used to log in the user. 278 String account, String args) {
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
GroupCreationDialogFragment.java | 26 import com.android.contacts.model.account.AccountWithDataSet;
|
ImportExportDialogFragment.java | 43 import com.android.contacts.model.account.AccountWithDataSet; 196 // - just one account -> use the account without asking the user 197 // - no account -> use phone-local storage without asking the user 202 // Send over to the account selector 222 * Called when an account is selected on {@link SelectAccountDialogFragment}. 225 public void onAccountChosen(AccountWithDataSet account, Bundle extraArgs) { 226 AccountSelectionUtil.doImport(getActivity(), extraArgs.getInt(KEY_RES_ID), account); local
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
AccountTypeWithDataSet.java | 17 package com.android.contacts.model.account; 31 * Encapsulates an "account type" string and a "data set" string. 39 /** account type. Can be null for fallback type. */ 55 * Return true if there are any contacts in the database with this account type and data set.
|
/packages/apps/Email/src/com/android/email/activity/ |
EmailActivity.java | 40 import com.android.emailcommon.provider.Account; 78 /** Id of the account that had a messaging exception most recently. */ 82 * Create an intent to launch and open account's inbox. 84 * @param accountId If -1, default account will be used. 135 * @param accountId ID of the account for the mailbox. Must not be {@link Account#NO_ACCOUNT}. 142 Preconditions.checkArgument(Account.isNormalAccount(accountId), 267 * In {@link MessageList#onResume()}, we go back to {@link Welcome} if an account 269 * up-to-date account list. Additionally, we detect and do the right thing if all 411 Account account = Account.restoreAccountWithId(EmailActivity.this, accountId) local [all...] |
MessageCompose.java | 69 import com.android.emailcommon.provider.Account; 153 private Account mAccount; 157 * on the UI. {@link #updateMessage(Message, Account, boolean, boolean)} must be called to sync 234 * the default account will be used; otherwise, the specified account is used. 255 * Compose a new message using the given account. If account is {@link Account#NO_ACCOUNT} 256 * the default account will be used. 273 * Compose a new message using a uri (mailto:) and a given account. If account is -1 th 340 Account account = null; local 1077 Account account = Account.restoreAccountWithId(MessageCompose.this, accountId); local 1097 final Account account = (Account) results[2]; local [all...] |
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
Search.java | 27 import com.android.emailcommon.provider.Account; 68 Account account = Account.restoreAccountWithId(context, accountId); local 69 if (account == null) return res; 70 EasSyncService svc = EasSyncService.setupServiceForAccount(context, account); 73 // Sanity check; account might have been deleted? 82 svc.mAccount = account;
|
/external/chromium/chrome/browser/sync/resources/ |
gaia_login.js | 10 // account" link. 57 setElementDisplay("create-account-div", "none"); 94 setElementDisplay("create-account-div", "none"); 95 document.getElementById('create-account-cell').height = 0; 109 document.getElementById("create-account-cell").style.visibility = 135 var acct_text = document.getElementById("gaia-account-text"); 143 // word 'Account' OR we're in rtl and 'Google' is BEFORE 'Account'.
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
KeyguardAccountView.java | 18 import android.accounts.Account; 50 * account's login/password to unlock the phone (and reset their lock pattern). 210 * the stored account that they probably intended. Prefer, in order: 221 * @return an account name from the database, or null if we can't 224 private Account findIntendedAccount(String username) { 225 Account[] accounts = AccountManager.get(mContext).getAccountsByTypeAsUser("com.google", 228 // Try to figure out which account they meant if they 232 Account bestAccount = null; 234 for (Account a: accounts) { 265 Account account = findIntendedAccount(login) local [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/ |
AccountUnlockScreen.java | 22 import android.accounts.Account; 52 * account's login/password to unlock the phone (and reset their lock pattern). 218 * the stored account that they probably intended. Prefer, in order: 229 * @return an account name from the database, or null if we can't 232 private Account findIntendedAccount(String username) { 233 Account[] accounts = AccountManager.get(mContext).getAccountsByType("com.google"); 235 // Try to figure out which account they meant if they 239 Account bestAccount = null; 241 for (Account a: accounts) { 272 Account account = findIntendedAccount(login) local [all...] |
/packages/apps/Contacts/src/com/android/contacts/activities/ |
AttachPhotoActivity.java | 41 import com.android.contacts.model.account.AccountType; 197 AccountType account = raw.getRawContactAccountType(this); local 199 RawContactModifier.ensureKindExists(raw, account, Photo.CONTENT_ITEM_TYPE); 201 Log.w(TAG, "cannot attach photo to this account type");
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
ImportProcessor.java | 18 import android.accounts.Account; 146 final Account account = request.account; local 153 new VCardEntryConstructor(estimatedVCardType, account, estimatedCharset);
|