Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 718daf8b authored by Chia-I Wu's avatar Chia-I Wu
Browse files

surfaceflinger: add more setPosition tests

Add LayerTransactionTest.
  SetPositionBasic
  SetPositionRounding
  SetPositionOutOfBounds
  SetPositionPartiallyOutOfBounds
  SetPositionWithResize
  SetPositionWithNextResize
  SetPositionWithNextResizeScaleToWindow

LayerTransactionTest and LayerUpdateTest also have these differences

 - every pixel, rather than a single pixel, of a layer is checked
 - no concept of FG and BG layers with implied coordinates; layers
   are explicitly created, filled, and positioned

Test: SurfaceFlinger_test
Change-Id: Iee4818766e9f218391f869490d49ab5e54a80a49
parent 1078bbba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment