145 Commits

Author SHA1 Message Date
Abhay Singh Gill
10614d3aed ParanoidGlyph: Switch back to future instance for csv & essential led animations
Signed-off-by: Abhay Singh Gill <abhaygill017@gmail.com>
2026-01-18 12:40:29 +03:00
nyxalune
515b2d6ac1 ParanoidGlyph: Improve Turkish translations
Since Lineage's auto translations sounds bad, lets change it and make it like stock! You can contact me on Telegram if you have suggestions for your own language.

Signed-off by: nyxalune <akfylmz350@gmail.com
2025-12-21 15:34:07 +03:00
Alexander Koskovich
7b2c94ea83 spacewar: amplifier: Clean up makefile.
Change-Id: I416005aec3e4b6a686079d7e4796e5b548ee0e9f
2025-11-29 09:25:59 +00:00
Pig
b085a641a8 spacewar: amplifier: Fix device list initializations
Update missing device list initializations.

Reported-by: Signed-off-by: SayanAcharya <rowdysayan99@gmail.com>
Co-authored-by: Signed-off-by: SayanAcharya <rowdysayan99@gmail.com>
Change-Id: Iaa44429e7a2514f882828089355fca1634b79200
2025-11-29 09:25:49 +00:00
PIPIPIG233666
2c885f3699 spacewar: Add custom audio amplifier for TFA amp feedback
* Based on observing reverse engineering from davinci stock audio HAL.
 * Fixes speaker distortion on high volume.

 * Same logic with Smosia, rewritten by me.

Co-authored-by: Smosia <stasenko_nv@nrcki.ru>
Change-Id: I369555a9fcb06065177636b436d2e006c7a0b07d
2025-11-29 09:25:01 +00:00
aswin7469
b92e2290a6 ParanoidGlyph: provide homepage icon color scheme for Expressive design
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2025-11-29 09:22:43 +00:00
aswin7469
a59d5fc9a4 nt-fwk: create stub for NtOnlineConfig
* Required by nothing camera app
* Part of Nt-framework on stock
2025-11-29 09:22:25 +00:00
Ghosuto
9474c46db8 ParanoidGlyph: Setup material expressive design for preferences
Signed-off-by: Ghosuto <clash.raja10@gmail.com>
2025-11-29 09:22:04 +00:00
LineageOS Infra
ddd1269f8b Automatic translation import
Change-Id: I1c1e173cd616f5c10ae434745c62dffa1eaa53a4
2025-09-15 16:55:00 +00:00
LineageOS Infra
93388ced04 Automatic translation import
Change-Id: Ib39dc4fd06ca4a80d6accf2413ec7d5cf5908b31
2025-09-01 14:54:29 +00:00
LineageOS Infra
60c9bee96f Automatic translation import
Change-Id: I015dc6f073211c88999f0210ca9e8e862935a745
2025-08-01 21:13:41 +00:00
LineageOS Infra
9428706db9 Automatic translation import
Change-Id: If3052f8a6bc7e197d8f768c824c91c2d5361d792
2025-07-15 17:08:20 +00:00
LineageOS Infra
a8dc577e45 Automatic translation import
Change-Id: If97f5b7e00ed6b039fb1f039fbefaeccdb1b6832
2025-06-15 14:13:35 +00:00
LineageOS Infra
ba78e3b1c9 Automatic translation import
Change-Id: Ie6ff76aff37545bc34086de3c18c34f57b5ad5d8
2025-05-01 16:33:18 +00:00
LineageOS Infra
e82b8eb7bd Automatic translation import
Change-Id: I7eb9d223de8e25d91b8328dae09a5c70305cf91b
2025-04-15 13:55:16 +00:00
LineageOS Infra
672887a992 Automatic translation import
Change-Id: I351e18cf16e8db9996cdee34f3d96c1fa137ea0b
2025-04-01 15:13:37 +00:00
LineageOS Infra
9761288c7a Automatic translation import
Change-Id: I6ea1fb9e80ca04a61eff3e5d22acddfecbaa6076
2025-03-01 17:50:20 +00:00
BrainKub
c8c7b1cdb3 GlyphAdapter: sending data to ParanoidGlyph thirdparty service
Now we can control glyph leds from other applications using Glyph SDK. Tested on glyphify and glyph composer

Change-Id: I1b4a5d28b524eb24abda02696b77253707f9edd5
2025-03-01 17:29:15 +00:00
BrainKub
c59c1d5a2c ParanoidGlyph: Implement ThirdParty service
An instance of IGlyphService class receive data about LED updates and then send it to the AnimationManager

