19078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee/* 29078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee * Copyright (C) 2013 The Android Open Source Project 39078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee * 49078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee * Licensed under the Apache License, Version 2.0 (the "License"); 59078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee * you may not use this file except in compliance with the License. 69078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee * You may obtain a copy of the License at 79078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee * 89078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee * http://www.apache.org/licenses/LICENSE-2.0 99078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee * 109078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee * Unless required by applicable law or agreed to in writing, software 119078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee * distributed under the License is distributed on an "AS IS" BASIS, 129078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 139078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee * See the License for the specific language governing permissions and 149078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee * limitations under the License. 159078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee */ 169078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee 179078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Leepackage com.android.contacts.common.list; 189078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee 199078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Leeimport android.graphics.drawable.Drawable; 209078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Leeimport android.net.Uri; 2161da48a221682e741aa947c778b02d0df428e59eYorke Leeimport android.provider.ContactsContract.PinnedPositions; 229078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee 239078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee/** 249078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee * Class to hold contact information 259078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee */ 26ad39a175a3acb3109fe03a7028a18650842454aeYorke Leepublic class ContactEntry { 279078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee public String name; 289078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee public String status; 299078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee public String phoneLabel; 309078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee public String phoneNumber; 319078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee public Uri photoUri; 326084726fbdda78bdb16e2d4cc1c3b81c84fd5da1Yorke Lee public Uri lookupUri; 336084726fbdda78bdb16e2d4cc1c3b81c84fd5da1Yorke Lee public String lookupKey; 349078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee public Drawable presenceIcon; 3561da48a221682e741aa947c778b02d0df428e59eYorke Lee public long id; 3661da48a221682e741aa947c778b02d0df428e59eYorke Lee public int pinned = PinnedPositions.UNPINNED; 377c1a3efb470d5dcd978f5a1b494687bedc29fa10Christine Chen public boolean isFavorite = false; 38dc234559370585e45afa79c0e989ac72b385d20cYorke Lee public boolean isDefaultNumber = false; 3961da48a221682e741aa947c778b02d0df428e59eYorke Lee 40f31b6a268bb0b1f68401954fa9e54b94fb0a7f8bYorke Lee public static final ContactEntry BLANK_ENTRY = new ContactEntry(); 419078a0ae8404a1dd7dec44def5a037e4e50e9d77Yorke Lee}