code: public void setAmOrPm(int amOrPm) {
          mAmPmCirclesView.setAmOrPm(amOrPm);
          mAmPmCirclesView.invalidate();
          setValueForItem(AMPM_INDEX, amOrPm);
      }
docs: Set the internal value as either AM or PM, and update the AM/PM circle displays.
  
  @param amOrPm