Lines Matching defs:matrix
523 transform->matrix().set3x3(0, -1, 0,
529 transform->matrix().set3x3( 0, 1, 0,
1609 transform.matrix().set(1, 3, 500.0);
1643 transform.matrix().set(1, 3, 500.0);
1666 transform.matrix().set(0, 3, 100.f);
1696 transform.matrix().set(0, 3, 30.f);
1701 transform.matrix().set(0, 0, 0.8f);
1702 transform.matrix().set(1, 1, 0.5f);
1733 transform.matrix().set(0, 3, 30.f);
1744 transform.matrix().set(0, 3, 10.f);
1745 transform.matrix().set(1, 3, 10.f);
1789 transform.matrix().set(1, 3, 50.f);
1994 // convert to a 3x3 matrix.
1995 const SkMatrix& matrix = transform.matrix();
1997 EXPECT_EQ(210, matrix.getTranslateX());
1998 EXPECT_EQ(-55, matrix.getTranslateY());
1999 EXPECT_EQ(100, matrix.getScaleX());
2000 EXPECT_EQ(55, matrix.getScaleY());
2001 EXPECT_EQ(0, matrix.getSkewX());
2002 EXPECT_EQ(0, matrix.getSkewY());
2015 // convert to a 3x3 matrix
2016 const SkMatrix& matrix = transform.matrix();
2018 EXPECT_EQ(210, matrix.getTranslateX());
2019 EXPECT_EQ(-55, matrix.getTranslateY());
2020 EXPECT_EQ(100, matrix.getScaleX());
2021 EXPECT_EQ(55, matrix.getScaleY());
2022 EXPECT_EQ(0, matrix.getSkewX());
2023 EXPECT_EQ(0, matrix.getSkewY());
2193 t2.matrix().set(1, 3, 100.f);
2972 EXPECT_EQ(2.0f, view->GetTransform().matrix().get(0, 0));
2975 EXPECT_EQ(2.0f, view->GetTransform().matrix().get(0, 0));
2978 EXPECT_EQ(2.0f, view->GetTransform().matrix().get(0, 0));
2988 EXPECT_EQ(2.0f, view->GetTransform().matrix().get(0, 0));
2990 EXPECT_EQ(2.0f, view->layer()->transform().matrix().get(0, 0));
2996 EXPECT_EQ(2.0f, view->GetTransform().matrix().get(0, 0));
2998 EXPECT_EQ(2.0f, view->layer()->transform().matrix().get(0, 0));