introduce FragmentMetrics.as