Home | History | Annotate | Download | only in widget

Lines Matching defs:from

40      * This field should be made private, so it is hidden from the SDK.
47 * This field should be made private, so it is hidden from the SDK.
68 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) {
71 mOriginalFrom = from;
72 findColumns(c, from);
84 * @param from A list of column names representing the data to bind to the UI. Can be null
86 * @param to The views that should display column in the "from" parameter.
88 * are given the values of the first N columns in the from
93 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from,
97 mOriginalFrom = from;
98 findColumns(c, from);
104 * "from" parameter.
128 final int[] from = mFrom;
136 bound = binder.setViewValue(v, cursor, from[i]);
140 String text = cursor.getString(from[i]);
193 * retrieved from the database.
196 * @param value the value retrieved from the cursor
212 * retrieved from the database.
309 * Create a map from an array of strings to an array of column-id integers in cursor c.
312 * @param c the cursor to find the columns from
313 * @param from the Strings naming the columns of interest
315 private void findColumns(Cursor c, String[] from) {
318 int count = from.length;
323 mFrom[i] = c.getColumnIndexOrThrow(from[i]);
343 * @param from A list of column names representing the data to bind to the UI. Can be null
345 * @param to The views that should display column in the "from" parameter.
347 * are given the values of the first N columns in the from
350 public void changeCursorAndColumns(Cursor c, String[] from, int[] to) {
351 mOriginalFrom = from;
364 * You should use this class to bind values from the Cursor to views
382 * @param cursor the cursor to get the data from