Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities
MrYoranimo 0b731611b9 Xiaomi: refactor WidgetManager for Redmi Watch 4
The Redmi Watch 4 reports both an unsupported widget type and layout
style:

- The firmware supports a screen layout for a single full screens
  widget, which is defined by layout ID 128;
- A full screen widget is a single 2x2 part, which is not supported.

This commit adds support for both the new layout and the new widget
type.

Furthermore, this commit refactors the XiaomiWidgetManager. Previously,
the supported layouts were determined by the types of parts supported by
the device. However, the supported layouts are reported by the device
through a bitfield in the widget capabilities message of which the purpose
was unknown, which is now used to determine the supported layouts.
2024-04-12 20:54:49 +02:00
..
app_specific_notifications Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
appmanager Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
charts Use existing string for temperature 2024-03-18 09:12:33 +00:00
dashboard Dashboard view (#3478) 2024-04-04 19:28:04 +00:00
devicesettings Nothing: add option to read aloud incoming notifications. 2024-04-12 16:51:49 +02:00
discovery Discover bonded devices by default 2024-03-25 20:31:33 +00:00
loyaltycards Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
widgets Xiaomi: refactor WidgetManager for Redmi Watch 4 2024-04-12 20:54:49 +02:00
AboutActivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
AboutUserPreferencesActivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
AbstractFragmentPagerAdapter.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
AbstractGBActivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
AbstractGBFragment.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
AbstractGBFragmentActivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
AbstractListActivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
AbstractPreferenceFragment.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
AbstractSettingsActivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
AbstractSettingsActivityV2.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ActivitySummariesActivity.java ActivitySummariesActivity:fix no fetch btn spinner 2024-03-21 23:28:29 +00:00
ActivitySummariesChartFragment.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ActivitySummariesFilter.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ActivitySummariesGpsFragment.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ActivitySummaryDetail.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
AlarmDetails.java Limit smart alarm interval to 255 2024-02-24 09:56:56 +01:00
AndroidPairingActivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
AppBlacklistActivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
AppCompatPreferenceActivity.java Migrate to androidx support libraries and bump compile SDK version 2019-01-26 16:00:56 +01:00
BatteryInfoActivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
BatteryInfoChartFragment.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
CalBlacklistActivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ConfigureAlarms.java Add smart wakeup interval 2024-02-24 09:56:56 +01:00
ConfigureContacts.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ConfigureReminders.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ConfigureWorldClocks.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ContactDetails.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ControlCenterv2.java Dashboard: Fix crash on start when Devices is first screen 2024-04-10 22:11:45 +02:00
DashboardFragment.java Dashboard: Implement horizontal swiping and fix fragment related crashes 2024-04-10 21:53:03 +02:00
DashboardPreferencesActivity.java Dashboard view (#3478) 2024-04-04 19:28:04 +00:00
DataManagementActivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
DebugActivity.java DebugActivity: send list of weather specs when pressing 'set weather' 2024-04-01 21:57:12 +02:00
DevicesFragment.java Fix DeviceService not starting when the dashboard is the initial screen 2024-04-09 10:46:11 +02:00
ExternalPebbleJSActivity.java Pebble: fix of app configuration webview 2024-01-28 01:54:12 +03:00
FindPhoneActivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
FwAppInstallerActivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
GBActivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
GpxReceiverActivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
HeartRateDialog.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
HeartRateUtils.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
InstallActivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
NotificationFilterActivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
NotificationManagementActivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
OpenFwAppInstallerActivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ReminderDetails.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
SettingsActivity.java Dashboard view (#3478) 2024-04-04 19:28:04 +00:00
SleepAlarmWidgetConfigurationActivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
TextReceiverActivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
VibrationActivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
WakeActivity.java WakeActivity: add start method 2024-04-10 19:36:17 +00:00
WidgetAlarmsActivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
WidgetConfigurationActivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
WorldClockDetails.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00