Searched refs:starred (Results 1 - 25 of 27) sorted by relevance

12

/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DConversationViewHeader.java134 // in the conversation header are the folders, priority indicators, and starred state.
139 setStarred(conv.starred);
152 mConversation.starred = !mConversation.starred;
153 setStarred(mConversation.starred);
155 UIProvider.ConversationColumns.STARRED, mConversation.starred);
H A DConversationItemViewModel.java197 List<Folder> rawFolders, boolean starred, boolean read, int priority,
202 return Objects.hashCode(convInfo, dateText, rawFolders, starred, read, priority,
218 conversation.conversationInfo, conversation.getRawFolders(), conversation.starred,
228 conversation.conversationInfo, conversation.getRawFolders(), conversation.starred,
196 getHashCode(CharSequence dateText, Object convInfo, List<Folder> rawFolders, boolean starred, boolean read, int priority, int sendingState) argument
H A DMessageCursor.java80 // Is the conversation starred?
84 if (getMessage().starred) {
182 " sendingState=%s read=%s starred=%s attUris=%s]\n",
184 m.sendingState, m.read, m.starred, attUris));
H A DConversationMessage.java80 return Objects.hashCode(uri, read, starred, getAttachmentsStateHashCode());
H A DSelectedConversationsActionMenu.java165 LogUtils.d(LOG_TAG, "We are in a starred folder, removing the star");
168 LogUtils.d(LOG_TAG, "Not in a starred folder.");
341 c.starred = star;
369 if (!conversation.starred) {
H A DConversationItemView.java1412 return mHeader.conversation.starred ? STAR_ON : STAR_OFF;
1510 mHeader.conversation.starred = !mHeader.conversation.starred;
1519 mHeader.conversation.starred);
H A DConversationViewAdapter.java141 v.setStarred(mConversation.starred);
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DConversation.java93 public boolean starred; field in class:Conversation
188 dest.writeInt(starred ? 1 : 0);
214 starred = (in.readInt() != 0);
292 starred = cursor.getInt(UIProvider.CONVERSATION_STARRED_COLUMN) != 0;
331 starred = other.starred;
353 boolean seen, boolean starred, FolderList rawFolders, int convFlags, int personalLevel,
370 this.starred = starred;
460 public Builder setStarred(boolean starred) { argument
350 Conversation(long id, Uri uri, String subject, long dateMs, boolean hasAttachment, Uri messageListUri, int sendingState, int priority, boolean read, boolean seen, boolean starred, FolderList rawFolders, int convFlags, int personalLevel, boolean spam, boolean phishing, boolean muted, Uri accountUri, ConversationInfo conversationInfo, Uri conversationBase, boolean isRemote, String permalink, long orderKey) argument
[all...]
H A DMessage.java171 public boolean starred; field in class:Message
400 starred = cursor.getInt(UIProvider.MESSAGE_STARRED_COLUMN) != 0;
449 starred = false;
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
H A DEmailContentSetupUtils.java88 // Default starred, read, (backword compatibility)
96 boolean addBody, boolean saveIt, Context context, boolean starred, boolean read) {
104 message.mFlagFavorite = starred;
95 setupMessage(String name, long accountId, long mailboxId, boolean addBody, boolean saveIt, Context context, boolean starred, boolean read) argument
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
H A DConversationCursorTests.java74 private static final String STARRED_COLUMN = "starred";
83 private static ContentValues makeConvo(String subject, String folder, int read, int starred) { argument
88 cv.put(STARRED_COLUMN, starred);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DConversationUpdater.java118 void starMessage(ConversationMessage msg, boolean starred); argument
H A DSecureConversationViewFragment.java161 headerView.setStarred(mConversation.starred);
H A DAbstractActivityController.java1928 public void starMessage(ConversationMessage msg, boolean starred) { argument
1929 if (msg.starred == starred) {
1933 msg.starred = starred;
1938 // when unstarring, only propagate the change if this was the only message starred
1939 final boolean conversationStarred = starred || msg.isConversationStarred();
1941 if (conversationStarred != conv.starred) {
1942 conv.starred = conversationStarred;
1948 values.put(UIProvider.MessageColumns.STARRED, starred
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
H A DContact.java146 boolean starred, Integer presence, boolean sendToVoicemail, String customRingtone,
165 mStarred = starred;
143 Contact(Uri requestedUri, Uri uri, Uri lookupUri, long directoryId, String lookupKey, long id, long nameRawContactId, int displayNameSource, long photoId, String photoUri, String displayName, String altDisplayName, String phoneticName, boolean starred, Integer presence, boolean sendToVoicemail, String customRingtone, boolean isUserProfile) argument
H A DContactLoader.java377 false /* starred */,
618 final boolean starred = cursor.getInt(ContactQuery.STARRED) != 0;
636 altDisplayName, phoneticName, starred, presence, sendToVoicemail,
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForGroupMembership.java81 updateRawContactsStar(db, rawContactId, true /* starred */);
104 private void updateRawContactsStar(SQLiteDatabase db, long rawContactId, boolean starred) { argument
106 rawContactValues.put(RawContacts.STARRED, starred ? 1 : 0);
130 updateRawContactsStar(db, rawContactId, false /* starred */);
/packages/apps/Dialer/src/com/android/dialer/list/
H A DPhoneFavoritesTileAdapter.java115 * NOTE This soft limit would not restrict the number of starred contacts to show, rather
116 * 1. If the count of starred contacts is less than this limit, show 20 tiles total.
117 * 2. If the count of starred contacts is more than or equal to this limit,
118 * show all starred tiles and no frequents.
239 final int starred = cursor.getInt(mStarredIndex);
242 // We display a maximum of TILES_SOFT_LIMIT contacts, or the total number of starred
244 if (starred < 1 && counter >= TILES_SOFT_LIMIT) {
581 // For example, the user had 10 frequents, starred and pinned one of them at the last spot,
/packages/apps/Email/tests/src/com/android/email/provider/
H A DProviderTestUtils.java154 // Default starred, read, (backword compatibility)
162 boolean addBody, boolean saveIt, Context context, boolean starred, boolean read) {
171 message.mFlagFavorite = starred;
161 setupMessage(String name, long accountId, long mailboxId, boolean addBody, boolean saveIt, Context context, boolean starred, boolean read) argument
H A DProviderTests.java169 Context c, Mailbox b, boolean starred, boolean read, int flagLoaded) {
176 starred,
1986 private static Message createMessage(Context c, Mailbox b, boolean starred, boolean read) { argument
1993 starred,
2108 // b1 (account 1, inbox): 1 message, including 1 starred
2111 // b2 (account 1, outbox): 2 message, including 1 starred
2115 // b3 (account 2, inbox): 3 message, including 1 starred
2122 // bt (account 2, trash) has 3 messages, including 2 starred
168 createMessage( Context c, Mailbox b, boolean starred, boolean read, int flagLoaded) argument
/packages/apps/Dialer/tests/src/com/android/dialer/database/
H A DSmartDialPrefixTest.java145 int lastTimeUsed, int timesUsed, int starred, int isSuperPrimary, int inVisibleGroup,
157 photoId, lastTimeUsed, timesUsed, starred, isSuperPrimary, inVisibleGroup,
143 constructNewContact(MatrixCursor contactCursor, MatrixCursor nameCursor, int id, String number, int contactId, String lookupKey, String displayName, int photoId, int lastTimeUsed, int timesUsed, int starred, int isSuperPrimary, int inVisibleGroup, int isPrimary) argument
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
H A DMailboxTests.java80 private static Message createMessage(Context c, Mailbox b, boolean starred, boolean read, argument
83 "1", b.mAccountKey, b.mId, true, false, c, starred, read);
370 // b1 (account 1, inbox): 1 message, including 1 starred
373 // b2 (account 1, outbox): 2 message, including 1 starred
377 // b3 (account 2, inbox): 3 message, including 1 starred
384 // bt (account 2, trash) has 3 messages, including 2 starred
397 assertEquals(3, Message.getFavoriteMessageCount(c)); // excludes starred in trash
399 assertEquals(1, Message.getFavoriteMessageCount(c, a2.mId)); // excludes starred in trash
/packages/providers/ContactsProvider/tests/assets/testUnsynced/
H A Dlegacy_contacts.sql33 CREATE TABLE people (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,_sync_id TEXT,_sync_time TEXT,_sync_version TEXT,_sync_local_id INTEGER,_sync_dirty INTEGER NOT NULL DEFAULT 0,_sync_mark INTEGER,name TEXT COLLATE LOCALIZED,notes TEXT COLLATE LOCALIZED,times_contacted INTEGER NOT NULL DEFAULT 0,last_time_contacted INTEGER,starred INTEGER NOT NULL DEFAULT 0,primary_phone INTEGER REFERENCES phones(_id),primary_organization INTEGER REFERENCES organizations(_id),primary_email INTEGER REFERENCES contact_methods(_id),photo_version TEXT,custom_ringtone TEXT,send_to_voicemail INTEGER,phonetic_name TEXT COLLATE LOCALIZED);
/packages/providers/ContactsProvider/tests/assets/test1/
H A Dlegacy_contacts.sql53 CREATE TABLE people (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,_sync_id TEXT,_sync_time TEXT,_sync_version TEXT,_sync_local_id INTEGER,_sync_dirty INTEGER NOT NULL DEFAULT 0,_sync_mark INTEGER,name TEXT COLLATE LOCALIZED,notes TEXT COLLATE LOCALIZED,times_contacted INTEGER NOT NULL DEFAULT 0,last_time_contacted INTEGER,starred INTEGER NOT NULL DEFAULT 0,primary_phone INTEGER REFERENCES phones(_id),primary_organization INTEGER REFERENCES organizations(_id),primary_email INTEGER REFERENCES contact_methods(_id),photo_version TEXT,custom_ringtone TEXT,send_to_voicemail INTEGER,phonetic_name TEXT COLLATE LOCALIZED);
/packages/providers/ContactsProvider/tests/assets/testSynced/
H A Dlegacy_contacts.sql43 CREATE TABLE people (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,_sync_id TEXT,_sync_time TEXT,_sync_version TEXT,_sync_local_id INTEGER,_sync_dirty INTEGER NOT NULL DEFAULT 0,_sync_mark INTEGER,name TEXT COLLATE LOCALIZED,notes TEXT COLLATE LOCALIZED,times_contacted INTEGER NOT NULL DEFAULT 0,last_time_contacted INTEGER,starred INTEGER NOT NULL DEFAULT 0,primary_phone INTEGER REFERENCES phones(_id),primary_organization INTEGER REFERENCES organizations(_id),primary_email INTEGER REFERENCES contact_methods(_id),photo_version TEXT,custom_ringtone TEXT,send_to_voicemail INTEGER,phonetic_name TEXT COLLATE LOCALIZED);

Completed in 1835 milliseconds

12