cranpose 0.28.0

Build desktop, mobile and web apps with composable Rust functions
Documentation
//! Android runtime for Compose applications.
//!
//! This module provides the Android event loop implementation with proper
//! lifecycle management, input handling, and rendering coordination.

#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod accessibility;
#[cfg(any(test, feature = "renderer-wgpu"))]
pub(crate) mod accessibility_wire;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
mod activity_window_layout;
#[cfg(all(target_os = "android", target_arch = "arm"))]
mod aeabi_memory;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod app_info;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod app_update;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod camera;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
mod configuration;
#[cfg(any(
    test,
    all(feature = "video", feature = "renderer-wgpu", target_os = "android")
))]
mod crop_window;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod declared_services;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod decoder_capabilities;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
mod device;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod device_auth;
#[cfg(any(test, feature = "renderer-wgpu"))]
pub(crate) mod device_auth_wire;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod device_motion;
#[cfg(any(test, feature = "renderer-wgpu"))]
pub(crate) mod device_motion_wire;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod display_timing;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod event_loop;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod file_picker;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod finish;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod font_scale;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod frame_rate;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod frame_telemetry;
#[cfg(any(test, feature = "renderer-wgpu"))]
pub(crate) mod frame_work;
#[cfg(any(test, feature = "renderer-wgpu"))]
pub(crate) mod haptics_queue;
#[cfg(all(feature = "video", feature = "renderer-wgpu", target_os = "android"))]
mod hardware_buffer_device;
#[cfg(any(
    test,
    all(feature = "video", feature = "renderer-wgpu", target_os = "android")
))]
mod hardware_buffer_extensions;
#[cfg(all(feature = "video", feature = "renderer-wgpu", target_os = "android"))]
mod hardware_buffer_image;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod heart_rate;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod host;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod host_text_input;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
mod host_window_requests;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
mod input;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod jni;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod keyboard;
#[cfg(any(test, feature = "renderer-wgpu"))]
pub(crate) mod launch_args;
#[cfg(all(feature = "media-backend", target_os = "android"))]
pub(crate) mod media;
#[cfg(all(
    feature = "meta-entitlement",
    feature = "renderer-wgpu",
    target_os = "android"
))]
pub(crate) mod meta_entitlement;
#[cfg(any(
    test,
    all(
        feature = "meta-entitlement",
        feature = "renderer-wgpu",
        target_os = "android"
    )
))]
pub(crate) mod meta_entitlement_wire;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod microphone;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod microphone_standby;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod network_request;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod overlay_window;
#[cfg(any(test, feature = "renderer-wgpu"))]
pub(crate) mod panic_hook;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod perf_hint;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod permission_prompt;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod permissions;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
mod pipeline_cache;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod pipeline_update;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
mod pointer_icon;
#[cfg(any(test, feature = "renderer-wgpu"))]
pub(crate) mod poll;
#[cfg(any(test, feature = "renderer-wgpu"))]
pub(crate) mod present_thread;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod process;
#[cfg(any(test, feature = "playbilling"))]
pub(crate) mod purchase_wire;
#[cfg(all(
    feature = "playbilling",
    feature = "renderer-wgpu",
    target_os = "android"
))]
pub(crate) mod purchases;
#[cfg(all(feature = "video", feature = "renderer-wgpu", target_os = "android"))]
mod raw_device;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod services;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
mod shell_creation;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod surface;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod text_input;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod vsync;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod wearable;
#[cfg(all(feature = "webview", feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod webview;
#[cfg(any(test, feature = "renderer-wgpu"))]
pub(crate) mod wire_escape;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod writable_folder;
#[cfg(all(feature = "video", feature = "renderer-wgpu", target_os = "android"))]
pub(crate) mod ycbcr_converter;
#[cfg(all(feature = "video", feature = "renderer-wgpu", target_os = "android"))]
mod ycbcr_pipeline;

#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub use event_loop::*;
#[cfg(all(feature = "renderer-wgpu", target_os = "android"))]
pub(crate) use pipeline_cache::{keep_pipeline_cache_in, name_pipeline_cache_file};