Skip to main content Crate cranpose_app_shell Copy item path Source accessibility_audit The checks a screen reader user fails a screen on, run over a placed
semantics tree so a test catches them before a person does. inspector Developer inspection drawn outside the application’s composition and semantics. placed_semantics What a screen reader is told, and where each of those things actually is. AppShell The application: one runtime, one composition, and a surface per window
it shows. DevOptions Development options for debugging and performance monitoring. FpsStats Frame statistics snapshot. FrameRateBoost When FrameRatePreference::Auto asks
for the display’s fastest rate, following how Android’s views vote a
frame-rate category: input, content that moves, and a large view redrawn
continuously all vote high. A Cranpose window is one screen-sized view, as
a Compose window is, so continuous redraws boost it and intermittent ones,
such as a blinking cursor, do not. A boost holds for a few seconds, so the
display does not flap between rates. FrameSchedule FrameScheduler FrameUpdateResult ImeEditorState Snapshot of the focused text field’s editable state for platform IMEs. KeyEvent A keyboard input event. Modifiers Keyboard modifier keys held during an input sample. PointerEventTime Platform and animation-clock timestamps for one pointer sample. RootSurface The shell’s bookkeeping for one root. RotaryScrollEvent A rotary scroll event produced by a Wear OS crown or rotating bezel. SurfaceMut One surface borrowed together with its shell: the handle a platform
delivers a window’s events through and reads a window’s frame from. WheelScroll A mouse-wheel or trackpad scroll sample ready for
AppShell::wheel_scrolled . FramePacingMode FrameRatePreference How the platform should vote the display’s frame rate on behalf of the app. KeyCode Physical key codes for keyboard input. KeyEventType Type of keyboard event. PointerSource The kind of physical device that produced a pointer event. RootId Names a root surface of the app: the primary window, or a window root
declared with Modifier::window_root
by the id given there. DEFAULT_ROTARY_SCROLL_FACTOR_DP Android’s default vertical scroll factor expressed in density-independent
pixels. PlatformFrameDriver PlatformTextInputHandler Callbacks a platform installs to control its on-screen keyboard. default_root_key rotary_scroll_pixels_from_detents Converts a raw Android AXIS_SCROLL detent value into pixels using
Compose’s sign convention: positive detents (crown turned up/away) produce a
negative pixel amount.