Lines Matching refs:cursor

150             Cursor cursor = db.query(
156 while (cursor.moveToNext()) {
157 int iteration = cursor.getInt(cursor.getColumnIndexOrThrow("iteration"));
159 values[0] = cursor.getDouble(
160 cursor.getColumnIndexOrThrow("unknown_delay"));
161 values[1] = cursor.getDouble(
162 cursor.getColumnIndexOrThrow("input"));
163 values[2] = cursor.getDouble(
164 cursor.getColumnIndexOrThrow("animation"));
165 values[3] = cursor.getDouble(
166 cursor.getColumnIndexOrThrow("layout"));
167 values[4] = cursor.getDouble(
168 cursor.getColumnIndexOrThrow("draw"));
169 values[5] = cursor.getDouble(
170 cursor.getColumnIndexOrThrow("sync"));
171 values[6] = cursor.getDouble(
172 cursor.getColumnIndexOrThrow("command_issue"));
173 values[7] = cursor.getDouble(
174 cursor.getColumnIndexOrThrow("swap_buffers"));
175 values[8] = cursor.getDouble(
176 cursor.getColumnIndexOrThrow("total_duration"));
188 cursor.close();
220 Cursor cursor = db.query(
225 while (cursor.moveToNext()) {
226 int iteration = cursor.getInt(cursor.getColumnIndexOrThrow("iteration"));
227 String name = cursor.getString(cursor.getColumnIndexOrThrow("name"));
234 values[0] = cursor.getDouble(
235 cursor.getColumnIndexOrThrow("unknown_delay"));
236 values[1] = cursor.getDouble(
237 cursor.getColumnIndexOrThrow("input"));
238 values[2] = cursor.getDouble(
239 cursor.getColumnIndexOrThrow("animation"));
240 values[3] = cursor.getDouble(
241 cursor.getColumnIndexOrThrow("layout"));
242 values[4] = cursor.getDouble(
243 cursor.getColumnIndexOrThrow("draw"));
244 values[5] = cursor.getDouble(
245 cursor.getColumnIndexOrThrow("sync"));
246 values[6] = cursor.getDouble(
247 cursor.getColumnIndexOrThrow("command_issue"));
248 values[7] = cursor.getDouble(
249 cursor.getColumnIndexOrThrow("swap_buffers"));
250 values[8] = cursor.getDouble(
251 cursor.getColumnIndexOrThrow("total_duration"));
252 values[8] = cursor.getDouble(
253 cursor.getColumnIndexOrThrow("total_duration"));
265 cursor.close();