From 715fa3012f237fce93931f6c079219f772f417b9 Mon Sep 17 00:00:00 2001 From: Adithya Date: Thu, 9 Feb 2023 08:33:17 -0300 Subject: [PATCH] ParanoidSystemUI: Implement Bluetooth dialog Based on Internet dialog code. Change-Id: Iff63a49ff6a49c535b63a430bee8d7c55e78cbcc Signed-off-by: Mesquita Signed-off-by: Omkar Chandorkar --- res/layout/bluetooth_dialog.xml | 226 ++++++++++++++ res/layout/bluetooth_list_item.xml | 78 +++++ res/values/aospa_strings.xml | 5 + .../systemui/qs/tileimpl/ParanoidQSModule.kt | 7 + .../qs/tiles/BluetoothDialogTile.java | 85 ++++++ .../qs/tiles/dialog/BluetoothDialog.java | 287 ++++++++++++++++++ .../qs/tiles/dialog/BluetoothDialogFactory.kt | 79 +++++ .../qs/tiles/dialog/BluetoothViewAdapter.java | 222 ++++++++++++++ 8 files changed, 989 insertions(+) create mode 100644 res/layout/bluetooth_dialog.xml create mode 100644 res/layout/bluetooth_list_item.xml create mode 100644 src/co/aospa/systemui/qs/tiles/BluetoothDialogTile.java create mode 100644 src/co/aospa/systemui/qs/tiles/dialog/BluetoothDialog.java create mode 100644 src/co/aospa/systemui/qs/tiles/dialog/BluetoothDialogFactory.kt create mode 100644 src/co/aospa/systemui/qs/tiles/dialog/BluetoothViewAdapter.java diff --git a/res/layout/bluetooth_dialog.xml b/res/layout/bluetooth_dialog.xml new file mode 100644 index 0000000..606c8d5 --- /dev/null +++ b/res/layout/bluetooth_dialog.xml @@ -0,0 +1,226 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +