Lines Matching refs:transaction
98 Transaction* transaction(increment->mutable_transaction()); in addInitialSurfaceStateLocked() local
100 transaction->set_synchronous(layerFlags & BnSurfaceComposer::eSynchronous); in addInitialSurfaceStateLocked()
101 transaction->set_animation(layerFlags & BnSurfaceComposer::eAnimation); in addInitialSurfaceStateLocked()
104 addPositionLocked(transaction, layerId, layer->mCurrentState.active_legacy.transform.tx(), in addInitialSurfaceStateLocked()
106 addDepthLocked(transaction, layerId, layer->mCurrentState.z); in addInitialSurfaceStateLocked()
107 addAlphaLocked(transaction, layerId, layer->mCurrentState.color.a); in addInitialSurfaceStateLocked()
108 addTransparentRegionLocked(transaction, layerId, in addInitialSurfaceStateLocked()
110 addLayerStackLocked(transaction, layerId, layer->mCurrentState.layerStack); in addInitialSurfaceStateLocked()
111 addCropLocked(transaction, layerId, layer->mCurrentState.crop_legacy); in addInitialSurfaceStateLocked()
112 addCornerRadiusLocked(transaction, layerId, layer->mCurrentState.cornerRadius); in addInitialSurfaceStateLocked()
114 addDeferTransactionLocked(transaction, layerId, in addInitialSurfaceStateLocked()
118 addOverrideScalingModeLocked(transaction, layerId, layer->getEffectiveScalingMode()); in addInitialSurfaceStateLocked()
119 addFlagsLocked(transaction, layerId, layer->mCurrentState.flags); in addInitialSurfaceStateLocked()
125 Transaction* transaction(increment->mutable_transaction()); in addInitialDisplayStateLocked() local
126 transaction->set_synchronous(false); in addInitialDisplayStateLocked()
127 transaction->set_animation(false); in addInitialDisplayStateLocked()
129 addDisplaySurfaceLocked(transaction, display.sequenceId, display.surface); in addInitialDisplayStateLocked()
130 addDisplayLayerStackLocked(transaction, display.sequenceId, display.layerStack); in addInitialDisplayStateLocked()
131 addDisplaySizeLocked(transaction, display.sequenceId, display.width, display.height); in addInitialDisplayStateLocked()
132 addDisplayProjectionLocked(transaction, display.sequenceId, display.orientation, in addInitialDisplayStateLocked()
175 SurfaceChange* SurfaceInterceptor::createSurfaceChangeLocked(Transaction* transaction, in createSurfaceChangeLocked() argument
178 SurfaceChange* change(transaction->add_surface_change()); in createSurfaceChangeLocked()
183 DisplayChange* SurfaceInterceptor::createDisplayChangeLocked(Transaction* transaction, in createDisplayChangeLocked() argument
186 DisplayChange* dispChange(transaction->add_display_change()); in createDisplayChangeLocked()
198 void SurfaceInterceptor::addPositionLocked(Transaction* transaction, int32_t layerId, in addPositionLocked() argument
201 SurfaceChange* change(createSurfaceChangeLocked(transaction, layerId)); in addPositionLocked()
207 void SurfaceInterceptor::addDepthLocked(Transaction* transaction, int32_t layerId, in addDepthLocked() argument
210 SurfaceChange* change(createSurfaceChangeLocked(transaction, layerId)); in addDepthLocked()
215 void SurfaceInterceptor::addSizeLocked(Transaction* transaction, int32_t layerId, uint32_t w, in addSizeLocked() argument
218 SurfaceChange* change(createSurfaceChangeLocked(transaction, layerId)); in addSizeLocked()
224 void SurfaceInterceptor::addAlphaLocked(Transaction* transaction, int32_t layerId, in addAlphaLocked() argument
227 SurfaceChange* change(createSurfaceChangeLocked(transaction, layerId)); in addAlphaLocked()
232 void SurfaceInterceptor::addMatrixLocked(Transaction* transaction, int32_t layerId, in addMatrixLocked() argument
235 SurfaceChange* change(createSurfaceChangeLocked(transaction, layerId)); in addMatrixLocked()
243 void SurfaceInterceptor::addTransparentRegionLocked(Transaction* transaction, in addTransparentRegionLocked() argument
246 SurfaceChange* change(createSurfaceChangeLocked(transaction, layerId)); in addTransparentRegionLocked()
255 void SurfaceInterceptor::addFlagsLocked(Transaction* transaction, int32_t layerId, in addFlagsLocked() argument
260 SurfaceChange* change(createSurfaceChangeLocked(transaction, layerId)); in addFlagsLocked()
265 SurfaceChange* change(createSurfaceChangeLocked(transaction, layerId)); in addFlagsLocked()
270 SurfaceChange* change(createSurfaceChangeLocked(transaction, layerId)); in addFlagsLocked()
276 void SurfaceInterceptor::addLayerStackLocked(Transaction* transaction, int32_t layerId, in addLayerStackLocked() argument
279 SurfaceChange* change(createSurfaceChangeLocked(transaction, layerId)); in addLayerStackLocked()
284 void SurfaceInterceptor::addCropLocked(Transaction* transaction, int32_t layerId, in addCropLocked() argument
287 SurfaceChange* change(createSurfaceChangeLocked(transaction, layerId)); in addCropLocked()
293 void SurfaceInterceptor::addCornerRadiusLocked(Transaction* transaction, int32_t layerId, in addCornerRadiusLocked() argument
296 SurfaceChange* change(createSurfaceChangeLocked(transaction, layerId)); in addCornerRadiusLocked()
301 void SurfaceInterceptor::addDeferTransactionLocked(Transaction* transaction, int32_t layerId, in addDeferTransactionLocked() argument
304 SurfaceChange* change(createSurfaceChangeLocked(transaction, layerId)); in addDeferTransactionLocked()
315 void SurfaceInterceptor::addOverrideScalingModeLocked(Transaction* transaction, in addOverrideScalingModeLocked() argument
318 SurfaceChange* change(createSurfaceChangeLocked(transaction, layerId)); in addOverrideScalingModeLocked()
323 void SurfaceInterceptor::addSurfaceChangesLocked(Transaction* transaction, in addSurfaceChangesLocked() argument
336 addPositionLocked(transaction, layerId, state.x, state.y); in addSurfaceChangesLocked()
339 addDepthLocked(transaction, layerId, state.z); in addSurfaceChangesLocked()
342 addSizeLocked(transaction, layerId, state.w, state.h); in addSurfaceChangesLocked()
345 addAlphaLocked(transaction, layerId, state.alpha); in addSurfaceChangesLocked()
348 addMatrixLocked(transaction, layerId, state.matrix); in addSurfaceChangesLocked()
351 addTransparentRegionLocked(transaction, layerId, state.transparentRegion); in addSurfaceChangesLocked()
354 addFlagsLocked(transaction, layerId, state.flags); in addSurfaceChangesLocked()
357 addLayerStackLocked(transaction, layerId, state.layerStack); in addSurfaceChangesLocked()
360 addCropLocked(transaction, layerId, state.crop_legacy); in addSurfaceChangesLocked()
363 addCornerRadiusLocked(transaction, layerId, state.cornerRadius); in addSurfaceChangesLocked()
378 addDeferTransactionLocked(transaction, layerId, otherLayer, state.frameNumber_legacy); in addSurfaceChangesLocked()
381 addOverrideScalingModeLocked(transaction, layerId, state.overrideScalingMode); in addSurfaceChangesLocked()
385 void SurfaceInterceptor::addDisplayChangesLocked(Transaction* transaction, in addDisplayChangesLocked() argument
389 addDisplaySurfaceLocked(transaction, sequenceId, state.surface); in addDisplayChangesLocked()
392 addDisplayLayerStackLocked(transaction, sequenceId, state.layerStack); in addDisplayChangesLocked()
395 addDisplaySizeLocked(transaction, sequenceId, state.width, state.height); in addDisplayChangesLocked()
398 addDisplayProjectionLocked(transaction, sequenceId, state.orientation, state.viewport, in addDisplayChangesLocked()
408 Transaction* transaction(increment->mutable_transaction()); in addTransactionLocked() local
409 transaction->set_synchronous(transactionFlags & BnSurfaceComposer::eSynchronous); in addTransactionLocked()
410 transaction->set_animation(transactionFlags & BnSurfaceComposer::eAnimation); in addTransactionLocked()
412 addSurfaceChangesLocked(transaction, compState.state); in addTransactionLocked()
418 addDisplayChangesLocked(transaction, disp, dispState.sequenceId); in addTransactionLocked()
455 void SurfaceInterceptor::addDisplaySurfaceLocked(Transaction* transaction, int32_t sequenceId, in addDisplaySurfaceLocked() argument
464 DisplayChange* dispChange(createDisplayChangeLocked(transaction, sequenceId)); in addDisplaySurfaceLocked()
475 void SurfaceInterceptor::addDisplayLayerStackLocked(Transaction* transaction, in addDisplayLayerStackLocked() argument
478 DisplayChange* dispChange(createDisplayChangeLocked(transaction, sequenceId)); in addDisplayLayerStackLocked()
483 void SurfaceInterceptor::addDisplaySizeLocked(Transaction* transaction, int32_t sequenceId, in addDisplaySizeLocked() argument
486 DisplayChange* dispChange(createDisplayChangeLocked(transaction, sequenceId)); in addDisplaySizeLocked()
492 void SurfaceInterceptor::addDisplayProjectionLocked(Transaction* transaction, in addDisplayProjectionLocked() argument
495 DisplayChange* dispChange(createDisplayChangeLocked(transaction, sequenceId)); in addDisplayProjectionLocked()