Java Code Examples for android.view.ViewPropertyAnimator#rotationBy()
The following examples show how to use
android.view.ViewPropertyAnimator#rotationBy() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: g.java From MiBandDecompiled with Apache License 2.0 | 5 votes |
public com.nineoldandroids.view.ViewPropertyAnimator rotationBy(float f) { ViewPropertyAnimator viewpropertyanimator = (ViewPropertyAnimator)b.get(); if (viewpropertyanimator != null) { viewpropertyanimator.rotationBy(f); } return this; }
Example 2
Source File: FanEffect.java From JazzyListView with Apache License 2.0 | 4 votes |
@Override public void setupAnimation(View item, int position, int scrollDirection, ViewPropertyAnimator animator) { animator.rotationBy(-INITIAL_ROTATION_ANGLE * scrollDirection); }