Cleaning up size negotiation 58/39558/2
authorKimmo Hoikka <kimmo.hoikka@samsung.com>
Mon, 18 May 2015 17:02:10 +0000 (18:02 +0100)
committerKimmo Hoikka <kimmo.hoikka@samsung.com>
Tue, 19 May 2015 11:00:26 +0000 (12:00 +0100)
commit33390f8ea54e44aa570a2e0840d50c7e1998042b
treee4cb282d3b66888d15e6a397a9ed39ba19af205c
parent5b5885948b71d48ed585f44cd30ad3ed3f0e4d63
Cleaning up size negotiation
- Check for recursive SetSize from inside OnSizeSet
- Dont call onSizeSet unless size actually changed
- Fix width for height to treat 0 size as 1:1 aspect ratio
- Add base helpers for width for height

Change-Id: Ib8bd5f3e347df0d66ea504f659c3c416800be4fb
automated-tests/src/dali/utc-Dali-Actor.cpp
dali/internal/event/actors/actor-impl.cpp
dali/internal/event/actors/actor-impl.h
dali/internal/event/animation/animation-impl.cpp
dali/public-api/actors/actor.h
dali/public-api/actors/custom-actor-impl.cpp
dali/public-api/actors/custom-actor-impl.h