Include seamless rotation mode in API Demo.

Test: Try the RotationAnimation activity of API demos.
Change-Id: I4f3aba54d310ecbe06776190a4096c71fdf85d24
This commit is contained in:
Robert Carr
2016-10-17 17:05:38 -07:00
parent d0d2326d0c
commit 3ca1a928a4
3 changed files with 9 additions and 0 deletions

View File

@@ -64,6 +64,9 @@ public class RotationAnimation extends Activity {
case R.id.jumpcut:
mRotationAnimation = LayoutParams.ROTATION_ANIMATION_JUMPCUT;
break;
case R.id.seamless:
mRotationAnimation = LayoutParams.ROTATION_ANIMATION_SEAMLESS;
break;
}
setRotationAnimation(mRotationAnimation);
}