• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2022 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 
17 package android.gui;
18 
19 // Identifiers for all the events that may be recorded or reported.
20 
21 /** @hide */
22 @Backing(type="int")
23 enum FrameEvent {
24     POSTED = 0,
25     REQUESTED_PRESENT = 1,
26     LATCH = 2,
27     ACQUIRE = 3,
28     FIRST_REFRESH_START = 4,
29     LAST_REFRESH_START = 5,
30     GPU_COMPOSITION_DONE = 6,
31     DISPLAY_PRESENT = 7,
32     DEQUEUE_READY = 8,
33     RELEASE = 9,
34     EVENT_COUNT = 10 // Not an actual event.
35 }
36