Program: 174399
Project: 174399
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(getActivity().getSupportFragmentManager(),category,place);
      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);
      }
    }
  }
);
  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(getActivity().getSupportFragmentManager(),category,place);
      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();
    }
  }
);
}