Home
last modified time | relevance | path

Searched refs:column (Results 1 – 25 of 37) sorted by relevance

12

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DReorderingCursorWrapper.java67 public double getDouble(int column) { in getDouble() argument
68 return mCursor.getDouble(column); in getDouble()
72 public float getFloat(int column) { in getFloat() argument
73 return mCursor.getFloat(column); in getFloat()
77 public int getInt(int column) { in getInt() argument
78 return mCursor.getInt(column); in getInt()
82 public long getLong(int column) { in getLong() argument
83 return mCursor.getLong(column); in getLong()
87 public short getShort(int column) { in getShort() argument
88 return mCursor.getShort(column); in getShort()
[all …]
DGlobalSearchSupport.java206 private void addColumnValue(ArrayList<Object> list, String column) { in addColumnValue() argument
207 if ("_id".equals(column)) { in addColumnValue()
209 } else if (SearchManager.SUGGEST_COLUMN_TEXT_1.equals(column)) { in addColumnValue()
211 } else if (SearchManager.SUGGEST_COLUMN_TEXT_2.equals(column)) { in addColumnValue()
213 } else if (SearchManager.SUGGEST_COLUMN_ICON_1.equals(column)) { in addColumnValue()
215 } else if (SearchManager.SUGGEST_COLUMN_ICON_2.equals(column)) { in addColumnValue()
217 } else if (SearchManager.SUGGEST_COLUMN_INTENT_DATA_ID.equals(column)) { in addColumnValue()
219 } else if (SearchManager.SUGGEST_COLUMN_SHORTCUT_ID.equals(column)) { in addColumnValue()
222 throw new IllegalArgumentException("Invalid column name: " + column); in addColumnValue()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaScannerCursor.java50 public String getString(int column) { in getString() argument
51 if (column == 0) { in getString()
59 public short getShort(int column) { in getShort() argument
64 public int getInt(int column) { in getInt() argument
69 public long getLong(int column) { in getLong() argument
74 public float getFloat(int column) { in getFloat() argument
79 public double getDouble(int column) { in getDouble() argument
84 public boolean isNull(int column) { in isNull() argument
85 return (column != 0); in isNull()
/packages/apps/GoogleSearch/src/com/android/googlesearch/
DSuggestionProvider.java221 public String getString(int column) { in getString() argument
224 switch (column) { in getString()
237 Log.w(LOG_TAG, "Bad column: " + column); in getString()
248 public double getDouble(int column) { in getDouble() argument
253 public float getFloat(int column) { in getFloat() argument
258 public int getInt(int column) { in getInt() argument
263 public long getLong(int column) { in getLong() argument
264 if (column == COL_ID) { in getLong()
271 public short getShort(int column) { in getShort() argument
276 public boolean isNull(int column) { in isNull() argument
/packages/apps/GlobalSearch/src/com/android/globalsearch/
DSuggestionCursor.java444 public double getDouble(int column) { in getDouble() argument
445 return Double.valueOf(getString(column)); in getDouble()
449 public float getFloat(int column) { in getFloat() argument
450 return Float.valueOf(getString(column)); in getFloat()
454 public int getInt(int column) { in getInt() argument
455 return Integer.valueOf(getString(column)); in getInt()
459 public long getLong(int column) { in getLong() argument
460 return Long.valueOf(getString(column)); in getLong()
464 public short getShort(int column) { in getShort() argument
465 return Short.valueOf(getString(column)); in getShort()
[all …]
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/
DSimpleCharStream.java34 protected int column = 0; field in SimpleCharStream
157 column++; in UpdateLineColumn()
162 line += (column = 1); in UpdateLineColumn()
172 line += (column = 1); in UpdateLineColumn()
184 column--; in UpdateLineColumn()
185 column += (tabSize - (column % tabSize)); in UpdateLineColumn()
192 bufcolumn[bufpos] = column; in UpdateLineColumn()
262 column = startcolumn - 1; in SimpleCharStream()
285 column = startcolumn - 1; in ReInit()
451 column = bufcolumn[j]; in adjustBeginLineColumn()
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/
DSimpleCharStream.java34 protected int column = 0; field in SimpleCharStream
157 column++; in UpdateLineColumn()
162 line += (column = 1); in UpdateLineColumn()
172 line += (column = 1); in UpdateLineColumn()
184 column--; in UpdateLineColumn()
185 column += (tabSize - (column % tabSize)); in UpdateLineColumn()
192 bufcolumn[bufpos] = column; in UpdateLineColumn()
262 column = startcolumn - 1; in SimpleCharStream()
285 column = startcolumn - 1; in ReInit()
451 column = bufcolumn[j]; in adjustBeginLineColumn()
/packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/
DSimpleCharStream.java34 protected int column = 0; field in SimpleCharStream
157 column++; in UpdateLineColumn()
162 line += (column = 1); in UpdateLineColumn()
172 line += (column = 1); in UpdateLineColumn()
184 column--; in UpdateLineColumn()
185 column += (tabSize - (column % tabSize)); in UpdateLineColumn()
192 bufcolumn[bufpos] = column; in UpdateLineColumn()
262 column = startcolumn - 1; in SimpleCharStream()
285 column = startcolumn - 1; in ReInit()
451 column = bufcolumn[j]; in adjustBeginLineColumn()
/packages/apps/Calendar/src/com/android/calendar/
DMonthView.java553 for (int column = 0; column < 7; column++) { in doDraw()
554 drawBox(day, weekNum, row, column, canvas, p, r, isLandscape); in doDraw()
581 int column = (x - mBorder) / (MONTH_DAY_GAP + mCellWidth); in getSelectedMillisFor() local
582 if (column > 6) { in getSelectedMillisFor()
583 column = 6; in getSelectedMillisFor()
595 time.monthDay = 7 * row + column - c.getOffset() + 1; in getSelectedMillisFor()
651 for (int column = 1; column < 7; column++) { in drawGrid()
652 int x = mBorder + column * (MONTH_DAY_GAP + mCellWidth) - 1; in drawGrid()
668 private void drawBox(int day, int weekNum, int row, int column, Canvas canvas, Paint p, in drawBox() argument
675 drawSelection = mCursor.isSelected(row, column); in drawBox()
[all …]
DEvent.java619 public void setColumn(int column) { in setColumn() argument
620 mColumn = column; in setColumn()
/packages/apps/Contacts/src/com/android/contacts/model/
DContactsSource.java283 public String column; field in ContactsSource.EditField
289 public EditField(String column, int titleRes) { in EditField() argument
290 this.column = column; in EditField()
294 public EditField(String column, int titleRes, int inputType) { in EditField() argument
295 this(column, titleRes); in EditField()
DEditor.java64 public void onFieldChanged(String column, String value); in onFieldChanged() argument
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java584 protected void storeValue(Uri contentUri, long id, String column, String value) { in storeValue() argument
586 values.put(column, value); in storeValue()
591 protected void assertStoredValue(Uri rowUri, String column, Object expectedValue) { in assertStoredValue() argument
592 String value = getStoredValue(rowUri, column); in assertStoredValue()
594 assertNull("Column value " + column, value); in assertStoredValue()
596 assertEquals("Column value " + column, String.valueOf(expectedValue), value); in assertStoredValue()
601 String column, Object expectedValue) { in assertStoredValue() argument
602 String value = getStoredValue(rowUri, selection, selectionArgs, column); in assertStoredValue()
604 assertNull("Column value " + column, value); in assertStoredValue()
606 assertEquals("Column value " + column, String.valueOf(expectedValue), value); in assertStoredValue()
[all …]
/packages/apps/IM/src/com/android/im/app/
DChatView.java1291 public byte[] getBlob(int column) { in getBlob() argument
1294 if (column == mDeltaColumn) { in getBlob()
1298 return mInnerCursor.getBlob(column); in getBlob()
1301 public String getString(int column) { in getString() argument
1304 if (column == mDeltaColumn) { in getString()
1309 return mInnerCursor.getString(column); in getString()
1331 public short getShort(int column) { in getShort() argument
1334 if (column == mDeltaColumn) { in getShort()
1338 return mInnerCursor.getShort(column); in getShort()
1341 public int getInt(int column) { in getInt() argument
[all …]
/packages/apps/Contacts/src/com/android/contacts/ui/widget/
DGenericEditorView.java154 public void onFieldChanged(String column, String value) { in onFieldChanged() argument
156 mEntry.put(column, value); in onFieldChanged()
212 final String column = field.column; in setValues() local
213 final String value = entry.getAsString(column); in setValues()
220 onFieldChanged(column, s.toString()); in setValues()
DPhotoEditorView.java73 public void onFieldChanged(String column, String value) { in onFieldChanged() argument
/packages/apps/Launcher2/res/raw/
Drollo3.c253 int positionStrip(float row, float column, int isTop, float p, int isText) in positionStrip() argument
256 float x = 0.5f * (column - 1.5f); in positionStrip()
366 void drawStrip(float row, float column, int isTop, int iconNum, float p) in drawStrip() argument
369 int offset = positionStrip(row, column, isTop, p, 0); in drawStrip()
376 offset = positionStrip(row - 0.72f, column, isTop, p, 1); in drawStrip()
378 offset = positionStrip(row + 0.73f, column, isTop, p, 1); in drawStrip()
Drollo2.c210 int positionStrip(float row, float column) in positionStrip() argument
223 float soff = -21.8f - (column * 1.25f); in positionStrip()
231 void drawIcon(float row, float column, int iconNum) in drawIcon() argument
233 int offset = positionStrip(row, column); in drawIcon()
/packages/apps/Email/src/com/android/email/provider/
DAttachmentProvider.java283 String column = projection[i]; in query() local
284 if (AttachmentProviderColumns._ID.equals(column)) { in query()
287 else if (AttachmentProviderColumns.DATA.equals(column)) { in query()
290 else if (AttachmentProviderColumns.DISPLAY_NAME.equals(column)) { in query()
293 else if (AttachmentProviderColumns.SIZE.equals(column)) { in query()
/packages/apps/Music/src/com/android/music/
DTrackBrowserActivity.java1176 public String getString(int column)
1179 return mCurrentPlaylistCursor.getString(column);
1187 public short getShort(int column)
1189 return mCurrentPlaylistCursor.getShort(column);
1193 public int getInt(int column)
1196 return mCurrentPlaylistCursor.getInt(column);
1204 public long getLong(int column)
1207 return mCurrentPlaylistCursor.getLong(column);
1215 public float getFloat(int column)
1217 return mCurrentPlaylistCursor.getFloat(column);
[all …]
/packages/apps/Browser/src/com/android/browser/
DBrowserProvider.java603 public double getDouble(int column) { in getDouble() argument
608 public float getFloat(int column) { in getFloat() argument
613 public int getInt(int column) { in getInt() argument
618 public long getLong(int column) { in getLong() argument
619 if ((mPos != -1) && column == 0) { in getLong()
626 public short getShort(int column) { in getShort() argument
631 public boolean isNull(int column) { in isNull() argument
/packages/apps/Settings/src/com/android/settings/
DLauncherAppWidgetBinder.java214 static String buildOrWhereString(String column, int[] values) { in buildOrWhereString() argument
217 selectWhere.append(column).append("=").append(values[i]); in buildOrWhereString()
/packages/apps/VoiceDialer/src/com/android/voicedialer/
DVoiceContact.java298 int column = cursor.getColumnIndexOrThrow(CallLog.Calls.NUMBER); in redialNumber() local
299 number = cursor.getString(column); in redialNumber()
/packages/providers/GoogleContactsProvider/tests/src/com/android/providers/contacts/
DContactsSyncAdapterTest.java665 private static long getLong(Cursor cursor, String column) { in getLong() argument
666 return cursor.getLong(cursor.getColumnIndexOrThrow(column)); in getLong()
669 private static String getString(Cursor cursor, String column) { in getString() argument
670 return cursor.getString(cursor.getColumnIndexOrThrow(column)); in getString()
673 private static boolean isNull(Cursor cursor, String column) { in isNull() argument
674 return cursor.isNull(cursor.getColumnIndexOrThrow(column)); in isNull()
/packages/apps/Phone/src/com/android/phone/
DBluetoothAtPhonebook.java102 int column = cursor.getColumnIndexOrThrow(Calls.NUMBER); in getLastDialledNumber() local
103 String number = cursor.getString(column); in getLastDialledNumber()

12