Home
last modified time | relevance | path

Searched refs:layerStack (Results 1 – 25 of 60) sorted by relevance

123

/frameworks/native/libs/ui/include/ui/
DLayerStack.h64 LayerStack layerStack; member
73 if (other.layerStack == INVALID_LAYER_STACK || other.layerStack != layerStack) { in includes()
DDisplayState.h30 LayerStack layerStack; member
/frameworks/native/services/surfaceflinger/tests/
DMultiDisplayLayerBounds_test.cpp61 void createDisplay(const ui::Size& layerStackSize, ui::LayerStack layerStack) { in createDisplay() argument
67 t.setDisplayLayerStack(mVirtualDisplay, layerStack); in createDisplay()
73 void createColorLayer(ui::LayerStack layerStack) { in createColorLayer() argument
80 t.setLayerStack(mColorLayer, layerStack); in createColorLayer()
152 constexpr ui::LayerStack layerStack{77687666}; // ASCII for MDLB (MultiDisplayLayerBounds) in TEST_F() local
153 createDisplay(mMainDisplayState.layerStackSpaceRect, layerStack); in TEST_F()
161 t.setLayerStack(mirrorSc, layerStack); in TEST_F()
DTransactionTestHarnesses.h73 constexpr ui::LayerStack layerStack{ in getScreenCapture()
83 t.setDisplayLayerStack(vDisplay, layerStack); in getScreenCapture()
84 t.setLayerStack(mirrorSc, layerStack); in getScreenCapture()
/frameworks/native/libs/gui/tests/
DEndToEndNativeInputTest.cpp65 ui::LogicalDisplayId toDisplayId(ui::LayerStack layerStack) { in toDisplayId() argument
66 return ui::LogicalDisplayId{static_cast<int32_t>(layerStack.id)}; in toDisplayId()
1192 void createDisplay(int32_t width, int32_t height, bool isSecure, ui::LayerStack layerStack, in createDisplay() argument
1207 t.setDisplayLayerStack(token, layerStack); in createDisplay()
1220 ui::LayerStack layerStack = ui::LayerStack::fromValue(42); in TEST_F() local
1223 surface->doTransaction([&](auto& t, auto& sc) { t.setLayerStack(sc, layerStack); }); in TEST_F()
1227 injectTapOnDisplay(101, 101, toDisplayId(layerStack)); in TEST_F()
1231 surface->requestFocus(toDisplayId(layerStack)); in TEST_F()
1234 injectKeyOnDisplay(AKEYCODE_V, toDisplayId(layerStack)); in TEST_F()
1239 ui::LayerStack layerStack = ui::LayerStack::fromValue(42); in TEST_F() local
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_SetDisplayStateTest.cpp43 state.layerStack = LAYER_STACK; in TEST_F()
172 display.mutableCurrentDisplayState().layerStack = LAYER_STACK; in TEST_F()
178 state.layerStack = LAYER_STACK; in TEST_F()
192 EXPECT_EQ(LAYER_STACK, display.getCurrentDisplayState().layerStack); in TEST_F()
206 display.mutableCurrentDisplayState().layerStack = ui::LayerStack{LAYER_STACK.id + 1}; in TEST_F()
212 state.layerStack = LAYER_STACK; in TEST_F()
226 EXPECT_EQ(LAYER_STACK, display.getCurrentDisplayState().layerStack); in TEST_F()
DTransactionProtoParserTest.cpp121 const uint32_t layerStack = 2; in TEST() local
124 *displayInfoProto = TransactionProtoParser::toProto(d1, layerStack); in TEST()
128 ASSERT_TRUE(displayInfos.contains(ui::LayerStack::fromValue(layerStack))); in TEST()
129 frontend::DisplayInfo d2 = displayInfos.get(ui::LayerStack::fromValue(layerStack))->get(); in TEST()
DSurfaceFlinger_InitializeDisplaysTest.cpp51 EXPECT_EQ(expectedLayerStack, state.layerStack); in TEST_F()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDevice.java311 public final void setLayerStackLocked(SurfaceControl.Transaction t, int layerStack, in setLayerStackLocked() argument
313 if (mCurrentLayerStack != layerStack) { in setLayerStackLocked()
314 mCurrentLayerStack = layerStack; in setLayerStackLocked()
315 t.setDisplayLayerStack(mDisplayToken, layerStack); in setLayerStackLocked()
316 Slog.i(TAG, "[" + layerStackTag + "] Layerstack set to " + layerStack + " for " in setLayerStackLocked()
DLogicalDisplay.java230 LogicalDisplay(int displayId, int layerStack, DisplayDevice primaryDisplayDevice) { in LogicalDisplay() argument
231 this(displayId, layerStack, primaryDisplayDevice, false, false); in LogicalDisplay()
234 LogicalDisplay(int displayId, int layerStack, DisplayDevice primaryDisplayDevice, in LogicalDisplay() argument
237 mLayerStack = layerStack; in LogicalDisplay()
433 mBaseDisplayInfo.layerStack = mLayerStack; in updateLocked()
/frameworks/native/libs/gui/include/gui/
DLayerState.h311 ui::LayerStack layerStack = ui::DEFAULT_LAYER_STACK; member
433 DisplayState(sp<IBinder> token, ui::LayerStack layerStack) in DisplayState()
436 layerStack(layerStack), in DisplayState()
447 ui::LayerStack layerStack = ui::DEFAULT_LAYER_STACK; member
/frameworks/native/services/surfaceflinger/
DLayerVector.cpp48 const auto ls = lState.layerStack; in do_compare()
49 const auto rs = rState.layerStack; in do_compare()
DLayerProtoHelper.cpp271 for (const auto& [layerStack, displayInfo] : mDisplayInfos) { in generate()
273 stackIdsToSkip.insert(layerStack.id); in generate()
281 stackIdsToSkip.find(child->getLayer()->layerStack.id) != stackIdsToSkip.end()) { in generate()
349 it->second->writeCompositionStateToProto(layerProto, snapshot->outputFilter.layerStack); in writeHierarchyToProto()
420 layerInfo->set_layer_stack(snapshot.outputFilter.layerStack.id); in writeSnapshotToProto()
467 for (const auto& [layerStack, displayInfo] : displayInfos) { in writeDisplayInfoToProto()
470 displayProto->set_layer_stack(layerStack.id); in writeDisplayInfoToProto()
DScreenCaptureOutput.h32 ui::LayerStack layerStack; member
DSurfaceFlinger.cpp1111 state->layerStack = display->getLayerStack(); in getDisplayState()
2877 layerFE->mSnapshot->outputFilter.layerStack); in composite()
2912 for (auto& [releaseFence, layerStack] : compositionResult.releaseFences) { in composite()
2915 owningLayer->onLayerDisplayed(std::move(releaseFence), layerStack); in composite()
3181 for (auto layerStack : previouslyPresentedLayerStacks) { in onCompositionPresented() local
3182 auto optDisplay = layerStackToDisplay.get(layerStack); in onCompositionPresented()
3334 displayOpt = layerStackToDisplay.get(snapshot->outputFilter.layerStack); in onCompositionPresented()
3788 display->setLayerFilter(makeLayerFilterForDisplay(display->getId(), state.layerStack)); in setupNewDisplayDeviceInternal()
3974 if (currentState.layerStack != drawingState.layerStack) { in processDisplayChanged()
3976 makeLayerFilterForDisplay(display->getId(), currentState.layerStack)); in processDisplayChanged()
[all …]
/frameworks/native/libs/ui/include_vndk/ui/
DDisplayState.h30 LayerStack layerStack; member
/frameworks/native/libs/gui/aidl/android/gui/
DDisplayState.aidl24 int layerStack;
/frameworks/base/core/java/android/view/
DDisplayInfo.java59 public int layerStack; field in DisplayInfo
415 && layerStack == other.layerStack in equals()
474 layerStack = other.layerStack; in copyFrom()
530 layerStack = source.readInt(); in readFromParcel()
602 dest.writeInt(layerStack); in writeToParcel()
907 sb.append(layerStack); in toString()
/frameworks/native/services/automotive/display/
DAutomotiveDisplayProxyService.cpp117 t.setDisplayLayerStack(it->second.token, displayState.layerStack); in showWindow()
118 t.setLayerStack(it->second.surfaceControl, displayState.layerStack); in showWindow()
/frameworks/native/services/surfaceflinger/layerproto/
DLayerProtoParser.cpp27 uint32_t ls = lhs->layerStack; in sortLayers()
28 uint32_t rs = rhs->layerStack; in sortLayers()
87 layer.layerStack = layerProto.layer_stack(); in generateLayer()
291 StringAppendF(&result, " layerStack=%4d, z=%9d, pos=(%g,%g), size=(%4d,%4d), ", layerStack, in to_string()
/frameworks/native/services/surfaceflinger/Tracing/
DTransactionTracing.cpp277 for (auto& [layerStack, displayInfo] : update.displayInfos) { in addEntry()
279 std::move(mProtoParser.toProto(displayInfo, layerStack.id))); in addEntry()
438 for (auto& [layerStack, displayInfo] : mStartingDisplayInfos) { in createStartingStateProtoLocked()
439 entryProto.mutable_displays()->Add(mProtoParser.toProto(displayInfo, layerStack.id)); in createStartingStateProtoLocked()
DTransactionProtoParser.h52 static perfetto::protos::DisplayInfo toProto(const frontend::DisplayInfo&, uint32_t layerStack);
/frameworks/native/libs/gui/
DLayerState.cpp109 SAFE_PARCEL(output.writeUint32, layerStack.id); in write()
207 SAFE_PARCEL(input.readUint32, &layerStack.id); in read()
358 SAFE_PARCEL(output.writeUint32, layerStack.id); in write()
375 SAFE_PARCEL(input.readUint32, &layerStack.id); in read()
394 layerStack = other.layerStack; in merge()
544 layerStack = other.layerStack; in merge()
739 CHECK_DIFF(diff, eLayerStackChanged, other, layerStack); in diff()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/util/
DStubTransaction.java166 public SurfaceControl.Transaction setLayerStack(SurfaceControl sc, int layerStack) { in setLayerStack() argument
196 public SurfaceControl.Transaction setDisplayLayerStack(IBinder displayToken, int layerStack) { in setDisplayLayerStack() argument
/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/
DStubTransaction.java164 public SurfaceControl.Transaction setLayerStack(SurfaceControl sc, int layerStack) { in setLayerStack() argument
194 public SurfaceControl.Transaction setDisplayLayerStack(IBinder displayToken, int layerStack) { in setDisplayLayerStack() argument

123