Searched refs:surfaceIDs (Results 1 – 5 of 5) sorted by relevance
/third_party/wayland-ivi-extension/ivi-layermanagement-api/test/ |
D | ilm_input_test.cpp | 95 t_ilm_surface *surfaceIDs; in TEST_F() local 105 ASSERT_EQ(ILM_SUCCESS, ilm_getInputFocus(&surfaceIDs, &bitmasks, &num_ids)); in TEST_F() 113 if (contains(surfaceIDs, iviSurfaces.size(), iviSurfaces[i].surface_id)) in TEST_F() 116 free(surfaceIDs); in TEST_F() 124 ASSERT_EQ(ILM_SUCCESS, ilm_getInputFocus(&surfaceIDs, &bitmasks, &num_ids)); in TEST_F() 128 if (surfaceIDs[i] == surfaces[j]) in TEST_F() 132 free(surfaceIDs); in TEST_F() 137 ASSERT_EQ(ILM_SUCCESS, ilm_getInputFocus(&surfaceIDs, &bitmasks, &num_ids)); in TEST_F() 140 if (surfaceIDs[i] == surfaces[0]) in TEST_F() 142 free(surfaceIDs); in TEST_F() [all …]
|
D | ilm_input_null_pointer_test.cpp | 78 t_ilm_surface *surfaceIDs; in TEST_F() local 88 EXPECT_EQ(ILM_FAILED, ilm_getInputFocus(&surfaceIDs, NULL, &num_ids)); in TEST_F() 90 EXPECT_EQ(ILM_FAILED, ilm_getInputFocus(&surfaceIDs, &bitmasks, NULL)); in TEST_F()
|
/third_party/wayland-ivi-extension/ivi-layermanagement-api/ilmInput/src/ |
D | ilm_input.c | 249 ilm_setInputFocus(t_ilm_surface *surfaceIDs, t_ilm_uint num_surfaces, in ilm_setInputFocus() argument 256 if (surfaceIDs == NULL) { in ilm_setInputFocus() 274 if (ctx_surf->id_surface == surfaceIDs[i]) { in ilm_setInputFocus() 281 fprintf(stderr, "Surface %d was not found\n", surfaceIDs[i]); in ilm_setInputFocus() 295 ilm_getInputFocus(t_ilm_surface **surfaceIDs, ilmInputDevice **bitmasks, in ilm_getInputFocus() argument 302 if ((surfaceIDs == NULL) || (bitmasks == NULL) in ilm_getInputFocus() 310 *surfaceIDs = calloc(*num_ids, sizeof **surfaceIDs); in ilm_getInputFocus() 312 if (*surfaceIDs == NULL) { in ilm_getInputFocus() 321 free(*surfaceIDs); in ilm_getInputFocus() 327 (*surfaceIDs)[i] = ctx_surf->id_surface; in ilm_getInputFocus()
|
/third_party/wayland-ivi-extension/ivi-layermanagement-examples/LayerManagerControl/src/ |
D | input_commands.cpp | 85 t_ilm_surface *surfaceIDs; variable 104 input->getUintArray("idarray", &surfaceIDs, &num_surfaces); 108 ilm_setInputFocus(surfaceIDs, num_surfaces, bitmask, is_set); 119 delete[] surfaceIDs; 127 t_ilm_surface *surfaceIDs; variable 130 ilmErrorTypes callResult = ilm_getInputFocus(&surfaceIDs, &bitmasks, &num_ids); 140 cout << "surface " << surfaceIDs[i] << ": " 147 free(surfaceIDs);
|
/third_party/wayland-ivi-extension/ivi-layermanagement-api/ilmInput/include/ |
D | ilm_input.h | 100 ilm_setInputFocus(t_ilm_surface *surfaceIDs, t_ilm_uint num_surfaces, 117 ilm_getInputFocus(t_ilm_surface **surfaceIDs, ilmInputDevice** bitmasks,
|