Change-Id: I682aa0d17db6d796483eee5e1aa6374442cefe3e
2025-03-01 17:28:54 +00:00
Eugene Lepshy
c348fcb7b4 Implement GlyphAdapter for thirdparty apps
Thirdparty apps like glyphcomposer only send data to an app with a package name of com.nothing.thirdparty, so we'll implement an app that will receive data and then send it to ParanoidGlyph

Change-Id: I2bf88d6481af49dcac5567c6ea7577a083229132
2025-03-01 17:07:14 +00:00
LineageOS Infra
9e20049d65 Automatic translation import
Change-Id: I09f96402383eddcb7e0d4d658aa05575c27133ab
2025-02-15 15:47:19 +00:00
aswin7469
b68ebd1bae ParanoidGlyph: move Glyph setting to personalization category on main page
Change-Id: I577d21e9b935680c6aea965ae4ad31c469d9167d
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2025-02-02 01:55:49 +00:00
Ghosuto
5dfccb3748 ParanoidGlyph: Enable enableOnBackInvokedCallback
Change-Id: I417ab29a8f87d0e4170d06e6506363f776887ced
2025-02-02 04:34:23 +03:00
BrainKub
fe08f0296b ParanoidGlyph: import glyph torch tile icon from NOS 3.0
Change-Id: I9e8d46bd8a3c4e2a8a7fcd49d822b5c3ac4b1611
Signed-off-by: BrainKub <fyhtjnt@gmail.com>
2025-02-02 04:34:17 +03:00
LineageOS Infra
f4b425daae Automatic translation import
Change-Id: I48c3c54bab845b3b1d2310e51fc5eb075322ebe7
2025-02-01 14:28:33 +00:00
chandu078
040397bcb6 nt-fwk: Update nt-fwk for NOS 2.5.5
Change-Id: I30cd4f45ffc86355bcdbc436c0ff0f292951b678
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-01-20 22:35:36 +01:00
cjh1249131356
9444409ad2 Introduce nt-fwk
Used by Hotword Enrollment.

Change-Id: I65f5da0ba6dcd2e83a6bbc5a14567474686beedc
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-01-20 22:35:36 +01:00
Bruno Martins
5b11e7851e ParanoidGlyph: Migrate MainSwitchBar and Switch to Material3
This follows Settings style updates for Android U.

Change-Id: Id6d3e7f193b6ef9fa6419d164265062328eb9170
2025-01-20 22:35:36 +01:00
BrainKub
80e7707345 ParanoidGlyph: Bring back reverse charging animatiom from NOS 1.0
Change-Id: If1db12ca7a30196285bf8ddaa26995acf3356416
Signed-off-by: BrainKub <fyhtjnt@gmail.com>
2025-01-20 22:35:36 +01:00
Michael Bestas
de6ae3d6e7 ParanoidGlyph: Convert to SwitchPreferenceCompat
Change-Id: Ic1cbaba37d499da1855af9c3930f2df426e2d3af
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2025-01-20 22:35:36 +01:00
Peter Kalauskas
cf7f86b579 ParanoidGlyph: Enable use_resource_processor for all sysui deps
This will make the build faster

Test: m checkbuild
Bug: 295208392
Change-Id: I0c1bd901429bbe3bf81c1530e156735f8637a96e
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2025-01-20 22:35:36 +01:00
Chaohui Wang
ab7ee24588 ParanoidGlyph: Migrate to CompoundButton.OnCheckedChangeListener
Switch and SwitchCompat are both CompoundButton.

Using CompoundButton in Java will helps migration in the future.

Bug: 306658427
Test: manual - check Settings pages
Test: m RunSettingsLibRoboTests
Change-Id: I85a70d4c504d8584030ea4a058f30d74206ab835
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2025-01-20 22:35:36 +01:00
Fabian Leutenegger
86cb841ff2 ParanoidGlyph: Remove "Default" glyph animation
* that one was clearly not meant to be used

Change-Id: Ifa36cbee97f583ac6db681fe45f1837d8420aaac
2025-01-20 22:35:36 +01:00
Fabian Leutenegger
d3a04c4850 ParanoidGlyph: Improve pattern whitespace handling
Required after :-
d285a9aa0b

Change-Id: Ie0a101abc364199eead9438c9afc87cb7006e9ff
2025-01-20 22:35:36 +01:00
Fabian Leutenegger
7e03aac414 ParanoidGlyph: Better handle cases where requested animation doesn't exist
* also improve asset and resource handling ResourceUtils

Change-Id: I7144b0b767567b7887d7321d97d94d7cc07c3e29
2025-01-20 22:35:36 +01:00
Fabian Leutenegger
2fdabaf588 ParanoidGlyph: Update assets from NOS 2.5
* also "fix" default animations for phone (2)

