Home
last modified time | relevance | path

Searched refs:LayerStack (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/native/libs/ui/include/ui/
DLayerStack.h29 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;
DDisplayState.h30 LayerStack layerStack;
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
DPredictor.h25 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/
DPredictorTest.cpp102 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/
DMultiDisplayLayerBounds_test.cpp61 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/
DSurfaceFlinger_InitializeDisplaysTest.cpp47 const ui::LayerStack expectedLayerStack = display == mInnerDisplay in TEST_F()
49 : ui::LayerStack::fromValue(ui::DEFAULT_LAYER_STACK.id + 1); in TEST_F()
DTransactionProtoParserTest.cpp128 ASSERT_TRUE(displayInfos.contains(ui::LayerStack::fromValue(layerStack))); in TEST()
129 frontend::DisplayInfo d2 = displayInfos.get(ui::LayerStack::fromValue(layerStack))->get(); in TEST()
DLayerHierarchyTest.cpp696 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()
DSurfaceFlinger_SetDisplayStateTest.cpp28 constexpr ui::LayerStack LAYER_STACK{456u};
206 display.mutableCurrentDisplayState().layerStack = ui::LayerStack{LAYER_STACK.id + 1}; in TEST_F()
DLayerSnapshotTest.cpp152 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/
DLayerFE.h32 std::vector<std::pair<ftl::SharedFuture<FenceResult>, ui::LayerStack>> releaseFences;
44 void onLayerDisplayed(ftl::SharedFuture<FenceResult>, ui::LayerStack) override;
DHdrSdrRatioOverlay.h35 void setLayerStack(ui::LayerStack);
DLayer.h118 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>
DScreenCaptureOutput.h32 ui::LayerStack layerStack;
DRefreshRateOverlay.h54 void setLayerStack(ui::LayerStack);
DDisplayDevice.h117 ui::LayerStack getLayerStack() const;
277 ui::LayerStack layerStack;
DSurfaceFlinger.h339 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/
DDisplayState.h30 LayerStack layerStack;
/frameworks/native/services/surfaceflinger/FrontEnd/
DDisplayInfo.h51 using DisplayInfos = ui::DisplayMap<ui::LayerStack, DisplayInfo>;
DLayerCreationArgs.h61 ui::LayerStack layerStackToMirror = ui::INVALID_LAYER_STACK;
DRequestedLayerState.h127 ui::LayerStack layerStackToMirror = ui::INVALID_LAYER_STACK;
/frameworks/native/libs/gui/include/gui/
DLayerState.h311 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/
DLayerFE.h53 MOCK_METHOD(void, onLayerDisplayed, (ftl::SharedFuture<FenceResult>, ui::LayerStack),
/frameworks/native/libs/gui/tests/
DEndToEndNativeInputTest.cpp65 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/
DLayerFE.h152 virtual void onLayerDisplayed(ftl::SharedFuture<FenceResult>, ui::LayerStack layerStack) = 0;

12