Searched refs:layerWidth (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/ |
D | LayerTypeAndRenderTypeTransaction_test.cpp | 317 const uint32_t layerWidth = 300; 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() 340 shot->expectColor(Rect(layerWidth - testArea, 0, layerWidth, testArea), Color::BLACK); in TEST_P() 344 shot->expectColor(Rect(layerWidth - testArea, layerHeight - testArea, layerWidth, in TEST_P() 350 shot->expectColor(Rect(0, cornerRadius, layerWidth, cornerRadius + testArea), Color::RED); in TEST_P() 352 shot->expectColor(Rect(0, layerHeight - cornerRadius - testArea, layerWidth, in TEST_P() 358 shot->expectColor(Rect(layerWidth - cornerRadius - testArea, 0, layerWidth - cornerRadius, in TEST_P() 376 const uint32_t layerWidth = 300; in TEST_P() local 388 .setCrop(parent, Rect(0, 0, layerWidth, layerHeight)) in TEST_P() [all …]
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | LayerDrawable.cpp | 125 const int layerWidth = layer->getWidth(); in DrawLayer() local 155 ? SkRect::MakeIWH(layerHeight, layerWidth) in DrawLayer() 156 : SkRect::MakeIWH(layerWidth, layerHeight); in DrawLayer()
|
/frameworks/base/libs/hwui/ |
D | Layer.cpp | 99 const int layerWidth = getWidth(); in draw() local 108 textureMatrixInv.preScale(1.0f / layerWidth, 1.0f / layerHeight); in draw()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | HighBrightnessModeControllerTest.java | 377 final int layerWidth = DISPLAY_WIDTH; in testHdrRequires50PercentOfScreen() local 383 layerWidth, smallLayerHeight, 0 /*flags*/); in testHdrRequires50PercentOfScreen() 389 layerWidth, largeLayerHeight, 0 /*flags*/); in testHdrRequires50PercentOfScreen()
|