diff options
author | Yuli Huang <yuli@google.com> | 2011-10-20 18:29:05 +0800 |
---|---|---|
committer | Yuli Huang <yuli@google.com> | 2011-10-20 22:13:07 +0800 |
commit | d0b3cd7631f8ac34d5f6b4f51f05eba12bb4afd2 (patch) | |
tree | 4baf4c4bb1b52b62c14f61154b32c66d240589bd /res/layout | |
parent | 2612ce8d1ae5c3b363c2bc66f52020eba4138a1b (diff) | |
download | android_packages_apps_Snap-d0b3cd7631f8ac34d5f6b4f51f05eba12bb4afd2.tar.gz android_packages_apps_Snap-d0b3cd7631f8ac34d5f6b4f51f05eba12bb4afd2.tar.bz2 android_packages_apps_Snap-d0b3cd7631f8ac34d5f6b4f51f05eba12bb4afd2.zip |
Fix b/5401109.
1. Add FlipView similar to existing RotateView.
2. Add flipPhoto() similar to existing rotatePhoto() in PhotoView, and
add setRenderToFlip() in RendererUtils.
3. Make FlipAction use FlipView/PhotoView similar to how RotateAction
uses RotateView/PhotoView.
Change-Id: I5642266adbc248c0b8eda48ddc29558ae9cbd21e
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/photoeditor_flip_view.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/res/layout/photoeditor_flip_view.xml b/res/layout/photoeditor_flip_view.xml new file mode 100644 index 000000000..0b7a7a743 --- /dev/null +++ b/res/layout/photoeditor_flip_view.xml @@ -0,0 +1,20 @@ +<?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. +--> + +<com.android.gallery3d.photoeditor.actions.FlipView + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/fullscreen_effect_tool" + style="@style/FullscreenToolView"/> |