Pad/doc
Greg Pomerantz fdb51810f4 Add Android IME bridge via Fragment section to touch.md
- Fragment registration pattern from Passgo: app.ViewEvent → GioView → Context → Activity → FragmentManager
- IME Fragment architecture: hidden EditText in transparent Fragment overlay
- Two-way sync: Gio→EditText (cursor sync via setSelection), EditText→Gio (IME events via TextWatcher + JNI callback)
- Text window management: ±1KB around cursor, updated on cursor move and text changes
- IME feature support: autocorrect, swipe typing, voice, predictions, emoji, CJK composition
- Event merging: Main goroutine drains JNI callback channel alongside w.Event() calls
- Implementation notes: impl_android.go, jni_android.c, ime/ImeFragment.java

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-05-08 14:39:11 -04:00
..
architecture.md Correct runtime architecture: batched input, config channel, frame receiver logic 2026-05-08 10:56:34 -04:00
conflict_resolution.md Add Gioui scaffolding with Label and ListView rendering 2026-05-07 17:45:56 -04:00
element_model.md Spec: resolve open design decisions 2026-05-07 20:23:24 -04:00
SPEC.md Add runtime architecture specification 2026-05-08 08:24:04 -04:00
touch.md Add Android IME bridge via Fragment section to touch.md 2026-05-08 14:39:11 -04:00