Lines Matching refs:t
65 asTransaction([&](Transaction& t) { in SetUp() argument
66 t.setDisplayLayerStack(display, 0); in SetUp()
68 t.setLayer(mBGSurfaceControl, INT32_MAX - 2).show(mBGSurfaceControl); in SetUp()
70 t.setLayer(mFGSurfaceControl, INT32_MAX - 1) in SetUp()
74 t.setLayer(mSyncSurfaceControl, INT32_MAX - 1) in SetUp()
166 asTransaction([&](Transaction& t) { in restoreInitialState() argument
167 t.setSize(mFGSurfaceControl, 64, 64); in restoreInitialState()
168 t.setPosition(mFGSurfaceControl, 64, 64); in restoreInitialState()
169 t.setCrop_legacy(mFGSurfaceControl, Rect(0, 0, 64, 64)); in restoreInitialState()
209 asTransaction([&](Transaction& t) { in TEST_F() argument
210 t.setAlpha(mFGSurfaceControl, 0.75); in TEST_F()
211 t.deferTransactionUntil_legacy(mFGSurfaceControl, mSyncSurfaceControl->getHandle(), in TEST_F()
215 asTransaction([&](Transaction& t) { in TEST_F() argument
216 t.setPosition(mFGSurfaceControl, 128, 128); in TEST_F()
217 t.deferTransactionUntil_legacy(mFGSurfaceControl, mSyncSurfaceControl->getHandle(), in TEST_F()
240 asTransaction([&](Transaction& t) { t.setAlpha(mFGSurfaceControl, 1.0); }); in TEST_F() argument
354 asTransaction([&](Transaction& t) { in TEST_F() argument
355 t.show(mChild); in TEST_F()
356 t.setPosition(mChild, 10, 10); in TEST_F()
357 t.setPosition(mFGSurfaceControl, 64, 64); in TEST_F()
370 asTransaction([&](Transaction& t) { t.setPosition(mFGSurfaceControl, 0, 0); }); in TEST_F() argument
384 asTransaction([&](Transaction& t) { in TEST_F() argument
385 t.show(mChild); in TEST_F()
386 t.setPosition(mChild, 0, 0); in TEST_F()
387 t.setPosition(mFGSurfaceControl, 0, 0); in TEST_F()
388 t.setCrop_legacy(mFGSurfaceControl, Rect(0, 0, 5, 5)); in TEST_F()
400 asTransaction([&](Transaction& t) { in TEST_F() argument
401 t.show(mChild); in TEST_F()
402 t.setPosition(mFGSurfaceControl, 0, 0); in TEST_F()
403 t.setPosition(mChild, 63, 63); in TEST_F()
418 asTransaction([&](Transaction& t) { t.setPosition(mFGSurfaceControl, 0, 0); }); in TEST_F() argument
427 asTransaction([&](Transaction& t) { t.setMatrix(mFGSurfaceControl, 2.0, 0, 0, 2.0); }); in TEST_F() argument
442 asTransaction([&](Transaction& t) { in TEST_F() argument
443 t.setPosition(mFGSurfaceControl, 0, 0); in TEST_F()
444 t.setPosition(mChild, 0, 0); in TEST_F()
455 asTransaction([&](Transaction& t) { t.setMatrix(mChild, 10.0, 0, 0, 10.0); }); in TEST_F() argument
472 asTransaction([&](Transaction& t) { in TEST_F() argument
473 t.show(mChild); in TEST_F()
474 t.setPosition(mChild, 0, 0); in TEST_F()
475 t.setPosition(mFGSurfaceControl, 0, 0); in TEST_F()
484 asTransaction([&](Transaction& t) { t.setAlpha(mChild, 0.5); }); in TEST_F() argument
492 asTransaction([&](Transaction& t) { t.setAlpha(mFGSurfaceControl, 0.5); }); in TEST_F() argument
502 asTransaction([&](Transaction& t) { in TEST_F() argument
503 t.show(mChild); in TEST_F()
504 t.setPosition(mChild, 10, 10); in TEST_F()
505 t.setPosition(mFGSurfaceControl, 64, 64); in TEST_F()
518 asTransaction([&](Transaction& t) { in TEST_F() argument
519 t.reparentChildren(mFGSurfaceControl, mBGSurfaceControl->getHandle()); in TEST_F()
554 asTransaction([&](Transaction& t) { t.reparent(mGrandChild, mFGSurfaceControl->getHandle()); }); in TEST_F() argument
569 asTransaction([&](Transaction& t) { in TEST_F() argument
570 t.setRelativeLayer(mGrandChild, mFGSurfaceControl->getHandle(), -1); in TEST_F()
579 asTransaction([&](Transaction& t) { in TEST_F() argument
580 t.reparent(mChild, nullptr); in TEST_F()
581 t.reparentChildren(mChild, mFGSurfaceControl->getHandle()); in TEST_F()
592 asTransaction([&](Transaction& t) { in TEST_F() argument
593 t.show(mChild); in TEST_F()
594 t.setPosition(mChild, 10, 10); in TEST_F()
595 t.setPosition(mFGSurfaceControl, 64, 64); in TEST_F()
608 asTransaction([&](Transaction& t) { t.detachChildren(mFGSurfaceControl); }); in TEST_F() argument
610 asTransaction([&](Transaction& t) { t.hide(mChild); }); in TEST_F() argument
632 asTransaction([&](Transaction& t) { in TEST_F() argument
633 t.hide(mChild); in TEST_F()
634 t.show(mChildNewClient); in TEST_F()
635 t.setPosition(mChildNewClient, 10, 10); in TEST_F()
636 t.setPosition(mFGSurfaceControl, 64, 64); in TEST_F()
649 asTransaction([&](Transaction& t) { t.detachChildren(mFGSurfaceControl); }); in TEST_F() argument
651 asTransaction([&](Transaction& t) { t.hide(mChildNewClient); }); in TEST_F() argument
760 asTransaction([&](Transaction& t) { in TEST_F() argument
761 t.show(mChild); in TEST_F()
762 t.setPosition(mChild, 0, 0); in TEST_F()
763 t.setPosition(mFGSurfaceControl, 0, 0); in TEST_F()
774 asTransaction([&](Transaction& t) { in TEST_F() argument
775 t.setOverrideScalingMode(mFGSurfaceControl, NATIVE_WINDOW_SCALING_MODE_SCALE_TO_WINDOW); in TEST_F()
777 t.setSize(mFGSurfaceControl, 128, 128); in TEST_F()
793 asTransaction([&](Transaction& t) { in TEST_F() argument
794 t.show(mChild); in TEST_F()
795 t.setPosition(mChild, 0, 0); in TEST_F()
796 t.setPosition(mFGSurfaceControl, 0, 0); in TEST_F()
809 asTransaction([&](Transaction& t) { t.setSize(mFGSurfaceControl, 128, 64); }); in TEST_F() argument
828 asTransaction([&](Transaction& t) { in TEST_F() argument
829 t.show(mChild); in TEST_F()
830 t.setPosition(mChild, 0, 0); in TEST_F()
831 t.setPosition(mFGSurfaceControl, 0, 0); in TEST_F()
832 t.setSize(mChild, 100, 100); in TEST_F()
844 asTransaction([&](Transaction& t) { t.setSize(mFGSurfaceControl, 128, 64); }); in TEST_F() argument
865 asTransaction([&](Transaction& t) { in TEST_F() argument
866 t.show(mChild); in TEST_F()
867 t.setPosition(mChild, 0, 0); in TEST_F()
868 t.setPosition(mFGSurfaceControl, 0, 0); in TEST_F()
869 t.setSize(mChild, 200, 200); in TEST_F()
881 asTransaction([&](Transaction& t) { in TEST_F() argument
882 t.setOverrideScalingMode(mFGSurfaceControl, NATIVE_WINDOW_SCALING_MODE_SCALE_TO_WINDOW); in TEST_F()
884 t.setSize(mFGSurfaceControl, 128, 128); in TEST_F()
899 asTransaction([&](Transaction& t) { in TEST_F() argument
900 t.show(mChild); in TEST_F()
901 t.setPosition(mChild, 0, 0); in TEST_F()
902 t.setPosition(mFGSurfaceControl, 0, 0); in TEST_F()
913 asTransaction([&](Transaction& t) { in TEST_F() argument
914 t.setOverrideScalingMode(mFGSurfaceControl, NATIVE_WINDOW_SCALING_MODE_SCALE_TO_WINDOW); in TEST_F()
915 t.setSize(mFGSurfaceControl, 128, 64); in TEST_F()
944 asTransaction([&](Transaction& t) { in TEST_F() argument
945 t.deferTransactionUntil_legacy(mChild, mFGSurfaceControl->getHandle(), in TEST_F()
947 t.show(mChild); in TEST_F()
966 asTransaction([&](Transaction& t) { in TEST_F() argument
967 t.show(mChild); in TEST_F()
968 t.setPosition(mChild, 10, 10); in TEST_F()
969 t.setPosition(mFGSurfaceControl, 64, 64); in TEST_F()
982 asTransaction([&](Transaction& t) { t.reparent(mChild, mBGSurfaceControl->getHandle()); }); in TEST_F() argument
997 asTransaction([&](Transaction& t) { in TEST_F() argument
998 t.show(mChild); in TEST_F()
999 t.setPosition(mChild, 10, 10); in TEST_F()
1000 t.setPosition(mFGSurfaceControl, 64, 64); in TEST_F()
1012 asTransaction([&](Transaction& t) { t.reparent(mChild, nullptr); }); in TEST_F() argument
1028 asTransaction([&](Transaction& t) { in TEST_F() argument
1029 t.hide(mChild); in TEST_F()
1030 t.show(newSurface); in TEST_F()
1031 t.setPosition(newSurface, 10, 10); in TEST_F()
1032 t.setLayer(newSurface, INT32_MAX - 2); in TEST_F()
1033 t.setPosition(mFGSurfaceControl, 64, 64); in TEST_F()
1044 asTransaction([&](Transaction& t) { t.reparent(newSurface, mFGSurfaceControl->getHandle()); }); in TEST_F() argument
1073 Transaction t; in TEST_F() local
1074 t.setLayer(relative, INT32_MAX) in TEST_F()
1101 asTransaction([&](Transaction& t) { t.show(bufferLayer); }); in TEST_F() argument
1120 asTransaction([&](Transaction& t) { in TEST_F() argument
1121 t.setColor(colorLayer, half3{0, 0, 0}); in TEST_F()
1122 t.show(colorLayer); in TEST_F()
1145 asTransaction([&](Transaction& t) { in TEST_F() argument
1146 t.setCrop_legacy(cropLayer, Rect(5, 5, 10, 10)); in TEST_F()
1147 t.setColor(colorLayer, half3{0, 0, 0}); in TEST_F()
1148 t.show(cropLayer); in TEST_F()
1149 t.show(colorLayer); in TEST_F()
1170 asTransaction([&](Transaction& t) { in TEST_F() argument
1171 t.setPosition(colorLayer, 320, 320); in TEST_F()
1172 t.setMatrix(colorLayer, 2, 0, 0, 2); in TEST_F()
1173 t.setColor(colorLayer, half3{0, 0, 0}); in TEST_F()
1174 t.show(colorLayer); in TEST_F()
1201 asTransaction([&](Transaction& t) { in TEST_F() argument
1202 t.setPosition(boundlessLayerRightShift, 32, 0); in TEST_F()
1203 t.show(boundlessLayerRightShift); in TEST_F()
1204 t.setPosition(boundlessLayerDownShift, 0, 32); in TEST_F()
1205 t.show(boundlessLayerDownShift); in TEST_F()
1206 t.setCrop_legacy(colorLayer, Rect(0, 0, 64, 64)); in TEST_F()
1207 t.setColor(colorLayer, half3{0, 0, 0}); in TEST_F()
1208 t.show(colorLayer); in TEST_F()
1236 asTransaction([&](Transaction& t) { in TEST_F() argument
1239 t.setPosition(boundlessLayer, 32, 32); in TEST_F()
1240 t.show(boundlessLayer); in TEST_F()
1241 t.setCrop_legacy(colorLayer, Rect(0, 0, 64, 64)); in TEST_F()
1243 t.setPosition(colorLayer, -32, -32); in TEST_F()
1244 t.setColor(colorLayer, half3{0, 0, 0}); in TEST_F()
1245 t.show(colorLayer); in TEST_F()
1268 asTransaction([&](Transaction& t) { in TEST_F() argument
1269 t.setLayer(rootBoundlessLayer, INT32_MAX - 1); in TEST_F()
1270 t.setPosition(rootBoundlessLayer, 32, 32); in TEST_F()
1271 t.show(rootBoundlessLayer); in TEST_F()
1272 t.setCrop_legacy(colorLayer, Rect(0, 0, 64, 64)); in TEST_F()
1273 t.setColor(colorLayer, half3{0, 0, 0}); in TEST_F()
1274 t.show(colorLayer); in TEST_F()
1275 t.hide(mFGSurfaceControl); in TEST_F()