/frameworks/native/libs/ui/include/ui/ |
D | LayerStack.h | 64 LayerStack layerStack; member 73 if (other.layerStack == INVALID_LAYER_STACK || other.layerStack != layerStack) { in includes()
|
D | DisplayState.h | 30 LayerStack layerStack; member
|
/frameworks/native/services/surfaceflinger/tests/ |
D | MultiDisplayLayerBounds_test.cpp | 61 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()
|
D | TransactionTestHarnesses.h | 73 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/ |
D | EndToEndNativeInputTest.cpp | 65 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/ |
D | SurfaceFlinger_SetDisplayStateTest.cpp | 43 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()
|
D | TransactionProtoParserTest.cpp | 121 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()
|
D | SurfaceFlinger_InitializeDisplaysTest.cpp | 51 EXPECT_EQ(expectedLayerStack, state.layerStack); in TEST_F()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDevice.java | 311 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()
|
D | LogicalDisplay.java | 230 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/ |
D | LayerState.h | 311 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/ |
D | LayerVector.cpp | 48 const auto ls = lState.layerStack; in do_compare() 49 const auto rs = rState.layerStack; in do_compare()
|
D | LayerProtoHelper.cpp | 271 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()
|
D | ScreenCaptureOutput.h | 32 ui::LayerStack layerStack; member
|
D | SurfaceFlinger.cpp | 1111 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/ |
D | DisplayState.h | 30 LayerStack layerStack; member
|
/frameworks/native/libs/gui/aidl/android/gui/ |
D | DisplayState.aidl | 24 int layerStack;
|
/frameworks/base/core/java/android/view/ |
D | DisplayInfo.java | 59 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/ |
D | AutomotiveDisplayProxyService.cpp | 117 t.setDisplayLayerStack(it->second.token, displayState.layerStack); in showWindow() 118 t.setLayerStack(it->second.surfaceControl, displayState.layerStack); in showWindow()
|
/frameworks/native/services/surfaceflinger/layerproto/ |
D | LayerProtoParser.cpp | 27 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/ |
D | TransactionTracing.cpp | 277 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()
|
D | TransactionProtoParser.h | 52 static perfetto::protos::DisplayInfo toProto(const frontend::DisplayInfo&, uint32_t layerStack);
|
/frameworks/native/libs/gui/ |
D | LayerState.cpp | 109 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/ |
D | StubTransaction.java | 166 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/ |
D | StubTransaction.java | 164 public SurfaceControl.Transaction setLayerStack(SurfaceControl sc, int layerStack) { in setLayerStack() argument 194 public SurfaceControl.Transaction setDisplayLayerStack(IBinder displayToken, int layerStack) { in setDisplayLayerStack() argument
|