Lines Matching refs:mtx
578 float mtx[16] = {}; in TEST_F() local
584 mST->getTransformMatrix(mtx); in TEST_F()
586 EXPECT_EQ(1.f, mtx[0]); in TEST_F()
587 EXPECT_EQ(0.f, mtx[1]); in TEST_F()
588 EXPECT_EQ(0.f, mtx[2]); in TEST_F()
589 EXPECT_EQ(0.f, mtx[3]); in TEST_F()
591 EXPECT_EQ(0.f, mtx[4]); in TEST_F()
592 EXPECT_EQ(-1.f, mtx[5]); in TEST_F()
593 EXPECT_EQ(0.f, mtx[6]); in TEST_F()
594 EXPECT_EQ(0.f, mtx[7]); in TEST_F()
596 EXPECT_EQ(0.f, mtx[8]); in TEST_F()
597 EXPECT_EQ(0.f, mtx[9]); in TEST_F()
598 EXPECT_EQ(1.f, mtx[10]); in TEST_F()
599 EXPECT_EQ(0.f, mtx[11]); in TEST_F()
601 EXPECT_EQ(0.f, mtx[12]); in TEST_F()
602 EXPECT_EQ(1.f, mtx[13]); in TEST_F()
603 EXPECT_EQ(0.f, mtx[14]); in TEST_F()
604 EXPECT_EQ(1.f, mtx[15]); in TEST_F()
609 float mtx[16] = {}; in TEST_F() local
616 mST->getTransformMatrix(mtx); in TEST_F()
618 EXPECT_EQ(1.f, mtx[0]); in TEST_F()
619 EXPECT_EQ(0.f, mtx[1]); in TEST_F()
620 EXPECT_EQ(0.f, mtx[2]); in TEST_F()
621 EXPECT_EQ(0.f, mtx[3]); in TEST_F()
623 EXPECT_EQ(0.f, mtx[4]); in TEST_F()
624 EXPECT_EQ(-1.f, mtx[5]); in TEST_F()
625 EXPECT_EQ(0.f, mtx[6]); in TEST_F()
626 EXPECT_EQ(0.f, mtx[7]); in TEST_F()
628 EXPECT_EQ(0.f, mtx[8]); in TEST_F()
629 EXPECT_EQ(0.f, mtx[9]); in TEST_F()
630 EXPECT_EQ(1.f, mtx[10]); in TEST_F()
631 EXPECT_EQ(0.f, mtx[11]); in TEST_F()
633 EXPECT_EQ(0.f, mtx[12]); in TEST_F()
634 EXPECT_EQ(1.f, mtx[13]); in TEST_F()
635 EXPECT_EQ(0.f, mtx[14]); in TEST_F()
636 EXPECT_EQ(1.f, mtx[15]); in TEST_F()
653 float mtx[16] = {}; in TEST_F() local
669 mST->getTransformMatrix(mtx); in TEST_F()
675 EXPECT_EQ(hasEglAndroidImageCrop ? 1 : 0.5, mtx[0]); in TEST_F()
676 EXPECT_EQ(0.f, mtx[1]); in TEST_F()
677 EXPECT_EQ(0.f, mtx[2]); in TEST_F()
678 EXPECT_EQ(0.f, mtx[3]); in TEST_F()
680 EXPECT_EQ(0.f, mtx[4]); in TEST_F()
681 EXPECT_EQ(hasEglAndroidImageCrop ? -1 : -0.5, mtx[5]); in TEST_F()
682 EXPECT_EQ(0.f, mtx[6]); in TEST_F()
683 EXPECT_EQ(0.f, mtx[7]); in TEST_F()
685 EXPECT_EQ(0.f, mtx[8]); in TEST_F()
686 EXPECT_EQ(0.f, mtx[9]); in TEST_F()
687 EXPECT_EQ(1.f, mtx[10]); in TEST_F()
688 EXPECT_EQ(0.f, mtx[11]); in TEST_F()
690 EXPECT_EQ(hasEglAndroidImageCrop ? 0 : 0.0625f, mtx[12]); in TEST_F()
691 EXPECT_EQ(hasEglAndroidImageCrop ? 1 : 0.5625f, mtx[13]); in TEST_F()
692 EXPECT_EQ(0.f, mtx[14]); in TEST_F()
693 EXPECT_EQ(1.f, mtx[15]); in TEST_F()