/packages/apps/InCallUI/src/com/android/incallui/ |
D | CallerInfo.java | 179 int columnIndex; in getCallerInfo() local 182 columnIndex = cursor.getColumnIndex(PhoneLookup.DISPLAY_NAME); in getCallerInfo() 183 if (columnIndex != -1) { in getCallerInfo() 184 info.name = cursor.getString(columnIndex); in getCallerInfo() 188 columnIndex = cursor.getColumnIndex(PhoneLookup.NUMBER); in getCallerInfo() 189 if (columnIndex != -1) { in getCallerInfo() 190 info.phoneNumber = cursor.getString(columnIndex); in getCallerInfo() 194 columnIndex = cursor.getColumnIndex(PhoneLookup.NORMALIZED_NUMBER); in getCallerInfo() 195 if (columnIndex != -1) { in getCallerInfo() 196 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/Mms/src/com/android/mms/ |
D | SuggestionsProvider.java | 318 public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) { in copyStringToBuffer() argument 319 mDatabaseCursor.copyStringToBuffer(columnIndex, buffer); in copyStringToBuffer() 326 public byte[] getBlob(int columnIndex) { in getBlob() argument 335 public String getColumnName(int columnIndex) { in getColumnName() argument 339 public double getDouble(int columnIndex) { in getDouble() argument 347 public float getFloat(int columnIndex) { in getFloat() argument 351 public int getInt(int columnIndex) { in getInt() argument 355 public long getLong(int columnIndex) { in getLong() argument 363 public short getShort(int columnIndex) { in getShort() argument 391 public int getType(int columnIndex) { in getType() argument [all …]
|
/packages/apps/Email/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/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/TvSettings/Settings/src/com/android/tv/settings/widget/picker/ |
D | Picker.java | 303 protected void updateSelection(int columnIndex, int selectedIndex) { in updateSelection() argument 304 ScrollAdapterView columnView = mColumnViews.get(columnIndex); in updateSelection() 307 String text = mColumns.get(columnIndex).getItems()[selectedIndex]; in updateSelection() 308 mResult.set(columnIndex, text); in updateSelection()
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
D | MessagingNotification.java | 1328 int columnIndex = cursor.getColumnIndex(Sms.THREAD_ID); in getSmsThreadId() local 1329 if (columnIndex < 0) { in getSmsThreadId() 1336 long threadId = cursor.getLong(columnIndex); in getSmsThreadId() 1379 int columnIndex = cursor.getColumnIndex(Mms.THREAD_ID); in getThreadId() local 1380 if (columnIndex < 0) { in getThreadId() 1387 long threadId = cursor.getLong(columnIndex); in getThreadId()
|
D | RetryScheduler.java | 224 int columnIndex = cursor.getColumnIndexOrThrow( in scheduleRetry() local 226 long id = cursor.getLong(columnIndex); in scheduleRetry()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | DownloadPackageTask.java | 105 int columnIndex = c.getColumnIndex(DownloadManager.COLUMN_STATUS); in createDownloadReceiver() local 106 if (DownloadManager.STATUS_SUCCESSFUL == c.getInt(columnIndex)) { in createDownloadReceiver() 111 } else if (DownloadManager.STATUS_FAILED == c.getInt(columnIndex)){ in createDownloadReceiver()
|
/packages/apps/Browser/src/com/android/browser/ |
D | BrowserBookmarksPage.java | 233 static Bitmap getBitmap(Cursor cursor, int columnIndex) { in getBitmap() argument 234 return getBitmap(cursor, columnIndex, null); in getBitmap() 243 static Bitmap getBitmap(Cursor cursor, int columnIndex, Bitmap inBitmap) { in getBitmap() argument 244 byte[] data = cursor.getBlob(columnIndex); in getBitmap()
|
D | BrowserSnapshotPage.java | 175 static Bitmap getBitmap(Cursor cursor, int columnIndex) { in getBitmap() argument 176 byte[] data = cursor.getBlob(columnIndex); in getBitmap()
|
/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/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 | 66 final int columnIndex = cursor.getColumnIndex(UserDictionary.Words.LOCALE); in getUserDictionaryLocalesSet() local 68 final String locale = cursor.getString(columnIndex); in getUserDictionaryLocalesSet()
|
D | UserDictionarySettings.java | 292 public boolean setViewValue(View v, Cursor c, int columnIndex) { 297 if (columnIndex == INDEX_SHORTCUT) {
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | UserDictionaryList.java | 86 final int columnIndex = cursor.getColumnIndex(UserDictionary.Words.LOCALE); in getUserDictionaryLocalesSet() local 88 final String locale = cursor.getString(columnIndex); in getUserDictionaryLocalesSet()
|
/packages/apps/Settings/src/com/android/settings/ |
D | UserDictionarySettings.java | 241 public boolean setViewValue(View v, Cursor c, int columnIndex) { 242 if (columnIndex == INDEX_SHORTCUT) {
|
/packages/apps/Music/src/com/android/music/ |
D | ArtistAlbumBrowserActivity.java | 789 public String getString(int columnIndex) { in getChildrenCursor() argument 790 if (columnIndex != mMagicColumnIdx) { in getChildrenCursor() 791 return super.getString(columnIndex); in getChildrenCursor()
|