194ca8baae7e6e3885d895c095890eabf30d922e2Chih-yu Huang/* 294ca8baae7e6e3885d895c095890eabf30d922e2Chih-yu Huang * Copyright (C) 2011 The Android Open Source Project 394ca8baae7e6e3885d895c095890eabf30d922e2Chih-yu Huang * 494ca8baae7e6e3885d895c095890eabf30d922e2Chih-yu Huang * Licensed under the Apache License, Version 2.0 (the "License"); 594ca8baae7e6e3885d895c095890eabf30d922e2Chih-yu Huang * you may not use this file except in compliance with the License. 694ca8baae7e6e3885d895c095890eabf30d922e2Chih-yu Huang * You may obtain a copy of the License at 794ca8baae7e6e3885d895c095890eabf30d922e2Chih-yu Huang * 894ca8baae7e6e3885d895c095890eabf30d922e2Chih-yu Huang * http://www.apache.org/licenses/LICENSE-2.0 994ca8baae7e6e3885d895c095890eabf30d922e2Chih-yu Huang * 1094ca8baae7e6e3885d895c095890eabf30d922e2Chih-yu Huang * Unless required by applicable law or agreed to in writing, software 1194ca8baae7e6e3885d895c095890eabf30d922e2Chih-yu Huang * distributed under the License is distributed on an "AS IS" BASIS, 1294ca8baae7e6e3885d895c095890eabf30d922e2Chih-yu Huang * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1394ca8baae7e6e3885d895c095890eabf30d922e2Chih-yu Huang * See the License for the specific language governing permissions and 1494ca8baae7e6e3885d895c095890eabf30d922e2Chih-yu Huang * limitations under the License. 1594ca8baae7e6e3885d895c095890eabf30d922e2Chih-yu Huang */ 1694ca8baae7e6e3885d895c095890eabf30d922e2Chih-yu Huang 1794ca8baae7e6e3885d895c095890eabf30d922e2Chih-yu Huangpackage com.android.camera.ui; 1894ca8baae7e6e3885d895c095890eabf30d922e2Chih-yu Huang 1994ca8baae7e6e3885d895c095890eabf30d922e2Chih-yu Huangpublic interface Rotatable { 202865863f6a1887bda17e0a58a6a0f3aaac237cb6Angus Kong // Set parameter 'animation' to true to have animation when rotation. 212865863f6a1887bda17e0a58a6a0f3aaac237cb6Angus Kong public void setOrientation(int orientation, boolean animation); 2294ca8baae7e6e3885d895c095890eabf30d922e2Chih-yu Huang} 23