17f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brown/*
27f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brown * Copyright (C) 2012 The Android Open Source Project
37f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brown *
47f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brown * Licensed under the Apache License, Version 2.0 (the "License");
57f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brown * you may not use this file except in compliance with the License.
67f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brown * You may obtain a copy of the License at
77f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brown *
87f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brown *      http://www.apache.org/licenses/LICENSE-2.0
97f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brown *
107f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brown * Unless required by applicable law or agreed to in writing, software
117f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brown * distributed under the License is distributed on an "AS IS" BASIS,
127f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brown * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
137f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brown * See the License for the specific language governing permissions and
147f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brown * limitations under the License.
157f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brown */
167f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brown
177f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brownpackage com.android.server.display;
187f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brown
197f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brown/**
207f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brown * Called within a Surface transaction whenever the size or orientation of a
217f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brown * display may have changed.  Provides an opportunity for the client to
227f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brown * update the position of its surfaces as part of the same transaction.
237f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brown */
247f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brownpublic interface DisplayTransactionListener {
257f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brown    void onDisplayTransaction();
267f3994ec2a5dce1a037f04714b1f25cab85affb6Jeff Brown}
27