Searched refs:layerHeight (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/ |
D | LayerTypeAndRenderTypeTransaction_test.cpp | 318 const uint32_t layerHeight = 1500; in TEST_P() local 328 .setCrop(parent, Rect(0, 0, layerWidth, layerHeight)) in TEST_P() 332 .setDestinationFrame(layer, Rect(0, 0, layerWidth, layerHeight)) in TEST_P() 342 shot->expectColor(Rect(0, layerHeight - testArea, testArea, layerHeight), Color::BLACK); in TEST_P() 344 shot->expectColor(Rect(layerWidth - testArea, layerHeight - testArea, layerWidth, in TEST_P() 345 layerHeight), in TEST_P() 352 shot->expectColor(Rect(0, layerHeight - cornerRadius - testArea, layerWidth, in TEST_P() 353 layerHeight - cornerRadius), in TEST_P() 356 shot->expectColor(Rect(cornerRadius, 0, cornerRadius + testArea, layerHeight), Color::RED); in TEST_P() 359 layerHeight), in TEST_P() [all …]
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | LayerDrawable.cpp | 126 const int layerHeight = layer->getHeight(); in DrawLayer() local 155 ? SkRect::MakeIWH(layerHeight, layerWidth) in DrawLayer() 156 : SkRect::MakeIWH(layerWidth, layerHeight); in DrawLayer()
|
/frameworks/base/libs/hwui/ |
D | Layer.cpp | 100 const int layerHeight = getHeight(); in draw() local 108 textureMatrixInv.preScale(1.0f / layerWidth, 1.0f / layerHeight); in draw()
|