Home | History | Annotate | Download | only in config
      1 /*
      2  * Copyright (C) 2015 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.launcher3.config;
     18 
     19 /**
     20  * Defines a set of flags used to control various launcher behaviors
     21  */
     22 public final class FeatureFlags {
     23     private FeatureFlags() {}
     24 
     25     // Custom flags go below this
     26     public static boolean LAUNCHER3_DISABLE_ICON_NORMALIZATION = false;
     27     // As opposed to the new spring-loaded workspace.
     28     public static boolean LAUNCHER3_LEGACY_WORKSPACE_DND = false;
     29     public static boolean LAUNCHER3_LEGACY_FOLDER_ICON = false;
     30     public static boolean LAUNCHER3_USE_SYSTEM_DRAG_DRIVER = true;
     31     public static boolean LAUNCHER3_DISABLE_PINCH_TO_OVERVIEW = false;
     32     public static boolean LAUNCHER3_ALL_APPS_PULL_UP = true;
     33 
     34     // Feature flag to enable moving the QSB on the 0th screen of the workspace.
     35     public static final boolean QSB_ON_FIRST_SCREEN = true;
     36     // When enabled the all-apps icon is not added to the hotseat.
     37     public static final boolean NO_ALL_APPS_ICON = true;
     38     // When enabled fling down gesture on the first workspace triggers search.
     39     public static final boolean PULLDOWN_SEARCH = false;
     40     // When enabled the status bar may show dark icons based on the top of the wallpaper.
     41     public static final boolean LIGHT_STATUS_BAR = false;
     42 }
     43