/frameworks/native/libs/ui/include/ui/ |
D | LayerStack.h | 29 struct LayerStack { struct 33 static constexpr LayerStack fromValue(T v) { in fromValue() argument 43 constexpr LayerStack INVALID_LAYER_STACK; 44 constexpr LayerStack DEFAULT_LAYER_STACK{0u}; 46 inline bool operator==(LayerStack lhs, LayerStack rhs) { 50 inline bool operator!=(LayerStack lhs, LayerStack rhs) { 54 inline bool operator>(LayerStack lhs, LayerStack rhs) { 58 inline bool operator<(LayerStack lhs, LayerStack rhs) { 64 LayerStack layerStack;
|
D | DisplayState.h | 30 LayerStack layerStack;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/ |
D | Predictor.h | 25 class LayerStack { 27 LayerStack(const std::vector<const LayerState*>& layers) : mLayers(copyLayers(layers)) {} in LayerStack() function 54 void compare(const LayerStack& other, std::string& result) const { in compare() 174 const LayerStack& getExampleLayerStack() const { return mExampleLayerStack; } 217 LayerStack mExampleLayerStack; 296 ApproximateStack(NonBufferHash hash, LayerStack::ApproximateMatch match) 304 LayerStack::ApproximateMatch match;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/ |
D | PredictorTest.cpp | 102 LayerStack stack({&layerStateOne}); in TEST_F() 127 LayerStack stack({&layerStateOne}); in TEST_F() 156 LayerStack stack({&layerStateOne}); in TEST_F() 160 LayerStack::ApproximateMatch expectedMatch; in TEST_F() 190 LayerStack stack({&layerStateOne, &layerStateOne}); in TEST_F() 194 LayerStack::ApproximateMatch expectedMatch; in TEST_F() 234 LayerStack stack({&layerStateOne}); in TEST_F() 259 LayerStack stack({&layerStateOne}); in TEST_F() 263 LayerStack::ApproximateMatch expectedMatch; in TEST_F() 305 LayerStack stack({&layerStateOne}); in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/tests/ |
D | MultiDisplayLayerBounds_test.cpp | 61 void createDisplay(const ui::Size& layerStackSize, ui::LayerStack layerStack) { in createDisplay() 73 void createColorLayer(ui::LayerStack layerStack) { in createColorLayer() 101 constexpr ui::LayerStack kLayerStack{1u}; in TEST_F() 152 constexpr ui::LayerStack layerStack{77687666}; // ASCII for MDLB (MultiDisplayLayerBounds) in TEST_F()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SurfaceFlinger_InitializeDisplaysTest.cpp | 47 const ui::LayerStack expectedLayerStack = display == mInnerDisplay in TEST_F() 49 : ui::LayerStack::fromValue(ui::DEFAULT_LAYER_STACK.id + 1); in TEST_F()
|
D | TransactionProtoParserTest.cpp | 128 ASSERT_TRUE(displayInfos.contains(ui::LayerStack::fromValue(layerStack))); in TEST() 129 frontend::DisplayInfo d2 = displayInfos.get(ui::LayerStack::fromValue(layerStack))->get(); in TEST()
|
D | LayerHierarchyTest.cpp | 696 createDisplayMirrorLayer(3, ui::LayerStack::fromValue(0)); in TEST_F() 712 createDisplayMirrorLayer(3, ui::LayerStack::fromValue(5)); in TEST_F() 727 createDisplayMirrorLayer(3, ui::LayerStack::fromValue(0)); in TEST_F() 746 createDisplayMirrorLayer(3, ui::LayerStack::fromValue(0)); in TEST_F() 768 createDisplayMirrorLayer(3, ui::LayerStack::fromValue(0)); in TEST_F()
|
D | SurfaceFlinger_SetDisplayStateTest.cpp | 28 constexpr ui::LayerStack LAYER_STACK{456u}; 206 display.mutableCurrentDisplayState().layerStack = ui::LayerStack{LAYER_STACK.id + 1}; in TEST_F()
|
D | LayerSnapshotTest.cpp | 152 mFrontEndDisplayInfos.emplace_or_replace(ui::LayerStack::fromValue(1), info); in TEST_F() 388 mFrontEndDisplayInfos.emplace_or_replace(ui::LayerStack::fromValue(1), displayInfo); in TEST_F() 437 createDisplayMirrorLayer(3, ui::LayerStack::fromValue(0)); in TEST_F() 454 createDisplayMirrorLayer(3, ui::LayerStack::fromValue(0)); in TEST_F() 456 createDisplayMirrorLayer(4, ui::LayerStack::fromValue(0)); in TEST_F() 476 createDisplayMirrorLayer(3, ui::LayerStack::fromValue(0)); in TEST_F() 493 createDisplayMirrorLayer(3, ui::LayerStack::fromValue(0)); in TEST_F() 503 createDisplayMirrorLayer(3, ui::LayerStack::fromValue(0)); in TEST_F() 520 createDisplayMirrorLayer(3, ui::LayerStack::fromValue(0)); in TEST_F()
|
/frameworks/native/services/surfaceflinger/ |
D | LayerFE.h | 32 std::vector<std::pair<ftl::SharedFuture<FenceResult>, ui::LayerStack>> releaseFences; 44 void onLayerDisplayed(ftl::SharedFuture<FenceResult>, ui::LayerStack) override;
|
D | HdrSdrRatioOverlay.h | 35 void setLayerStack(ui::LayerStack);
|
D | Layer.h | 118 ui::LayerStack layerStack; 294 virtual bool setLayerStack(ui::LayerStack); 295 virtual ui::LayerStack getLayerStack( 558 void onLayerDisplayed(ftl::SharedFuture<FenceResult>, ui::LayerStack layerStack, 567 void prepareReleaseCallbacks(ftl::Future<FenceResult>, ui::LayerStack layerStack); 653 ui::LayerStack layerStack); 936 std::vector<ui::LayerStack> mPreviouslyPresentedLayerStacks; 960 ftl::SmallMap<ui::LayerStack, ftl::Future<FenceResult>, ui::kDisplayCapacity>
|
D | ScreenCaptureOutput.h | 32 ui::LayerStack layerStack;
|
D | RefreshRateOverlay.h | 54 void setLayerStack(ui::LayerStack);
|
D | DisplayDevice.h | 117 ui::LayerStack getLayerStack() const; 277 ui::LayerStack layerStack;
|
D | SurfaceFlinger.h | 339 const DisplayDevice* getDisplayFromLayerStack(ui::LayerStack) 893 void attachReleaseFenceFutureToLayer(Layer* layer, LayerFE* layerFE, ui::LayerStack layerStack); 939 void traverseLayersInLayerStack(ui::LayerStack, const int32_t uid, 1041 ui::LayerFilter makeLayerFilterForDisplay(DisplayId displayId, ui::LayerStack layerStack) in makeLayerFilterForDisplay() 1463 MirrorDisplayState(ui::LayerStack layerStack, sp<IBinder>& rootHandle, in MirrorDisplayState() 1467 ui::LayerStack layerStack; 1489 std::optional<ui::LayerStack> layerStack, uint32_t uid, 1493 std::optional<ui::LayerStack> layerStack, uint32_t uid, 1525 ui::DisplayMap<ui::LayerStack, frontend::DisplayInfo> mFrontEndDisplayInfos
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | DisplayState.h | 30 LayerStack layerStack;
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | DisplayInfo.h | 51 using DisplayInfos = ui::DisplayMap<ui::LayerStack, DisplayInfo>;
|
D | LayerCreationArgs.h | 61 ui::LayerStack layerStackToMirror = ui::INVALID_LAYER_STACK;
|
D | RequestedLayerState.h | 127 ui::LayerStack layerStackToMirror = ui::INVALID_LAYER_STACK;
|
/frameworks/native/libs/gui/include/gui/ |
D | LayerState.h | 311 ui::LayerStack layerStack = ui::DEFAULT_LAYER_STACK; 433 DisplayState(sp<IBinder> token, ui::LayerStack layerStack) in DisplayState() 447 ui::LayerStack layerStack = ui::DEFAULT_LAYER_STACK;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/ |
D | LayerFE.h | 53 MOCK_METHOD(void, onLayerDisplayed, (ftl::SharedFuture<FenceResult>, ui::LayerStack),
|
/frameworks/native/libs/gui/tests/ |
D | EndToEndNativeInputTest.cpp | 65 ui::LogicalDisplayId toDisplayId(ui::LayerStack layerStack) { in toDisplayId() 1192 void createDisplay(int32_t width, int32_t height, bool isSecure, ui::LayerStack layerStack, in createDisplay() 1220 ui::LayerStack layerStack = ui::LayerStack::fromValue(42); in TEST_F() 1239 ui::LayerStack layerStack = ui::LayerStack::fromValue(42); in TEST_F() 1255 ui::LayerStack layerStack = ui::LayerStack::fromValue(42); in TEST_F() 1275 ui::LayerStack layerStack = ui::LayerStack::fromValue(42); in TEST_F()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | LayerFE.h | 152 virtual void onLayerDisplayed(ftl::SharedFuture<FenceResult>, ui::LayerStack layerStack) = 0;
|