Lines Matching refs:cursor
80 public void onLoadFinished(Loader<Cursor> arg0, Cursor cursor) { in onLoadFinished() argument
93 if (cursor.getCount() == 0) { in onLoadFinished()
100 int phoneColumnIndex = cursor.getColumnIndex(CommonDataKinds.Phone.NUMBER); in onLoadFinished()
101 int emailColumnIndex = cursor.getColumnIndex(CommonDataKinds.Email.ADDRESS); in onLoadFinished()
102 int nameColumnIndex = cursor.getColumnIndex(CommonDataKinds.Contactables.DISPLAY_NAME); in onLoadFinished()
103 int lookupColumnIndex = cursor.getColumnIndex(CommonDataKinds.Contactables.LOOKUP_KEY); in onLoadFinished()
104 int typeColumnIndex = cursor.getColumnIndex(CommonDataKinds.Contactables.MIMETYPE); in onLoadFinished()
107 cursor.moveToFirst(); in onLoadFinished()
113 String currentLookupKey = cursor.getString(lookupColumnIndex); in onLoadFinished()
115 String displayName = cursor.getString(nameColumnIndex); in onLoadFinished()
123 String mimeType = cursor.getString(typeColumnIndex); in onLoadFinished()
125 tv.append("\tPhone Number: " + cursor.getString(phoneColumnIndex) + "\n"); in onLoadFinished()
127 tv.append("\tEmail Address: " + cursor.getString(emailColumnIndex) + "\n"); in onLoadFinished()
133 for(String column : cursor.getColumnNames()) { in onLoadFinished()
135 cursor.getString(cursor.getColumnIndex(column)) + "\n"); in onLoadFinished()
137 } while (cursor.moveToNext()); in onLoadFinished()