diff options
author | linyuh <linyuh@google.com> | 2017-12-27 17:02:37 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2017-12-27 17:03:47 -0800 |
commit | 183cb71663320f16149d83eeebaff7795a4b55f2 (patch) | |
tree | bc8bfcce809257b3ddbb423a9808082292b9f6a3 /java/com/android/dialer/app/list/BlockedListSearchFragment.java | |
parent | fc81a030a7b4f6d4a497f71aed593d398795e7da (diff) |
Remove field prefixes.
Test: Existing tests
PiperOrigin-RevId: 180230450
Change-Id: I0b2589cfeeaef81e42a04efa48af24b4e4d0e95f
Diffstat (limited to 'java/com/android/dialer/app/list/BlockedListSearchFragment.java')
-rw-r--r-- | java/com/android/dialer/app/list/BlockedListSearchFragment.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/java/com/android/dialer/app/list/BlockedListSearchFragment.java b/java/com/android/dialer/app/list/BlockedListSearchFragment.java index bef5af713..de9dbaee6 100644 --- a/java/com/android/dialer/app/list/BlockedListSearchFragment.java +++ b/java/com/android/dialer/app/list/BlockedListSearchFragment.java @@ -44,7 +44,7 @@ import com.android.dialer.logging.Logger; public class BlockedListSearchFragment extends RegularSearchFragment implements BlockNumberDialogFragment.Callback { - private final TextWatcher mPhoneSearchQueryTextListener = + private final TextWatcher phoneSearchQueryTextListener = new TextWatcher() { @Override public void beforeTextChanged(CharSequence s, int start, int count, int after) {} @@ -57,7 +57,7 @@ public class BlockedListSearchFragment extends RegularSearchFragment @Override public void afterTextChanged(Editable s) {} }; - private final SearchEditTextLayout.Callback mSearchLayoutCallback = + private final SearchEditTextLayout.Callback searchLayoutCallback = new SearchEditTextLayout.Callback() { @Override public void onBackButtonClicked() { @@ -67,8 +67,8 @@ public class BlockedListSearchFragment extends RegularSearchFragment @Override public void onSearchViewClicked() {} }; - private FilteredNumberAsyncQueryHandler mFilteredNumberAsyncQueryHandler; - private EditText mSearchView; + private FilteredNumberAsyncQueryHandler filteredNumberAsyncQueryHandler; + private EditText searchView; @Override public void onCreate(Bundle savedInstanceState) { @@ -83,7 +83,7 @@ public class BlockedListSearchFragment extends RegularSearchFragment * query, which results in showing an empty view */ setQueryString(getQueryString() == null ? "" : getQueryString()); - mFilteredNumberAsyncQueryHandler = new FilteredNumberAsyncQueryHandler(getContext()); + filteredNumberAsyncQueryHandler = new FilteredNumberAsyncQueryHandler(getContext()); } @Override @@ -99,23 +99,23 @@ public class BlockedListSearchFragment extends RegularSearchFragment final SearchEditTextLayout searchEditTextLayout = (SearchEditTextLayout) actionBar.getCustomView().findViewById(R.id.search_view_container); searchEditTextLayout.expand(false, true); - searchEditTextLayout.setCallback(mSearchLayoutCallback); + searchEditTextLayout.setCallback(searchLayoutCallback); searchEditTextLayout.setBackgroundDrawable(null); - mSearchView = (EditText) searchEditTextLayout.findViewById(R.id.search_view); - mSearchView.addTextChangedListener(mPhoneSearchQueryTextListener); - mSearchView.setHint(R.string.block_number_search_hint); + searchView = (EditText) searchEditTextLayout.findViewById(R.id.search_view); + searchView.addTextChangedListener(phoneSearchQueryTextListener); + searchView.setHint(R.string.block_number_search_hint); searchEditTextLayout .findViewById(R.id.search_box_expanded) .setBackgroundColor(getContext().getResources().getColor(android.R.color.white)); if (!TextUtils.isEmpty(getQueryString())) { - mSearchView.setText(getQueryString()); + searchView.setText(getQueryString()); } // TODO: Don't set custom text size; use default search text size. - mSearchView.setTextSize( + searchView.setTextSize( TypedValue.COMPLEX_UNIT_PX, getResources().getDimension(R.dimen.blocked_number_search_text_size)); } @@ -195,7 +195,7 @@ public class BlockedListSearchFragment extends RegularSearchFragment } } }; - mFilteredNumberAsyncQueryHandler.isBlockedNumber(onCheckListener, number, countryIso); + filteredNumberAsyncQueryHandler.isBlockedNumber(onCheckListener, number, countryIso); } @Override |