Moving animation configuration and definition out of state definition
This removes cross dependency between StateManager and State object so that it can be easily generalized Change-Id: I62851fc4b653655cb40f37023db9651055ec7c9c
This commit is contained in:
1 parent
7826bf52c7
commit
f67db3531b
13 files changed
+316
-280
No files matched your search
@@ -13,11 +13,8 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.launcher3;
|
||||
|
||||
|
||||
import android.animation.Animator;
|
||||
import android.app.ActivityOptions;
|
||||
import android.content.Context;
|
||||
import android.graphics.Rect;
|
||||
@@ -57,17 +54,6 @@ public class LauncherAppTransitionManager implements ResourceBasedOverride {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Number of animations which run on state properties.
|
||||
*/
|
||||
public int getStateElementAnimationsCount() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public Animator createStateElementAnimation(int index, float... values) {
|
||||
throw new RuntimeException("Unknown gesture animation " + index);
|
||||
}
|
||||
|
||||
/**
|
||||
* Registers remote animations for certain system transitions.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user