diff options
author | Patrick Dubroy <dubroy@google.com> | 2010-07-23 16:48:11 -0700 |
---|---|---|
committer | Patrick Dubroy <dubroy@google.com> | 2010-07-26 11:44:33 -0700 |
commit | 558654c6ec6eefa260e5a1c1c44fc6e13ec20473 (patch) | |
tree | 4ed4ab99fccf8dd1a68c91f186d815c030c86a81 /res/anim | |
parent | 401d892f4cfde9285ae3e48dd6079d281454dcbb (diff) | |
download | android_packages_apps_Trebuchet-558654c6ec6eefa260e5a1c1c44fc6e13ec20473.tar.gz android_packages_apps_Trebuchet-558654c6ec6eefa260e5a1c1c44fc6e13ec20473.tar.bz2 android_packages_apps_Trebuchet-558654c6ec6eefa260e5a1c1c44fc6e13ec20473.zip |
Switched to tabbed version of AllApps2D on xlarge screens.
- add a temporary new zoom animation for all apps
- modify AllApps2D to allow it to be transparent
- other changes to dismiss the customization drawer when appropriate
Change-Id: I5660ab77f256ded299c1721c589983a1b30d56a4
Diffstat (limited to 'res/anim')
-rw-r--r-- | res/anim/all_apps_zoom_in.xml | 33 | ||||
-rw-r--r-- | res/anim/all_apps_zoom_out.xml | 33 |
2 files changed, 66 insertions, 0 deletions
diff --git a/res/anim/all_apps_zoom_in.xml b/res/anim/all_apps_zoom_in.xml new file mode 100644 index 000000000..644d1cf4a --- /dev/null +++ b/res/anim/all_apps_zoom_in.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 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. +--> +<set xmlns:android="http://schemas.android.com/apk/res/android" + android:interpolator="@android:anim/decelerate_interpolator" + android:shareInterpolator="true"> + <translate xmlns:android="http://schemas.android.com/apk/res/android" + android:fromXDelta="0%p" + android:toXDelta="0%p" + android:fromYDelta="-20%p" + android:toYDelta="0%p" + android:duration="500" /> + <scale + android:fromXScale="5.0" + android:toXScale="1.0" + android:fromYScale="5.0" + android:toYScale="1.0" + android:pivotX="50%" + android:pivotY="100%" + android:duration="500" /> +</set> diff --git a/res/anim/all_apps_zoom_out.xml b/res/anim/all_apps_zoom_out.xml new file mode 100644 index 000000000..23a8712e0 --- /dev/null +++ b/res/anim/all_apps_zoom_out.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 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. +--> +<set xmlns:android="http://schemas.android.com/apk/res/android" + android:interpolator="@android:anim/accelerate_interpolator" + android:shareInterpolator="true"> + <translate xmlns:android="http://schemas.android.com/apk/res/android" + android:fromXDelta="0%p" + android:toXDelta="0%p" + android:fromYDelta="0%p" + android:toYDelta="-20%p" + android:duration="500" /> + <scale + android:fromXScale="1.0" + android:toXScale="5.0" + android:fromYScale="1.0" + android:toYScale="5.0" + android:pivotX="50%" + android:pivotY="100%" + android:duration="500" /> +</set> |