Home | History | Annotate | Download | only in voicedialer

Lines Matching refs:Phone

22 import android.provider.ContactsContract.CommonDataKinds.Phone;
53 * Id for a phone number which doesn't belong to any other ids stored above.
62 * @param primaryId primary ID in phone table.
63 * @param homeId home ID in phone table.
64 * @param mobileId mobile ID in phone table.
65 * @param workId work ID in phone table.
66 * @param otherId other ID in phone table.
117 Phone._ID,
118 Phone.TYPE,
119 Phone.IS_PRIMARY,
121 Phone.LABEL,
122 Phone.DISPLAY_NAME,
123 Phone.CONTACT_ID,
129 Phone.CONTENT_URI, phonesProjection,
130 Phone.NUMBER + " NOT NULL", null,
131 Phone.LAST_TIME_CONTACTED + " DESC, "
132 + Phone.DISPLAY_NAME + " ASC, "
133 + Phone._ID + " DESC");
135 final int phoneIdColumn = cursor.getColumnIndexOrThrow(Phone._ID);
136 final int typeColumn = cursor.getColumnIndexOrThrow(Phone.TYPE);
137 final int isPrimaryColumn = cursor.getColumnIndexOrThrow(Phone.IS_PRIMARY);
138 final int labelColumn = cursor.getColumnIndexOrThrow(Phone.LABEL);
139 final int nameColumn = cursor.getColumnIndexOrThrow(Phone.DISPLAY_NAME);
140 final int personIdColumn = cursor.getColumnIndexOrThrow(Phone.CONTACT_ID);
152 // loop over phone table
193 if (typeAtCursor == Phone.TYPE_CUSTOM &&
197 typeAtCursor = Phone.TYPE_HOME;
200 typeAtCursor = Phone.TYPE_MOBILE;
203 typeAtCursor = Phone.TYPE_WORK;
206 typeAtCursor = Phone.TYPE_OTHER;
211 // save the home, mobile, or work phone id
213 case Phone.TYPE_HOME:
220 case Phone.TYPE_MOBILE:
227 case Phone.TYPE_WORK:
234 case Phone.TYPE_OTHER: