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/mode_selection_fade_out.xml | |
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/mode_selection_fade_out.xml')
-rw-r--r-- | res/anim/mode_selection_fade_out.xml | 2 |
1 files changed, 1 insertions, 1 deletions
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> |