Modules§
Structs§
- Aligned
Extent - A view’s bounding box, described in the view’s own coordinate system. Concretely, |AlignedExtent| describes the minimal and maximal points of a view’s bounding box, which is rectangular and axis-aligned.
- Error
- Layout
- Geometric data of a view.
- Rotatable
Extent - A view bounding box, described in another view’s coordinate system. Concretely, |RotatableExtent| describes the origin, size, and rotation angle about the origin, for a view’s bounding box.
- View
Descriptor - Data for a particular view: identifier, position, and children.
- View
Tree Snapshot - A description of the context view and its descendant views, if any.
- View
Tree Watcher Control Handle - View
Tree Watcher Event Stream - View
Tree Watcher Marker - View
Tree Watcher Proxy - View
Tree Watcher Request Stream - A Stream of incoming requests for fuchsia.ui.observation.geometry/ViewTreeWatcher.
- View
Tree Watcher Synchronous Proxy - View
Tree Watcher Watch Responder - Watch
Response - Response for fuchsia.ui.observation.geometry.ViewTreeWatcher.Watch.
Enums§
- View
Tree Watcher Event - View
Tree Watcher Request - A method of obtaining view tree snapshots for a particular view, the “context
view”, and its child views, if any. The returned data is a sequence of
snapshots during the period of observation, which starts at the client’s
prior Watch() call’s [
epoch_end] (or zx.Time 0), and ending at the current [epoch_end]. The timebase is ZX_CLOCK_MONOTONIC.
Constants§
- BUFFER_
SIZE - The maximum number of
ViewTreeSnapshots a client can expect in aWatchcall’s response. The number ofViewTreeSnapshots can be less thanBUFFER_SIZEwhen the size of aWatchcall’s response exceeds the limit of a FIDL channel. - MAX_
VIEW_ COUNT - The maximum number of
ViewDescriptors a client can expect in aViewTreeSnapshot.
Traits§
Type Aliases§
- Pixel
Scale - The ratio from physical pixels (of a display) to logical pixels (of the coordinate system of a view).