Program: 174238
Project: 174238
Buggy source:
private void setListeners(){
  mFilterLayBtn.setOnTouchListener(new View.OnTouchListener(){
    @Override public boolean onTouch(    View v,    MotionEvent event){
      if (event.getAction() == MotionEvent.ACTION_DOWN) {
        filterIc.setAlpha(0.5f);
        filterTxt.setAlpha(0.5f);
      }
      if (event.getAction() == MotionEvent.ACTION_UP) {
        filterIc.setAlpha(1f);
        filterTxt.setAlpha(1f);
      }
      return false;
    }
  }
);
  mFilterLayBtn.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      HomeFilteringDialogFragment fragment=HomeFilteringDialogFragment.ShowME(category,place,region);
      fragment.setTargetFragment(HomeFragment.this,0);
      fragment.show(getActivity().getSupportFragmentManager(),HomeFragment.class.getName());
    }
  }
);
  mSwipeRefreshLayout.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener(){
    @Override public void onRefresh(){
      refreshItems();
    }
  }
);
  mRecyclerView.addOnScrollListener(new EndlessRecyclerViewScrollListener(linearLayoutManager){
    @Override public void onLoadMore(    int page,    int totalItemsCount){
      pageNumber++;
      getGifts();
    }
  }
);
  mSearchBackspaceBtn.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      mSearchET.setText("String_Node_Str");
      mSearchBackspaceBtn.setVisibility(View.INVISIBLE);
    }
  }
);
  mSearchET.addTextChangedListener(new TextWatcher(){
    @Override public void beforeTextChanged(    CharSequence s,    int start,    int count,    int after){
    }
    @Override public void onTextChanged(    CharSequence s,    int start,    int before,    int count){
    }
    @Override public void afterTextChanged(    Editable s){
      if (s.length() > 0) {
        mSearchBackspaceBtn.setVisibility(View.VISIBLE);
      }
 else {
        mSearchBackspaceBtn.setVisibility(View.INVISIBLE);
      }
    }
  }
);
  mSearchBtn.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      searchText();
    }
  }
);
}

Fixed version (ground truth):
private void setListeners(){
  mFilterLayBtn.setOnTouchListener(new View.OnTouchListener(){
    @Override public boolean onTouch(    View v,    MotionEvent event){
      if (event.getAction() == MotionEvent.ACTION_DOWN) {
        filterIc.setAlpha(0.5f);
        filterTxt.setAlpha(0.5f);
      }
      if (event.getAction() == MotionEvent.ACTION_UP) {
        filterIc.setAlpha(1f);
        filterTxt.setAlpha(1f);
      }
      return false;
    }
  }
);
  mFilterLayBtn.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      HomeFilteringDialogFragment fragment=HomeFilteringDialogFragment.ShowME(category,place,region);
      fragment.setTargetFragment(HomeFragment.this,0);
      fragment.show(getActivity().getSupportFragmentManager(),HomeFragment.class.getName());
    }
  }
);
  mSwipeRefreshLayout.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener(){
    @Override public void onRefresh(){
      refreshItems();
    }
  }
);
  mRecyclerView.addOnScrollListener(new EndlessRecyclerViewScrollListener(linearLayoutManager){
    @Override public void onLoadMore(    int page,    int totalItemsCount){
      pageNumber++;
      getGifts();
    }
  }
);
  mSearchBackspaceBtn.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      mSearchET.setText("String_Node_Str");
      mSearchBackspaceBtn.setVisibility(View.INVISIBLE);
    }
  }
);
  mSearchET.addTextChangedListener(new TextWatcher(){
    @Override public void beforeTextChanged(    CharSequence s,    int start,    int count,    int after){
    }
    @Override public void onTextChanged(    CharSequence s,    int start,    int before,    int count){
    }
    @Override public void afterTextChanged(    Editable s){
      if (s.length() > 0) {
        mSearchBackspaceBtn.setVisibility(View.VISIBLE);
      }
 else {
        mSearchBackspaceBtn.setVisibility(View.INVISIBLE);
      }
    }
  }
);
  mSearchET.setOnEditorActionListener(new TextView.OnEditorActionListener(){
    @Override public boolean onEditorAction(    TextView v,    int actionId,    KeyEvent event){
      if (actionId == EditorInfo.IME_ACTION_SEARCH) {
        Toasti.showS("String_Node_Str");
        searchText();
        return true;
      }
      return false;
    }
  }
);
  mSearchBtn.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      searchText();
    }
  }
);
}