Home
last modified time | relevance | path

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

12

/frameworks/native/services/surfaceflinger/tests/
DMultiDisplayLayerBounds_test.cpp55 void createDisplay(const ui::Size& layerStackSize, uint32_t layerStack) { in createDisplay() argument
60 t.setDisplayLayerStack(mVirtualDisplay, layerStack); in createDisplay()
66 void createColorLayer(uint32_t layerStack) { in createColorLayer() argument
73 t.setLayerStack(mColorLayer, layerStack); in createColorLayer()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDevice.java198 public final void setLayerStackLocked(SurfaceControl.Transaction t, int layerStack) { in setLayerStackLocked() argument
199 if (mCurrentLayerStack != layerStack) { in setLayerStackLocked()
200 mCurrentLayerStack = layerStack; in setLayerStackLocked()
201 t.setDisplayLayerStack(mDisplayToken, layerStack); in setLayerStackLocked()
DLogicalDisplay.java118 public LogicalDisplay(int displayId, int layerStack, DisplayDevice primaryDisplayDevice) { in LogicalDisplay() argument
120 mLayerStack = layerStack; in LogicalDisplay()
244 mBaseDisplayInfo.layerStack = mLayerStack; in updateLocked()
/frameworks/native/libs/gui/
DLayerState.cpp40 output.writeUint32(layerStack); in write()
132 layerStack = input.readUint32(); in read()
217 layerStack(0), in DisplayState()
228 output.writeUint32(layerStack); in write()
241 layerStack = input.readUint32(); in read()
257 layerStack = other.layerStack; in merge()
308 layerStack = other.layerStack; in merge()
DSurfaceComposerClient.cpp907 const sp<SurfaceControl>& sc, uint32_t layerStack) { in setLayerStack() argument
914 s->layerStack = layerStack; in setLayerStack()
1521 uint32_t layerStack) { in setDisplayLayerStack() argument
1523 s.layerStack = layerStack; in setDisplayLayerStack()
/frameworks/native/libs/gui/include/gui/
DLayerState.h117 layerStack(0), in layer_state_t()
165 uint32_t layerStack; member
262 uint32_t layerStack; member
DSurfaceComposerClient.h434 Transaction& setLayerStack(const sp<SurfaceControl>& sc, uint32_t layerStack);
535 void setDisplayLayerStack(const sp<IBinder>& token, uint32_t layerStack);
/frameworks/native/services/surfaceflinger/
DLayerVector.cpp50 uint32_t ls = lState.layerStack; in do_compare()
51 uint32_t rs = rState.layerStack; in do_compare()
DSurfaceInterceptor.cpp114 addLayerStackLocked(transaction, layerId, layer->mCurrentState.layerStack); in addInitialSurfaceStateLocked()
143 addDisplayLayerStackLocked(transaction, display.sequenceId, display.layerStack); in addInitialDisplayStateLocked()
302 uint32_t layerStack) in addLayerStackLocked() argument
306 layerStackChange->set_layer_stack(layerStack); in addLayerStackLocked()
425 addLayerStackLocked(transaction, layerId, state.layerStack); in addSurfaceChangesLocked()
479 addDisplayLayerStackLocked(transaction, sequenceId, state.layerStack); in addDisplayChangesLocked()
563 int32_t sequenceId, uint32_t layerStack) in addDisplayLayerStackLocked() argument
567 layerStackChange->set_layer_stack(layerStack); in addDisplayLayerStackLocked()
DSurfaceInterceptor.h152 void addLayerStackLocked(Transaction* transaction, int32_t layerId, uint32_t layerStack);
177 uint32_t layerStack);
DLayer.h188 uint32_t layerStack; member
360 virtual bool setLayerStack(uint32_t layerStack);
439 bool belongsToDisplay(uint32_t layerStack, bool isPrimaryDisplay) const { in belongsToDisplay() argument
440 return getLayerStack() == layerStack && (!mPrimaryDisplayOnly || isPrimaryDisplay); in belongsToDisplay()
DLayer.cpp97 mCurrentState.layerStack = 0; in Layer()
437 const uint32_t layerStack = getLayerStack(); in prepareBasicGeometryCompositionState() local
450 (layerStack != ~0u) ? std::make_optional(layerStack) : std::nullopt; in prepareBasicGeometryCompositionState()
1285 bool Layer::setLayerStack(uint32_t layerStack) { in setLayerStack() argument
1286 if (mCurrentState.layerStack == layerStack) return false; in setLayerStack()
1288 mCurrentState.layerStack = layerStack; in setLayerStack()
1335 return getDrawingState().layerStack; in getLayerStack()
DSurfaceFlinger.cpp837 state->layerStack = display->getLayerStack(); in getDisplayState()
2569 display->setLayerStack(state.layerStack); in setupNewDisplayDeviceInternal()
2610 builder.setLayerStackId(state.layerStack); in processDisplayAdded()
2695 if (currentState.layerStack != drawingState.layerStack) { in processDisplayChanged()
2696 display->setLayerStack(currentState.layerStack); in processDisplayChanged()
2825 uint32_t layerStack = layer->getLayerStack(); in handleTransactionLocked()
2826 if (first || currentlayerStack != layerStack) { in handleTransactionLocked()
2827 currentlayerStack = layerStack; in handleTransactionLocked()
3552 if (state.layerStack != s.layerStack) { in setDisplayStateLocked()
3553 state.layerStack = s.layerStack; in setDisplayStateLocked()
[all …]
DDisplayDevice.h203 ui::LayerStack layerStack = ui::NO_LAYER_STACK; member
/frameworks/base/core/java/android/view/
DDisplayInfo.java51 public int layerStack; field in DisplayInfo
304 && layerStack == other.layerStack in equals()
344 layerStack = other.layerStack; in copyFrom()
382 layerStack = source.readInt(); in readFromParcel()
428 dest.writeInt(layerStack); in writeToParcel()
662 sb.append(layerStack); in toString()
DSurfaceControl.java141 int layerStack); in nativeSetLayerStack() argument
155 IBinder displayToken, int layerStack); in nativeSetDisplayLayerStack() argument
1856 public static void setDisplayLayerStack(IBinder displayToken, int layerStack) { in setDisplayLayerStack() argument
1858 sGlobalTransaction.setDisplayLayerStack(displayToken, layerStack); in setDisplayLayerStack()
2708 public Transaction setLayerStack(SurfaceControl sc, int layerStack) { in setLayerStack() argument
2710 nativeSetLayerStack(mNativeObject, sc.mNativeObject, layerStack); in setLayerStack()
2870 public Transaction setDisplayLayerStack(IBinder displayToken, int layerStack) { in setDisplayLayerStack() argument
2874 nativeSetDisplayLayerStack(mNativeObject, displayToken, layerStack); in setDisplayLayerStack()
/frameworks/native/libs/ui/include/ui/
DDisplayState.h33 LayerStack layerStack = NO_LAYER_STACK; member
/frameworks/native/libs/ui/include_vndk/ui/
DDisplayState.h33 LayerStack layerStack = NO_LAYER_STACK; member
/frameworks/native/services/automotive/display/
DAutomotiveDisplayProxyService.cpp114 t.setDisplayLayerStack(it->second.token, displayState.layerStack); in showWindow()
115 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()
85 layer.layerStack = layerProto.layer_stack(); in generateLayer()
284 StringAppendF(&result, " layerStack=%4d, z=%9d, pos=(%g,%g), size=(%4d,%4d), ", layerStack, in to_string()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DStubTransaction.java139 public SurfaceControl.Transaction setLayerStack(SurfaceControl sc, int layerStack) { in setLayerStack() argument
199 public SurfaceControl.Transaction setDisplayLayerStack(IBinder displayToken, int layerStack) { in setDisplayLayerStack() argument
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/
DLayerProtoParser.h90 uint32_t layerStack; variable
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp2418 display.mutableDrawingDisplayState().layerStack = oldLayerStack; in TEST_F()
2419 display.mutableCurrentDisplayState().layerStack = newLayerStack; in TEST_F()
2621 state.layerStack = 456; in TEST_F()
2750 display.mutableCurrentDisplayState().layerStack = 456u; in TEST_F()
2756 state.layerStack = 456u; in TEST_F()
2770 EXPECT_EQ(456u, display.getCurrentDisplayState().layerStack); in TEST_F()
2784 display.mutableCurrentDisplayState().layerStack = 654u; in TEST_F()
2790 state.layerStack = 456u; in TEST_F()
2804 EXPECT_EQ(456u, display.getCurrentDisplayState().layerStack); in TEST_F()
3114 EXPECT_EQ(0u, primaryDisplayState.layerStack); in TEST_F()
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp351 t.setDisplayLayerStack(dpy, displayState.layerStack); in prepareVirtualDisplay()
706 toCString(displayState.orientation), displayState.layerStack); in recordScreen()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp615 jlong nativeObject, jint layerStack) { in nativeSetLayerStack() argument
619 transaction->setLayerStack(ctrl, layerStack); in nativeSetLayerStack()
800 jobject tokenObj, jint layerStack) { in nativeSetDisplayLayerStack() argument
807 transaction->setDisplayLayerStack(token, layerStack); in nativeSetDisplayLayerStack()

12