Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DSurfaceTextureClient_test.cpp650 bool hasEglAndroidImageCrop = equal || atStart || atEnd || inMiddle; in TEST_F() local
675 EXPECT_EQ(hasEglAndroidImageCrop ? 1 : 0.5, mtx[0]); in TEST_F()
681 EXPECT_EQ(hasEglAndroidImageCrop ? -1 : -0.5, mtx[5]); 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()
/frameworks/native/libs/gui/
DGLConsumer.cpp121 static bool hasEglAndroidImageCrop() { in hasEglAndroidImageCrop() function
149 return hasEglAndroidImageCrop() && (crop.left == 0 && crop.top == 0); in isEglImageCroppable()
1177 bool cropInvalid = hasEglAndroidImageCrop() && mCropRect != cropRect; in createIfNeeded()