Lines Matching refs:layer2
135 auto layer2 = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P() local
137 addChild(layer1, layer2); in TEST_P()
138 addChild(layer2, layer3); in TEST_P()
142 layer2->setFrameRate(FRAME_RATE_VOTE2.vote); in TEST_P()
143 layer2->setFrameRateSelectionStrategy(FrameRateSelectionStrategy::OverrideChildren); in TEST_P()
150 EXPECT_EQ(FRAME_RATE_VOTE1, layer2->getFrameRateForLayerTree()); in TEST_P()
152 layer2->getDrawingState().frameRateSelectionStrategy); in TEST_P()
163 EXPECT_EQ(FRAME_RATE_VOTE2, layer2->getFrameRateForLayerTree()); in TEST_P()
165 layer2->getDrawingState().frameRateSelectionStrategy); in TEST_P()
176 auto layer2 = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P() local
178 addChild(layer1, layer2); in TEST_P()
179 addChild(layer2, layer3); in TEST_P()
182 layer2->setFrameRate(FRAME_RATE_VOTE2.vote); in TEST_P()
183 layer2->setFrameRateSelectionStrategy(FrameRateSelectionStrategy::Self); in TEST_P()
189 EXPECT_EQ(FRAME_RATE_VOTE2, layer2->getFrameRateForLayerTree()); in TEST_P()
191 layer2->getDrawingState().frameRateSelectionStrategy); in TEST_P()
202 EXPECT_EQ(FRAME_RATE_VOTE1, layer2->getFrameRateForLayerTree()); in TEST_P()
204 layer2->getDrawingState().frameRateSelectionStrategy); in TEST_P()
215 EXPECT_EQ(FRAME_RATE_VOTE2, layer2->getFrameRateForLayerTree()); in TEST_P()
217 layer2->getDrawingState().frameRateSelectionStrategy); in TEST_P()