Vote for frame rate low for small view in intermittent

We've previously change the default frame rate category of intermittent
state to normal. However, small views that should vote for low frame rate will
now vote for normal in intermittent state.

To fix that, view will always vote based on their size now. This is
also the first step to remove the intermittent state.

Flag: android.view.flags.toolkit_frame_rate_by_size_read_only
Bug: 346123132
Test: ViewRootImplTest, ViewFrameRateTest
Change-Id: If7fe290f64657ec79e9ad2fe23893fc18e3ad3ae
2 files changed