1 /* 2 * Copyright (C) 2007 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 package com.android.server.wm; 19 20 /** 21 * Common class for the various debug {@link android.util.Log} output configuration in the window 22 * manager package. 23 */ 24 public class WindowManagerDebugConfig { 25 // All output logs in the window manager package use the {@link #TAG_WM} string for tagging 26 // their log output. This makes it easy to identify the origin of the log message when sifting 27 // through a large amount of log output from multiple sources. However, it also makes trying 28 // to figure-out the origin of a log message while debugging the window manager a little 29 // painful. By setting this constant to true, log messages from the window manager package 30 // will be tagged with their class names instead fot the generic tag. 31 static final boolean TAG_WITH_CLASS_NAME = false; 32 33 // Default log tag for the window manager package. 34 static final String TAG_WM = "WindowManager"; 35 36 static final boolean DEBUG = false; 37 static final boolean DEBUG_ANIM = false; 38 static final boolean DEBUG_LAYOUT = false; 39 static final boolean DEBUG_LAYERS = false; 40 static final boolean DEBUG_INPUT = false; 41 static final boolean DEBUG_INPUT_METHOD = false; 42 static final boolean DEBUG_VISIBILITY = false; 43 static final boolean DEBUG_CONFIGURATION = false; 44 static final boolean DEBUG_STARTING_WINDOW_VERBOSE = false; 45 static final boolean DEBUG_WALLPAPER = false; 46 static final boolean DEBUG_WALLPAPER_LIGHT = false || DEBUG_WALLPAPER; 47 static final boolean DEBUG_DRAG = true; 48 static final boolean DEBUG_SCREENSHOT = false; 49 static final boolean DEBUG_LAYOUT_REPEATS = false; 50 static final boolean DEBUG_WINDOW_TRACE = false; 51 static final boolean DEBUG_TASK_MOVEMENT = false; 52 static final boolean DEBUG_TASK_POSITIONING = false; 53 static final boolean DEBUG_ROOT_TASK = false; 54 static final boolean DEBUG_DISPLAY = false; 55 static final boolean DEBUG_POWER = false; 56 static final boolean SHOW_VERBOSE_TRANSACTIONS = false; 57 static final boolean SHOW_LIGHT_TRANSACTIONS = false; 58 static final boolean SHOW_STACK_CRAWLS = false; 59 static final boolean DEBUG_WINDOW_CROP = false; 60 static final boolean DEBUG_UNKNOWN_APP_VISIBILITY = false; 61 } 62