FeatureFlags.java 1.8 KB

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