Lines Matching refs:sc
470 sp<SurfaceControl> sc = in onTransactionCompleted() local
472 if (sc != nullptr) { in onTransactionCompleted()
473 layerId = sc->getLayerId(); in onTransactionCompleted()
1270 const sp<SurfaceControl>& sc) { in sendSurfaceFlushJankDataTransaction() argument
1272 layer_state_t* s = t.getLayerState(sc); in sendSurfaceFlushJankDataTransaction()
1278 t.registerSurfaceControlForCallback(sc); in sendSurfaceFlushJankDataTransaction()
1343 layer_state_t* SurfaceComposerClient::Transaction::getLayerState(const sp<SurfaceControl>& sc) { in getLayerState() argument
1344 auto handle = sc->getLayerStateHandle(); in getLayerState()
1351 s.state.layerId = sc->getLayerId(); in getLayerState()
1360 const sp<SurfaceControl>& sc) { in registerSurfaceControlForCallback() argument
1362 callbackInfo.surfaceControls.insert(sc); in registerSurfaceControlForCallback()
1364 mTransactionCompletedListener->addSurfaceControlToCallbacks(callbackInfo, sc); in registerSurfaceControlForCallback()
1368 const sp<SurfaceControl>& sc, float x, float y) { in setPosition() argument
1369 layer_state_t* s = getLayerState(sc); in setPosition()
1378 registerSurfaceControlForCallback(sc); in setPosition()
1383 const sp<SurfaceControl>& sc) { in show() argument
1384 return setFlags(sc, 0, layer_state_t::eLayerHidden); in show()
1388 const sp<SurfaceControl>& sc) { in hide() argument
1389 return setFlags(sc, layer_state_t::eLayerHidden, layer_state_t::eLayerHidden); in hide()
1393 const sp<SurfaceControl>& sc, int32_t z) { in setLayer() argument
1394 layer_state_t* s = getLayerState(sc); in setLayer()
1403 registerSurfaceControlForCallback(sc); in setLayer()
1408 const sp<SurfaceControl>& sc, const sp<SurfaceControl>& relativeTo, int32_t z) { in setRelativeLayer() argument
1409 layer_state_t* s = getLayerState(sc); in setRelativeLayer()
1419 registerSurfaceControlForCallback(sc); in setRelativeLayer()
1424 const sp<SurfaceControl>& sc, uint32_t flags, in setFlags() argument
1426 layer_state_t* s = getLayerState(sc); in setFlags()
1443 registerSurfaceControlForCallback(sc); in setFlags()
1448 const sp<SurfaceControl>& sc, in setTransparentRegionHint() argument
1450 layer_state_t* s = getLayerState(sc); in setTransparentRegionHint()
1458 registerSurfaceControlForCallback(sc); in setTransparentRegionHint()
1463 const sp<SurfaceControl>& sc, bool dimmingEnabled) { in setDimmingEnabled() argument
1464 layer_state_t* s = getLayerState(sc); in setDimmingEnabled()
1472 registerSurfaceControlForCallback(sc); in setDimmingEnabled()
1477 const sp<SurfaceControl>& sc, float alpha) { in setAlpha() argument
1478 layer_state_t* s = getLayerState(sc); in setAlpha()
1489 registerSurfaceControlForCallback(sc); in setAlpha()
1494 const sp<SurfaceControl>& sc, ui::LayerStack layerStack) { in setLayerStack() argument
1495 layer_state_t* s = getLayerState(sc); in setLayerStack()
1503 registerSurfaceControlForCallback(sc); in setLayerStack()
1508 const sp<SurfaceControl>& sc, uint32_t key, const Parcel& p) { in setMetadata() argument
1509 layer_state_t* s = getLayerState(sc); in setMetadata()
1518 registerSurfaceControlForCallback(sc); in setMetadata()
1523 const sp<SurfaceControl>& sc, float dsdx, float dtdx, in setMatrix() argument
1525 layer_state_t* s = getLayerState(sc); in setMatrix()
1538 registerSurfaceControlForCallback(sc); in setMatrix()
1543 const sp<SurfaceControl>& sc, const Rect& crop) { in setCrop() argument
1544 layer_state_t* s = getLayerState(sc); in setCrop()
1552 registerSurfaceControlForCallback(sc); in setCrop()
1557 const sp<SurfaceControl>& sc, float cornerRadius) { in setCornerRadius() argument
1558 layer_state_t* s = getLayerState(sc); in setCornerRadius()
1569 const sp<SurfaceControl>& sc, int backgroundBlurRadius) { in setBackgroundBlurRadius() argument
1570 layer_state_t* s = getLayerState(sc); in setBackgroundBlurRadius()
1581 const sp<SurfaceControl>& sc, const std::vector<BlurRegion>& blurRegions) { in setBlurRegions() argument
1582 layer_state_t* s = getLayerState(sc); in setBlurRegions()
1593 const sp<SurfaceControl>& sc, const sp<SurfaceControl>& newParent) { in reparent() argument
1594 layer_state_t* s = getLayerState(sc); in reparent()
1599 if (SurfaceControl::isSameSurface(sc, newParent)) { in reparent()
1605 registerSurfaceControlForCallback(sc); in reparent()
1610 const sp<SurfaceControl>& sc, in setColor() argument
1612 layer_state_t* s = getLayerState(sc); in setColor()
1620 registerSurfaceControlForCallback(sc); in setColor()
1625 const sp<SurfaceControl>& sc, const half3& color, float alpha, ui::Dataspace dataspace) { in setBackgroundColor() argument
1626 layer_state_t* s = getLayerState(sc); in setBackgroundColor()
1637 registerSurfaceControlForCallback(sc); in setBackgroundColor()
1642 const sp<SurfaceControl>& sc, uint32_t transform) { in setTransform() argument
1643 layer_state_t* s = getLayerState(sc); in setTransform()
1651 registerSurfaceControlForCallback(sc); in setTransform()
1656 SurfaceComposerClient::Transaction::setTransformToDisplayInverse(const sp<SurfaceControl>& sc, in setTransformToDisplayInverse() argument
1658 layer_state_t* s = getLayerState(sc); in setTransformToDisplayInverse()
1666 registerSurfaceControlForCallback(sc); in setTransformToDisplayInverse()
1671 const sp<SurfaceControl>& sc) { in getAndClearBuffer() argument
1672 layer_state_t* s = getLayerState(sc); in getAndClearBuffer()
1691 const sp<SurfaceControl>& sc, uint64_t barrierFrameNumber) { in setBufferHasBarrier() argument
1692 layer_state_t* s = getLayerState(sc); in setBufferHasBarrier()
1703 const sp<SurfaceControl>& sc, const sp<GraphicBuffer>& buffer, in setBuffer() argument
1706 layer_state_t* s = getLayerState(sc); in setBuffer()
1717 uint64_t frameNumber = sc->resolveFrameNumber(optFrameNumber); in setBuffer()
1735 registerSurfaceControlForCallback(sc); in setBuffer()
1754 const sp<SurfaceControl>& sc) { in unsetBuffer() argument
1755 layer_state_t* s = getLayerState(sc); in unsetBuffer()
1791 const sp<SurfaceControl>& sc, ui::Dataspace dataspace) { in setDataspace() argument
1792 layer_state_t* s = getLayerState(sc); in setDataspace()
1800 registerSurfaceControlForCallback(sc); in setDataspace()
1805 const sp<SurfaceControl>& sc, float currentBufferRatio, float desiredRatio) { in setExtendedRangeBrightness() argument
1806 layer_state_t* s = getLayerState(sc); in setExtendedRangeBrightness()
1815 registerSurfaceControlForCallback(sc); in setExtendedRangeBrightness()
1820 const sp<SurfaceControl>& sc, float desiredRatio) { in setDesiredHdrHeadroom() argument
1821 layer_state_t* s = getLayerState(sc); in setDesiredHdrHeadroom()
1829 registerSurfaceControlForCallback(sc); in setDesiredHdrHeadroom()
1834 const sp<SurfaceControl>& sc, gui::CachingHint cachingHint) { in setCachingHint() argument
1835 layer_state_t* s = getLayerState(sc); in setCachingHint()
1843 registerSurfaceControlForCallback(sc); in setCachingHint()
1848 const sp<SurfaceControl>& sc, const HdrMetadata& hdrMetadata) { in setHdrMetadata() argument
1849 layer_state_t* s = getLayerState(sc); in setHdrMetadata()
1857 registerSurfaceControlForCallback(sc); in setHdrMetadata()
1862 const sp<SurfaceControl>& sc, const Region& surfaceDamageRegion) { in setSurfaceDamageRegion() argument
1863 layer_state_t* s = getLayerState(sc); in setSurfaceDamageRegion()
1871 registerSurfaceControlForCallback(sc); in setSurfaceDamageRegion()
1876 const sp<SurfaceControl>& sc, int32_t api) { in setApi() argument
1877 layer_state_t* s = getLayerState(sc); in setApi()
1885 registerSurfaceControlForCallback(sc); in setApi()
1890 const sp<SurfaceControl>& sc, const sp<NativeHandle>& sidebandStream) { in setSidebandStream() argument
1891 layer_state_t* s = getLayerState(sc); in setSidebandStream()
1899 registerSurfaceControlForCallback(sc); in setSidebandStream()
1911 const sp<SurfaceControl>& sc, const bool agnostic) { in setColorSpaceAgnostic() argument
1912 layer_state_t* s = getLayerState(sc); in setColorSpaceAgnostic()
1920 registerSurfaceControlForCallback(sc); in setColorSpaceAgnostic()
1925 SurfaceComposerClient::Transaction::setFrameRateSelectionPriority(const sp<SurfaceControl>& sc, in setFrameRateSelectionPriority() argument
1927 layer_state_t* s = getLayerState(sc); in setFrameRateSelectionPriority()
1936 registerSurfaceControlForCallback(sc); in setFrameRateSelectionPriority()
1968 const sp<SurfaceControl>& sc) { in notifyProducerDisconnect() argument
1969 layer_state_t* s = getLayerState(sc); in notifyProducerDisconnect()
1980 const sp<SurfaceControl>& sc, const WindowInfo& info) { in setInputWindowInfo() argument
1981 layer_state_t* s = getLayerState(sc); in setInputWindowInfo()
2005 const sp<SurfaceControl>& sc, const mat3& matrix, const vec3& translation) { in setColorTransform() argument
2006 layer_state_t* s = getLayerState(sc); in setColorTransform()
2014 registerSurfaceControlForCallback(sc); in setColorTransform()
2019 const sp<SurfaceControl>& sc, const Rect& source, const Rect& dst, int transform) { in setGeometry() argument
2020 setCrop(sc, source); in setGeometry()
2064 setMatrix(sc, matrix[0], matrix[1], matrix[2], matrix[3]); in setGeometry()
2067 setPosition(sc, x - offsetX, y - offsetY); in setGeometry()
2073 const sp<SurfaceControl>& sc, float shadowRadius) { in setShadowRadius() argument
2074 layer_state_t* s = getLayerState(sc); in setShadowRadius()
2085 const sp<SurfaceControl>& sc, float frameRate, int8_t compatibility, in setFrameRate() argument
2087 layer_state_t* s = getLayerState(sc); in setFrameRate()
2108 SurfaceComposerClient::Transaction::setDefaultFrameRateCompatibility(const sp<SurfaceControl>& sc, in setDefaultFrameRateCompatibility() argument
2110 layer_state_t* s = getLayerState(sc); in setDefaultFrameRateCompatibility()
2121 const sp<SurfaceControl>& sc, int8_t category, bool smoothSwitchOnly) { in setFrameRateCategory() argument
2122 layer_state_t* s = getLayerState(sc); in setFrameRateCategory()
2134 SurfaceComposerClient::Transaction::setFrameRateSelectionStrategy(const sp<SurfaceControl>& sc, in setFrameRateSelectionStrategy() argument
2136 layer_state_t* s = getLayerState(sc); in setFrameRateSelectionStrategy()
2147 const sp<SurfaceControl>& sc, int32_t fixedTransformHint) { in setFixedTransformHint() argument
2148 layer_state_t* s = getLayerState(sc); in setFixedTransformHint()
2169 const sp<SurfaceControl>& sc, bool autoRefresh) { in setAutoRefresh() argument
2170 layer_state_t* s = getLayerState(sc); in setAutoRefresh()
2182 const sp<SurfaceControl>& sc, bool isTrustedOverlay) { in setTrustedOverlay() argument
2183 return setTrustedOverlay(sc, in setTrustedOverlay()
2189 const sp<SurfaceControl>& sc, gui::TrustedOverlay trustedOverlay) { in setTrustedOverlay() argument
2190 layer_state_t* s = getLayerState(sc); in setTrustedOverlay()
2208 const sp<SurfaceControl>& sc, const StretchEffect& stretchEffect) { in setStretchEffect() argument
2209 layer_state_t* s = getLayerState(sc); in setStretchEffect()
2221 const sp<SurfaceControl>& sc, const Rect& bufferCrop) { in setBufferCrop() argument
2222 layer_state_t* s = getLayerState(sc); in setBufferCrop()
2231 registerSurfaceControlForCallback(sc); in setBufferCrop()
2236 const sp<SurfaceControl>& sc, const Rect& destinationFrame) { in setDestinationFrame() argument
2237 layer_state_t* s = getLayerState(sc); in setDestinationFrame()
2246 registerSurfaceControlForCallback(sc); in setDestinationFrame()
2251 const sp<SurfaceControl>& sc, gui::DropInputMode mode) { in setDropInputMode() argument
2252 layer_state_t* s = getLayerState(sc); in setDropInputMode()
2261 registerSurfaceControlForCallback(sc); in setDropInputMode()
2345 const sp<SurfaceControl>& sc, TrustedPresentationCallback cb, in setTrustedPresentationCallback() argument
2349 mTransactionCompletedListener->addTrustedPresentationCallback(cb, sc->getLayerId(), in setTrustedPresentationCallback()
2352 layer_state_t* s = getLayerState(sc); in setTrustedPresentationCallback()
2360 s->trustedPresentationListener.callbackId = sc->getLayerId(); in setTrustedPresentationCallback()
2366 SurfaceComposerClient::Transaction::clearTrustedPresentationCallback(const sp<SurfaceControl>& sc) { in clearTrustedPresentationCallback() argument
2367 mTransactionCompletedListener->clearTrustedPresentationCallback(sc->getLayerId()); in clearTrustedPresentationCallback()
2369 layer_state_t* s = getLayerState(sc); in clearTrustedPresentationCallback()