Winson Chung | 303e1ff | 2014-03-07 15:06:19 -0800 | [diff] [blame] | 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 |
Winson Chung | 303e1ff | 2014-03-07 15:06:19 -0800 | [diff] [blame] | 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 { |
Winson Chung | a4ccb86 | 2014-08-22 15:26:27 -0700 | [diff] [blame] | 28 | // Enables debug drawing for the transition thumbnail |
| 29 | public static final boolean EnableTransitionThumbnailDebugMode = false; |
Winson Chung | 814086d | 2014-05-07 15:01:14 -0700 | [diff] [blame] | 30 | // Enables the filtering of tasks according to their grouping |
Winson Chung | ffa2ec6 | 2014-07-03 15:54:42 -0700 | [diff] [blame] | 31 | public static final boolean EnableTaskFiltering = false; |
Winson Chung | 814086d | 2014-05-07 15:01:14 -0700 | [diff] [blame] | 32 | // Enables clipping of tasks against each other |
Winson Chung | bf5dbf1 | 2014-09-16 00:58:25 +0200 | [diff] [blame] | 33 | public static final boolean EnableTaskStackClipping = true; |
Winson Chung | 8e548f7 | 2014-06-24 14:40:53 -0700 | [diff] [blame] | 34 | // Enables tapping on the TaskBar to launch the task |
| 35 | public static final boolean EnableTaskBarTouchEvents = true; |
Winson Chung | 6cb485f | 2014-05-19 10:30:43 -0700 | [diff] [blame] | 36 | // Enables app-info pane on long-pressing the icon |
| 37 | public static final boolean EnableDevAppInfoOnLongPress = true; |
Winson Chung | 9cb5c4e | 2014-09-29 13:16:05 -0700 | [diff] [blame] | 38 | // Enables debug mode |
| 39 | public static final boolean EnableDebugMode = false; |
Winson Chung | 814086d | 2014-05-07 15:01:14 -0700 | [diff] [blame] | 40 | // Enables the search bar layout |
| 41 | public static final boolean EnableSearchLayout = true; |
Winson Chung | 60a729c | 2014-08-12 16:33:32 -0700 | [diff] [blame] | 42 | // Enables the thumbnail alpha on the front-most task |
| 43 | public static final boolean EnableThumbnailAlphaOnFrontmost = false; |
Winson Chung | 9f9679d | 2014-04-11 16:49:09 -0700 | [diff] [blame] | 44 | // This disables the bitmap and icon caches |
Winson Chung | 04dfe0d | 2014-03-14 14:06:29 -0700 | [diff] [blame] | 45 | public static final boolean DisableBackgroundCache = false; |
Winson Chung | 012ef36 | 2014-07-31 18:36:25 -0700 | [diff] [blame] | 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 |
Winson Chung | a10370f | 2014-04-02 12:25:04 -0700 | [diff] [blame] | 51 | public static final boolean EnableSystemServicesProxy = false; |
Winson Chung | 012ef36 | 2014-07-31 18:36:25 -0700 | [diff] [blame] | 52 | // Defines the number of mock recents packages to create |
Winson Chung | 2f2ca08 | 2014-04-03 18:05:29 -0700 | [diff] [blame] | 53 | public static final int SystemServicesProxyMockPackageCount = 3; |
Winson Chung | 012ef36 | 2014-07-31 18:36:25 -0700 | [diff] [blame] | 54 | // Defines the number of mock recents tasks to create |
Winson Chung | c9567c0 | 2014-06-16 20:25:51 -0700 | [diff] [blame] | 55 | public static final int SystemServicesProxyMockTaskCount = 100; |
Winson Chung | 814086d | 2014-05-07 15:01:14 -0700 | [diff] [blame] | 56 | } |
| 57 | } |
Winson Chung | 4d7b092 | 2014-03-13 17:14:17 -0700 | [diff] [blame] | 58 | |
Winson Chung | 303e1ff | 2014-03-07 15:06:19 -0800 | [diff] [blame] | 59 | public static class Values { |
Winson Chung | f7bca43 | 2014-04-30 17:11:13 -0700 | [diff] [blame] | 60 | public static class App { |
| 61 | public static int AppWidgetHostId = 1024; |
| 62 | public static String Key_SearchAppWidgetId = "searchAppWidgetId"; |
Winson Chung | 8eaeb7d | 2014-06-25 15:10:59 -0700 | [diff] [blame] | 63 | public static String Key_DebugModeEnabled = "debugModeEnabled"; |
| 64 | public static String DebugModeVersion = "A"; |
Winson Chung | f7bca43 | 2014-04-30 17:11:13 -0700 | [diff] [blame] | 65 | } |
Winson Chung | 303e1ff | 2014-03-07 15:06:19 -0800 | [diff] [blame] | 66 | |
Winson Chung | 303e1ff | 2014-03-07 15:06:19 -0800 | [diff] [blame] | 67 | public static class TaskStackView { |
Winson Chung | 47c4c69 | 2014-03-17 10:17:11 -0700 | [diff] [blame] | 68 | public static final int TaskStackOverscrollRange = 150; |
Winson Chung | 2f2ca08 | 2014-04-03 18:05:29 -0700 | [diff] [blame] | 69 | public static final int FilterStartDelay = 25; |
Winson Chung | 303e1ff | 2014-03-07 15:06:19 -0800 | [diff] [blame] | 70 | } |
Winson Chung | 303e1ff | 2014-03-07 15:06:19 -0800 | [diff] [blame] | 71 | } |
Winson Chung | 069707e | 2014-05-29 23:07:42 +0000 | [diff] [blame] | 72 | } |