/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
D | CallerInfo.java | 232 int columnIndex; in getCallerInfo() local 235 columnIndex = cursor.getColumnIndex(PhoneLookup.DISPLAY_NAME); in getCallerInfo() 236 if (columnIndex != -1) { in getCallerInfo() 237 info.name = cursor.getString(columnIndex); in getCallerInfo() 241 columnIndex = cursor.getColumnIndex(PhoneLookup.NUMBER); in getCallerInfo() 242 if (columnIndex != -1) { in getCallerInfo() 243 info.phoneNumber = cursor.getString(columnIndex); in getCallerInfo() 247 columnIndex = cursor.getColumnIndex(PhoneLookup.NORMALIZED_NUMBER); in getCallerInfo() 248 if (columnIndex != -1) { in getCallerInfo() 249 info.normalizedNumber = cursor.getString(columnIndex); in getCallerInfo() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
D | ExpectedKeyboardBuilder.java | 68 private static ExpectedKey[] replaceKeyAt(final ExpectedKey[] keys, final int columnIndex, in replaceKeyAt() argument 72 keys[columnIndex] = replacingKeys[0]; in replaceKeyAt() 78 System.arraycopy(keys, columnIndex + 1, newKeys, columnIndex + replacingKeys.length, in replaceKeyAt() 79 keys.length - 1 - columnIndex); in replaceKeyAt() 81 System.arraycopy(replacingKeys, 0, newKeys, columnIndex, replacingKeys.length); in replaceKeyAt() 92 for (int columnIndex = 0; columnIndex < keys.length; /* nothing */) { in replaceKeyOf() 93 final ExpectedKey currentKey = keys[columnIndex]; in replaceKeyOf() 95 columnIndex++; in replaceKeyOf() 99 keys = replaceKeyAt(keys, columnIndex, replacingKeys); in replaceKeyOf() 100 columnIndex += replacingKeys.length; in replaceKeyOf() [all …]
|
D | AbstractKeyboardBuilder.java | 120 final int columnIndex = column - 1; in setElementAt() local 121 if (columnIndex < 0) { in setElementAt() 125 if (columnIndex >= elements.length + 1) { in setElementAt() 130 System.arraycopy(newElements, columnIndex, newElements, columnIndex + 1, in setElementAt() 131 elements.length - columnIndex); in setElementAt() 133 newElements[columnIndex] = element; in setElementAt() 138 final E[] newElements = (columnIndex < elements.length) ? elements in setElementAt() 139 : Arrays.copyOf(elements, columnIndex + 1); in setElementAt() 140 newElements[columnIndex] = element; in setElementAt()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationCursor.java | 968 private Object getCachedValue(int columnIndex) { in getCachedValue() argument 970 return getCachedValue(uri, columnIndex); in getCachedValue() 973 private Object getCachedValue(String uri, int columnIndex) { in getCachedValue() argument 977 if (columnIndex == DELETED_COLUMN_INDEX) { in getCachedValue() 980 columnName = mColumnNames[columnIndex]; in getCachedValue() 1272 public double getDouble(int columnIndex) { in getDouble() argument 1273 Object obj = getCachedValue(columnIndex); in getDouble() 1275 return mUnderlyingCursor.getDouble(columnIndex); in getDouble() 1279 public float getFloat(int columnIndex) { in getFloat() argument 1280 Object obj = getCachedValue(columnIndex); in getFloat() [all …]
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | EmailMessageCursor.java | 105 public String getString(final int columnIndex) { in getString() argument 106 if (columnIndex == mHtmlColumnIndex) { in getString() 108 } else if (columnIndex == mTextColumnIndex) { in getString() 111 return super.getString(columnIndex); in getString() 115 public int getType(int columnIndex) { in getType() argument 116 if (columnIndex == mHtmlColumnIndex || columnIndex == mTextColumnIndex) { in getType() 121 return super.getType(columnIndex); in getType()
|
D | ContentCache.java | 558 int columnIndex = c.getColumnIndex(column); in getMatrixCursor() local 559 if (columnIndex < 0) { in getMatrixCursor() 573 value = c.getString(columnIndex); in getMatrixCursor()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | EntrySchema.java | 106 int columnIndex = column.projectionIndex; in cursorToObject() local 110 field.set(object, cursor.isNull(columnIndex) in cursorToObject() 112 : cursor.getString(columnIndex)); in cursorToObject() 115 field.setBoolean(object, cursor.getShort(columnIndex) == 1); in cursorToObject() 118 field.setShort(object, cursor.getShort(columnIndex)); in cursorToObject() 121 field.setInt(object, cursor.getInt(columnIndex)); in cursorToObject() 124 field.setLong(object, cursor.getLong(columnIndex)); in cursorToObject() 127 field.setFloat(object, cursor.getFloat(columnIndex)); in cursorToObject() 130 field.setDouble(object, cursor.getDouble(columnIndex)); in cursorToObject() 133 field.set(object, cursor.isNull(columnIndex) in cursorToObject() [all …]
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/ |
D | FakeCursor.java | 132 public String getString(final int columnIndex) { in getString() argument 133 final int dataIdx = mProjection.get(columnIndex); in getString() 139 public int getInt(final int columnIndex) { in getInt() argument 140 final int dataIdx = mProjection.get(columnIndex); in getInt() 145 public long getLong(final int columnIndex) { in getLong() argument 146 final int dataIdx = mProjection.get(columnIndex); in getLong()
|
/packages/apps/Calculator/src/com/android/calculator2/ |
D | CalculatorPadLayout.java | 71 int rowIndex = 0, columnIndex = 0; in onLayout() local 83 (isRTL ? (mColumnCount - 1) - columnIndex : columnIndex) * columnWidth; in onLayout() 96 rowIndex = (rowIndex + (columnIndex + 1) / mColumnCount) % mRowCount; in onLayout() 97 columnIndex = (columnIndex + 1) % mColumnCount; in onLayout()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | DataStatus.java | 153 final int columnIndex = cursor.getColumnIndex(columnName); in getInt() local 154 return cursor.isNull(columnIndex) ? missingValue : cursor.getInt(columnIndex); in getInt() 158 final int columnIndex = cursor.getColumnIndex(columnName); in getLong() local 159 return cursor.isNull(columnIndex) ? missingValue : cursor.getLong(columnIndex); in getLong()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
D | DataStatus.java | 147 final int columnIndex = cursor.getColumnIndex(columnName); in getInt() local 148 return cursor.isNull(columnIndex) ? missingValue : cursor.getInt(columnIndex); in getInt() 152 final int columnIndex = cursor.getColumnIndex(columnName); in getLong() local 153 return cursor.isNull(columnIndex) ? missingValue : cursor.getLong(columnIndex); in getLong()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | PduPersister.java | 319 final Cursor c, final int columnIndex, in setEncodedStringValueToHeaders() argument 321 final String s = c.getString(columnIndex); in setEncodedStringValueToHeaders() 332 final Cursor c, final int columnIndex, in setTextStringToHeaders() argument 334 final String s = c.getString(columnIndex); in setTextStringToHeaders() 341 final Cursor c, final int columnIndex, in setOctetToHeaders() argument 343 if (!c.isNull(columnIndex)) { in setOctetToHeaders() 344 final int b = c.getInt(columnIndex); in setOctetToHeaders() 350 final Cursor c, final int columnIndex, in setLongToHeaders() argument 352 if (!c.isNull(columnIndex)) { in setLongToHeaders() 353 final long l = c.getLong(columnIndex); in setLongToHeaders() [all …]
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
D | ProgramDataManagerTest.java | 415 public String getColumnName(int columnIndex) { 416 return mColumns[columnIndex]; 430 public int getInt(int columnIndex) { 432 Log.d(TAG, "Column (" + getColumnName(columnIndex) + ") is ignored in getInt()"); 438 public long getLong(int columnIndex) { 439 String columnName = getColumnName(columnIndex); 455 public String getString(int columnIndex) { 456 String columnName = getColumnName(columnIndex);
|
D | ChannelDataManagerTest.java | 538 public String getColumnName(int columnIndex) { in getColumnName() argument 539 return mColumns[columnIndex]; in getColumnName() 553 public long getLong(int columnIndex) { in getLong() argument 554 String columnName = getColumnName(columnIndex); in getLong() 566 public String getString(int columnIndex) { in getString() argument 567 String columnName = getColumnName(columnIndex); in getString() 586 public int getInt(int columnIndex) { in getInt() argument 587 String columnName = getColumnName(columnIndex); in getInt()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/enterprise/ |
D | EnterpriseContactsCursorWrapper.java | 79 public String getString(int columnIndex) { in getString() argument 80 final String result = super.getString(columnIndex); in getString() 81 final String columnName = super.getColumnName(columnIndex); in getString() 100 String ringtoneUri = super.getString(columnIndex); in getString() 110 final String lookupKey = super.getString(columnIndex); in getString()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationsettings/ |
D | PeopleOptionsItemView.java | 68 public void bind(final Cursor cursor, final int columnIndex, ParticipantData otherParticipant, in bind() argument 70 Assert.isTrue(columnIndex < PeopleOptionsItemData.SETTINGS_COUNT && columnIndex >= 0); in bind() 71 mData.bind(cursor, otherParticipant, columnIndex); in bind()
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyBackupAgentTest.java | 852 public String getColumnName(int columnIndex) { in getColumnName() argument 853 return projection[columnIndex]; in getColumnName() 857 public String getString(int columnIndex) { in getString() argument 858 return rows.get(nextRow).getAsString(projection[columnIndex]); in getString() 862 public int getInt(int columnIndex) { in getInt() argument 863 return rows.get(nextRow).getAsInteger(projection[columnIndex]); in getInt() 867 public long getLong(int columnIndex) { in getLong() argument 868 return rows.get(nextRow).getAsLong(projection[columnIndex]); in getLong()
|
/packages/apps/TV/src/com/android/tv/dialog/ |
D | RecentlyWatchedDialogFragment.java | 71 public boolean setViewValue(View view, Cursor cursor, int columnIndex) { in onCreateDialog() 72 String name = cursor.getColumnName(columnIndex); in onCreateDialog() 74 long channelId = cursor.getLong(columnIndex); in onCreateDialog() 90 long time = cursor.getLong(columnIndex); in onCreateDialog()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/ |
D | Picker.java | 197 protected void updateSelection(int columnIndex, int selectedIndex) { in updateSelection() argument 198 VerticalGridView columnView = mColumnViews.get(columnIndex); in updateSelection() 201 String text = mColumns.get(columnIndex).getItems()[selectedIndex]; in updateSelection() 202 mResult.set(columnIndex, text); in updateSelection()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | DownloadPackageTask.java | 154 int columnIndex = c.getColumnIndex(DownloadManager.COLUMN_STATUS); in createDownloadReceiver() local 155 if (DownloadManager.STATUS_SUCCESSFUL == c.getInt(columnIndex)) { in createDownloadReceiver() 158 } else if (DownloadManager.STATUS_FAILED == c.getInt(columnIndex)){ in createDownloadReceiver()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | DataUtils.java | 38 int columnIndex = cursor.getColumnIndexOrThrow(MediaStore.Images.Media.DATA); in getPathFromURI() local 42 return cursor.getString(columnIndex); in getPathFromURI()
|
/packages/services/Telephony/src/com/android/phone/vvm/omtp/sync/ |
D | VoicemailStatusQueryHelper.java | 85 private boolean isFieldEqualTo(PhoneAccountHandle phoneAccount, int columnIndex, int value) { in isFieldEqualTo() argument 102 return cursor.getInt(columnIndex) == value; in isFieldEqualTo()
|
/packages/apps/UnifiedEmail/src/com/android/mail/content/ |
D | ThreadSafeCursorWrapper.java | 114 public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) { in copyStringToBuffer() argument 117 super.copyStringToBuffer(columnIndex, buffer); in copyStringToBuffer()
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | DbTestUtils.java | 119 public String getString(int columnIndex) { in getString() argument 120 return queryResult.get(columnIndex); in getString()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
D | UserDictionaryList.java | 68 final int columnIndex = cursor.getColumnIndex(UserDictionary.Words.LOCALE); in getUserDictionaryLocalesSet() local 70 final String locale = cursor.getString(columnIndex); in getUserDictionaryLocalesSet()
|