Lines Matching refs:RequestedLayerState

42     void onLayerAdded(const RequestedLayerState& layer) override {  in onLayerAdded()
45 void onLayerDestroyed(const RequestedLayerState& layer) override { in onLayerDestroyed()
64 std::unique_ptr<RequestedLayerState> rootLayer(uint32_t id) { in rootLayer()
65 return std::make_unique<RequestedLayerState>(createArgs(/*id=*/id, /*canBeRoot=*/true, in rootLayer()
70 std::unique_ptr<RequestedLayerState> childLayer(uint32_t id, uint32_t parentId) { in childLayer()
71 return std::make_unique<RequestedLayerState>(createArgs(/*id=*/id, /*canBeRoot=*/false, in childLayer()
76 RequestedLayerState* getRequestedLayerState(LayerLifecycleManager& lifecycleManager, in getRequestedLayerState()
86 std::vector<std::unique_ptr<RequestedLayerState>> layers; in TEST_F()
92 EXPECT_TRUE(lifecycleManager.getGlobalChanges().test(RequestedLayerState::Changes::Hierarchy)); in TEST_F()
94 EXPECT_FALSE(lifecycleManager.getGlobalChanges().test(RequestedLayerState::Changes::Hierarchy)); in TEST_F()
101 std::vector<std::unique_ptr<RequestedLayerState>> layers; in TEST_F()
110 EXPECT_TRUE(managedLayers.front()->changes.test(RequestedLayerState::Changes::Z)); in TEST_F()
112 EXPECT_TRUE(lifecycleManager.getGlobalChanges().test(RequestedLayerState::Changes::Hierarchy)); in TEST_F()
114 EXPECT_FALSE(lifecycleManager.getGlobalChanges().test(RequestedLayerState::Changes::Hierarchy)); in TEST_F()
116 EXPECT_FALSE(managedLayers.front()->changes.test(RequestedLayerState::Changes::Z)); in TEST_F()
126 EXPECT_FALSE(lifecycleManager.getGlobalChanges().test(RequestedLayerState::Changes::Hierarchy)); in TEST_F()
128 EXPECT_FALSE(lifecycleManager.getGlobalChanges().test(RequestedLayerState::Changes::Hierarchy)); in TEST_F()
136 std::vector<std::unique_ptr<RequestedLayerState>> layers; in TEST_F()
152 std::vector<std::unique_ptr<RequestedLayerState>> layers; in TEST_F()
166 std::vector<std::unique_ptr<RequestedLayerState>> layers; in TEST_F()
190 std::vector<std::unique_ptr<RequestedLayerState>> layers; in TEST_F()
211 std::vector<std::unique_ptr<RequestedLayerState>> layers; in TEST_F()
232 std::vector<std::unique_ptr<RequestedLayerState>> layers; in TEST_F()
257 std::vector<std::unique_ptr<RequestedLayerState>> layers; in TEST_F()
282 std::vector<std::unique_ptr<RequestedLayerState>> layers; in TEST_F()
308 std::vector<std::unique_ptr<RequestedLayerState>> layers; in TEST_F()
323 EXPECT_TRUE(lifecycleManager.getGlobalChanges().test(RequestedLayerState::Changes::Hierarchy)); in TEST_F()
337 std::vector<std::unique_ptr<RequestedLayerState>> layers; in TEST_F()
358 EXPECT_TRUE(lifecycleManager.getGlobalChanges().test(RequestedLayerState::Changes::Hierarchy)); in TEST_F()
371 std::vector<std::unique_ptr<RequestedLayerState>> layers; in TEST_F()
388 EXPECT_TRUE(lifecycleManager.getGlobalChanges().test(RequestedLayerState::Changes::Hierarchy)); in TEST_F()
404 mLifecycleManager.getGlobalChanges().test(RequestedLayerState::Changes::Visibility)); in TEST_F()
410 mLifecycleManager.getGlobalChanges().test(RequestedLayerState::Changes::Visibility)); in TEST_F()
416 mLifecycleManager.getGlobalChanges().test(RequestedLayerState::Changes::Visibility)); in TEST_F()
428 mLifecycleManager.getGlobalChanges().test(RequestedLayerState::Changes::Visibility)); in TEST_F()
434 mLifecycleManager.getGlobalChanges().test(RequestedLayerState::Changes::Visibility)); in TEST_F()
440 mLifecycleManager.getGlobalChanges().test(RequestedLayerState::Changes::Visibility)); in TEST_F()
464 ftl::Flags<RequestedLayerState::Changes>( in TEST_F()
465 RequestedLayerState::Changes::Buffer | RequestedLayerState::Changes::Content) in TEST_F()
472 mLifecycleManager.getGlobalChanges().test(RequestedLayerState::Changes::Visibility)); in TEST_F()
496 ftl::Flags<RequestedLayerState::Changes>( in TEST_F()
497 RequestedLayerState::Changes::Buffer | RequestedLayerState::Changes::Content | in TEST_F()
498 RequestedLayerState::Changes::VisibleRegion | in TEST_F()
499 RequestedLayerState::Changes::Visibility) in TEST_F()
519 ftl::Flags<RequestedLayerState::Changes>( in TEST_F()
520 RequestedLayerState::Changes::AffectsChildren | in TEST_F()
521 RequestedLayerState::Changes::Content | in TEST_F()
522 RequestedLayerState::Changes::Geometry | in TEST_F()
523 RequestedLayerState::Changes::VisibleRegion) in TEST_F()
538 ftl::Flags<RequestedLayerState::Changes>( in TEST_F()
539 RequestedLayerState::Changes::Content | in TEST_F()
540 RequestedLayerState::Changes::AffectsChildren | in TEST_F()
541 RequestedLayerState::Changes::VisibleRegion | in TEST_F()
542 RequestedLayerState::Changes::Input) in TEST_F()
552 ftl::Flags<RequestedLayerState::Changes>( in TEST_F()
553 RequestedLayerState::Changes::Content | in TEST_F()
554 RequestedLayerState::Changes::AffectsChildren | in TEST_F()
555 RequestedLayerState::Changes::VisibleRegion | in TEST_F()
556 RequestedLayerState::Changes::Input) in TEST_F()
562 ftl::Flags<RequestedLayerState::Changes>().string()); in TEST_F()
585 ftl::Flags<RequestedLayerState::Changes>( in TEST_F()
586 RequestedLayerState::Changes::Buffer | RequestedLayerState::Changes::Content) in TEST_F()
593 mLifecycleManager.getGlobalChanges().test(RequestedLayerState::Changes::Visibility)); in TEST_F()