1/*
2 * Copyright (C) 2014 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.app;
18
19import android.content.Context;
20import com.android.camera.debug.Log;
21
22import java.util.LinkedList;
23
24public class MotionManager {
25    public static interface MotionListener {
26        public void onMoving();
27    }
28
29    private final LinkedList<MotionListener> mListeners =
30        new LinkedList<MotionListener>();
31
32    public MotionManager(Context context) {
33    }
34
35    public void addListener(MotionListener listener) {
36    }
37
38    public void removeListener(MotionListener listener) {
39    }
40
41    public void reset() {
42    }
43
44    public void start() {
45    }
46
47    public void stop() {
48    }
49
50    public boolean isEnabled() {
51        return false;
52    }
53
54    public void onGyroUpdate(long t, float x, float y, float z) {
55    }
56}
57