diff options
Diffstat (limited to 'v4/api21/android')
| -rw-r--r-- | v4/api21/android/support/v4/view/ViewPropertyAnimatorCompatLollipop.java | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/v4/api21/android/support/v4/view/ViewPropertyAnimatorCompatLollipop.java b/v4/api21/android/support/v4/view/ViewPropertyAnimatorCompatLollipop.java new file mode 100644 index 0000000000..3bfc427e77 --- /dev/null +++ b/v4/api21/android/support/v4/view/ViewPropertyAnimatorCompatLollipop.java @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2015 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package android.support.v4.view; + +import android.view.View; + +class ViewPropertyAnimatorCompatLollipop { + + public static void translationZ(View view, float value) { + view.animate().translationZ(value); + } + + public static void translationZBy(View view, float value) { + view.animate().translationZBy(value); + } + + public static void z(View view, float value) { + view.animate().z(value); + } + + public static void zBy(View view, float value) { + view.animate().zBy(value); + } + +} |
