litho-it/src/main/java/com/facebook/litho/widget/MountSpecLifecycleTesterDrawableSpec.java [75:96]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  static void onMeasure(
      ComponentContext c,
      ComponentLayout layout,
      int widthSpec,
      int heightSpec,
      Size size,
      @Prop LifecycleTracker lifecycleTracker,
      @Prop(optional = true) Size intrinsicSize) {

    int width = SizeSpec.getSize(widthSpec);
    int height = SizeSpec.getSize(heightSpec);

    if (intrinsicSize != null) {
      size.width = SizeSpec.resolveSize(widthSpec, intrinsicSize.width);
      size.height = SizeSpec.resolveSize(heightSpec, intrinsicSize.height);
    } else {
      size.width = width;
      size.height = height;
    }

    lifecycleTracker.addStep(LifecycleStep.ON_MEASURE, size);
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



litho-it/src/main/java/com/facebook/litho/widget/MountSpecPureRenderLifecycleTesterSpec.java [77:98]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  static void onMeasure(
      ComponentContext c,
      ComponentLayout layout,
      int widthSpec,
      int heightSpec,
      Size size,
      @Prop LifecycleTracker lifecycleTracker,
      @Prop(optional = true) Size intrinsicSize) {

    int width = SizeSpec.getSize(widthSpec);
    int height = SizeSpec.getSize(heightSpec);

    if (intrinsicSize != null) {
      size.width = SizeSpec.resolveSize(widthSpec, intrinsicSize.width);
      size.height = SizeSpec.resolveSize(heightSpec, intrinsicSize.height);
    } else {
      size.width = width;
      size.height = height;
    }

    lifecycleTracker.addStep(LifecycleStep.ON_MEASURE, size);
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



