Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timob 15951: Android: Animating a child view in vertical layout no longer works correctly #5128

Merged
merged 8 commits into from Jan 3, 2014

Conversation

pingwang2011
Copy link
Contributor

@ghost ghost assigned ayeung Dec 16, 2013
int vertical0 = vertical[0];
int vertical1 = vertical[1];
if (childScaleX != 0) {
horizontal1 = (int) (horizontal0 + newWidth * 1.0 / childScaleX);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to multiply by 1.0 here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wanted to convert it to float before divided by scaling factor. But seems not necessary.

@ayeung
Copy link
Contributor

ayeung commented Jan 3, 2014

Code reviewed and functionally tested. Request Accepted.

ayeung pushed a commit that referenced this pull request Jan 3, 2014
Timob 15951: Android: Animating a child view in vertical layout no longer works correctly
@ayeung ayeung merged commit 38f9c38 into tidev:master Jan 3, 2014
@pingwang2011 pingwang2011 deleted the timob-15951 branch October 15, 2014 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants