Skip to main content

Crate cranpose_app_shell

Crate cranpose_app_shell 

Source

Structs§

AppShell
DevOptions
Development options for debugging and performance monitoring.
FpsStats
Frame statistics snapshot.
FrameSchedule
FrameScheduler
FrameUpdateResult
ImeEditorState
Snapshot of the focused text field’s editable state for platform IMEs.
KeyEvent
A keyboard input event.
Modifiers
Modifier keys state.
PointerEventTime
Platform and animation-clock timestamps for one pointer sample.
RotaryScrollEvent
A rotary scroll event produced by a Wear OS crown or rotating bezel.

Enums§

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.

Constants§

DEFAULT_ROTARY_SCROLL_FACTOR_DP
Android’s default vertical scroll factor expressed in density-independent pixels.

Traits§

PlatformFrameDriver
PlatformTextInputHandler
Callbacks a platform installs to control its on-screen keyboard.

Functions§

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.