/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationMessage.java | 98 * Sets the starred state of this Message object and also updates the cached instance in 101 * @param starred new starred state 103 public void setStarredInConversation(boolean starred) { 104 this.starred = starred; 108 other.starred = starred;
|
ConversationViewHeader.java | 130 setStarred(mConversation.starred); 148 // in the conversation header are the folders, priority indicators, and starred state. 153 setStarred(conv.starred); 166 mConversation.starred = !mConversation.starred; 167 setStarred(mConversation.starred); 169 UIProvider.ConversationColumns.STARRED, mConversation.starred);
|
MessageCursor.java | 80 // 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));
|
ConversationItemViewModel.java | 195 List<Folder> rawFolders, boolean starred, boolean read, int priority, 200 return Objects.hashCode(convInfo, dateText, rawFolders, starred, read, priority, 216 conversation.conversationInfo, conversation.getRawFolders(), conversation.starred, 226 conversation.conversationInfo, conversation.getRawFolders(), conversation.starred,
|
SelectedConversationsActionMenu.java | 172 if (mFolder.isType(UIProvider.FolderType.STARRED)) { 173 LogUtils.d(LOG_TAG, "We are in a starred folder, removing the star"); 176 LogUtils.d(LOG_TAG, "Not in a starred folder."); 346 mUpdater.updateConversation(target, ConversationColumns.STARRED, star); 349 c.starred = star; 378 if (!conversation.starred) {
|
ConversationItemView.java | [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/database/ |
DatabaseTestUtils.java | 47 Contacts.STARRED, // 10 63 String displayName, int photoId, int lastTimeUsed, int timesUsed, int starred, 76 photoId, lastTimeUsed, timesUsed, starred, isSuperPrimary, inVisibleGroup,
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
Conversation.java | 91 * @see UIProvider.ConversationColumns#STARRED 93 public boolean starred; field in class:Conversation 188 dest.writeInt(starred ? 1 : 0); 214 starred = (in.readInt() != 0); 290 starred = cursor.getInt(UIProvider.CONVERSATION_STARRED_COLUMN) != 0; 329 starred = other.starred; 351 boolean seen, boolean starred, FolderList rawFolders, int convFlags, int personalLevel, 368 this.starred = starred; [all...] |
Message.java | 169 * @see UIProvider.MessageColumns#STARRED 171 public boolean starred; field in class:Message 254 this.starred == o.starred && 402 starred = cursor.getInt(UIProvider.MESSAGE_STARRED_COLUMN) != 0; 451 starred = false;
|
/libcore/ojluni/src/main/java/sun/net/www/ |
MimeEntry.java | 41 boolean starred; field in class:MimeEntry 78 starred = isStarred(typeName); 103 starred = isStarred(typeName); 262 if (starred) {
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/ |
ConversationCursorTests.java | 74 private static final String STARRED_COLUMN = "starred"; 83 private static ContentValues makeConvo(String subject, String folder, int read, int starred) { 88 cv.put(STARRED_COLUMN, starred);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ConversationUpdater.java | 127 void starMessage(ConversationMessage msg, boolean starred);
|
SecureConversationViewFragment.java | 162 headerView.setStarred(mConversation.starred);
|
AbstractActivityController.java | [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
MetadataEntryParser.java | 46 private final static String STARRED = "starred"; 135 int sendToVoicemail, int starred, int pinned, 140 this.mStarred = starred; 159 // Parse contactPrefs to get sendToVoicemail, starred, pinned. 163 final boolean starred = contactPrefs.has(STARRED) 164 ? contactPrefs.getBoolean(STARRED) : false; 234 sendToVoicemail ? 1 : 0, starred ? 1 : 0, pinned,
|
DataRowHandlerForGroupMembership.java | 80 updateRawContactsStar(db, rawContactId, true /* starred */); 103 private void updateRawContactsStar(SQLiteDatabase db, long rawContactId, boolean starred) { 105 rawContactValues.put(RawContacts.STARRED, starred ? 1 : 0); 129 updateRawContactsStar(db, rawContactId, false /* starred */);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
MetadataEntryParserTest.java | 60 int starred = 0; local 113 sendToVoicemail, starred, pinned, fieldDataList, aggregationDataList); 185 " \"starred\": false,\n" + 208 " \"starred\": false,\n" +
|
/packages/providers/ContactsProvider/tests/assets/upgradeTest/ |
contacts2_1108.sql | 15 CREATE TABLE contacts (_id INTEGER PRIMARY KEY AUTOINCREMENT,name_raw_contact_id INTEGER REFERENCES raw_contacts(_id),photo_id INTEGER REFERENCES data(_id),photo_file_id INTEGER REFERENCES photo_files(_id),custom_ringtone TEXT,send_to_voicemail INTEGER NOT NULL DEFAULT 0,times_contacted INTEGER NOT NULL DEFAULT 0,last_time_contacted INTEGER,starred INTEGER NOT NULL DEFAULT 0,pinned INTEGER NOT NULL DEFAULT 0,has_phone_number INTEGER NOT NULL DEFAULT 0,lookup TEXT,status_update_id INTEGER REFERENCES data(_id),contact_last_updated_timestamp INTEGER); 17 CREATE TABLE raw_contacts (_id INTEGER PRIMARY KEY AUTOINCREMENT,account_id INTEGER REFERENCES accounts(_id),sourceid TEXT,backup_id TEXT,raw_contact_is_read_only INTEGER NOT NULL DEFAULT 0,version INTEGER NOT NULL DEFAULT 1,dirty INTEGER NOT NULL DEFAULT 0,deleted INTEGER NOT NULL DEFAULT 0,metadata_dirty INTEGER NOT NULL DEFAULT 0,contact_id INTEGER REFERENCES contacts(_id),aggregation_mode INTEGER NOT NULL DEFAULT 0,aggregation_needed INTEGER NOT NULL DEFAULT 1,custom_ringtone TEXT,send_to_voicemail INTEGER NOT NULL DEFAULT 0,times_contacted INTEGER NOT NULL DEFAULT 0,last_time_contacted INTEGER,starred INTEGER NOT NULL DEFAULT 0,pinned INTEGER NOT NULL DEFAULT 0,display_name TEXT,display_name_alt TEXT,display_name_source INTEGER NOT NULL DEFAULT 0,phonetic_name TEXT,phonetic_name_style TEXT,sort_key TEXT COLLATE PHONEBOOK,phonebook_label TEXT,phonebook_bucket INTEGER,sort_key_alt TEXT COLLATE PHONEBOOK,phonebook_label_alt TEXT,phonebook_bucket_alt INTEGER,name_verified INTEGER NOT NULL DEFAULT 0,sync1 TEXT, sync2 TEXT, sync3 TEXT, sync4 TEXT ); 40 INSERT INTO "groups" VALUES(2,NULL,1,NULL,1,0,'Starred in Android',NULL,NULL,NULL,0,1,1,0,1,1,NULL,NULL,NULL,NULL); 139 CREATE VIEW view_data AS SELECT data._id AS _id,hash_id, raw_contact_id, raw_contacts.contact_id AS contact_id, raw_contacts.account_id,accounts.account_name AS account_name,accounts.account_type AS account_type,accounts.data_set AS data_set,(CASE WHEN accounts.data_set IS NULL THEN accounts.account_type ELSE accounts.account_type||'/'||accounts.data_set END) AS account_type_and_data_set,raw_contacts.sourceid AS sourceid,raw_contacts.backup_id AS backup_id,raw_contacts.version AS version,raw_contacts.dirty AS dirty,raw_contacts.sync1 AS sync1,raw_contacts.sync2 AS sync2,raw_contacts.sync3 AS sync3,raw_contacts.sync4 AS sync4, is_primary, is_super_primary, data_version, data.package_id,package AS res_package,data.mimetype_id,mimetype AS mimetype, is_read_only, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, carrier_presence, data_sync1, data_sync2, data_sync3, data_sync4, contacts.custom_ringtone AS custom_ringtone,contacts.send_to_voicemail AS send_to_voicemail,contacts.last_time_contacted AS last_time_contacted,contacts.times_contacted AS times_contacted,contacts.starred AS starred,contacts.pinned AS pinned, name_raw_contact.display_name_source AS display_name_source, name_raw_contact.display_name AS display_name, name_raw_contact.display_name_alt AS display_name_alt, name_raw_contact.phonetic_name AS phonetic_name, name_raw_contact.phonetic_name_style AS phonetic_name_style, name_raw_contact.sort_key AS sort_key, name_raw_contact.phonebook_label AS phonebook_label, name_raw_contact.phonebook_bucket AS phonebook_bucket, name_raw_contact.sort_key_alt AS sort_key_alt, name_raw_contact.phonebook_label_alt AS phonebook_label_alt, name_raw_contact.phonebook_bucket_alt AS phonebook_bucket_alt, has_phone_number, name_raw_contact_id, lookup, photo_id, photo_file_id, CAST(EXISTS (SELECT _id FROM visible_contacts WHERE contacts._id=visible_contacts._id) AS INTEGER) AS in_visible_group, CAST(EXISTS (SELECT _id FROM default_directory WHERE contacts._id=default_directory._id) AS INTEGER) AS in_default_directory, status_update_id, contacts.contact_last_updated_timestamp, (CASE WHEN photo_file_id IS NULL THEN (CASE WHEN photo_id IS NULL OR photo_id=0 THEN NULL ELSE 'content://com.android.contacts/contacts/'||raw_contacts.contact_id|| '/photo' END) ELSE 'content://com.android.contacts/display_photo/'||photo_file_id END) AS photo_uri, (CASE WHEN photo_id IS NULL OR photo_id=0 THEN NULL ELSE 'content://com.android.contacts/contacts/'||raw_contacts.contact_id|| '/photo' END) AS photo_thumb_uri, 0 AS raw_contact_is_user_profile, groups.sourceid AS group_sourceid FROM data JOIN mimetypes ON (data.mimetype_id=mimetypes._id) JOIN raw_contacts ON (data.raw_contact_id=raw_contacts._id) JOIN accounts ON (raw_contacts.account_id=accounts._id) JOIN contacts ON (raw_contacts.contact_id=contacts._id) JOIN raw_contacts AS name_raw_contact ON(name_raw_contact_id=name_raw_contact._id) LEFT OUTER JOIN packages ON (data.package_id=packages._id) LEFT OUTER JOIN groups ON (mimetypes.mimetype='vnd.android.cursor.item/group_membership' AND groups._id=data.data1); 140 CREATE VIEW view_raw_contacts AS SELECT raw_contacts._id AS _id,contact_id, aggregation_mode, raw_contact_is_read_only, deleted, raw_contacts.metadata_dirty, display_name_source, display_name, display_name_alt, phonetic_name, phonetic_name_style, sort_key, phonebook_label, phonebook_bucket, sort_key_alt, phonebook_label_alt, phonebook_bucket_alt, 0 AS raw_contact_is_user_profile, custom_ringtone,send_to_voicemail,last_time_contacted,times_contacted,starred,pinned, raw_contacts.account_id,accounts.account_name AS account_name,accounts.account_type AS account_type,accounts.data_set AS data_set,(CASE WHEN accounts.data_set IS NULL THEN accounts.account_type ELSE accounts.account_type||'/'||accounts.data_set END) AS account_type_and_data_set,raw_contacts.sourceid AS sourceid,raw_contacts.backup_id AS backup_id,raw_contacts.version AS version,raw_contacts.dirty AS dirty,raw_contacts.sync1 AS sync1,raw_contacts.sync2 AS sync2,raw_contacts.sync3 AS sync3,raw_contacts.sync4 AS sync4 FROM raw_contacts JOIN accounts ON (raw_contacts.account_id=accounts._id); 141 CREATE VIEW view_contacts AS SELECT contacts._id AS _id,contacts.custom_ringtone AS custom_ringtone, name_raw_contact.display_name_source AS display_name_source, name_raw_contact.display_name AS display_name, name_raw_contact.display_name_alt AS display_name_alt, name_raw_contact.phonetic_name AS phonetic_name, name_raw_contact.phonetic_name_style AS phonetic_name_style, name_raw_contact.sort_key AS sort_key, name_raw_contact.phonebook_label AS phonebook_label, name_raw_contact.phonebook_bucket AS phonebook_bucket, name_raw_contact.sort_key_alt AS sort_key_alt, name_raw_contact.phonebook_label_alt AS phonebook_label_alt, name_raw_contact.phonebook_bucket_alt AS phonebook_bucket_alt, has_phone_number, name_raw_contact_id, lookup, photo_id, photo_file_id, CAST(EXISTS (SELECT _id FROM visible_contacts WHERE contacts._id=visible_contacts._id) AS INTEGER) AS in_visible_group, CAST(EXISTS (SELECT _id FROM default_directory WHERE contacts._id=default_directory._id) AS INTEGER) AS in_default_directory, status_update_id, contacts.contact_last_updated_timestamp, contacts.last_time_contacted AS last_time_contacted, contacts.send_to_voicemail AS send_to_voicemail, contacts.starred AS starred, contacts.pinned AS pinned, contacts.times_contacted AS times_contacted, (CASE WHEN photo_file_id IS NULL THEN (CASE WHEN photo_id IS NULL OR photo_id=0 THEN NULL ELSE 'content://com.android.contacts/contacts/'||contacts._id|| '/photo' END) ELSE 'content://com.android.contacts/display_photo/'||photo_file_id END) AS photo_uri, (CASE WHEN photo_id IS NULL OR photo_id=0 THEN NULL ELSE 'content://com.android.contacts/contacts/'||contacts._id|| '/photo' END) AS photo_thumb_uri, 0 AS is_user_profile FROM contacts JOIN raw_contacts AS name_raw_contact ON(name_raw_contact_id=name_raw_contact._id); 142 CREATE VIEW view_raw_entities AS SELECT contact_id, raw_contacts.deleted AS deleted,raw_contacts.metadata_dirty, is_primary, is_super_primary, data_version, data.package_id,package AS res_package,data.mimetype_id,mimetype AS mimetype, is_read_only, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, carrier_presence, data_sync1, data_sync2, data_sync3, data_sync4, raw_contacts.account_id,accounts.account_name AS account_name,accounts.account_type AS account_type,accounts.data_set AS data_set,(CASE WHEN accounts.data_set IS NULL THEN accounts.account_type ELSE accounts.account_type||'/'||accounts.data_set END) AS account_type_and_data_set,raw_contacts.sourceid AS sourceid,raw_contacts.backup_id AS backup_id,raw_contacts.version AS version,raw_contacts.dirty AS dirty,raw_contacts.sync1 AS sync1,raw_contacts.sync2 AS sync2,raw_contacts.sync3 AS sync3,raw_contacts.sync4 AS sync4, data_sync1, data_sync2, data_sync3, data_sync4, raw_contacts._id AS _id, data._id AS data_id,raw_contacts.starred AS starred,0 AS raw_contact_is_user_profile,groups.sourceid AS group_sourceid FROM raw_contacts JOIN accounts (…) [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
Contact.java | 146 boolean starred, Integer presence, boolean sendToVoicemail, String customRingtone, 165 mStarred = starred;
|
/packages/apps/Messaging/tests/src/com/android/messaging/util/ |
ContactUtilTest.java | 68 final String name, final String phone, final String email, final boolean starred) 109 if (starred) { 111 values.put(Contacts.STARRED, 1);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
AttentionManagementVerifierActivity.java | 140 Log.i("InsertContactsTest", "Alice is not yet starred"); [all...] |
/packages/apps/Dialer/src/com/android/dialer/list/ |
PhoneFavoritesTileAdapter.java | 117 * NOTE This soft limit would not restrict the number of starred contacts to show, rather 118 * 1. If the count of starred contacts is less than this limit, show 20 tiles total. 119 * 2. If the count of starred contacts is more than or equal to this limit, 120 * show all starred tiles and no frequents. 188 mStarredIndex = ContactTileLoaderFactory.STARRED; 257 final int starred = cursor.getInt(mStarredIndex); local 260 // We display a maximum of TILES_SOFT_LIMIT contacts, or the total number of starred 262 if (starred < 1 && counter >= TILES_SOFT_LIMIT) { 326 * Returns position of the first NON Starred Contact 338 // There are not NON Starred contacts in curso [all...] |
/packages/apps/Email/tests/src/com/android/email/provider/ |
ProviderTestUtils.java | 154 // Default starred, read, (backword compatibility) 162 boolean addBody, boolean saveIt, Context context, boolean starred, boolean read) { 171 message.mFlagFavorite = starred;
|
ProviderTests.java | 169 Context c, Mailbox b, boolean starred, boolean read, int flagLoaded) { 176 starred, [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
MailboxTests.java | 80 private static Message createMessage(Context c, Mailbox b, boolean starred, boolean read, 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
|