diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/anim/discovery_bounce.xml | 45 | ||||
-rw-r--r-- | res/interpolator/disco_bounce_section1.xml | 22 | ||||
-rw-r--r-- | res/interpolator/disco_bounce_section2.xml | 22 | ||||
-rw-r--r-- | res/interpolator/disco_bounce_section3.xml | 22 |
4 files changed, 111 insertions, 0 deletions
diff --git a/res/anim/discovery_bounce.xml b/res/anim/discovery_bounce.xml new file mode 100644 index 000000000..1f7d46618 --- /dev/null +++ b/res/anim/discovery_bounce.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2016, 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. +*/ +--> + +<set xmlns:android="http://schemas.android.com/apk/res/android" + android:ordering="sequentially" + android:startOffset="200"> + + <objectAnimator + android:propertyName="progress" + android:duration="250" + android:interpolator="@interpolator/disco_bounce_section1" + android:valueFrom="1f" + android:valueTo=".94f" + android:valueType="floatType"/> + <objectAnimator + android:propertyName="progress" + android:duration="216" + android:interpolator="@interpolator/disco_bounce_section2" + android:valueFrom=".94f" + android:valueTo="1.012f" + android:valueType="floatType"/> + <objectAnimator + android:propertyName="progress" + android:duration="234" + android:interpolator="@interpolator/disco_bounce_section3" + android:valueFrom="1.012f" + android:valueTo="1f" + android:valueType="floatType"/> +</set> diff --git a/res/interpolator/disco_bounce_section1.xml b/res/interpolator/disco_bounce_section1.xml new file mode 100644 index 000000000..21562165c --- /dev/null +++ b/res/interpolator/disco_bounce_section1.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2016 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 + --> + +<pathInterpolator xmlns:android="http://schemas.android.com/apk/res/android" + android:controlX1="0.9" + android:controlY1="0" + android:controlX2="0.5" + android:controlY2="1"/> diff --git a/res/interpolator/disco_bounce_section2.xml b/res/interpolator/disco_bounce_section2.xml new file mode 100644 index 000000000..86cc789fe --- /dev/null +++ b/res/interpolator/disco_bounce_section2.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2016 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 + --> + +<pathInterpolator xmlns:android="http://schemas.android.com/apk/res/android" + android:controlX1="0.9" + android:controlY1="0" + android:controlX2="0.6" + android:controlY2="1"/> diff --git a/res/interpolator/disco_bounce_section3.xml b/res/interpolator/disco_bounce_section3.xml new file mode 100644 index 000000000..1acef037c --- /dev/null +++ b/res/interpolator/disco_bounce_section3.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2016 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 + --> + +<pathInterpolator xmlns:android="http://schemas.android.com/apk/res/android" + android:controlX1="0.1" + android:controlY1="0" + android:controlX2="0.7" + android:controlY2="1"/> |