ivi-shell: remove ivi_layout_layer_set_dimension API
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com> Acked-by: wataru_natsume <wataru_natsume@xddp.denso.co.jp> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
committed by
Bryce Harrington
parent
45d3942816
commit
16d1fa156a
@@ -220,7 +220,8 @@ test_layer_dimension(struct test_context *ctx)
|
||||
iassert(prop->dest_width == 200);
|
||||
iassert(prop->dest_height == 300);
|
||||
|
||||
iassert(lyt->layer_set_dimension(ivilayer, 400, 600) == IVI_SUCCEEDED);
|
||||
iassert(lyt->layer_set_destination_rectangle(ivilayer, prop->dest_x, prop->dest_y,
|
||||
400, 600) == IVI_SUCCEEDED);
|
||||
|
||||
iassert(prop->dest_width == 200);
|
||||
iassert(prop->dest_height == 300);
|
||||
@@ -409,22 +410,6 @@ test_layer_bad_orientation(struct test_context *ctx)
|
||||
lyt->commit_changes();
|
||||
}
|
||||
|
||||
static void
|
||||
test_layer_bad_dimension(struct test_context *ctx)
|
||||
{
|
||||
const struct ivi_layout_interface *lyt = ctx->layout_interface;
|
||||
struct ivi_layout_layer *ivilayer;
|
||||
|
||||
ivilayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300);
|
||||
iassert(ivilayer != NULL);
|
||||
|
||||
iassert(lyt->layer_set_dimension(NULL, 200, 300) == IVI_FAILED);
|
||||
|
||||
lyt->commit_changes();
|
||||
|
||||
lyt->layer_destroy(ivilayer);
|
||||
}
|
||||
|
||||
static void
|
||||
test_layer_bad_source_rectangle(struct test_context *ctx)
|
||||
{
|
||||
@@ -486,20 +471,6 @@ test_commit_changes_after_orientation_set_layer_destroy(struct test_context *ctx
|
||||
lyt->commit_changes();
|
||||
}
|
||||
|
||||
static void
|
||||
test_commit_changes_after_dimension_set_layer_destroy(struct test_context *ctx)
|
||||
{
|
||||
const struct ivi_layout_interface *lyt = ctx->layout_interface;
|
||||
struct ivi_layout_layer *ivilayer;
|
||||
|
||||
ivilayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300);
|
||||
iassert(ivilayer != NULL);
|
||||
|
||||
iassert(lyt->layer_set_dimension(ivilayer, 200, 300) == IVI_SUCCEEDED);
|
||||
lyt->layer_destroy(ivilayer);
|
||||
lyt->commit_changes();
|
||||
}
|
||||
|
||||
static void
|
||||
test_commit_changes_after_source_rectangle_set_layer_destroy(struct test_context *ctx)
|
||||
{
|
||||
@@ -1007,13 +978,11 @@ run_internal_tests(void *data)
|
||||
test_layer_bad_opacity(ctx);
|
||||
test_layer_bad_destination_rectangle(ctx);
|
||||
test_layer_bad_orientation(ctx);
|
||||
test_layer_bad_dimension(ctx);
|
||||
test_layer_bad_source_rectangle(ctx);
|
||||
test_layer_bad_properties(ctx);
|
||||
test_commit_changes_after_visibility_set_layer_destroy(ctx);
|
||||
test_commit_changes_after_opacity_set_layer_destroy(ctx);
|
||||
test_commit_changes_after_orientation_set_layer_destroy(ctx);
|
||||
test_commit_changes_after_dimension_set_layer_destroy(ctx);
|
||||
test_commit_changes_after_source_rectangle_set_layer_destroy(ctx);
|
||||
test_commit_changes_after_destination_rectangle_set_layer_destroy(ctx);
|
||||
test_layer_create_duplicate(ctx);
|
||||
|
||||
Reference in New Issue
Block a user