10e7ae4efe8f424fa1ced8f7e5f3d8ae78066592bAdrian Roos/*
20e7ae4efe8f424fa1ced8f7e5f3d8ae78066592bAdrian Roos * Copyright (C) 2010 The Android Open Source Project
30e7ae4efe8f424fa1ced8f7e5f3d8ae78066592bAdrian Roos *
40e7ae4efe8f424fa1ced8f7e5f3d8ae78066592bAdrian Roos * Licensed under the Apache License, Version 2.0 (the "License");
50e7ae4efe8f424fa1ced8f7e5f3d8ae78066592bAdrian Roos * you may not use this file except in compliance with the License.
60e7ae4efe8f424fa1ced8f7e5f3d8ae78066592bAdrian Roos * You may obtain a copy of the License at
70e7ae4efe8f424fa1ced8f7e5f3d8ae78066592bAdrian Roos *
80e7ae4efe8f424fa1ced8f7e5f3d8ae78066592bAdrian Roos *      http://www.apache.org/licenses/LICENSE-2.0
90e7ae4efe8f424fa1ced8f7e5f3d8ae78066592bAdrian Roos *
100e7ae4efe8f424fa1ced8f7e5f3d8ae78066592bAdrian Roos * Unless required by applicable law or agreed to in writing, software
110e7ae4efe8f424fa1ced8f7e5f3d8ae78066592bAdrian Roos * distributed under the License is distributed on an "AS IS" BASIS,
120e7ae4efe8f424fa1ced8f7e5f3d8ae78066592bAdrian Roos * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
130e7ae4efe8f424fa1ced8f7e5f3d8ae78066592bAdrian Roos * See the License for the specific language governing permissions and
140e7ae4efe8f424fa1ced8f7e5f3d8ae78066592bAdrian Roos * limitations under the License.
150e7ae4efe8f424fa1ced8f7e5f3d8ae78066592bAdrian Roos */
16dc8a7f69d7df5f1ca29763995a0d55acf7936fc6Dianne Hackbornpackage com.android.internal.view;
17dc8a7f69d7df5f1ca29763995a0d55acf7936fc6Dianne Hackborn
181e4b9f3936d6f357e89360293e05a0e16d5fa440Dianne Hackbornimport android.view.InputQueue;
19dc8a7f69d7df5f1ca29763995a0d55acf7936fc6Dianne Hackbornimport android.view.SurfaceHolder;
20dc8a7f69d7df5f1ca29763995a0d55acf7936fc6Dianne Hackborn
21dc8a7f69d7df5f1ca29763995a0d55acf7936fc6Dianne Hackborn/** hahahah */
22dc8a7f69d7df5f1ca29763995a0d55acf7936fc6Dianne Hackbornpublic interface RootViewSurfaceTaker {
23d76b67c340d1564abf8d14d976fdaf83bf2b3320Dianne Hackborn    SurfaceHolder.Callback2 willYouTakeTheSurface();
24dc8a7f69d7df5f1ca29763995a0d55acf7936fc6Dianne Hackborn    void setSurfaceType(int type);
25dc8a7f69d7df5f1ca29763995a0d55acf7936fc6Dianne Hackborn    void setSurfaceFormat(int format);
26dc8a7f69d7df5f1ca29763995a0d55acf7936fc6Dianne Hackborn    void setSurfaceKeepScreenOn(boolean keepOn);
271e4b9f3936d6f357e89360293e05a0e16d5fa440Dianne Hackborn    InputQueue.Callback willYouTakeTheInputQueue();
280e7ae4efe8f424fa1ced8f7e5f3d8ae78066592bAdrian Roos    void onRootViewScrollYChanged(int scrollY);
29dc8a7f69d7df5f1ca29763995a0d55acf7936fc6Dianne Hackborn}
30