Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 764152b3 authored by Phil Weaver's avatar Phil Weaver
Browse files

Clarifying docs for lifecycle of 3 a11y objects.

Bug: 28917563
Change-Id: I4ca69c91b6108c16fe10eb6eeaf9c1c9c4f8649c
parent 8a8d8163
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -3801,7 +3801,8 @@ public class AccessibilityNodeInfo implements Parcelable {

    /**
     * Class with information if a node is a range. Use
     * {@link RangeInfo#obtain(int, float, float, float)} to get an instance.
     * {@link RangeInfo#obtain(int, float, float, float)} to get an instance. Recycling is
     * handled by the {@link AccessibilityNodeInfo} to which this object is attached.
     */
    public static final class RangeInfo {
        private static final int MAX_POOL_SIZE = 10;
@@ -3926,7 +3927,8 @@ public class AccessibilityNodeInfo implements Parcelable {

    /**
     * Class with information if a node is a collection. Use
     * {@link CollectionInfo#obtain(int, int, boolean)} to get an instance.
     * {@link CollectionInfo#obtain(int, int, boolean)} to get an instance. Recycling is
     * handled by the {@link AccessibilityNodeInfo} to which this object is attached.
     * <p>
     * A collection of items has rows and columns and may be hierarchical.
     * For example, a horizontal list is a collection with one column, as
@@ -4082,7 +4084,8 @@ public class AccessibilityNodeInfo implements Parcelable {
    /**
     * Class with information if a node is a collection item. Use
     * {@link CollectionItemInfo#obtain(int, int, int, int, boolean)}
     * to get an instance.
     * to get an instance. Recycling is handled by the {@link AccessibilityNodeInfo} to which this
     * object is attached.
     * <p>
     * A collection item is contained in a collection, it starts at
     * a given row and column in the collection, and spans one or