mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 19:38:21 +00:00
This enables to touch anywhere in the scrollbar to directly scroll to that particular point without the need of exactly touching the thumb to start fastscrolling. This feature is currently behind a feature flag LAUNCHER3_DIRECT_SCROLL and enabled by default. Change-Id: I5b86c6acb71ff0c88476343657da221c7bdc59c3
43 lines
1.8 KiB
Java
43 lines
1.8 KiB
Java
/*
|
|
* Copyright (C) 2015 The Android Open Source Project
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
package com.android.launcher3.config;
|
|
|
|
/**
|
|
* Defines a set of flags used to control various launcher behaviors
|
|
*/
|
|
public final class FeatureFlags {
|
|
private FeatureFlags() {}
|
|
|
|
// Custom flags go below this
|
|
public static boolean LAUNCHER3_DISABLE_ICON_NORMALIZATION = false;
|
|
public static boolean LAUNCHER3_LEGACY_FOLDER_ICON = false;
|
|
public static boolean LAUNCHER3_USE_SYSTEM_DRAG_DRIVER = true;
|
|
public static boolean LAUNCHER3_DISABLE_PINCH_TO_OVERVIEW = false;
|
|
public static boolean LAUNCHER3_ALL_APPS_PULL_UP = true;
|
|
|
|
// Feature flag to enable moving the QSB on the 0th screen of the workspace.
|
|
public static final boolean QSB_ON_FIRST_SCREEN = true;
|
|
// When enabled the all-apps icon is not added to the hotseat.
|
|
public static final boolean NO_ALL_APPS_ICON = true;
|
|
// When enabled fling down gesture on the first workspace triggers search.
|
|
public static final boolean PULLDOWN_SEARCH = false;
|
|
// When enabled the status bar may show dark icons based on the top of the wallpaper.
|
|
public static final boolean LIGHT_STATUS_BAR = false;
|
|
// When enabled allows to use any point on the fast scrollbar to start dragging.
|
|
public static final boolean LAUNCHER3_DIRECT_SCROLL = true;
|
|
}
|