Each package's plan, by how apps use it.
android.app. Activity, Application, Service, ContentProvider (in android.content) and Dialog
are implemented, because apps subclass them and depend on the order of their callbacks: the lifecycle methods,
ActivityLifecycleCallbacks in their pre, normal and post forms, ComponentCallbacks2. ActivityThread,
LoadedApk, Instrumentation and ActivityManager's process records do not exist: snx.android.Main makes
each component and calls its callbacks in Android's order. AppComponentFactory is honored, because AndroidX
installs one.android.content. Context is implemented over a ContextImpl that maps the data folders onto the host.
PackageManager answers from the manifest, which snx.android.app.Package reads as PackageParser does.
ContentResolver reaches the app's own providers directly; no other process exists. Intent,
ComponentName and IntentFilter are plain data. A broadcast goes to the receivers of the process.android.content.res. Resources, Theme, TypedArray and AssetManager are thin Java over the
libandroidfw HLE. The framework's own resources (android: styles and attributes) are a small table that the
runtime builds, with the values of Android 16's Material themes that apps read; there is no framework-res.apk.android.os. Looper, Handler, Message and MessageQueue are implemented (apps depend on their
ordering), with the main queue's wait HLE'd onto SDL's event queue. Bundle and Parcel are Java. Build
reports Android 16 (API 36). SystemClock, Process and Trace map onto the host or do nothing.android.view. View, ViewGroup, MotionEvent, KeyEvent, ViewTreeObserver and
ViewConfiguration are implemented: apps (and Compose's AndroidComposeView) subclass them and depend on
measure, layout, draw, attach and dispatch order. ViewRootImpl, Window, WindowManager and Display are
abstracted: an activity's window is one SDL window, its decor a FrameLayout with the content view, its insets
zero (no status or navigation bar), its display the window's size and the host's scale. An activity's requested
orientation (setRequestedOrientation, the manifest's screenOrientation) turns the display as Android's window
manager does: a landscape one on a display taller than wide swaps its width and height, and the window follows. A
change of the display's size updates every Resources, then goes to the application and each activity: an
activity whose configChanges names every changed field gets onConfigurationChanged, another one is made again.android.graphics. Thin Java. Canvas, RenderNode, Paint, Path, Shader and Typeface hold
native handles of the libhwui HLE; Rect, RectF, Point, Color, Matrix and Insets are plain Java.
Bitmap pixels live in host memory for the CPU of the app and are uploaded to Vulkan when drawn.android.text. Layout, StaticLayout, BoringLayout, spans and TextPaint are implemented, with the
measurement and line breaking natives HLE'd over HarfBuzz.android.database. Cursor and SQLiteDatabase are Java over SQLite's C library. An error becomes the
exception that Android's JNI throws for its code.android.util, android.icu. Plain Java. android.icu maps onto java.text and java.util where an
app reaches it.android.webkit. Off: no web engine. A WebView keeps its settings and clients, and a page that it loads
starts and finishes blank, so an app's flow goes on. The cookie manager keeps cookies in memory.android.widget. Implemented: LinearLayout, RelativeLayout, FrameLayout, ListView with recycled
item views, ScrollView, TextView and EditText. A PopupWindow is a window of its own over its anchor's, at
the place it was shown or below (or above) its anchor, and goes on the back key and on a touch outside it, as
Android's. VideoView reports an error at once.android.animation, android.view.animation. Implemented: animators set their target's property on each
frame, and a view animation puts its matrix and alpha on the view's render node. Transitions show the end
state at once.android.view.accessibility, android.view.autofill, android.view.contentcapture,
android.view.translation, android.view.textclassifier, android.telephony, android.telecom,
android.location, android.hardware, android.bluetooth, android.nfc, android.accounts,
android.credentials, android.adservices, android.print.Made from docs/platforms/android-apps/interfaces.md at 69237645142c. GPL-3.0-or-later.