Skip to content

Commit

Permalink
feat: Update giulia view settings
Browse files Browse the repository at this point in the history
  • Loading branch information
tzebrowski committed Aug 13, 2023
1 parent da312bc commit d834faa
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class GiuliaVirtualScreenPreferences {
fun getVirtualScreenMetrics(): Set<String> =
Prefs.getStringSet(getVirtualScreenPrefKey(), mutableSetOf())!!

fun getMaxItemsInColumn(): Int = Prefs.getS("pref.giulia.max_pids_in_column.${getCurrentVirtualScreen()}","1g ").toInt()
fun getMaxItemsInColumn(): Int = Prefs.getS("pref.giulia.max_pids_in_column.${getCurrentVirtualScreen()}","1").toInt()
fun getFontSize (): Int = Prefs.getS("pref.giulia.screen_font_size.${getCurrentVirtualScreen()}","52").toInt()
}

Expand Down
7 changes: 5 additions & 2 deletions automotive/src/main/assets/alfa_2_0_gme_aa.properties
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ profile_8.pref.toolbar.hide.landscape=false
profile_8.pref.gauge_enable_drag_and_drop=false
profile_8.pref.gauge_display_background=true
profile_8.pref.dash.background_color_2=-6697984
pref.profile.names.profile_8=Alfa 2.0 GME (BT) AA
pref.profile.names.profile_8=2.0 GME (BT,AA)
profile_8.pref.adapter.init.mode.selected=mode_1
profile_8.pref.adapter.init.mode.header_value.mode_2=DA10F1
profile_8.pref.adapter.init.mode.id_value.mode_2="22"
Expand Down Expand Up @@ -92,8 +92,11 @@ profile_8.pref.profile.about=This profile contains Alfa Romeo 2.0 GME ECU specif

profile_8.pref.giulia.pids.selected=[22, 7035, 13, 7013, 7002, 15, 7014, 7003, 7025, 7006, 7017, 7005, 7027, 7016, 7020, 6, 7019, 7018, 7007, 7029]
profile_8.pref.giulia.pids.selected.1=[22, 7035, 13, 7013, 7002, 15, 7014, 7003, 7025, 7006, 7017, 7005, 7027, 7016, 7020, 6, 7019, 7018, 7007, 7029]
profile_8.pref.giulia.max_pids_in_column="1"

#giulia view
profile_8.pref.giulia.screen_font_size="50"
profile_8.pref.giulia.max_pids_in_column.1="1"
profile_8.pref.giulia.max_pids_in_column.2="1"

#batch
profile_8.pref.adapter.batch.enabled=true
Expand Down
8 changes: 5 additions & 3 deletions automotive/src/main/assets/alfa_2_0_gme_aa_stn.properties
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ profile_9.pref.toolbar.hide.landscape=false
profile_9.pref.gauge_enable_drag_and_drop=false
profile_9.pref.gauge_display_background=true
profile_9.pref.dash.background_color_2=-6697984
pref.profile.names.profile_9=Alfa 2.0 GME (BT,STN) AA

pref.profile.names.profile_9=2.0 GME (BT,STN,AA)

#CAN headers
profile_9.pref.adapter.init.mode.selected=mode_1
Expand Down Expand Up @@ -97,8 +96,11 @@ profile_9.pref.profile.about=This profile contains Alfa Romeo 2.0 GME ECU specif

profile_9.pref.giulia.pids.selected=[22, 7035, 13, 7013, 7002, 15, 7014, 7003, 7025, 7006, 7017, 7005, 7027, 7016, 7020, 6, 7019, 7018, 7007, 7029]
profile_9.pref.giulia.pids.selected.1=[22, 7035, 13, 7013, 7002, 15, 7014, 7003, 7025, 7006, 7017, 7005, 7027, 7016, 7020, 6, 7019, 7018, 7007, 7029]
profile_9.pref.giulia.max_pids_in_column="1"

#giulia view
profile_9.pref.giulia.screen_font_size="50"
profile_9.pref.giulia.max_pids_in_column.1="1"
profile_9.pref.giulia.max_pids_in_column.2="1"

#batch
profile_9.pref.adapter.batch.enabled=true
Expand Down

0 comments on commit d834faa

Please sign in to comment.