Home
last modified time | relevance | path

Searched refs:isNull (Results 1 – 25 of 43) sorted by relevance

12

/packages/apps/Contacts/src/com/android/contacts/util/
DDataStatus.java56 final boolean hasStatus = !isNull(cursor, Data.STATUS); in possibleUpdate()
57 final boolean hasTimestamp = !isNull(cursor, Data.STATUS_TIMESTAMP); in possibleUpdate()
154 return cursor.isNull(columnIndex) ? missingValue : cursor.getInt(columnIndex); in getInt()
159 return cursor.isNull(columnIndex) ? missingValue : cursor.getLong(columnIndex); in getLong()
162 private static boolean isNull(Cursor cursor, String columnName) { in isNull() method in DataStatus
163 return cursor.isNull(cursor.getColumnIndex(columnName)); in isNull()
DStreamItemPhotoEntry.java118 return cursor.isNull(columnIndex) ? missingValue : cursor.getInt(columnIndex); in getInt()
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
DDataStatus.java54 final boolean hasStatus = !isNull(cursor, Data.STATUS); in possibleUpdate()
55 final boolean hasTimestamp = !isNull(cursor, Data.STATUS_TIMESTAMP); in possibleUpdate()
148 return cursor.isNull(columnIndex) ? missingValue : cursor.getInt(columnIndex); in getInt()
153 return cursor.isNull(columnIndex) ? missingValue : cursor.getLong(columnIndex); in getLong()
156 private static boolean isNull(Cursor cursor, String columnName) { in isNull() method in DataStatus
157 return cursor.isNull(cursor.getColumnIndex(columnName)); in isNull()
/packages/apps/Email/tests/src/com/android/email/activity/setup/
DAccountSetupOptionsTests.java126 boolean isNull = mBackgroundAttachmentsView == null; in checkBackgroundAttachments()
127 boolean isVisible = !isNull && (mBackgroundAttachmentsView.getVisibility() == View.VISIBLE); in checkBackgroundAttachments()
132 assertTrue(!isNull); in checkBackgroundAttachments()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DMockSuggestionProviderCursor.java86 public boolean isNull(int column) { in isNull() method in MockSuggestionProviderCursor
87 return mRows.get(getPosition()).isNull(column); in isNull()
150 public boolean isNull(int column) { in isNull() method in MockSuggestionProviderCursor.Row
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DReorderingCursorWrapper.java102 public boolean isNull(int column) { in isNull() method in ReorderingCursorWrapper
103 return mCursor.isNull(column); in isNull()
DContactDirectoryManager.java430 if (!cursor.isNull(DirectoryQuery.TYPE_RESOURCE_ID)) { in queryDirectoriesForAuthority()
433 if (!cursor.isNull(DirectoryQuery.EXPORT_SUPPORT)) { in queryDirectoriesForAuthority()
446 if (!cursor.isNull(DirectoryQuery.SHORTCUT_SUPPORT)) { in queryDirectoriesForAuthority()
459 if (!cursor.isNull(DirectoryQuery.PHOTO_SUPPORT)) { in queryDirectoriesForAuthority()
/packages/apps/Contacts/src/com/android/contacts/calllog/
DExtendedCursor.java117 public boolean isNull(int column) { in isNull() method in ExtendedCursor
121 return mCursor.isNull(column); in isNull()
/packages/apps/Contacts/src/com/android/contacts/list/
DEmailAddressListAdapter.java137 if (!cursor.isNull(EmailQuery.EMAIL_TYPE)) { in bindEmailAddress()
172 if (!cursor.isNull(EmailQuery.EMAIL_PHOTO_ID)) { in bindPhoto()
DPostalAddressListAdapter.java127 if (!cursor.isNull(PostalQuery.POSTAL_TYPE)) { in bindPostalAddress()
162 if (!cursor.isNull(PostalQuery.POSTAL_PHOTO_ID)) { in bindPhoto()
DPhoneNumberListAdapter.java276 if (!cursor.isNull(PhoneQuery.PHONE_TYPE)) { in bindPhoneNumber()
309 if (!cursor.isNull(PhoneQuery.PHONE_PHOTO_ID)) { in bindPhoto()
DLegacyPostalAddressListAdapter.java100 if (!cursor.isNull(POSTAL_TYPE_COLUMN_INDEX)) { in bindPostalAddress()
DLegacyPhoneNumberListAdapter.java98 if (!cursor.isNull(PHONE_TYPE_COLUMN_INDEX)) { in bindPhoneNumber()
DContactTileAdapter.java277 if (!cursor.isNull(mPresenceIndex)) { in createContactEntryFromCursor()
284 if (mStatusIndex != 0 && !cursor.isNull(mStatusIndex)) { in createContactEntryFromCursor()
/packages/experimental/LoaderApp/src/com/android/loaderapp/
DContactHeaderWidget.java245 && !cursor.isNull(PhotoQuery.PHOTO)) { in onQueryComplete()
645 if (!c.isNull(ContactQuery.CONTACT_PRESENCE_STATUS)) { in bindContactInfo()
655 final Long statusTimestamp = c.isNull(ContactQuery.CONTACT_STATUS_TIMESTAMP) in bindContactInfo()
658 final Integer statusLabel = c.isNull(ContactQuery.CONTACT_STATUS_LABEL) in bindContactInfo()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DJsonBackedSuggestionExtras.java56 if (mExtras.isNull(columnName)) { in getExtra()
DSuggestionCursorBackedCursor.java170 public boolean isNull(int column) { in isNull() method in SuggestionCursorBackedCursor
/packages/apps/Music/src/com/android/music/
DSortCursor.java226 public boolean isNull(int column) in isNull() method in SortCursor
228 return mCursor.isNull(column); in isNull()
/packages/apps/Contacts/src/com/android/contacts/
DContactLoader.java809 if (!cursor.isNull(ContactQuery.DATA_ID)) { in loadContactEntity()
813 if (!cursor.isNull(ContactQuery.PRESENCE) in loadContactEntity()
814 || !cursor.isNull(ContactQuery.STATUS)) { in loadContactEntity()
931 final Integer presence = cursor.isNull(ContactQuery.CONTACT_PRESENCE) in loadContactHeaderData()
1115 final boolean defaultGroup = cursor.isNull(GroupQuery.AUTO_ADD) in loadGroupMetaData()
1118 final boolean favorites = cursor.isNull(GroupQuery.FAVORITES) in loadGroupMetaData()
/packages/apps/Contacts/src/com/android/contacts/editor/
DGroupMembershipView.java231 if (!mGroupMetaData.isNull(GroupMetaDataLoader.FAVORITES) in updateView()
234 } else if (!mGroupMetaData.isNull(GroupMetaDataLoader.AUTO_ADD) in updateView()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarInstancesHelper.java248 if (!entries.isNull(originalInstanceTimeColumn)) { in performInstanceExpansion()
320 if (!entries.isNull(dtendColumn)) { in performInstanceExpansion()
376 if (!entries.isNull(dtendColumn)) { in performInstanceExpansion()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DEntrySchema.java110 field.set(object, cursor.isNull(columnIndex) in cursorToObject()
133 field.set(object, cursor.isNull(columnIndex) in cursorToObject()
/packages/apps/Browser/src/com/android/browser/search/
DOpenSearchSearchEngine.java284 public boolean isNull(int column) { in isNull() method in OpenSearchSearchEngine.SuggestionsCursor
/packages/apps/Browser/src/com/android/browser/
DUrlHandler.java254 if (cur != null && cur.moveToFirst() && !cur.isNull(0)) { in doInBackground()
/packages/apps/Email/tests/src/com/android/email/activity/
DMessageOrderManagerTest.java398 @Override public boolean isNull(int column) { in isNull() method in MessageOrderManagerTest.MyCursor

12