Lines Matching refs:layer1
134 auto layer1 = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P() local
137 addChild(layer1, layer2); in TEST_P()
140 layer1->setFrameRate(FRAME_RATE_VOTE1.vote); in TEST_P()
141 layer1->setFrameRateSelectionStrategy(FrameRateSelectionStrategy::OverrideChildren); in TEST_P()
147 EXPECT_EQ(FRAME_RATE_VOTE1, layer1->getFrameRateForLayerTree()); in TEST_P()
149 layer1->getDrawingState().frameRateSelectionStrategy); in TEST_P()
157 layer1->setFrameRateSelectionStrategy(FrameRateSelectionStrategy::Propagate); in TEST_P()
160 EXPECT_EQ(FRAME_RATE_VOTE1, layer1->getFrameRateForLayerTree()); in TEST_P()
162 layer1->getDrawingState().frameRateSelectionStrategy); in TEST_P()
175 auto layer1 = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P() local
178 addChild(layer1, layer2); in TEST_P()
181 layer1->setFrameRate(FRAME_RATE_VOTE1.vote); in TEST_P()
186 EXPECT_EQ(FRAME_RATE_VOTE1, layer1->getFrameRateForLayerTree()); in TEST_P()
188 layer1->getDrawingState().frameRateSelectionStrategy); in TEST_P()
196 layer1->setFrameRateSelectionStrategy(FrameRateSelectionStrategy::OverrideChildren); in TEST_P()
199 EXPECT_EQ(FRAME_RATE_VOTE1, layer1->getFrameRateForLayerTree()); in TEST_P()
201 layer1->getDrawingState().frameRateSelectionStrategy); in TEST_P()
209 layer1->setFrameRate(FRAME_RATE_DEFAULT.vote); in TEST_P()
212 EXPECT_EQ(FRAME_RATE_TREE, layer1->getFrameRateForLayerTree()); in TEST_P()
214 layer1->getDrawingState().frameRateSelectionStrategy); in TEST_P()