Lines Matching refs:TITLE
57 OmniboxSuggestions.TITLE,
63 "(url LIKE ? OR url LIKE ? OR url LIKE ? OR url LIKE ? OR title LIKE ?)";
165 tv1.setText(Html.fromHtml(item.title));
255 if (sitem.title != null) {
256 return sitem.title;
366 sb.append(item.type + ": " + item.title);
379 public String title;
385 title = text;
423 String title = mCursor.getString(1);
426 return new SuggestItem(getTitle(title, url), getUrl(title, url),
467 * Provides the title (text line 1) for a browser suggestion, which should be the
468 * webpage title. If the webpage title is empty, returns the stripped url instead.
470 * @return the title string to use
472 private String getTitle(String title, String url) {
473 if (TextUtils.isEmpty(title) || TextUtils.getTrimmedLength(title) == 0) {
474 title = UrlUtils.stripUrl(url);
476 return title;
481 * webpage url. If the webpage title is empty, then the url should go in the title
486 private String getUrl(String title, String url) {
487 if (TextUtils.isEmpty(title)
488 || TextUtils.getTrimmedLength(title) == 0
489 || title.equals(url)) {
502 String title = mCursor.getString(
511 SuggestItem item = new SuggestItem(title, url, type);
557 return (item.title != null) ? Html.fromHtml(item.title).toString() : null;
561 final String title = SuggestionsAdapter.getSuggestionTitle(item);
564 return title;