/*
   * (non-Javadoc)
   *
   * @see com.aviary.android.feather.effects.AbstractEffectPanel#onGenerateResult()
   */
  @Override
  protected void onGenerateResult() {
    MemeFilter filter = (MemeFilter) FilterLoaderFactory.get(Filters.MEME);

    flattenText(topHv, filter);
    flattenText(bottomHv, filter);

    MoaActionList actionList = (MoaActionList) filter.getActions().clone();
    super.onGenerateResult(actionList);
  }
  /**
   * Instantiates a new color matrix effect panel.
   *
   * @param context the context
   * @param type the type
   * @param resourcesBaseName the resources base name
   */
  public ColorMatrixEffectPanel(EffectContext context, Filters type, String resourcesBaseName) {
    super(context);

    mFilter = FilterLoaderFactory.get(type);

    if (mFilter instanceof AbstractColorMatrixFilter) {
      mMinValue = ((AbstractColorMatrixFilter) mFilter).getMinValue();
      mMaxValue = ((AbstractColorMatrixFilter) mFilter).getMaxValue();
    }
    mResourceName = resourcesBaseName;
  }