code: public void setCanvasFilterBitmaps(boolean filterBitmaps) {
      if (filterBitmaps) AndroidCanvasState.PAINT_FLAGS |= Paint.FILTER_BITMAP_FLAG;
      else AndroidCanvasState.PAINT_FLAGS &= ~Paint.FILTER_BITMAP_FLAG;
    }
docs: Configures the default bitmap filtering (smoothing) setting used when rendering images to a
  canvas. The default is not to smooth the bitmaps, pass true to make smoothing the default.