Searched refs:pinned (Results 1 - 3 of 3) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactEntry.java36 public int pinned = PinnedPositions.UNPINNED; field in class:ContactEntry
/packages/apps/Dialer/src/com/android/dialer/list/
H A DPhoneFavoritesTileAdapter.java110 // Pinned positions start from 1, so there are a total of 20 maximum pinned contacts
126 .compare(lhs.pinned, rhs.pinned)
263 final int pinned = cursor.getInt(mPinnedIndex);
287 contact.pinned = pinned;
486 // update the database here with the new pinned positions
522 * Used when a contact is removed from speeddial. This will both unstar and set pinned position
534 * Given a list of contacts that each have pinned positions, rearrange the list (destructive)
535 * such that all pinned contact
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactsProvider2Test.java8364 // If only one contact is pinned, the resulting contact should inherit the pinned position
8392 // If both raw contacts are pinned, the resulting contact should inherit the lower
8393 // pinned position
8453 // The resulting contact should have a pinned value of 6
8520 // Contact 1 remains pinned at 0, while contact 2 becomes unpinned
8536 * Verifies that any existing pinned contacts have their pinned positions incremented by one
8562 * Verifies that any unpinned contacts (or those with pinned position Integer.MAX_VALUE - 1)
8563 * have their pinned position
8609 newPinningOperation(long id, int pinned, boolean star) argument
[all...]

Completed in 135 milliseconds