Lines Matching refs:from

36      * This field should be made private, so it is hidden from the SDK.
42 * This field should be made private, so it is hidden from the SDK.
62 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) {
65 mOriginalFrom = from;
66 findColumns(c, from);
78 * @param from A list of column names representing the data to bind to the UI. Can be null
80 * @param to The views that should display column in the "from" parameter.
82 * are given the values of the first N columns in the from
87 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from,
91 mOriginalFrom = from;
92 findColumns(c, from);
98 * "from" parameter.
122 final int[] from = mFrom;
130 bound = binder.setViewValue(v, cursor, from[i]);
134 String text = cursor.getString(from[i]);
187 * retrieved from the database.
190 * @param value the value retrieved from the cursor
206 * retrieved from the database.
303 * Create a map from an array of strings to an array of column-id integers in cursor c.
306 * @param c the cursor to find the columns from
307 * @param from the Strings naming the columns of interest
309 private void findColumns(Cursor c, String[] from) {
312 int count = from.length;
317 mFrom[i] = c.getColumnIndexOrThrow(from[i]);
337 * @param from A list of column names representing the data to bind to the UI. Can be null
339 * @param to The views that should display column in the "from" parameter.
341 * are given the values of the first N columns in the from
344 public void changeCursorAndColumns(Cursor c, String[] from, int[] to) {
345 mOriginalFrom = from;
358 * You should use this class to bind values from the Cursor to views
376 * @param cursor the cursor to get the data from