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(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(from);
98 * "from" parameter.
123 final int[] from = mFrom;
131 bound = binder.setViewValue(v, cursor, from[i]);
135 String text = cursor.getString(from[i]);
188 * retrieved from the database.
191 * @param value the value retrieved from the cursor
207 * retrieved from the database.
304 * Create a map from an array of strings to an array of column-id integers in mCursor.
307 * @param from the Strings naming the columns of interest
309 private void findColumns(String[] from) {
312 int count = from.length;
317 mFrom[i] = mCursor.getColumnIndexOrThrow(from[i]);
336 * @param from A list of column names representing the data to bind to the UI. Can be null
338 * @param to The views that should display column in the "from" parameter.
340 * are given the values of the first N columns in the from
343 public void changeCursorAndColumns(Cursor c, String[] from, int[] to) {
344 mOriginalFrom = from;
354 * You should use this class to bind values from the Cursor to views
372 * @param cursor the cursor to get the data from