Change-Id: I7559a2238528136435b2063450e689c391f6f12a
2025-01-20 22:35:36 +01:00
Fabian Leutenegger
acb0c40105 ParanoidGlyph: Update wired charging animation
* looks like the one from NOS now

Change-Id: I358f8fb612a1882c09d0b8c45e52b4897db6bc71
2025-01-20 22:35:36 +01:00
Fabian Leutenegger
108540770b ParanoidGlyph: Make battery level indicator use frame_brightness
* phone1 requires https://gerrit.aospa.co/c/AOSPA/android_kernel_nothing_sm7325/+/39116

Change-Id: I91f7026db978fcbfc87f3705377fefb20a3f3469
2025-01-20 22:35:36 +01:00
Fabian Leutenegger
2c42dfeba4 ParanoidGlyph: Cleanup unused variables
* let's use this to do some more minor cleanup

Change-Id: I6b2434319c0ff808b4b62770d6850a54aef5dcb4
2025-01-20 22:35:36 +01:00
Fabian Leutenegger
0e80631bee ParanoidGlyph: Improve animation pattern length check
* let's not hardcode it

Change-Id: I3862d5bef27e17f9819ac2db4ed61d72ae0e87b9
2025-01-20 22:35:36 +01:00
Abhay Singh Gill
5e88454950 ParanoidGlyph: Fix delay for calls/csv animation
Phone2 appears to be playing its animations at a speed of 16666/1000 ms, so lets use that delay instead.
Also use this chance to kang animation delay logic from NOS.

Change-Id: Ic710defca290738c0363f0a7e874cd5d82c68fef
2025-01-20 22:35:36 +01:00
Fabian Leutenegger
1ffd57dbb1 ParanoidGlyph: Improve volume indicator function
* phone1 requires https://gerrit.aospa.co/c/AOSPA/android_kernel_nothing_sm7325/+/39114
 * phone1 will now be "inverted" and fill up from the bottom, will be "fixed" again with https://gerrit.aospa.co/c/AOSPA/android_kernel_nothing_sm7325/+/39116

Co-authored-by: Abhay Singh Gill <abhaygill017@gmail.com>
Change-Id: I8b39df3f28e656c960e58eb2f99fd0045aa076a6
2025-01-20 22:35:36 +01:00
Fabian Leutenegger
35e24ba438 ParanoidGlyph: Fix volume percentage calculation
Change-Id: I1681323ba3b90ef814e690425c589c7464e3cb2d
2025-01-20 22:35:36 +01:00
Daniel Jacob Chittoor
a2b1046c21 ParanoidGlyph: Don't show charging animation on wiggle if screen is on
The animation had been claused to only be played when the screen is
facing down, but when lying down on a bed with the charger connected,
the charging animations continue to be triggered. The revised behavior
dictates that the wiggle animation will only be activated when the
screen is off or in a non-interactive state, such as Always On Display.

Change-Id: Id555276c8694dc88f5e55d32a454ce8fb11d90e8
2025-01-20 22:35:36 +01:00
Fabian Leutenegger
8ea61d0394 ParanoidGlyph: Avoid NPE in onNotificationPosted
Change-Id: I78cebbfad451b97ffb9546ff2c5d212b98d50f76
2025-01-20 22:35:36 +01:00
Fabian Leutenegger
64a169e28f ParanoidGlyph: Add workaround for Phone (2) to set operation mode
* lets set it each time an animation is played

Change-Id: Ib9f80b9a33f99820d0031e6f02b1184ea01ede6b
2025-01-20 22:35:35 +01:00
Fabian Leutenegger
788e127d4d ParanoidGlyph: Rework led zone logic in favor of frame_brightness
* by using frame_brightness we can directly pass all zones/leds at once instead of looping thought each zone or single led and write their values by their own
 * this also allows us to use our music visualizer without bigger changes on phone (2)

Change-Id: Ib81a7181e0a9a5121f337009e6005eda1f9d1096
2025-01-20 22:35:35 +01:00
Fabian Leutenegger
8f1a23c100 ParanoidGlyph: Add unregisterReceiver in ChargingService
* could lead to a memory leak

Change-Id: Ibabcc44d818ef63ee1f0c477084e054892fb5f10
2025-01-20 22:35:35 +01:00
Fabian Leutenegger
97d3e7dd15 ParanoidGlyph: Add Phone (2)
Change-Id: I08e5fe8dbaca6b04f828e86f5e66e3bf083c4b60
2025-01-20 22:35:35 +01:00
Fabian Leutenegger
5e75aedcae ParanoidGlyph: Final changes for Phone (2)
Change-Id: I625f111b4b3c4a1c4ab35dbc7163b34831df57d0
2025-01-20 22:35:35 +01:00