Home
last modified time | relevance | path

Searched refs:hasEglAndroidImageCrop (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/gui/tests/
DSurfaceTextureClient_test.cpp631 bool hasEglAndroidImageCrop = equal || atStart || atEnd || inMiddle; in TEST_F() local
655 EXPECT_EQ(hasEglAndroidImageCrop ? 1 : 0.5, mtx[0]); in TEST_F()
661 EXPECT_EQ(hasEglAndroidImageCrop ? -1 : -0.5, mtx[5]); in TEST_F()
670 EXPECT_EQ(hasEglAndroidImageCrop ? 0 : 0.0625f, mtx[12]); in TEST_F()
671 EXPECT_EQ(hasEglAndroidImageCrop ? 1 : 0.5625f, mtx[13]); in TEST_F()
/frameworks/native/libs/gui/
DGLConsumer.cpp119 static bool hasEglAndroidImageCrop() { in hasEglAndroidImageCrop() function
127 return hasEglAndroidImageCrop() && (crop.left == 0 && crop.top == 0); in isEglImageCroppable()
1104 bool cropInvalid = hasEglAndroidImageCrop() && mCropRect != cropRect; in createIfNeeded()