OSDN Git Service

Adding some debug controls to test multi-window.
[android-x86/frameworks-base.git] / packages / SystemUI / src / com / android / systemui / recents / Constants.java
1 /*
2  * Copyright (C) 2014 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 com.android.systemui.recents;
18
19 /**
20  * Constants
21  */
22 public class Constants {
23     public static class DebugFlags {
24         // Enable this with any other debug flag to see more info
25         public static final boolean Verbose = false;
26
27         public static class App {
28             // Enables debug drawing for the transition thumbnail
29             public static final boolean EnableTransitionThumbnailDebugMode = false;
30             // Enables the filtering of tasks according to their grouping
31             public static final boolean EnableTaskFiltering = false;
32             // Enables app-info pane on long-pressing the icon
33             public static final boolean EnableDevAppInfoOnLongPress = true;
34             // Enables dismiss-all
35             public static final boolean EnableDismissAll = false;
36             // Enables debug mode
37             public static final boolean EnableDebugMode = false;
38             // Enables the search bar layout
39             public static final boolean EnableSearchLayout = true;
40             // Enables the thumbnail alpha on the front-most task
41             public static final boolean EnableThumbnailAlphaOnFrontmost = false;
42             // Enables all system stacks to show up in the same recents stack
43             public static final boolean EnableMultiStackToSingleStack = true;
44             // This disables the bitmap and icon caches
45             public static final boolean DisableBackgroundCache = false;
46             // Enables the simulated task affiliations
47             public static final boolean EnableSimulatedTaskGroups = false;
48             // Defines the number of mock task affiliations per group
49             public static final int TaskAffiliationsGroupCount = 12;
50             // Enables us to create mock recents tasks
51             public static final boolean EnableSystemServicesProxy = false;
52             // Defines the number of mock recents packages to create
53             public static final int SystemServicesProxyMockPackageCount = 3;
54             // Defines the number of mock recents tasks to create
55             public static final int SystemServicesProxyMockTaskCount = 100;
56         }
57     }
58
59     public static class Values {
60         public static class App {
61             public static int AppWidgetHostId = 1024;
62             public static String Key_SearchAppWidgetId = "searchAppWidgetId";
63             public static String Key_DebugModeEnabled = "debugModeEnabled";
64             public static String DebugModeVersion = "A";
65         }
66
67         public static class TaskStackView {
68             public static final int TaskStackMinOverscrollRange = 32;
69             public static final int TaskStackMaxOverscrollRange = 128;
70             public static final int FilterStartDelay = 25;
71         }
72     }
73 }