blob: 2ab192b74814c3118d926148b538720bf8347562 [file] [log] [blame]
Dianne Hackborn289b9b62010-07-09 11:44:11 -07001/*
2 * Copyright (C) 2010 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
18#ifndef ANDROID_WINDOW_H
19#define ANDROID_WINDOW_H
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25/**
26 * Window flags, as per the Java API at android.view.WindowManager.LayoutParams.
27 */
28enum {
29 AWINDOW_FLAG_ALLOW_LOCK_WHILE_SCREEN_ON = 0x00000001,
30 AWINDOW_FLAG_DIM_BEHIND = 0x00000002,
31 AWINDOW_FLAG_BLUR_BEHIND = 0x00000004,
32 AWINDOW_FLAG_NOT_FOCUSABLE = 0x00000008,
33 AWINDOW_FLAG_NOT_TOUCHABLE = 0x00000010,
34 AWINDOW_FLAG_NOT_TOUCH_MODAL = 0x00000020,
35 AWINDOW_FLAG_TOUCHABLE_WHEN_WAKING = 0x00000040,
36 AWINDOW_FLAG_KEEP_SCREEN_ON = 0x00000080,
37 AWINDOW_FLAG_LAYOUT_IN_SCREEN = 0x00000100,
38 AWINDOW_FLAG_LAYOUT_NO_LIMITS = 0x00000200,
39 AWINDOW_FLAG_FULLSCREEN = 0x00000400,
40 AWINDOW_FLAG_FORCE_NOT_FULLSCREEN = 0x00000800,
41 AWINDOW_FLAG_DITHER = 0x00001000,
42 AWINDOW_FLAG_SECURE = 0x00002000,
43 AWINDOW_FLAG_SCALED = 0x00004000,
44 AWINDOW_FLAG_IGNORE_CHEEK_PRESSES = 0x00008000,
45 AWINDOW_FLAG_LAYOUT_INSET_DECOR = 0x00010000,
46 AWINDOW_FLAG_ALT_FOCUSABLE_IM = 0x00020000,
47 AWINDOW_FLAG_WATCH_OUTSIDE_TOUCH = 0x00040000,
48 AWINDOW_FLAG_SHOW_WHEN_LOCKED = 0x00080000,
49 AWINDOW_FLAG_SHOW_WALLPAPER = 0x00100000,
50 AWINDOW_FLAG_TURN_SCREEN_ON = 0x00200000,
51 AWINDOW_FLAG_DISMISS_KEYGUARD = 0x00400000,
52};
53
54#ifdef __cplusplus
55};
56#endif
57
58#endif // ANDROID_WINDOW_H