Home
last modified time | relevance | path

Searched refs:drawingState (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/
DPlatformSlider.kt176 var drawingState: DrawingState by remember { mutableStateOf(DrawingState()) } in Track() variable
182 drawingState = drawingState, in Track()
207 if (drawingState.isLabelOnTopOfIndicator) { in Track()
208 drawingState.iconWidth.coerceAtLeast( in Track()
213 drawingState.indicatorRight - drawingState.indicatorLeft in Track()
217 drawingState.iconWidth in Track()
232 isLabelOnTopOfTheIndicator = drawingState.isLabelOnTopOfIndicator, in Track()
246 onDrawingStateMeasured = { drawingState = it } in Track()
253 drawingState: DrawingState, in TrackBackground()
286 right = drawingState.totalWidth, in TrackBackground()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp157 return mFlinger.drawingState().displays.indexOfKey(displayToken) >= 0; in hasDrawingDisplayState()
162 return mFlinger.drawingState().displays.valueFor(displayToken); in getDrawingDisplayState()
DSurfaceFlinger_ColorMatrixTest.cpp24 EXPECT_EQ(drawing, mFlinger.drawingState().colorMatrixChanged);
DTestableSurfaceFlinger.h669 const auto& drawingState() const { return mFlinger->mDrawingState; } in drawingState() function
/frameworks/native/services/surfaceflinger/
DLayer.cpp566 const auto& drawingState{getDrawingState()}; in prepareBasicGeometryCompositionState() local
568 const bool opaque = isOpaque(drawingState); in prepareBasicGeometryCompositionState()
590 snapshot->transparentRegionHint = getActiveTransparentRegion(drawingState); in prepareBasicGeometryCompositionState()
591 snapshot->localTransform = getActiveTransform(drawingState); in prepareBasicGeometryCompositionState()
601 const auto& drawingState{getDrawingState()}; in prepareGeometryCompositionState() local
605 snapshot->geomBufferSize = getBufferSize(drawingState); in prepareGeometryCompositionState()
607 snapshot->geomCrop = getCrop(drawingState); in prepareGeometryCompositionState()
624 auto it = drawingState.metadata.mMap.find(id); in prepareGeometryCompositionState()
625 if (it == std::end(drawingState.metadata.mMap)) { in prepareGeometryCompositionState()
636 const auto& drawingState{getDrawingState()}; in preparePerFrameCompositionState() local
[all …]
DSurfaceFlinger.cpp2470 State drawingState(mDrawingState); in updateLayerSnapshots() local
3403 State drawingState(mDrawingState); in commitTransactionsLegacy() local
3936 const DisplayDeviceState& drawingState) { in processDisplayChanged() argument
3938 const sp<IBinder> drawingBinder = IInterface::asBinder(drawingState.surface); in processDisplayChanged()
3941 if (currentBinder != drawingBinder || currentState.sequenceId != drawingState.sequenceId) { in processDisplayChanged()
3974 if (currentState.layerStack != drawingState.layerStack) { in processDisplayChanged()
3978 if (currentState.flags != drawingState.flags) { in processDisplayChanged()
3981 if ((currentState.orientation != drawingState.orientation) || in processDisplayChanged()
3982 (currentState.layerStackSpaceRect != drawingState.layerStackSpaceRect) || in processDisplayChanged()
3983 (currentState.orientedDisplaySpaceRect != drawingState.orientedDisplaySpaceRect)) { in processDisplayChanged()
[all …]
DSurfaceFlinger.h1099 const DisplayDeviceState& drawingState)