Home
last modified time | relevance | path

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

/third_party/wayland-ivi-extension/ivi-layermanagement-examples/LayerManagerControl/src/
Danalyze.cpp63 ilmLayerProperties& targetLayerProperties = scene.layerProperties[targetSurfaceLayer]; in analyzeVisibilityAndOpacity() local
84 if (targetLayerProperties.visibility == ILM_FALSE) in analyzeVisibilityAndOpacity()
118 if (targetLayerProperties.opacity <= 0.2) in analyzeVisibilityAndOpacity()
121 …i opacity set to %f, it is (almost) invisible", targetSurfaceLayer, targetLayerProperties.opacity); in analyzeVisibilityAndOpacity()
123 else if (targetLayerProperties.opacity < 1.0) in analyzeVisibilityAndOpacity()
126 …pacity set to %f, it might not be easy to see", targetSurfaceLayer, targetLayerProperties.opacity); in analyzeVisibilityAndOpacity()
234 ilmLayerProperties& targetLayerProperties = scene.layerProperties[targetSurfaceLayer]; in analyzeLayerDimensions() local
241 if (targetLayerProperties.destWidth <= minDimension) in analyzeLayerDimensions()
244 …f(description, "Layer %i has [destWidth=%i]", targetSurfaceLayer, targetLayerProperties.destWidth); in analyzeLayerDimensions()
255 if (targetLayerProperties.sourceWidth <= minDimension) in analyzeLayerDimensions()
[all …]
Dcommon.cpp47 …Coordinates(ilmSurfaceProperties targetSurfaceProperties, ilmLayerProperties targetLayerProperties) in getSurfaceScreenCoordinates() argument
49 t_ilm_float horizontalScale = targetLayerProperties.sourceWidth ? in getSurfaceScreenCoordinates()
50 1.0 * targetLayerProperties.destWidth / targetLayerProperties.sourceWidth : 0; in getSurfaceScreenCoordinates()
52 t_ilm_float targetX1 = targetLayerProperties.destX + horizontalScale in getSurfaceScreenCoordinates()
53 * (targetSurfaceProperties.destX - targetLayerProperties.sourceX); in getSurfaceScreenCoordinates()
56 t_ilm_float verticalScale = targetLayerProperties.sourceHeight ? in getSurfaceScreenCoordinates()
57 1.0 * targetLayerProperties.destHeight / targetLayerProperties.sourceHeight : 0; in getSurfaceScreenCoordinates()
59 t_ilm_float targetY1 = targetLayerProperties.destY + verticalScale in getSurfaceScreenCoordinates()
60 * (targetSurfaceProperties.destY - targetLayerProperties.sourceY); in getSurfaceScreenCoordinates()