code: public boolean matchesFilter(String filter) {
  
          filter = filter.toLowerCase();
          return m_title.toLowerCase().contains(filter) || m_path.toLowerCase().contains(filter);
      }
docs: Returns if the category matches the given filter.<p>
  
  @param filter the filter to match
  
  @return <code>true</code> if the gallery matches the given filter.<p>