Merge "fixed jank on activity close exit with better alpha interpolation" into lmp-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
20edd05327
@@ -20,13 +20,13 @@
|
|||||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:shareInterpolator="false" android:zAdjustment="top">
|
android:shareInterpolator="false" android:zAdjustment="top">
|
||||||
<alpha android:fromAlpha="1.0" android:toAlpha="0.0"
|
<alpha android:fromAlpha="1.0" android:toAlpha="0.0"
|
||||||
android:interpolator="@interpolator/accelerate_quart"
|
android:interpolator="@interpolator/linear"
|
||||||
android:fillEnabled="true"
|
android:fillEnabled="true"
|
||||||
android:fillBefore="false" android:fillAfter="true"
|
android:fillBefore="false" android:fillAfter="true"
|
||||||
android:startOffset="100"
|
android:startOffset="100"
|
||||||
android:duration="150"/>
|
android:duration="150"/>
|
||||||
<translate android:fromYDelta="0%" android:toYDelta="5%"
|
<translate android:fromYDelta="0%" android:toYDelta="8%"
|
||||||
android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
|
android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
|
||||||
android:interpolator="@interpolator/accelerate_quint"
|
android:interpolator="@interpolator/accelerate_quart"
|
||||||
android:duration="250"/>
|
android:duration="250"/>
|
||||||
</set>
|
</set>
|
||||||
@@ -13,13 +13,14 @@
|
|||||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
** See the License for the specific language governing permissions and
|
** See the License for the specific language governing permissions and
|
||||||
** limitations under the License.
|
** limitations under the License.
|
||||||
*/
|
*/
|
||||||
-->
|
-->
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:zAdjustment="normal">
|
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<objectAnimator
|
<objectAnimator
|
||||||
android:interpolator="@interpolator/decelerate_quad"
|
android:interpolator="@interpolator/decelerate_cubic"
|
||||||
android:valueFrom="0.0" android:valueTo="1.0"
|
android:valueFrom="0"
|
||||||
|
android:valueTo="1"
|
||||||
android:valueType="floatType"
|
android:valueType="floatType"
|
||||||
android:propertyName="alpha"
|
android:propertyName="alpha"
|
||||||
android:duration="300"/>
|
android:duration="300"/>
|
||||||
|
|||||||
@@ -13,25 +13,14 @@
|
|||||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
** See the License for the specific language governing permissions and
|
** See the License for the specific language governing permissions and
|
||||||
** limitations under the License.
|
** limitations under the License.
|
||||||
*/
|
*/
|
||||||
-->
|
-->
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:zAdjustment="top">
|
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<objectAnimator
|
|
||||||
android:interpolator="@interpolator/decelerate_quad"
|
|
||||||
android:valueFrom="1.0" android:valueTo="0.8"
|
|
||||||
android:valueType="floatType"
|
|
||||||
android:propertyName="scaleY"
|
|
||||||
android:duration="300"/>
|
|
||||||
<objectAnimator
|
<objectAnimator
|
||||||
android:interpolator="@interpolator/decelerate_quad"
|
android:interpolator="@interpolator/decelerate_cubic"
|
||||||
android:valueFrom="1.0" android:valueTo="0.8"
|
android:valueFrom="1"
|
||||||
android:valueType="floatType"
|
android:valueTo="0"
|
||||||
android:propertyName="scaleX"
|
|
||||||
android:duration="300"/>
|
|
||||||
<objectAnimator
|
|
||||||
android:interpolator="@interpolator/decelerate_quad"
|
|
||||||
android:valueFrom="1.0" android:valueTo="0.0"
|
|
||||||
android:valueType="floatType"
|
android:valueType="floatType"
|
||||||
android:propertyName="alpha"
|
android:propertyName="alpha"
|
||||||
android:duration="300"/>
|
android:duration="300"/>
|
||||||
|
|||||||
@@ -16,8 +16,7 @@
|
|||||||
** limitations under the License.
|
** limitations under the License.
|
||||||
*/
|
*/
|
||||||
-->
|
-->
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
android:zAdjustment="top">
|
|
||||||
<objectAnimator
|
<objectAnimator
|
||||||
android:interpolator="@interpolator/decelerate_cubic"
|
android:interpolator="@interpolator/decelerate_cubic"
|
||||||
android:valueFrom="0"
|
android:valueFrom="0"
|
||||||
|
|||||||
@@ -16,8 +16,7 @@
|
|||||||
** limitations under the License.
|
** limitations under the License.
|
||||||
*/
|
*/
|
||||||
-->
|
-->
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
android:zAdjustment="normal">
|
|
||||||
<objectAnimator
|
<objectAnimator
|
||||||
android:interpolator="@interpolator/decelerate_cubic"
|
android:interpolator="@interpolator/decelerate_cubic"
|
||||||
android:valueFrom="1"
|
android:valueFrom="1"
|
||||||
|
|||||||
@@ -13,25 +13,14 @@
|
|||||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
** See the License for the specific language governing permissions and
|
** See the License for the specific language governing permissions and
|
||||||
** limitations under the License.
|
** limitations under the License.
|
||||||
*/
|
*/
|
||||||
-->
|
-->
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<objectAnimator
|
|
||||||
android:interpolator="@interpolator/decelerate_cubic"
|
|
||||||
android:valueFrom="0.95" android:valueTo="1.0"
|
|
||||||
android:valueType="floatType"
|
|
||||||
android:propertyName="scaleY"
|
|
||||||
android:duration="300"/>
|
|
||||||
<objectAnimator
|
<objectAnimator
|
||||||
android:interpolator="@interpolator/decelerate_cubic"
|
android:interpolator="@interpolator/decelerate_cubic"
|
||||||
android:valueFrom="0.95" android:valueTo="1.0"
|
android:valueFrom="0"
|
||||||
android:valueType="floatType"
|
android:valueTo="1"
|
||||||
android:propertyName="scaleX"
|
|
||||||
android:duration="300"/>
|
|
||||||
<objectAnimator
|
|
||||||
android:interpolator="@interpolator/decelerate_cubic"
|
|
||||||
android:valueFrom="0.0" android:valueTo="1.0"
|
|
||||||
android:valueType="floatType"
|
android:valueType="floatType"
|
||||||
android:propertyName="alpha"
|
android:propertyName="alpha"
|
||||||
android:duration="300"/>
|
android:duration="300"/>
|
||||||
|
|||||||
@@ -13,13 +13,14 @@
|
|||||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
** See the License for the specific language governing permissions and
|
** See the License for the specific language governing permissions and
|
||||||
** limitations under the License.
|
** limitations under the License.
|
||||||
*/
|
*/
|
||||||
-->
|
-->
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<objectAnimator
|
<objectAnimator
|
||||||
android:interpolator="@interpolator/decelerate_cubic"
|
android:interpolator="@interpolator/decelerate_cubic"
|
||||||
android:valueFrom="1.0" android:valueTo="0.0"
|
android:valueFrom="1"
|
||||||
|
android:valueTo="0"
|
||||||
android:valueType="floatType"
|
android:valueType="floatType"
|
||||||
android:propertyName="alpha"
|
android:propertyName="alpha"
|
||||||
android:duration="300"/>
|
android:duration="300"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user