diff options
author | Jean-Baptiste Queru <> | 2009-03-25 15:05:51 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-25 15:05:51 -0700 |
commit | 8b0662878eae69ab62e859b07165f086ea65cad5 (patch) | |
tree | 081184f98b8dcab0823e33978cb9ee26201fb5ec /core/res | |
parent | afbf448b7d04abe25497f838c1df5d05048f9d12 (diff) | |
download | frameworks_base-8b0662878eae69ab62e859b07165f086ea65cad5.zip frameworks_base-8b0662878eae69ab62e859b07165f086ea65cad5.tar.gz frameworks_base-8b0662878eae69ab62e859b07165f086ea65cad5.tar.bz2 |
Automated import from //branches/master/...@142574,142574
Diffstat (limited to 'core/res')
-rw-r--r-- | core/res/res/anim/anticipate_interpolator.xml | 21 | ||||
-rw-r--r-- | core/res/res/anim/anticipate_overshoot_interpolator.xml | 21 | ||||
-rw-r--r-- | core/res/res/anim/bounce_interpolator.xml | 21 | ||||
-rw-r--r-- | core/res/res/anim/overshoot_interpolator.xml | 21 | ||||
-rw-r--r-- | core/res/res/values/attrs.xml | 21 | ||||
-rw-r--r-- | core/res/res/values/public.xml | 15 |
6 files changed, 117 insertions, 3 deletions
diff --git a/core/res/res/anim/anticipate_interpolator.xml b/core/res/res/anim/anticipate_interpolator.xml new file mode 100644 index 0000000..50a555a --- /dev/null +++ b/core/res/res/anim/anticipate_interpolator.xml @@ -0,0 +1,21 @@ +<?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. +*/ +--> + +<anticipateInterpolator xmlns:android="http://schemas.android.com/apk/res/android" /> diff --git a/core/res/res/anim/anticipate_overshoot_interpolator.xml b/core/res/res/anim/anticipate_overshoot_interpolator.xml new file mode 100644 index 0000000..440a899 --- /dev/null +++ b/core/res/res/anim/anticipate_overshoot_interpolator.xml @@ -0,0 +1,21 @@ +<?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. +*/ +--> + +<anticipateOvershootInterpolator xmlns:android="http://schemas.android.com/apk/res/android" /> diff --git a/core/res/res/anim/bounce_interpolator.xml b/core/res/res/anim/bounce_interpolator.xml new file mode 100644 index 0000000..406fbb9 --- /dev/null +++ b/core/res/res/anim/bounce_interpolator.xml @@ -0,0 +1,21 @@ +<?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. +*/ +--> + +<bounceInterpolator xmlns:android="http://schemas.android.com/apk/res/android" /> diff --git a/core/res/res/anim/overshoot_interpolator.xml b/core/res/res/anim/overshoot_interpolator.xml new file mode 100644 index 0000000..c614e0b --- /dev/null +++ b/core/res/res/anim/overshoot_interpolator.xml @@ -0,0 +1,21 @@ +<?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. +*/ +--> + +<overshootInterpolator xmlns:android="http://schemas.android.com/apk/res/android" /> diff --git a/core/res/res/values/attrs.xml b/core/res/res/values/attrs.xml index 9d041f9..e4e8990 100644 --- a/core/res/res/values/attrs.xml +++ b/core/res/res/values/attrs.xml @@ -2525,12 +2525,12 @@ </declare-styleable> <declare-styleable name="AccelerateInterpolator"> - <!-- This is the amount of deceleration to ad when easing in. --> + <!-- This is the amount of deceleration to add when easing in. --> <attr name="factor" format="float" /> </declare-styleable> <declare-styleable name="DecelerateInterpolator"> - <!-- This is the amount of acceleration to ad when easing out. --> + <!-- This is the amount of acceleration to add when easing out. --> <attr name="factor" /> </declare-styleable> @@ -2538,6 +2538,23 @@ <attr name="cycles" format="float" /> </declare-styleable> + <declare-styleable name="AnticipateInterpolator"> + <!-- This is the amount of tension. --> + <attr name="tension" format="float" /> + </declare-styleable> + + <declare-styleable name="OvershootInterpolator"> + <!-- This is the amount of tension. --> + <attr name="tension" /> + </declare-styleable> + + <declare-styleable name="AnticipateOvershootInterpolator"> + <!-- This is the amount of tension. --> + <attr name="tension" /> + <!-- This is the amount by which to multiply the tension. --> + <attr name="extraTension" format="float" /> + </declare-styleable> + <!-- ========================== --> <!-- State attributes --> <!-- ========================== --> diff --git a/core/res/res/values/public.xml b/core/res/res/values/public.xml index 66a2cb8..f42d9eb 100644 --- a/core/res/res/values/public.xml +++ b/core/res/res/values/public.xml @@ -1109,5 +1109,18 @@ =============================================================== --> <eat-comment /> - <public type="attr" name="accountType" id="0x01010270" /> + <public type="attr" name="tension" id="0x01010270" /> + <public type="attr" name="extraTension" id="0x01010271" /> + + <public type="anim" name="anticipate_interpolator" id="0x010a0007" /> + <public type="anim" name="overshoot_interpolator" id="0x010a0008" /> + <public type="anim" name="anticipate_overshoot_interpolator" id="0x010a0009" /> + <public type="anim" name="bounce_interpolator" id="0x010a000a" /> + +<!-- =============================================================== + Resources added in version 5 of the platform. + =============================================================== --> + <eat-comment /> + + <public type="attr" name="accountType" id="0x01010272" /> </resources> |