hex/ios/HEXMobileTests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel fd4e98bb8b
iOS keyboard: the four rows share Apple's 4 pt below the view; the gap above row 4 is row 4's (#2379)
What: on an 844 to 874 pt iPhone from iOS 27 (and iOS 18, which keeps those rows) Apple's
43 pt row 4 ends 4 pt below where iOS ends a third-party keyboard's view, and Hex took the
4 pt off row 4 alone, so the space bar was visibly shorter than the other rows (TestFlight
build 126: iPhone 18 Pro, "the bottom row is shorter than the normal keyboard"; iPhone 18
Pro Max, "space is a little slimmer and I keep missing it"). Ryan's call: spread the 4 pt
across all four rows. The rows are now 42 pt with Apple's 11 pt gaps, row 1's top on Apple's
and rows 2 to 4 1, 2 and 3 pt above Apple's (bottoms 1 to 4 pt above), row 4 ending on the
view's bottom edge. The keyboard's height is unchanged (253 pt).

Also: a tap in the gap between rows 3 and 4 now goes to row 4, as on Apple's keyboard
(iOS 27.2 black box, 17 Pro: its space bar, 123 and return take taps from 746.5 pt, 2.5 pt
into row 3's keycaps, down to 816 pt, 13 pt under their keycaps). Hex's row 4 now takes taps
from row 3's keycap bottom (746 pt on a 17 Pro, against Apple's 746.5) to the view's bottom;
the other gaps still split down the middle. The emoji key keeps its own narrower target.

Where Hex doesn't trim (iOS 26 rows, the Air and Pro Max, the SE, turned, the Duo, the iPad)
nothing changes but the row-4 gap rule (not the iPad or the Duo's split keyboard).

Not possible: Apple's space bar takes taps 17 pt lower than Hex's view goes (to 816 pt on
a 17 Pro, 898 on a 17 Pro Max; Hex's view ends at 799 and 881). That band is iOS's globe
band under a third-party keyboard and never reaches the keyboard.

Verified (Studio simulators, iOS 27.2): overlays on the 17 Pro and 18 Pro, rows at 0, 1, 2,
3 pt above Apple's tops, every row 42 pt, columns unchanged; real HID taps 1 pt inside every
letter's top and bottom edge and the space bar's (incl. its last point) type the right key
on both phones; the row-3/4 boundary is at 746 pt; nothing below 799 pt types. Updated
KeyboardLayoutTests: the 17 Pro's 43/54/39 -> 42/53/42, row tops from the bottom
201/147/93/39 -> 201/148/95/42, the number row 34.9 -> 34.05 (0.85 of a 53 pt pitch), and
the tiling test's emoji margin now starts at row 3's keycaps; new asserts that space's
target runs from row 3's keycap bottom to the view's bottom. xcodebuild test: 843 tests,
0 failures. code-shape passes.
2026-11-22 10:21:30 -05:00
..
Fixtures iOS: emoji panel with on-device suggestions (Experiments › Emoji) (#2051) 2026-11-20 15:53:24 +00:00
AutocorrectEngineTests.swift iOS: Hungarian keyboard with accent restoration and bilingual autocorrect (#2355) 2026-11-22 07:10:56 -05:00
CleanupTaggerTests.swift iOS keyboard: stale microphone errors clear, Hex key audio calls leave the main thread, counts read 1, 2, 3 (#2203) 2026-11-21 10:08:42 -05:00
CustomVocabularyTests.swift ios: custom vocabulary experiment (#1547) 2026-11-08 12:15:00 -05:00
DictationControllerTests.swift iOS: a working dictation is never taken away by a guess, and no speech model check sits forever (#2371) 2026-11-22 08:56:10 -05:00
DictationLanguageTests.swift iOS: dictate Latin American Spanish with Latin America's model, and keep a picked variant when the keyboard switches (#2193) 2026-11-21 09:53:34 -05:00
DictationLearningTests.swift iOS: hold the bar to dictate, Learn how I type on, a plain centred Paste, and typing logs off (#2210) 2026-11-21 12:11:58 -05:00
DotScopeTests.swift fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) (#757) 2026-10-31 22:14:22 -07:00
EmojiPanelLettersKeyTests.swift iOS dictation: no spaces or stray full stops around Chinese and Japanese; the bar's emoji panel says Back (#2347) 2026-11-22 03:47:53 -05:00
EmojiSuggesterTests.swift iOS keyboard: stop leaking views, capture web views, and emoji indices across shows (#2352) 2026-11-22 06:45:38 -05:00
FullKeyboardEngineTests.swift ios: add Dvorak punctuation keys experiment (#2373) 2026-11-22 09:31:25 -05:00
GreeklishRomanizerTests.swift iOS: add a Greeklish experiment for Greek dictation (#2366) 2026-11-22 08:51:48 -05:00
HangulComposerTests.swift iOS keyboard: Korean two-set (두벌식) layout with Hangul composition (experiment, off by default) (#2339) 2026-11-22 04:39:53 -05:00
HexKeyGestureTests.swift iOS: Undo dictation works after the cursor moves, and goes when it can't (#2240) 2026-11-21 15:15:23 -05:00
KeyboardBridgeTests.swift iOS: add a Greeklish experiment for Greek dictation (#2366) 2026-11-22 08:51:48 -05:00
KeyboardDuoCoverTests.swift ios: smaller key labels on the duo's cover screen (#2346) 2026-11-22 04:35:44 -05:00
KeyboardLayoutTests.swift iOS keyboard: the four rows share Apple's 4 pt below the view; the gap above row 4 is row 4's (#2379) 2026-11-22 10:21:30 -05:00
KeyboardSwitchGuessTests.swift iOS: the dictation bar can start dictating by itself (Auto-start: never, on switch, always) (#2267) 2026-11-21 17:08:50 -05:00
KeyboardThemeTests.swift iOS keyboard: add a keyboard themes experiment (#2365) 2026-11-22 08:24:11 -05:00
LaggingField.swift iOS keyboard: Korean two-set (두벌식) layout with Hangul composition (experiment, off by default) (#2339) 2026-11-22 04:39:53 -05:00
LanguageLearningTests.swift ios: learn each language separately (experiment) (#2188) 2026-11-21 09:00:58 -05:00
ShiftStateMachineTests.swift ios: add Dvorak punctuation keys experiment (#2373) 2026-11-22 09:31:25 -05:00
SwipeDecoderTests.swift iOS: swipe reads the letters under the path, and the emoji bar scrubs (#2189) 2026-11-21 08:47:45 -05:00
TranscriptCleanupTests.swift iOS dictation: no spaces or stray full stops around Chinese and Japanese; the bar's emoji panel says Back (#2347) 2026-11-22 03:47:53 -05:00
TwoLanguageMergeTests.swift iOS: two-language dictation experiment (#2348) 2026-11-22 04:58:27 -05:00
TwoThumbSelectionTests.swift iOS: two-thumb selection on the space bar (experiment, off by default) (#2265) 2026-11-21 20:44:15 -05:00
TypingLogTests.swift iOS: hold the bar to dictate, Learn how I type on, a plain centred Paste, and typing logs off (#2210) 2026-11-21 12:11:58 -05:00
TypingReplayTests.swift iOS keyboard: the typing replay reports all-words accuracy, contractions and taps read as swipes (#2287) 2026-11-21 20:32:00 -05:00