Home
last modified time | relevance | path

Searched refs:newFilter (Results 1 – 3 of 3) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/app/
DLoaderCursor.java131 String newFilter = !TextUtils.isEmpty(newText) ? newText : null; in onQueryTextChange() local
134 if (mCurFilter == null && newFilter == null) { in onQueryTextChange()
137 if (mCurFilter != null && mCurFilter.equals(newFilter)) { in onQueryTextChange()
140 mCurFilter = newFilter; in onQueryTextChange()
DLoaderRetained.java136 String newFilter = !TextUtils.isEmpty(newText) ? newText : null; in onQueryTextChange() local
139 if (mCurFilter == null && newFilter == null) { in onQueryTextChange()
142 if (mCurFilter != null && mCurFilter.equals(newFilter)) { in onQueryTextChange()
145 mCurFilter = newFilter; in onQueryTextChange()
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
DContactsListFragment.java353 String newFilter = !TextUtils.isEmpty(newText) ? newText : null; in onCreateOptionsMenu()
356 if (mSearchTerm == null && newFilter == null) { in onCreateOptionsMenu()
361 if (mSearchTerm != null && mSearchTerm.equals(newFilter)) { in onCreateOptionsMenu()
366 mSearchTerm = newFilter; in onCreateOptionsMenu()