Home
last modified time | relevance | path

Searched refs:layerState (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp96 const auto& layerState = mLayer->getState().frontEnd; in calculateInitialCrop() local
104 reduce(layerState.geomLayerBounds, layerState.geomActiveTransparentRegion); in calculateInitialCrop()
107 const ui::Transform& layerTransform = layerState.geomLayerTransform; in calculateInitialCrop()
108 const ui::Transform& inverseLayerTransform = layerState.geomInverseLayerTransform; in calculateInitialCrop()
122 if (!activeCrop.intersect(layerState.geomBufferSize, &activeCrop)) { in calculateInitialCrop()
129 const auto& layerState = mLayer->getState().frontEnd; in calculateOutputSourceCrop() local
132 if (!layerState.geomUsesSourceCrop) { in calculateOutputSourceCrop()
138 FloatRect crop = layerState.geomContentCrop.toFloatRect(); in calculateOutputSourceCrop()
142 const Rect& bufferSize = layerState.geomBufferSize; in calculateOutputSourceCrop()
156 uint32_t invTransform = layerState.geomBufferTransform; in calculateOutputSourceCrop()
[all …]
/frameworks/base/graphics/java/android/graphics/drawable/
DLayerDrawable.java1030 final LayerState layerState = mLayerState; in getPadding() local
1031 if (layerState.mPaddingMode == PADDING_MODE_NEST) { in getPadding()
1037 final int paddingT = layerState.mPaddingTop; in getPadding()
1038 final int paddingB = layerState.mPaddingBottom; in getPadding()
1043 final int paddingRtlL = isLayoutRtl ? layerState.mPaddingEnd : layerState.mPaddingStart; in getPadding()
1044 final int paddingRtlR = isLayoutRtl ? layerState.mPaddingStart : layerState.mPaddingEnd; in getPadding()
1045 final int paddingL = paddingRtlL >= 0 ? paddingRtlL : layerState.mPaddingLeft; in getPadding()
1046 final int paddingR = paddingRtlR >= 0 ? paddingRtlR : layerState.mPaddingRight; in getPadding()
1091 final LayerState layerState = mLayerState; in setPadding() local
1092 layerState.mPaddingLeft = left; in setPadding()
[all …]
/frameworks/native/services/surfaceflinger/
DLayer.cpp1360 const State& layerState(getDrawingState()); in miniDump() local
1363 if (layerState.zOrderRelativeOf != nullptr || mDrawingParent != nullptr) { in miniDump()
1364 StringAppendF(&result, " rel %6d | ", layerState.z); in miniDump()
1366 StringAppendF(&result, " %10d | ", layerState.z); in miniDump()
DSurfaceFlinger.cpp1913 auto& layerState = layer->getCompositionLayer()->editState().frontEnd; in calculateWorkingSet() local
1914 layerState.compositionType = static_cast<Hwc2::IComposerClient::Composition>( in calculateWorkingSet()
5775 const Layer::State& layerState(mLayer->getDrawingState()); in captureLayers() local
5776 return mLayer->getBufferSize(layerState); in captureLayers()