github.com/rajveermalviya/gamen@v0.1.2-0.20220930195403-9be15877c1aa/internal/android/game-activity/include/game-text-input/gamecommon.h (about) 1 /* 2 * Copyright (C) 2021 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 * @defgroup game_common Game Common 19 * Common structures and functions used within AGDK 20 * @{ 21 */ 22 23 #pragma once 24 25 /** 26 * The type of a component for which to retrieve insets. See 27 * https://developer.android.com/reference/androidx/core/view/WindowInsetsCompat.Type 28 */ 29 typedef enum GameCommonInsetsType { 30 GAMECOMMON_INSETS_TYPE_CAPTION_BAR = 0, 31 GAMECOMMON_INSETS_TYPE_DISPLAY_CUTOUT, 32 GAMECOMMON_INSETS_TYPE_IME, 33 GAMECOMMON_INSETS_TYPE_MANDATORY_SYSTEM_GESTURES, 34 GAMECOMMON_INSETS_TYPE_NAVIGATION_BARS, 35 GAMECOMMON_INSETS_TYPE_STATUS_BARS, 36 GAMECOMMON_INSETS_TYPE_SYSTEM_BARS, 37 GAMECOMMON_INSETS_TYPE_SYSTEM_GESTURES, 38 GAMECOMMON_INSETS_TYPE_TAPABLE_ELEMENT, 39 GAMECOMMON_INSETS_TYPE_WATERFALL, 40 GAMECOMMON_INSETS_TYPE_COUNT 41 } GameCommonInsetsType;