Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/display/
DDisplayDevice.java162 public final void setLayerStackLocked(SurfaceControl.Transaction t, int layerStack) { in setLayerStackLocked() argument
163 if (mCurrentLayerStack != layerStack) { in setLayerStackLocked()
164 mCurrentLayerStack = layerStack; in setLayerStackLocked()
165 t.setDisplayLayerStack(mDisplayToken, layerStack); in setLayerStackLocked()
DLogicalDisplay.java109 public LogicalDisplay(int displayId, int layerStack, DisplayDevice primaryDisplayDevice) { in LogicalDisplay() argument
111 mLayerStack = layerStack; in LogicalDisplay()
239 mBaseDisplayInfo.layerStack = mLayerStack; in updateLocked()
DColorFade.java149 mDisplayLayerStack = displayInfo.layerStack; in prepare()
DDisplayManagerService.java1005 final int layerStack = assignLayerStackLocked(displayId); in addLogicalDisplayLocked() local
1007 LogicalDisplay display = new LogicalDisplay(displayId, layerStack, device); in addLogicalDisplayLocked()
/frameworks/native/libs/gui/
DLayerState.cpp38 output.writeUint32(layerStack); in write()
110 layerStack = input.readUint32(); in read()
184 layerStack(0), in DisplayState()
196 output.writeUint32(layerStack); in write()
209 layerStack = input.readUint32(); in read()
225 layerStack = other.layerStack; in merge()
275 layerStack = other.layerStack; in merge()
DSurfaceComposerClient.cpp690 const sp<SurfaceControl>& sc, uint32_t layerStack) { in setLayerStack() argument
697 s->layerStack = layerStack; in setLayerStack()
1237 uint32_t layerStack) { in setDisplayLayerStack() argument
1239 s.layerStack = layerStack; in setDisplayLayerStack()
/frameworks/native/services/surfaceflinger/
DLayerVector.cpp46 uint32_t ls = lState.layerStack; in do_compare()
47 uint32_t rs = rState.layerStack; in do_compare()
DSurfaceInterceptor.cpp110 addLayerStackLocked(transaction, layerId, layer->mCurrentState.layerStack); in addInitialSurfaceStateLocked()
130 addDisplayLayerStackLocked(transaction, display.sequenceId, display.layerStack); in addInitialDisplayStateLocked()
277 uint32_t layerStack) in addLayerStackLocked() argument
281 layerStackChange->set_layer_stack(layerStack); in addLayerStackLocked()
357 addLayerStackLocked(transaction, layerId, state.layerStack); in addSurfaceChangesLocked()
392 addDisplayLayerStackLocked(transaction, sequenceId, state.layerStack); in addDisplayChangesLocked()
476 int32_t sequenceId, uint32_t layerStack) in addDisplayLayerStackLocked() argument
480 layerStackChange->set_layer_stack(layerStack); in addDisplayLayerStackLocked()
DSurfaceInterceptor.h145 void addLayerStackLocked(Transaction* transaction, int32_t layerId, uint32_t layerStack);
162 uint32_t layerStack);
DLayer.h152 uint32_t layerStack; member
292 virtual bool setLayerStack(uint32_t layerStack);
357 bool belongsToDisplay(uint32_t layerStack, bool isPrimaryDisplay) const { in belongsToDisplay() argument
358 return getLayerStack() == layerStack && (!mPrimaryDisplayOnly || isPrimaryDisplay); in belongsToDisplay()
DLayer.cpp96 mCurrentState.layerStack = 0; in Layer()
1178 bool Layer::setLayerStack(uint32_t layerStack) { in setLayerStack() argument
1179 if (mCurrentState.layerStack == layerStack) return false; in setLayerStack()
1181 mCurrentState.layerStack = layerStack; in setLayerStack()
1201 return getDrawingState().layerStack; in getLayerStack()
2044 info.displayId = mDrawingState.layerStack; in fillInputInfo()
DSurfaceFlinger.cpp2634 display->setLayerStack(state.layerStack); in setupNewDisplayDeviceInternal()
2694 if (state.layerStack != draw[i].layerStack) { in processDisplayChangesLocked()
2695 display->setLayerStack(state.layerStack); in processDisplayChangesLocked()
2847 uint32_t layerStack = layer->getLayerStack(); in handleTransactionLocked() local
2848 if (first || currentlayerStack != layerStack) { in handleTransactionLocked()
2849 currentlayerStack = layerStack; in handleTransactionLocked()
3841 if (state.layerStack != s.layerStack) { in setDisplayStateLocked()
3842 state.layerStack = s.layerStack; in setDisplayStateLocked()
4019 } else if (layer->setLayerStack(s.layerStack)) { in setClientStateLocked()
4381 d.layerStack = 0; in onInitializeDisplays()
DDisplayDevice.h213 uint32_t layerStack = DisplayDevice::NO_LAYER_STACK; member
/frameworks/base/core/java/android/view/
DDisplayInfo.java48 public int layerStack; field in DisplayInfo
310 && layerStack == other.layerStack in equals()
352 layerStack = other.layerStack; in copyFrom()
392 layerStack = source.readInt(); in readFromParcel()
440 dest.writeInt(layerStack); in writeToParcel()
674 sb.append(layerStack); in toString()
DSurfaceControl.java132 int layerStack); in nativeSetLayerStack() argument
146 IBinder displayToken, int layerStack); in nativeSetDisplayLayerStack() argument
1325 public void setLayerStack(int layerStack) { in setLayerStack() argument
1328 sGlobalTransaction.setLayerStack(this, layerStack); in setLayerStack()
1761 public static void setDisplayLayerStack(IBinder displayToken, int layerStack) { in setDisplayLayerStack() argument
1763 sGlobalTransaction.setDisplayLayerStack(displayToken, layerStack); in setDisplayLayerStack()
2403 public Transaction setLayerStack(SurfaceControl sc, int layerStack) { in setLayerStack() argument
2405 nativeSetLayerStack(mNativeObject, sc.mNativeObject, layerStack); in setLayerStack()
2565 public Transaction setDisplayLayerStack(IBinder displayToken, int layerStack) { in setDisplayLayerStack() argument
2569 nativeSetDisplayLayerStack(mNativeObject, displayToken, layerStack); in setDisplayLayerStack()
DDisplay.java440 mLayerStack = displayInfo.layerStack; in Display()
/frameworks/native/services/surfaceflinger/layerproto/
DLayerProtoParser.cpp27 uint32_t ls = lhs->layerStack; in sortLayers()
28 uint32_t rs = rhs->layerStack; in sortLayers()
95 layer.layerStack = layerProto.layer_stack(); in generateLayer()
296 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.java143 public SurfaceControl.Transaction setLayerStack(SurfaceControl sc, int layerStack) { in setLayerStack() argument
207 public SurfaceControl.Transaction setDisplayLayerStack(IBinder displayToken, int layerStack) { in setDisplayLayerStack() argument
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputTest.cpp155 const uint32_t layerStack = 123u; in TEST_F() local
156 mOutput.setLayerStackFilter(layerStack, true); in TEST_F()
159 EXPECT_EQ(layerStack, mOutput.getState().layerStackId); in TEST_F()
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/
DLayerProtoParser.h90 uint32_t layerStack; variable
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp2026 display.mutableDrawingDisplayState().layerStack = oldLayerStack; in TEST_F()
2027 display.mutableCurrentDisplayState().layerStack = newLayerStack; in TEST_F()
2229 state.layerStack = 456; in TEST_F()
2358 display.mutableCurrentDisplayState().layerStack = 456u; in TEST_F()
2364 state.layerStack = 456u; in TEST_F()
2378 EXPECT_EQ(456u, display.getCurrentDisplayState().layerStack); in TEST_F()
2392 display.mutableCurrentDisplayState().layerStack = 654u; in TEST_F()
2398 state.layerStack = 456u; in TEST_F()
2412 EXPECT_EQ(456u, display.getCurrentDisplayState().layerStack); in TEST_F()
2722 EXPECT_EQ(0u, primaryDisplayState.layerStack); in TEST_F()
DCompositionTest.cpp771 layerDrawingState.layerStack = DEFAULT_LAYER_STACK; in createLayerWithFactory()
/frameworks/native/libs/gui/include/gui/
DSurfaceComposerClient.h364 Transaction& setLayerStack(const sp<SurfaceControl>& sc, uint32_t layerStack);
455 void setDisplayLayerStack(const sp<IBinder>& token, uint32_t layerStack);
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp564 jlong nativeObject, jint layerStack) { in nativeSetLayerStack() argument
568 transaction->setLayerStack(ctrl, layerStack); in nativeSetLayerStack()
705 jobject tokenObj, jint layerStack) { in nativeSetDisplayLayerStack() argument
712 transaction->setDisplayLayerStack(token, layerStack); in nativeSetDisplayLayerStack()
/frameworks/base/services/core/java/com/android/server/wm/
DScreenRotationAnimation.java546 final int layerStack = mDisplayContent.getDisplay().getLayerStack(); in startAnimation() local

12