diff options
Diffstat (limited to 'java/com/android/incallui/res/anim')
5 files changed, 147 insertions, 0 deletions
diff --git a/java/com/android/incallui/res/anim/activity_open_enter.xml b/java/com/android/incallui/res/anim/activity_open_enter.xml new file mode 100644 index 000000000..71cc096b9 --- /dev/null +++ b/java/com/android/incallui/res/anim/activity_open_enter.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2009, 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:shareInterpolator="false" + android:zAdjustment="top"> + <alpha + android:duration="300" + android:fillAfter="true" + android:fillBefore="false" + android:fillEnabled="true" + android:fromAlpha="0.0" + android:interpolator="@anim/decelerate_cubic" + android:toAlpha="1.0"/> + <scale + android:duration="300" + android:fillAfter="true" + android:fillBefore="false" + android:fillEnabled="true" + android:fromXScale=".8" + android:fromYScale=".8" + android:interpolator="@anim/decelerate_cubic" + android:pivotX="50%p" + android:pivotY="50%p" + android:toXScale="1.0" + android:toYScale="1.0"/> +</set>
\ No newline at end of file diff --git a/java/com/android/incallui/res/anim/activity_open_exit.xml b/java/com/android/incallui/res/anim/activity_open_exit.xml new file mode 100644 index 000000000..9b36bb358 --- /dev/null +++ b/java/com/android/incallui/res/anim/activity_open_exit.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2009, 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:background="#ff000000" + android:zAdjustment="normal"> + <alpha + android:duration="300" + android:fillAfter="true" + android:fillBefore="false" + android:fillEnabled="true" + android:fromAlpha="1.0" + android:interpolator="@anim/decelerate_quint" + android:toAlpha="0.0"/> +</set>
\ No newline at end of file diff --git a/java/com/android/incallui/res/anim/decelerate_cubic.xml b/java/com/android/incallui/res/anim/decelerate_cubic.xml new file mode 100644 index 000000000..c2f41597b --- /dev/null +++ b/java/com/android/incallui/res/anim/decelerate_cubic.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2010, 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. +*/ +--> + +<decelerateInterpolator xmlns:android="http://schemas.android.com/apk/res/android" + android:factor="1.5"/> diff --git a/java/com/android/incallui/res/anim/decelerate_quint.xml b/java/com/android/incallui/res/anim/decelerate_quint.xml new file mode 100644 index 000000000..e55e99c0b --- /dev/null +++ b/java/com/android/incallui/res/anim/decelerate_quint.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2010, 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. +*/ +--> + +<decelerateInterpolator xmlns:android="http://schemas.android.com/apk/res/android" + android:factor="2.5"/> diff --git a/java/com/android/incallui/res/anim/on_going_call.xml b/java/com/android/incallui/res/anim/on_going_call.xml new file mode 100644 index 000000000..3a2e2ba1a --- /dev/null +++ b/java/com/android/incallui/res/anim/on_going_call.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<animation-list xmlns:android="http://schemas.android.com/apk/res/android" + android:oneshot="false"> + <item + android:drawable="@drawable/ic_ongoing_phone_24px_01" + android:duration="200"/> + <item + android:drawable="@drawable/ic_ongoing_phone_24px_02" + android:duration="200"/> + <item + android:drawable="@drawable/ic_ongoing_phone_24px_03" + android:duration="200"/> + <item + android:drawable="@drawable/ic_ongoing_phone_24px_04" + android:duration="200"/> + <item + android:drawable="@drawable/ic_ongoing_phone_24px_05" + android:duration="200"/> + <item + android:drawable="@drawable/ic_ongoing_phone_24px_06" + android:duration="200"/> + <item + android:drawable="@drawable/ic_ongoing_phone_24px_07" + android:duration="200"/> + <item + android:drawable="@drawable/ic_ongoing_phone_24px_08" + android:duration="200"/> + <item + android:drawable="@drawable/ic_ongoing_phone_24px_09" + android:duration="200"/> +</animation-list>
\ No newline at end of file |