diff options
author | Christopher Lane <lanechr@google.com> | 2014-09-14 18:44:50 -0700 |
---|---|---|
committer | Christopher Lane <lanechr@google.com> | 2014-09-16 12:16:35 -0700 |
commit | 65a5a7d84ad9b5324ae53eda526e39e513473af7 (patch) | |
tree | 8a7b2446cb402848559c96f91eb0fe8924694cd0 /Settings/res/animator | |
parent | 1f2339bb845c3d94f94ba958024d718848271025 (diff) | |
download | android_packages_apps_TvSettings-65a5a7d84ad9b5324ae53eda526e39e513473af7.tar.gz android_packages_apps_TvSettings-65a5a7d84ad9b5324ae53eda526e39e513473af7.tar.bz2 android_packages_apps_TvSettings-65a5a7d84ad9b5324ae53eda526e39e513473af7.zip |
Initial checkin of TV settings
Bug: 16857996
Change-Id: I9bcff3662ad18db97f6e0c2f80430ca42690ecf7
Diffstat (limited to 'Settings/res/animator')
-rw-r--r-- | Settings/res/animator/pin_adjacent_number_enter.xml | 23 | ||||
-rw-r--r-- | Settings/res/animator/pin_adjacent_number_exit.xml | 23 | ||||
-rw-r--r-- | Settings/res/animator/pin_focused_number_enter.xml | 23 | ||||
-rw-r--r-- | Settings/res/animator/pin_focused_number_exit.xml | 23 |
4 files changed, 92 insertions, 0 deletions
diff --git a/Settings/res/animator/pin_adjacent_number_enter.xml b/Settings/res/animator/pin_adjacent_number_enter.xml new file mode 100644 index 00000000..0c872827 --- /dev/null +++ b/Settings/res/animator/pin_adjacent_number_enter.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2014 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"> + <objectAnimator + android:propertyName="alpha" + android:valueFrom="0.0" + android:valueTo="@float_type/pin_alpha_for_adjacent_number" + android:duration="@integer/pin_number_scroll_anim_duration" + android:interpolator="@android:interpolator/linear_out_slow_in" /> +</set> diff --git a/Settings/res/animator/pin_adjacent_number_exit.xml b/Settings/res/animator/pin_adjacent_number_exit.xml new file mode 100644 index 00000000..a4cf6cb6 --- /dev/null +++ b/Settings/res/animator/pin_adjacent_number_exit.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2014 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"> + <objectAnimator + android:propertyName="alpha" + android:valueFrom="@float_type/pin_alpha_for_adjacent_number" + android:valueTo="0.0" + android:duration="@integer/pin_number_scroll_anim_duration" + android:interpolator="@android:interpolator/linear_out_slow_in" /> +</set> diff --git a/Settings/res/animator/pin_focused_number_enter.xml b/Settings/res/animator/pin_focused_number_enter.xml new file mode 100644 index 00000000..0986a343 --- /dev/null +++ b/Settings/res/animator/pin_focused_number_enter.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2014 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"> + <objectAnimator + android:propertyName="alpha" + android:valueFrom="@float_type/pin_alpha_for_adjacent_number" + android:valueTo="@float_type/pin_alpha_for_focused_number" + android:duration="@integer/pin_number_scroll_anim_duration" + android:interpolator="@android:interpolator/linear_out_slow_in" /> +</set> diff --git a/Settings/res/animator/pin_focused_number_exit.xml b/Settings/res/animator/pin_focused_number_exit.xml new file mode 100644 index 00000000..ba0962af --- /dev/null +++ b/Settings/res/animator/pin_focused_number_exit.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2014 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"> + <objectAnimator + android:propertyName="alpha" + android:valueFrom="@float_type/pin_alpha_for_focused_number" + android:valueTo="@float_type/pin_alpha_for_adjacent_number" + android:duration="@integer/pin_number_scroll_anim_duration" + android:interpolator="@android:interpolator/linear_out_slow_in" /> +</set> |