• Home
  • Raw
  • Download

Lines Matching refs:mCursor

394         Cursor mCursor;  field in SuggestionsAdapter.CursorSource
397 return mCursor.moveToNext(); in moveToNext()
405 return (mCursor != null) ? mCursor.getCount() : 0; in getCount()
409 if (mCursor != null) { in close()
410 mCursor.close(); in close()
422 if ((mCursor != null) && (!mCursor.isAfterLast())) { in getItem()
423 String title = mCursor.getString(1); in getItem()
424 String url = mCursor.getString(2); in getItem()
425 boolean isBookmark = (mCursor.getInt(3) == 1); in getItem()
435 if (mCursor != null) { in runQuery()
436 mCursor.close(); in runQuery()
458 mCursor = in runQuery()
461 if (mCursor != null) { in runQuery()
462 mCursor.moveToFirst(); in runQuery()
501 if (mCursor != null) { in getItem()
502 String title = mCursor.getString( in getItem()
503 mCursor.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_1)); in getItem()
504 String text2 = mCursor.getString( in getItem()
505 mCursor.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2)); in getItem()
506 String url = mCursor.getString( in getItem()
507 mCursor.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2_URL)); in getItem()
508 String uri = mCursor.getString( in getItem()
509 mCursor.getColumnIndex(SearchManager.SUGGEST_COLUMN_INTENT_DATA)); in getItem()
512 item.extra = mCursor.getString( in getItem()
513 mCursor.getColumnIndex(SearchManager.SUGGEST_COLUMN_INTENT_EXTRA_DATA)); in getItem()
521 if (mCursor != null) { in runQuery()
522 mCursor.close(); in runQuery()
527 mCursor = searchEngine.getSuggestions(mContext, constraint.toString()); in runQuery()
528 if (mCursor != null) { in runQuery()
529 mCursor.moveToFirst(); in runQuery()
534 mCursor = searchEngine.getSuggestions(mContext, ""); in runQuery()
536 mCursor = null; in runQuery()