Searched defs:column (Results 1 - 25 of 29) sorted by relevance

12

/packages/apps/Calendar/src/com/android/calendar/
H A DDayOfMonthCursor.java26 * <li>Keeps track of current cursor position (row, column)</li>
93 public boolean isSelected(int row, int column) { argument
94 return (mRow == row) && (mColumn == column);
108 // flip back to previous month, same column, first position within month
128 // flip to next month, same column, first position within month
H A DUtils.java253 * Determine whether the column position is Saturday or not.
254 * @param column the column position
256 * @return true if the column is Saturday position
258 public static boolean isSaturday(int column, int firstDayOfWeek) { argument
259 return (firstDayOfWeek == Time.SUNDAY && column == 6)
260 || (firstDayOfWeek == Time.MONDAY && column == 5)
261 || (firstDayOfWeek == Time.SATURDAY && column == 0);
265 * Determine whether the column position is Sunday or not.
266 * @param column th
270 isSunday(int column, int firstDayOfWeek) argument
[all...]
H A DEvent.java413 // Compute the column positions separately for the all-day events
459 // the column bit mask, and empty the groupList.
469 // Find the first empty column. Empty columns are represented by
470 // zero bits in the column mask "colMask".
619 public void setColumn(int column) { argument
620 mColumn = column;
H A DMonthView.java563 // Get the Julian day for the date at row 0, column 0.
577 for (int column = 0; column < 7; column++) {
578 drawBox(day, weekNum, row, column, canvas, p, r, isLandscape);
605 int column = (x - mBorder) / (MONTH_DAY_GAP + mCellWidth);
606 if (column > 6) {
607 column = 6;
614 // Compute the day number from the row and column. If the row and
615 // column ar
691 drawBox(int day, int weekNum, int row, int column, Canvas canvas, Paint p, Rect r, boolean isLandscape) argument
898 isFirstDayOfNextMonth(int row, int column) argument
908 getWeekOfYear(int row, int column, boolean isWithinCurrentMonth, Calendar calendar) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/model/
H A DEditor.java66 public void onFieldChanged(String column, String value); argument
H A DContactsSource.java292 * the column where this field is stored.
295 public String column; field in class:ContactsSource.EditField
301 public EditField(String column, int titleRes) { argument
302 this.column = column;
306 public EditField(String column, int titleRes, int inputType) { argument
307 this(column, titleRes);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DReorderingCursorWrapper.java67 public double getDouble(int column) { argument
68 return mCursor.getDouble(column);
72 public float getFloat(int column) { argument
73 return mCursor.getFloat(column);
77 public int getInt(int column) { argument
78 return mCursor.getInt(column);
82 public long getLong(int column) { argument
83 return mCursor.getLong(column);
87 public short getShort(int column) { argument
88 return mCursor.getShort(column);
92 getString(int column) argument
97 isNull(int column) argument
[all...]
H A DGlobalSearchSupport.java202 private void addColumnValue(ArrayList<Object> list, String column) { argument
203 if ("_id".equals(column)) {
205 } else if (SearchManager.SUGGEST_COLUMN_TEXT_1.equals(column)) {
207 } else if (SearchManager.SUGGEST_COLUMN_TEXT_2.equals(column)) {
209 } else if (SearchManager.SUGGEST_COLUMN_ICON_1.equals(column)) {
211 } else if (SearchManager.SUGGEST_COLUMN_ICON_2.equals(column)) {
213 } else if (SearchManager.SUGGEST_COLUMN_INTENT_DATA_ID.equals(column)) {
215 } else if (SearchManager.SUGGEST_COLUMN_SHORTCUT_ID.equals(column)) {
218 throw new IllegalArgumentException("Invalid column name: " + column);
[all...]
/packages/apps/Contacts/src/com/android/contacts/ui/widget/
H A DPhotoEditorView.java74 public void onFieldChanged(String column, String value) { argument
H A DGenericEditorView.java165 public void onFieldChanged(String column, String value) { argument
167 mEntry.put(column, value);
239 final String column = field.column;
240 final String value = entry.getAsString(column);
247 onFieldChanged(column, s.toString());
/packages/apps/Music/src/com/android/music/
H A DSortCursor.java185 public String getString(int column) argument
187 return mCursor.getString(column);
191 public short getShort(int column) argument
193 return mCursor.getShort(column);
197 public int getInt(int column) argument
199 return mCursor.getInt(column);
203 public long getLong(int column) argument
205 return mCursor.getLong(column);
209 public float getFloat(int column) argument
211 return mCursor.getFloat(column);
215 getDouble(int column) argument
221 isNull(int column) argument
227 getBlob(int column) argument
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DSuggestionCursorBackedCursor.java26 // used by SearchDialog, expects an _id column.
77 public int getInt(int column) { argument
78 switch (column) {
82 throw new CursorIndexOutOfBoundsException("Requested column " + column
88 public String getString(int column) { argument
89 switch (column) {
117 throw new CursorIndexOutOfBoundsException("Requested column " + column
123 public long getLong(int column) { argument
128 isNull(int column) argument
133 getShort(int column) argument
138 getDouble(int column) argument
143 getFloat(int column) argument
[all...]
/packages/apps/Browser/src/com/android/browser/search/
H A DOpenSearchSearchEngine.java239 public String getString(int column) { argument
241 if ((column == COLUMN_INDEX_QUERY) || (column == COLUMN_INDEX_TEXT_1)) {
247 } else if (column == COLUMN_INDEX_TEXT_2) {
253 } else if (column == COLUMN_INDEX_ICON) {
261 public double getDouble(int column) { argument
266 public float getFloat(int column) { argument
271 public int getInt(int column) { argument
276 public long getLong(int column) { argument
277 if (column
284 getShort(int column) argument
289 isNull(int column) argument
[all...]
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/
H A DSimpleCharStream.java34 protected int column = 0; field in class:SimpleCharStream
157 column++;
162 line += (column = 1);
172 line += (column = 1);
184 column--;
185 column += (tabSize - (column % tabSize));
192 bufcolumn[bufpos] = column;
262 column = startcolumn - 1;
285 column
[all...]
/packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/
H A DSimpleCharStream.java34 protected int column = 0; field in class:SimpleCharStream
157 column++;
162 line += (column = 1);
172 line += (column = 1);
184 column--;
185 column += (tabSize - (column % tabSize));
192 bufcolumn[bufpos] = column;
262 column = startcolumn - 1;
285 column
[all...]
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/
H A DSimpleCharStream.java34 protected int column = 0; field in class:SimpleCharStream
157 column++;
162 line += (column = 1);
172 line += (column = 1);
184 column--;
185 column += (tabSize - (column % tabSize));
192 bufcolumn[bufpos] = column;
262 column = startcolumn - 1;
285 column
[all...]
/packages/apps/Gallery3D/src/com/cooliris/media/
H A DSortCursor.java237 public String getString(int column) { argument
238 return mCursor.getString(column);
242 public short getShort(int column) { argument
243 return mCursor.getShort(column);
247 public int getInt(int column) { argument
248 return mCursor.getInt(column);
252 public long getLong(int column) { argument
253 return mCursor.getLong(column);
257 public float getFloat(int column) { argument
258 return mCursor.getFloat(column);
262 getDouble(int column) argument
267 isNull(int column) argument
272 getBlob(int column) argument
[all...]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadService.java768 * Returns a String that holds the current value of the column,
771 private String stringFromCursor(String old, Cursor cursor, String column) { argument
772 int index = cursor.getColumnIndexOrThrow(column);
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppService.java766 private String stringFromCursor(String old, Cursor cursor, String column) { argument
767 int index = cursor.getColumnIndexOrThrow(column);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncherProvider.java344 // upgrade 1,2 -> 3 added appWidgetId column
347 // Insert new column for holding appWidgetIds
858 * Build a query string that will match any row where the column matches
861 static String buildOrWhereString(String column, int[] values) { argument
864 selectWhere.append(column).append("=").append(values[i]);
/packages/apps/Browser/src/com/android/browser/
H A DBrowserProvider.java422 // column indices for the fields we need now and check before using below.
571 // Return the url in the intent query column. This is ignored
596 public double getDouble(int column) { argument
601 public float getFloat(int column) { argument
606 public int getInt(int column) { argument
611 public long getLong(int column) { argument
612 if ((mPos != -1) && column == 0) {
619 public short getShort(int column) { argument
624 public boolean isNull(int column) { argument
715 public String getString(int column) { argument
736 getShort(int column) argument
739 getInt(int column) argument
742 getLong(int column) argument
748 getFloat(int column) argument
751 getDouble(int column) argument
754 isNull(int column) argument
[all...]
/packages/apps/Mms/src/com/android/mms/
H A DSuggestionsProvider.java231 // Cursor column offsets for the above virtual columns.
233 // database cursor. So, for example, the column called
299 public String getString(int column) { argument
300 if (column < mColumnCount) {
301 return mDatabaseCursor.getString(column);
305 switch (column - mColumnCount) {
/packages/apps/Email/src/com/android/exchange/adapter/
H A DCalendarSyncAdapter.java784 // This column is the key that links the exception to the serverId
1399 private int getInt(ContentValues cv, String column) { argument
1400 Integer i = cv.getAsInteger(column);
H A DContactsSyncAdapter.java1020 // Note Email.TYPE could be ANY type column; they are all defined in
1154 * Compare a column in a ContentValues with an (old) value, and see if they are the
1157 * @param column a column that might be in the ContentValues
1159 * @return whether the column's value in the ContentValues matches oldValue
1161 private boolean cvCompareString(ContentValues cv, String column, String oldValue) { argument
1162 if (cv.containsKey(column)) {
1163 if (oldValue != null && cv.getAsString(column).equals(oldValue)) {
1487 // Make sure the title column is set for all of our groups
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DBaseContactsProvider2Test.java624 protected void storeValue(Uri contentUri, long id, String column, String value) { argument
625 storeValue(ContentUris.withAppendedId(contentUri, id), column, value);
628 protected void storeValue(Uri contentUri, String column, String value) { argument
630 values.put(column, value);
635 protected void storeValue(Uri contentUri, long id, String column, long value) { argument
636 storeValue(ContentUris.withAppendedId(contentUri, id), column, value);
639 protected void storeValue(Uri contentUri, String column, long value) { argument
641 values.put(column, value);
646 protected void assertStoredValue(Uri contentUri, long id, String column, Object expectedValue) { argument
647 assertStoredValue(ContentUris.withAppendedId(contentUri, id), column, expectedValu
650 assertStoredValue(Uri rowUri, String column, Object expectedValue) argument
659 assertStoredValue(Uri rowUri, String selection, String[] selectionArgs, String column, Object expectedValue) argument
669 getStoredValue(Uri rowUri, String column) argument
673 getStoredValue(Uri uri, String selection, String[] selectionArgs, String column) argument
[all...]

Completed in 1593 milliseconds

12