2 * Copyright (C) 2014 The Android Open Source Project
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 package com.android.systemui.recents;
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;
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;
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 // This disables the bitmap and icon caches
43 public static final boolean DisableBackgroundCache = false;
44 // Enables the simulated task affiliations
45 public static final boolean EnableSimulatedTaskGroups = false;
46 // Defines the number of mock task affiliations per group
47 public static final int TaskAffiliationsGroupCount = 12;
48 // Enables us to create mock recents tasks
49 public static final boolean EnableSystemServicesProxy = false;
50 // Defines the number of mock recents packages to create
51 public static final int SystemServicesProxyMockPackageCount = 3;
52 // Defines the number of mock recents tasks to create
53 public static final int SystemServicesProxyMockTaskCount = 100;
57 public static class Values {
58 public static class App {
59 public static int AppWidgetHostId = 1024;
60 public static String Key_SearchAppWidgetId = "searchAppWidgetId";
61 public static String Key_DebugModeEnabled = "debugModeEnabled";
62 public static String DebugModeVersion = "A";
65 public static class TaskStackView {
66 public static final int TaskStackMinOverscrollRange = 32;
67 public static final int TaskStackMaxOverscrollRange = 128;
68 public static final int FilterStartDelay = 25;