|
|
@ -1,5 +1,5 @@ |
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2022 The LineageOS Project |
|
|
|
* Copyright (C) 2022-2024 The LineageOS Project |
|
|
|
* |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
@ -17,6 +17,10 @@ |
|
|
|
#include <compositionengine/UdfpsExtension.h> |
|
|
|
#include <compositionengine/UdfpsExtension.h> |
|
|
|
#include <drm/sde_drm.h> |
|
|
|
#include <drm/sde_drm.h> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
uint32_t getUdfpsDimZOrder(uint32_t z) { |
|
|
|
|
|
|
|
return z; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
uint32_t getUdfpsZOrder(uint32_t z, bool touched) { |
|
|
|
uint32_t getUdfpsZOrder(uint32_t z, bool touched) { |
|
|
|
if (touched) { |
|
|
|
if (touched) { |
|
|
|
z |= FOD_PRESSED_LAYER_ZORDER; |
|
|
|
z |= FOD_PRESSED_LAYER_ZORDER; |
|
|
|