blob: e84654821210413b908dce6b8bc8f3917eb90e21 [file] [log] [blame]
Doris Liu6827ce22013-03-12 19:24:28 -07001/*
2 * Copyright (C) 2013 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package com.android.camera;
18
19import android.view.View;
20
21import com.android.camera.ShutterButton.OnShutterButtonListener;
22
23public interface VideoController extends OnShutterButtonListener {
24
25 public void onReviewDoneClicked(View view);
26 public void onReviewCancelClicked(View viwe);
27 public void onReviewPlayClicked(View view);
28
29 public boolean isVideoCaptureIntent();
Doris Liu69ef5ea2013-05-07 13:48:10 -070030 public boolean isInReviewMode();
Doris Liu6827ce22013-03-12 19:24:28 -070031 public int onZoomChanged(int index);
32
33 public void onSingleTapUp(View view, int x, int y);
34
35 public void stopPreview();
Doris Liu44ab1472013-06-07 18:04:57 -070036
37 public void updateCameraOrientation();
Angus Kong395ee2d2013-07-15 12:42:41 -070038
39 // Callbacks for camera preview UI events.
40 public void onPreviewUIReady();
41 public void onPreviewUIDestroyed();
Doris Liu6827ce22013-03-12 19:24:28 -070042}