diff options
author | Chung-yih Wang <cywang@google.com> | 2011-10-18 12:47:44 +0800 |
---|---|---|
committer | Chung-yih Wang <cywang@google.com> | 2011-11-01 15:31:16 +0800 |
commit | d33109730e0ab81230f84e2bd35599e8e24fc4ba (patch) | |
tree | df80db1d6647bf952f495a81d8ab67ee7498880d /res/anim | |
parent | abf79a3e25e6c631275e9f81424c0aa25ec9191b (diff) | |
download | packages_apps_LegacyCamera-d33109730e0ab81230f84e2bd35599e8e24fc4ba.zip packages_apps_LegacyCamera-d33109730e0ab81230f84e2bd35599e8e24fc4ba.tar.gz packages_apps_LegacyCamera-d33109730e0ab81230f84e2bd35599e8e24fc4ba.tar.bz2 |
Change the default orientation to portrait.
bug:5446617
Since the orientation is mainly portrait on phones, the default
orientation of an application will decide if the window animation will
be played before it starts. In order to reduce the launch time of Camera
apps, this change is to skip the window animations by changing the default
orientation to portrait.
Change-Id: I6682ab408d7e8d1f0580f3c1600b6c9c3d6a7f6e
Diffstat (limited to 'res/anim')
-rw-r--r-- | res/anim/first_level_fade_in.xml (renamed from res/anim/grow_fade_in_from_bottom.xml) | 2 | ||||
-rw-r--r-- | res/anim/first_level_fade_out.xml (renamed from res/anim/shrink_fade_out_from_top.xml) | 2 | ||||
-rw-r--r-- | res/anim/mode_selection_fade_in.xml | 2 | ||||
-rw-r--r-- | res/anim/mode_selection_fade_out.xml | 2 | ||||
-rw-r--r-- | res/anim/second_level_fade_in.xml (renamed from res/anim/grow_fade_in_from_top.xml) | 2 | ||||
-rw-r--r-- | res/anim/second_level_fade_out.xml (renamed from res/anim/shrink_fade_out_from_bottom.xml) | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/res/anim/grow_fade_in_from_bottom.xml b/res/anim/first_level_fade_in.xml index e2ea9ff..9cd50b7 100644 --- a/res/anim/grow_fade_in_from_bottom.xml +++ b/res/anim/first_level_fade_in.xml @@ -14,5 +14,5 @@ limitations under the License. --> <set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator"> - <translate android:fromYDelta="100%p" android:toYDelta="0" android:duration="300" /> + <translate android:fromXDelta="100%p" android:toXDelta="0" android:duration="300" /> </set> diff --git a/res/anim/shrink_fade_out_from_top.xml b/res/anim/first_level_fade_out.xml index 4d31904..102b695 100644 --- a/res/anim/shrink_fade_out_from_top.xml +++ b/res/anim/first_level_fade_out.xml @@ -14,5 +14,5 @@ limitations under the License. --> <set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator"> - <translate android:fromYDelta="0" android:toYDelta="100%p" android:duration="300" /> + <translate android:fromXDelta="0" android:toXDelta="100%p" android:duration="300" /> </set> diff --git a/res/anim/mode_selection_fade_in.xml b/res/anim/mode_selection_fade_in.xml index bb710bb..be31689 100644 --- a/res/anim/mode_selection_fade_in.xml +++ b/res/anim/mode_selection_fade_in.xml @@ -14,5 +14,5 @@ limitations under the License. --> <set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator"> - <translate android:fromYDelta="66%p" android:toYDelta="0" android:duration="200" /> + <translate android:fromXDelta="-66%p" android:toXDelta="0" android:duration="200" /> </set> diff --git a/res/anim/mode_selection_fade_out.xml b/res/anim/mode_selection_fade_out.xml index c770420..a4d225b 100644 --- a/res/anim/mode_selection_fade_out.xml +++ b/res/anim/mode_selection_fade_out.xml @@ -14,5 +14,5 @@ limitations under the License. --> <set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator"> - <translate android:fromYDelta="0" android:toYDelta="66%p" android:duration="200" /> + <translate android:fromXDelta="0" android:toXDelta="-66%p" android:duration="200" /> </set> diff --git a/res/anim/grow_fade_in_from_top.xml b/res/anim/second_level_fade_in.xml index 22c33f7..baf165f 100644 --- a/res/anim/grow_fade_in_from_top.xml +++ b/res/anim/second_level_fade_in.xml @@ -14,5 +14,5 @@ limitations under the License. --> <set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator"> - <translate android:fromYDelta="-100%p" android:toYDelta="0" android:duration="300" /> + <translate android:fromXDelta="-100%p" android:toXDelta="0" android:duration="300" /> </set> diff --git a/res/anim/shrink_fade_out_from_bottom.xml b/res/anim/second_level_fade_out.xml index 04bfd6e..272f171 100644 --- a/res/anim/shrink_fade_out_from_bottom.xml +++ b/res/anim/second_level_fade_out.xml @@ -14,5 +14,5 @@ limitations under the License. --> <set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator"> - <translate android:fromYDelta="0" android:toYDelta="-100%p" android:duration="300" /> + <translate android:fromXDelta="0" android:toXDelta="-100%p" android:duration="300" /> </set> |