mirror of
https://github.com/twinksoftware/Gearslip.git
synced 2026-11-10 16:02:25 +01:00
docs updates for developers
This commit is contained in:
1 parent
03b74b1150
commit
f452099926
2 files changed
+68
-12
No files matched your search
@@ -504,9 +504,9 @@ class CarAppConnection(private val context: Context) {
|
||||
}
|
||||
|
||||
// The app draws for the whole surface; the visible area is what isn't covered by host
|
||||
// chrome, and the stable area is the part that never gets covered. We keep our chrome
|
||||
// to a top bar, so both are the surface minus that bar - reported by the UI via
|
||||
// [reportAreas] once it has measured. Until then the whole surface is fair game.
|
||||
// chrome, and the stable area is the part that never gets covered. Both depend on the
|
||||
// template (see visibleAreaFor) and are reported by the UI via [reportAreas] once it
|
||||
// has measured. Until then the whole surface is fair game.
|
||||
val whole = Rect(0, 0, surface.width, surface.height)
|
||||
reportAreas(whole, whole)
|
||||
|
||||
|
||||
Reference in new issue
Block a user