(ImageView) Restore erroneously removed APIs & Fix SetImage behaviour 26/51826/7
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 16 Nov 2015 10:55:34 +0000 (10:55 +0000)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 16 Nov 2015 14:00:41 +0000 (14:00 +0000)
commit76dead7c21ac57622ca1a70c156efddc017059cf
tree9cc3ce51b0167497773858795b1efb0ecf9db09b
parent26e308db77c286ccd0be0e7627b6cebfa2f9cb67
(ImageView) Restore erroneously removed APIs & Fix SetImage behaviour

SetImage Issues fixed:
- SetImage should NOT show an error image if empty/NULL. It should show nothing as per API description.
- Changing between types (Image type to URL, property-map to Image etc.) did not work properly.
- Ensure a RelayoutRequest is done when SetImage is called so that our size is renegotiated.

Change-Id: I066130a697b7791f791b5b9b63733ec482ceaed6
automated-tests/src/dali-toolkit/utc-Dali-ImageView.cpp
dali-toolkit/internal/controls/image-view/image-view-impl.cpp
dali-toolkit/internal/controls/renderers/renderer-factory-impl.cpp
dali-toolkit/public-api/controls/image-view/image-view.cpp
dali-toolkit/public-api/controls/image-view/image-view.h