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.java154 mDisplayLayerStack = displayInfo.layerStack; in prepare()
DDisplayManagerService.java1007 final int layerStack = assignLayerStackLocked(displayId); in addLogicalDisplayLocked() local
1009 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()
1238 uint32_t layerStack) { in setDisplayLayerStack() argument
1240 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.h151 uint32_t layerStack; member
291 virtual bool setLayerStack(uint32_t layerStack);
356 bool belongsToDisplay(uint32_t layerStack, bool isPrimaryDisplay) const { in belongsToDisplay() argument
357 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()
DDisplayDevice.h213 uint32_t layerStack = DisplayDevice::NO_LAYER_STACK; member
DSurfaceFlinger.cpp2670 display->setLayerStack(state.layerStack); in setupNewDisplayDeviceInternal()
2730 if (state.layerStack != draw[i].layerStack) { in processDisplayChangesLocked()
2731 display->setLayerStack(state.layerStack); in processDisplayChangesLocked()
2883 uint32_t layerStack = layer->getLayerStack(); in handleTransactionLocked() local
2884 if (first || currentlayerStack != layerStack) { in handleTransactionLocked()
2885 currentlayerStack = layerStack; in handleTransactionLocked()
3923 if (state.layerStack != s.layerStack) { in setDisplayStateLocked()
3924 state.layerStack = s.layerStack; in setDisplayStateLocked()
4101 } else if (layer->setLayerStack(s.layerStack)) { in setClientStateLocked()
4472 d.layerStack = 0; in onInitializeDisplays()
/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.java131 int layerStack); in nativeSetLayerStack() argument
145 IBinder displayToken, int layerStack); in nativeSetDisplayLayerStack() argument
1310 public void setLayerStack(int layerStack) { in setLayerStack() argument
1313 sGlobalTransaction.setLayerStack(this, layerStack); in setLayerStack()
1746 public static void setDisplayLayerStack(IBinder displayToken, int layerStack) { in setDisplayLayerStack() argument
1748 sGlobalTransaction.setDisplayLayerStack(displayToken, layerStack); in setDisplayLayerStack()
2373 public Transaction setLayerStack(SurfaceControl sc, int layerStack) { in setLayerStack() argument
2375 nativeSetLayerStack(mNativeObject, sc.mNativeObject, layerStack); in setLayerStack()
2535 public Transaction setDisplayLayerStack(IBinder displayToken, int layerStack) { in setDisplayLayerStack() argument
2539 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.java138 public SurfaceControl.Transaction setLayerStack(SurfaceControl sc, int layerStack) { in setLayerStack() argument
202 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.cpp2036 display.mutableDrawingDisplayState().layerStack = oldLayerStack; in TEST_F()
2037 display.mutableCurrentDisplayState().layerStack = newLayerStack; in TEST_F()
2239 state.layerStack = 456; in TEST_F()
2368 display.mutableCurrentDisplayState().layerStack = 456u; in TEST_F()
2374 state.layerStack = 456u; in TEST_F()
2388 EXPECT_EQ(456u, display.getCurrentDisplayState().layerStack); in TEST_F()
2402 display.mutableCurrentDisplayState().layerStack = 654u; in TEST_F()
2408 state.layerStack = 456u; in TEST_F()
2422 EXPECT_EQ(456u, display.getCurrentDisplayState().layerStack); in TEST_F()
2732 EXPECT_EQ(0u, primaryDisplayState.layerStack); in TEST_F()
DCompositionTest.cpp781 layerDrawingState.layerStack = DEFAULT_LAYER_STACK; in createLayerWithFactory()
/frameworks/native/libs/gui/include/gui/
DSurfaceComposerClient.h364 Transaction& setLayerStack(const sp<SurfaceControl>& sc, uint32_t layerStack);
454 void setDisplayLayerStack(const sp<IBinder>& token, uint32_t layerStack);
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp546 jlong nativeObject, jint layerStack) { in nativeSetLayerStack() argument
550 transaction->setLayerStack(ctrl, layerStack); in nativeSetLayerStack()
687 jobject tokenObj, jint layerStack) { in nativeSetDisplayLayerStack() argument
694 transaction->setDisplayLayerStack(token, layerStack); in nativeSetDisplayLayerStack()
/frameworks/base/services/core/java/com/android/server/wm/
DScreenRotationAnimation.java547 final int layerStack = mDisplayContent.getDisplay().getLayerStack(); in startAnimation() local

12