| /appcompat/appcompat/src/main/java/androidx/appcompat/widget/ |
| D | SuggestionsAdapter.java | 149 Cursor cursor = null; in runQueryOnBackgroundThread() local 155 cursor = getSearchManagerSuggestions(mSearchable, query, QUERY_LIMIT); in runQueryOnBackgroundThread() 158 if (cursor != null) { in runQueryOnBackgroundThread() 159 cursor.getCount(); in runQueryOnBackgroundThread() 160 return cursor; in runQueryOnBackgroundThread() 192 private void updateSpinnerState(Cursor cursor) { in updateSpinnerState() argument 193 Bundle extras = cursor != null ? cursor.getExtras() : null; in updateSpinnerState() 241 public View newView(Context context, Cursor cursor, ViewGroup parent) { in newView() argument 242 final View v = super.newView(context, cursor, parent); in newView() 272 public void bindView(View view, Context context, Cursor cursor) { in bindView() argument [all …]
|
| /appcompat/appcompat/src/androidTest/java/androidx/appcompat/app/ |
| D | AlertDialogCursorTest.kt | 63 private var cursor: Cursor? = null in <lambda>() variable in androidx.appcompat.app.AlertDialogCursorTest 109 cursor?.close() in <lambda>() 120 cursor = database.query("test", PROJECTION_WITHOUT_CHECKED, null, null, null, null, null) in <lambda>() 121 Assert.assertNotNull(cursor) in <lambda>() 126 .setCursor(cursor, mockClickListener, "text") in <lambda>() 236 cursor = database.query("test", PROJECTION_WITH_CHECKED, null, null, null, null, null) in <lambda>() 237 Assert.assertNotNull(cursor) in <lambda>() 242 .setMultiChoiceItems(cursor, CHECKED_COLUMN_NAME, TEXT_COLUMN_NAME) { in <lambda>() 248 cursor!!.moveToPosition(which) in <lambda>() 255 arrayOf(cursor!!.getString(1)) in <lambda>() [all …]
|
| /appcompat/appcompat/src/androidTest/java/androidx/appcompat/widget/ |
| D | SearchView_CursorTest.java | 113 final Cursor cursor = mSuggestionsAdapter.getCursor(); in onSuggestionClick() local 114 if (cursor != null) { in onSuggestionClick() 115 cursor.moveToPosition(position); in onSuggestionClick() 116 mSearchView.setQuery(cursor.getString(1), false); in onSuggestionClick()
|
| /appcompat/appcompat/src/main/java/androidx/appcompat/app/ |
| D | AlertDialog.java | 675 public Builder setCursor(final Cursor cursor, final OnClickListener listener, in setCursor() argument 677 P.mCursor = cursor; in setCursor() 755 … public Builder setMultiChoiceItems(Cursor cursor, String isCheckedColumn, String labelColumn, in setMultiChoiceItems() argument 757 P.mCursor = cursor; in setMultiChoiceItems() 805 public Builder setSingleChoiceItems(Cursor cursor, int checkedItem, String labelColumn, in setSingleChoiceItems() argument 807 P.mCursor = cursor; in setSingleChoiceItems()
|
| D | AlertController.java | 1016 final Cursor cursor = getCursor(); in createListView() 1017 mLabelIndex = cursor.getColumnIndexOrThrow(mLabelColumn); in createListView() 1018 mIsCheckedIndex = cursor.getColumnIndexOrThrow(mIsCheckedColumn); in createListView() 1022 public void bindView(View view, Context context, Cursor cursor) { in createListView() 1025 text.setText(cursor.getString(mLabelIndex)); in createListView() 1026 listView.setItemChecked(cursor.getPosition(), in createListView() 1027 cursor.getInt(mIsCheckedIndex) == 1); in createListView() 1031 public View newView(Context context, Cursor cursor, ViewGroup parent) { in createListView()
|
| /appcompat/appcompat/src/androidTest/java/androidx/appcompat/testutils/ |
| D | TestUtilsMatchers.java | 240 protected boolean matchesSafely(SQLiteCursor cursor) { 242 cursor.getString(cursor.getColumnIndex(columnName)));
|
| /appcompat/appcompat/api/ |
| D | api_lint.ignore | 219 Missing nullability on parameter `cursor` in method `setCursor` 257 Missing nullability on parameter `cursor` in method `setMultiChoiceItems` 337 Missing nullability on parameter `cursor` in method `setSingleChoiceItems`
|