Bill Lin daa9a40714 Create OneHandedModeGesturalOverlay for navigation_bar_gesture_height
When one handed mode enabled, override navigation_bar_gesture_height
with larger region to get better UX on gesture

Test: atest com.android.systemui.onehanded
Test: adb shell cmd overlay list, check overlay package state
      enabled : [x] com.android.internal.systemui.onehanded.gestural
      disabled :[ ] com.android.internal.systemui.onehanded.gestural
Bug: 157103757
Change-Id: Id50cdb69e07fa344a142105cd7b85494d9d1a706
2020-05-29 14:37:26 +08:00

90 lines
2.9 KiB
Makefile

# Copyright (C) 2019 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.
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := frameworks-base-overlays
LOCAL_REQUIRED_MODULES := \
AccentColorBlackOverlay \
AccentColorCinnamonOverlay \
AccentColorOceanOverlay \
AccentColorOrchidOverlay \
AccentColorSpaceOverlay \
AccentColorGreenOverlay \
AccentColorPurpleOverlay \
AccentColorPaletteOverlay \
AccentColorCarbonOverlay \
AccentColorSandOverlay \
AccentColorAmethystOverlay \
AccentColorAquamarineOverlay \
AccentColorTangerineOverlay \
DisplayCutoutEmulationCornerOverlay \
DisplayCutoutEmulationDoubleOverlay \
DisplayCutoutEmulationHoleOverlay \
DisplayCutoutEmulationTallOverlay \
DisplayCutoutEmulationWaterfallOverlay \
FontNotoSerifSourceOverlay \
IconPackCircularAndroidOverlay \
IconPackCircularLauncherOverlay \
IconPackCircularSettingsOverlay \
IconPackCircularSystemUIOverlay \
IconPackCircularThemePickerOverlay \
IconPackVictorAndroidOverlay \
IconPackVictorLauncherOverlay \
IconPackVictorSettingsOverlay \
IconPackVictorSystemUIOverlay \
IconPackVictorThemePickerOverlay \
IconPackSamAndroidOverlay \
IconPackSamLauncherOverlay \
IconPackSamSettingsOverlay \
IconPackSamSystemUIOverlay \
IconPackSamThemePickerOverlay \
IconPackKaiAndroidOverlay \
IconPackKaiLauncherOverlay \
IconPackKaiSettingsOverlay \
IconPackKaiSystemUIOverlay \
IconPackKaiThemePickerOverlay \
IconPackFilledAndroidOverlay \
IconPackFilledLauncherOverlay \
IconPackFilledSettingsOverlay \
IconPackFilledSystemUIOverlay \
IconPackFilledThemePickerOverlay \
IconPackRoundedAndroidOverlay \
IconPackRoundedLauncherOverlay \
IconPackRoundedSettingsOverlay \
IconPackRoundedSystemUIOverlay \
IconPackRoundedThemePickerOverlay \
IconShapePebbleOverlay \
IconShapeRoundedRectOverlay \
IconShapeSquircleOverlay \
IconShapeTaperedRectOverlay \
IconShapeTeardropOverlay \
IconShapeVesselOverlay \
NavigationBarMode3ButtonOverlay \
NavigationBarModeGesturalOverlay \
NavigationBarModeGesturalOverlayNarrowBack \
NavigationBarModeGesturalOverlayWideBack \
NavigationBarModeGesturalOverlayExtraWideBack \
OneHandedModeGesturalOverlay \
preinstalled-packages-platform-overlays.xml
include $(BUILD_PHONY_PACKAGE)
include $(CLEAR_VARS)
LOCAL_MODULE := frameworks-base-overlays-debug
include $(BUILD_PHONY_PACKAGE)
include $(call first-makefiles-under,$(LOCAL_PATH))