Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1b4e52f7 authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Ricardo Cerqueira
Browse files

Backport ICS rotation animations to gingerbread

Require ICS transitions patch: http://review.cyanogenmod.com/11938



This is a combination of 3 AOSP commits, adapted for gingerbread,
i've hidden new public constants to keep current API intact.

these 3 commits are from Dianne Hackborn <hackbod@google.com> :

- Change rotation freeze to all be implemented in window manager.

Lots of work for no visible change in behavior, but now we can
do some fancier stuff...

Also allow rotation in all 4 directions.

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
	services/java/com/android/server/WindowManagerService.java

AOSP-Change-Id: I7e5e9537c5e359f69b83c10f65cc1ce95f371461

- Implement rotation animations.

This introduces a small new feature for ScaleAnimation allowing
the scaling factor to be expressed as a percentage of the object
(which is the same as the existing float interpretation), a
percentage of the container, or a fixed dimension.  Maybe not
useful for anything else, but I needed it for this.

Also fix a bug in how transformation matrices were propagated
from the Animation to Surface Flinger, so that rotate and skew
animations will actually work. :p

AOSP-Change-Id: I301f4caa2147aa35564b5e511cb9c0b368d2425d

- Don't leak.

AOSP-Change-Id: I756d54feeef4ff73f17c80d4b4405de56a5787a6

Signed-off-by: default avatarTanguy Pruvot <tanguy.pruvot@gmail.com>

Change-Id: I301f4caa2147aa35564b5e511cb9c0b368d2425d
parent 56ccce7d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment