Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6c12c2ec0a | ||
|
|
03ac9c1609 | ||
|
|
3eaf5c9da6 | ||
|
|
3275302f04 | ||
|
|
7d3ac54312 | ||
|
|
53cf42da41 | ||
|
|
de340afd33 | ||
|
|
7c65abc63a | ||
|
|
2082caa641 | ||
|
|
cee7a56dde |
@@ -1,7 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2018 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
@@ -1,13 +1,13 @@
|
||||
[
|
||||
{
|
||||
"repository" : "device_oneplus_sm8250-common",
|
||||
"branch" : "udc",
|
||||
"branch" : "bka",
|
||||
"target_path" : "device/oneplus/sm8250-common"
|
||||
},
|
||||
{
|
||||
"remote" : "github",
|
||||
"repository" : "TheMuppets/proprietary_vendor_oneplus_instantnoodle",
|
||||
"branch" : "lineage-21",
|
||||
"branch" : "lineage-23.0",
|
||||
"target_path" : "vendor/oneplus/instantnoodle"
|
||||
}
|
||||
]
|
||||
|
||||
27
extract-files.py
Executable file
27
extract-files.py
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env -S PYTHONPATH=../../../tools/extract-utils python3
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2024 The LineageOS Project
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
from extract_utils.main import (
|
||||
ExtractUtils,
|
||||
ExtractUtilsModule,
|
||||
)
|
||||
|
||||
namespace_imports = [
|
||||
'vendor/oneplus/sm8250-common',
|
||||
]
|
||||
|
||||
module = ExtractUtilsModule(
|
||||
'instantnoodle',
|
||||
'oneplus',
|
||||
namespace_imports=namespace_imports,
|
||||
add_firmware_proprietary_file=True,
|
||||
)
|
||||
|
||||
if __name__ == '__main__':
|
||||
utils = ExtractUtils.device_with_common(
|
||||
module, 'sm8250-common', module.vendor
|
||||
)
|
||||
utils.run()
|
||||
@@ -1,21 +0,0 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2016 The CyanogenMod Project
|
||||
# SPDX-FileCopyrightText: 2017-2024 The LineageOS Project
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
# If we're being sourced by the common script that we called,
|
||||
# stop right here. No need to go down the rabbit hole.
|
||||
if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
export DEVICE=instantnoodle
|
||||
export DEVICE_COMMON=sm8250-common
|
||||
export VENDOR=oneplus
|
||||
export VENDOR_COMMON=${VENDOR}
|
||||
|
||||
"./../../${VENDOR_COMMON}/${DEVICE_COMMON}/extract-files.sh" "$@"
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
# Inherit from those products. Most specific first.
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
||||
TARGET_SUPPORTS_OMX_SERVICE := false
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
||||
|
||||
# Inherit from instantnoodle device
|
||||
@@ -20,14 +21,12 @@ PRODUCT_MANUFACTURER := OnePlus
|
||||
PRODUCT_BRAND := OnePlus
|
||||
PRODUCT_MODEL := IN2015
|
||||
|
||||
PRODUCT_SYSTEM_NAME := OnePlus8
|
||||
PRODUCT_SYSTEM_DEVICE := OnePlus8
|
||||
|
||||
PRODUCT_GMS_CLIENTID_BASE := android-oneplus
|
||||
|
||||
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||
PRIVATE_BUILD_DESC="OnePlus8-user 13 RKQ1.211119.001 Q.1870b9f-4227_f18b release-keys" \
|
||||
TARGET_DEVICE=$(PRODUCT_SYSTEM_DEVICE) \
|
||||
TARGET_PRODUCT=$(PRODUCT_SYSTEM_NAME)
|
||||
|
||||
BUILD_FINGERPRINT := OnePlus/OnePlus8/OnePlus8:13/RKQ1.211119.001/Q.1870b9f-4227_f18b:user/release-keys
|
||||
BuildDesc="OnePlus8-user 13 RKQ1.211119.001 Q.1870b9f-4227_f18b release-keys" \
|
||||
BuildFingerprint=OnePlus/OnePlus8/OnePlus8:13/RKQ1.211119.001/Q.1870b9f-4227_f18b:user/release-keys \
|
||||
DeviceName=OnePlus8 \
|
||||
DeviceProduct=OnePlus8 \
|
||||
SystemDevice=OnePlus8 \
|
||||
SystemName=OnePlus8
|
||||
|
||||
@@ -8,6 +8,10 @@
|
||||
<!-- Allow CornerHandleView and PathSpecCornerPathRenderer to decouple from corner-radius -->
|
||||
<dimen name="config_rounded_mask_size">97px</dimen>
|
||||
|
||||
<!-- Microns/ums (1000 um = 1mm) per pixel for the given device. If unspecified, UI that
|
||||
relies on this value will not be sized correctly. -->
|
||||
<item name="pixel_pitch" format="float" type="dimen">63.22</item>
|
||||
|
||||
<!-- the padding on the start of the statusbar -->
|
||||
<dimen name="status_bar_padding_start">0px</dimen>
|
||||
|
||||
|
||||
@@ -19,5 +19,5 @@ qupfw.img;AB
|
||||
storsec.img;AB
|
||||
tz.img;AB
|
||||
uefisecapp.img;AB
|
||||
xbl_config.img;AB
|
||||
xbl.img;AB
|
||||
xbl_config.img;AB
|
||||
|
||||
1
setup-makefiles.py
Executable file
1
setup-makefiles.py
Executable file
@@ -0,0 +1 @@
|
||||
#!./extract-files.py --regenerate_makefiles
|
||||
@@ -1,21 +0,0 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2016 The CyanogenMod Project
|
||||
# SPDX-FileCopyrightText: 2017-2024 The LineageOS Project
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
# If we're being sourced by the common script that we called,
|
||||
# stop right here. No need to go down the rabbit hole.
|
||||
if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
export DEVICE=instantnoodle
|
||||
export DEVICE_COMMON=sm8250-common
|
||||
export VENDOR=oneplus
|
||||
export VENDOR_COMMON=${VENDOR}
|
||||
|
||||
"./../../${VENDOR_COMMON}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"
|
||||
@@ -1,35 +1,22 @@
|
||||
/*
|
||||
* Copyright (C) 2022 The LineageOS 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.
|
||||
* SPDX-FileCopyrightText: 2025 The LineageOS Project
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "TouchscreenGesture.h"
|
||||
|
||||
namespace aidl {
|
||||
namespace vendor {
|
||||
namespace lineage {
|
||||
namespace touch {
|
||||
namespace V1_0 {
|
||||
namespace implementation {
|
||||
|
||||
const int TouchscreenGesture::kSupportedGestures = makeBitField(
|
||||
kGestureUpVee, kGestureLeftVee, kGestureRightVee, kGestureCircle, kGestureDoubleSwipe,
|
||||
kGestureUpToDown, kGestureM, kGestureW, kGestureSingleTap, kGestureS);
|
||||
|
||||
} // namespace implementation
|
||||
} // namespace V1_0
|
||||
} // namespace touch
|
||||
} // namespace lineage
|
||||
} // namespace vendor
|
||||
} // namespace aidl
|
||||
|
||||
Reference in New Issue
Block a user