Lines Matching refs:layerId
103 const int32_t layerId(getLayerId(layer)); in addInitialSurfaceStateLocked() local
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()
176 int32_t layerId) in createSurfaceChangeLocked() argument
179 change->set_id(layerId); in createSurfaceChangeLocked()
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()
244 int32_t layerId, const Region& transRegion) 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()
316 int32_t layerId, int32_t overrideScalingMode) in addOverrideScalingModeLocked() argument
318 SurfaceChange* change(createSurfaceChangeLocked(transaction, layerId)); in addOverrideScalingModeLocked()
333 const int32_t layerId(getLayerId(layer)); in addSurfaceChangesLocked() local
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()