Searched refs:screenProperties (Results 1 – 3 of 3) sorted by relevance
/third_party/wayland-ivi-extension/ivi-layermanagement-examples/layer-add-surfaces/src/ |
D | layer-add-surfaces.c | 131 struct ilmScreenProperties screenProperties; in choose_screen() local 143 ilm_getPropertiesOfScreen(screen_IDs[i], &screenProperties); in choose_screen() 144 if (!strcmp(screenProperties.connectorName, display_name)) { in choose_screen() 145 choosen_width = screenProperties.screenWidth; in choose_screen() 146 choosen_height = screenProperties.screenHeight; in choose_screen() 150 else if (screenProperties.screenWidth > choosen_width) { in choose_screen() 151 choosen_width = screenProperties.screenWidth; in choose_screen() 152 choosen_height = screenProperties.screenHeight; in choose_screen()
|
/third_party/wayland-ivi-extension/ivi-layermanagement-examples/LayerManagerControl/src/ |
D | print.cpp | 87 ilmScreenProperties screenProperties; in printScreenProperties() local 89 ilmErrorTypes callResult = ilm_getPropertiesOfScreen(screenid, &screenProperties); in printScreenProperties() 97 cout << prefix << "- connector name: " << screenProperties.connectorName << "\n"; in printScreenProperties() 99 cout << prefix << "- resolution: x=" << screenProperties.screenWidth << ", y=" in printScreenProperties() 100 << screenProperties.screenHeight << "\n"; in printScreenProperties() 104 for (t_ilm_uint layerIndex = 0; layerIndex < screenProperties.layerCount; ++layerIndex) in printScreenProperties() 106 t_ilm_layer layerid = screenProperties.layerIds[layerIndex]; in printScreenProperties() 111 free(screenProperties.layerIds); in printScreenProperties()
|
/third_party/wayland-ivi-extension/ivi-layermanagement-api/test/ |
D | ilm_control_test.cpp | 630 ilmScreenProperties screenProperties; in TEST_F() local 644 EXPECT_EQ(ILM_SUCCESS, ilm_getPropertiesOfScreen(screen, &screenProperties)); in TEST_F() 645 EXPECT_EQ(3, screenProperties.layerCount); in TEST_F() 646 if (screenProperties.layerCount == 3) in TEST_F() 648 EXPECT_EQ(layerIds[0], screenProperties.layerIds[0]); in TEST_F() 649 EXPECT_EQ(layerIds[1], screenProperties.layerIds[1]); in TEST_F() 650 EXPECT_EQ(layerIds[2], screenProperties.layerIds[2]); in TEST_F() 652 free(screenProperties.layerIds); in TEST_F() 654 EXPECT_GT(screenProperties.screenWidth, 0u); in TEST_F() 655 EXPECT_GT(screenProperties.screenHeight, 0u); in TEST_F()
|