Home | History | Annotate | Download | only in settings

Lines Matching refs:null

60             UserDictionary.Words.LOCALE + " is null";
65 + "=? AND " + UserDictionary.Words.SHORTCUT + " is null OR "
93 null == intent ? null : intent.getStringExtra("locale");
97 null == arguments ? null : arguments.getString("locale");
100 if (null != localeFromArguments) {
102 } else if (null != localeFromIntent) {
105 locale = null;
128 // - null. This means we want a cursor for the current locale, whatever this is.
129 // Note that this contrasts with the data inside the database, where NULL means "all
131 // historical use of null for "all locales".
138 QUERY_SELECTION_ALL_LOCALES, null,
141 final String queryLocale = null != locale ? locale : Locale.getDefault().toString();
159 if (word != null) {
176 showAddOrEditDialog(null, null);
183 * Add or edit a word. If editingWord is null, it's an add; otherwise, it's an edit.
184 * @param editingWord the word to edit, or null if it's an add.
185 * @param editingShortcut the shortcut for this entry, or null if none.
189 args.putInt(UserDictionaryAddWordContents.EXTRA_MODE, null == editingWord
199 args, R.string.user_dict_settings_add_dialog_title, null, null, 0);
203 if (null == mCursor) return null;
206 if (mCursor.isAfterLast()) return null;
213 if (null == mCursor) return null;
216 if (mCursor.isAfterLast()) return null;
263 if (null != c) {
274 return null == mIndexer ? 0 : mIndexer.getPositionForSection(section);
279 return null == mIndexer ? 0 : mIndexer.getSectionForPosition(position);
284 return null == mIndexer ? null : mIndexer.getSections();