blob: 4c76af70561457f01fe9eb71c20e17169c1ecd74 [file] [log] [blame]
Winson Chung303e1ff2014-03-07 15:06:19 -08001/*
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
17package com.android.systemui.recents;
18
19/**
20 * Constants
Winson Chung303e1ff2014-03-07 15:06:19 -080021 */
22public 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 {
Winson Chunga4ccb862014-08-22 15:26:27 -070028 // Enables debug drawing for the transition thumbnail
29 public static final boolean EnableTransitionThumbnailDebugMode = false;
Winson Chung814086d2014-05-07 15:01:14 -070030 // Enables the filtering of tasks according to their grouping
Winson Chungffa2ec62014-07-03 15:54:42 -070031 public static final boolean EnableTaskFiltering = false;
Winson Chung814086d2014-05-07 15:01:14 -070032 // Enables clipping of tasks against each other
Winson Chungbf5dbf12014-09-16 00:58:25 +020033 public static final boolean EnableTaskStackClipping = true;
Winson Chung8e548f72014-06-24 14:40:53 -070034 // Enables tapping on the TaskBar to launch the task
35 public static final boolean EnableTaskBarTouchEvents = true;
Winson Chung6cb485f2014-05-19 10:30:43 -070036 // Enables app-info pane on long-pressing the icon
37 public static final boolean EnableDevAppInfoOnLongPress = true;
Winson Chung9cb5c4e2014-09-29 13:16:05 -070038 // Enables debug mode
39 public static final boolean EnableDebugMode = false;
Winson Chung814086d2014-05-07 15:01:14 -070040 // Enables the search bar layout
41 public static final boolean EnableSearchLayout = true;
Winson Chung60a729c2014-08-12 16:33:32 -070042 // Enables the thumbnail alpha on the front-most task
43 public static final boolean EnableThumbnailAlphaOnFrontmost = false;
Winson Chung9f9679d2014-04-11 16:49:09 -070044 // This disables the bitmap and icon caches
Winson Chung04dfe0d2014-03-14 14:06:29 -070045 public static final boolean DisableBackgroundCache = false;
Winson Chung012ef362014-07-31 18:36:25 -070046 // 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
Winson Chunga10370f2014-04-02 12:25:04 -070051 public static final boolean EnableSystemServicesProxy = false;
Winson Chung012ef362014-07-31 18:36:25 -070052 // Defines the number of mock recents packages to create
Winson Chung2f2ca082014-04-03 18:05:29 -070053 public static final int SystemServicesProxyMockPackageCount = 3;
Winson Chung012ef362014-07-31 18:36:25 -070054 // Defines the number of mock recents tasks to create
Winson Chungc9567c02014-06-16 20:25:51 -070055 public static final int SystemServicesProxyMockTaskCount = 100;
Winson Chung814086d2014-05-07 15:01:14 -070056 }
57 }
Winson Chung4d7b0922014-03-13 17:14:17 -070058
Winson Chung303e1ff2014-03-07 15:06:19 -080059 public static class Values {
Winson Chungf7bca432014-04-30 17:11:13 -070060 public static class App {
61 public static int AppWidgetHostId = 1024;
62 public static String Key_SearchAppWidgetId = "searchAppWidgetId";
Winson Chung8eaeb7d2014-06-25 15:10:59 -070063 public static String Key_DebugModeEnabled = "debugModeEnabled";
64 public static String DebugModeVersion = "A";
Winson Chungf7bca432014-04-30 17:11:13 -070065 }
Winson Chung303e1ff2014-03-07 15:06:19 -080066
Winson Chung303e1ff2014-03-07 15:06:19 -080067 public static class TaskStackView {
Winson Chung47c4c692014-03-17 10:17:11 -070068 public static final int TaskStackOverscrollRange = 150;
Winson Chung2f2ca082014-04-03 18:05:29 -070069 public static final int FilterStartDelay = 25;
Winson Chung303e1ff2014-03-07 15:06:19 -080070 }
Winson Chung303e1ff2014-03-07 15:06:19 -080071 }
Winson Chung069707e2014-05-29 23:07:42 +000072}