Lines Matching refs:change
362 for (const SurfaceChange& change : surfaceChanges) { in doSurfaceTransaction() local
364 if (mLayers[change.id()] == nullptr) { in doSurfaceTransaction()
365 mLayerCond.wait(lock, [&] { return (mLayers[change.id()] != nullptr); }); in doSurfaceTransaction()
368 switch (change.SurfaceChange_case()) { in doSurfaceTransaction()
370 setPosition(transaction, change.id(), change.position()); in doSurfaceTransaction()
373 setSize(transaction, change.id(), change.size()); in doSurfaceTransaction()
376 setAlpha(transaction, change.id(), change.alpha()); in doSurfaceTransaction()
379 setLayer(transaction, change.id(), change.layer()); in doSurfaceTransaction()
382 setCrop(transaction, change.id(), change.crop()); in doSurfaceTransaction()
385 setCornerRadius(transaction, change.id(), change.corner_radius()); in doSurfaceTransaction()
388 setMatrix(transaction, change.id(), change.matrix()); in doSurfaceTransaction()
391 setOverrideScalingMode(transaction, change.id(), in doSurfaceTransaction()
392 change.override_scaling_mode()); in doSurfaceTransaction()
395 setTransparentRegionHint(transaction, change.id(), in doSurfaceTransaction()
396 change.transparent_region_hint()); in doSurfaceTransaction()
399 setLayerStack(transaction, change.id(), change.layer_stack()); in doSurfaceTransaction()
402 setHiddenFlag(transaction, change.id(), change.hidden_flag()); in doSurfaceTransaction()
405 setOpaqueFlag(transaction, change.id(), change.opaque_flag()); in doSurfaceTransaction()
408 setSecureFlag(transaction, change.id(), change.secure_flag()); in doSurfaceTransaction()
411 waitUntilDeferredTransactionLayerExists(change.deferred_transaction(), lock); in doSurfaceTransaction()
412 setDeferredTransaction(transaction, change.id(), in doSurfaceTransaction()
413 change.deferred_transaction()); in doSurfaceTransaction()
416 setReparentChange(transaction, change.id(), change.reparent()); in doSurfaceTransaction()
419 setReparentChildrenChange(transaction, change.id(), change.reparent_children()); in doSurfaceTransaction()
422 setRelativeParentChange(transaction, change.id(), change.relative_parent()); in doSurfaceTransaction()
425 setDetachChildrenChange(transaction, change.id(), change.detach_children()); in doSurfaceTransaction()
428 setShadowRadiusChange(transaction, change.id(), change.shadow_radius()); in doSurfaceTransaction()
445 for (const DisplayChange& change : displayChanges) { in doDisplayTransaction() local
448 if (mDisplays[change.id()] == nullptr) { in doDisplayTransaction()
449 mDisplayCond.wait(lock, [&] { return (mDisplays[change.id()] != nullptr); }); in doDisplayTransaction()
452 switch (change.DisplayChange_case()) { in doDisplayTransaction()
454 setDisplaySurface(t, change.id(), change.surface()); in doDisplayTransaction()
457 setDisplayLayerStack(t, change.id(), change.layer_stack()); in doDisplayTransaction()
460 setDisplaySize(t, change.id(), change.size()); in doDisplayTransaction()
463 setDisplayProjection(t, change.id(), change.projection()); in doDisplayTransaction()