Home | History | Annotate | Download | only in widget

Lines Matching refs:CHILD

46  * collapsed group, child, or last child). Use
87 * The packed position represents a child.
99 * (first bit 0) should not have a child position filled.
103 /** The mask (in packed position representation) for the child */
118 /** The mask (in integer child position representation) for the child */
127 /** Gives us Views through group+child positions */
137 * Left bound for drawing the indicator of a child. Value of
143 * Right bound for drawing the indicator of a child. Value of
149 * Denotes when a child indicator should inherit this bound from the generic
157 /** The indicator drawn next to a child. */
182 /** State indicating the child is the last within its group. */
258 // Start at a value that is neither child nor group
259 int lastItemType = ~(ExpandableListPosition.CHILD | ExpandableListPosition.GROUP);
263 // The "child" mentioned in the following two lines is this
264 // View's child, not referring to an expandable list's
265 // notion of a child (as opposed to a group)
271 // This child is header
274 // This child is footer, so are all subsequent children
291 if (pos.position.type == ExpandableListPosition.CHILD) {
362 // No need for a state sets array for the child since it only has two states
374 * Sets the drawable that will be drawn adjacent to every child in the list. This will
389 // Only proceed as possible child if the divider isn't above all items (if it is above
394 // If this item is a child, or it is a non-empty group that is expanded
395 CHILD) || (pos.isExpanded() &&
397 // These are the cases where we draw the child divider
449 * and/or child position. In most cases, the caller should use
496 * Converts an absolute item flat position into a group/child flat position, shifting according
500 * @return A group/child flat position as expected by the connector.
507 * Converts a group/child flat position into an absolute flat position, that takes into account
510 * @param flatListPosition The child/group flat position
532 * on the click to the proper child (if a child was clicked)
536 * @param id The ListAdapter ID, not the group or child ID.
585 /* It's a child, so pass on event */
696 * Interface definition for a callback to be invoked when a child in this
701 * Callback method to be invoked when a child in this expandable list has
706 * @param groupPosition The group position that contains the child that
708 * @param childPosition The child position within the group
709 * @param id The row id of the child that was clicked
723 * Converts a flat list position (the raw position of an item (child or group)
724 * in the list) to an group and/or child position (represented in a
732 * @return The group and/or child position for the given flat list position
749 * Converts a group and/or child position to a flat list position. This is
753 * @param packedPosition The group and/or child positions to be converted in
757 * @return The flat list position for the given child or group.
768 * Gets the position of the currently selected group or child (along with
772 * child's position and type. #PACKED_POSITION_VALUE_NULL if no selection
783 * Gets the ID of the currently selected group or child. Can return -1 if no
786 * @return The ID of the currently selected group or child. -1 if no
799 // It's a child
819 * Sets the selection to the specified child. If the child is in a collapsed
820 * group, the group will only be expanded and child subsequently selected if
823 * @param groupPosition The position of the group that contains the child.
824 * @param childPosition The position of the child within the group.
825 child's group should be expanded if
827 * @return Whether the selection was successfully set on the child.
835 // The child's group isn't expanded
846 throw new IllegalStateException("Could not find child");
905 * Gets the child position from a packed position that is of
907 * To get the group that this child belongs to, use
911 * @param packedPosition The packed position from which the child position
913 * @return The child position portion of the packed position. If this does
914 * not contain a child, returns -1.
927 * Returns the packed position representation of a child's position.
932 * either be a child or group. The two positions are packed into a single
938 * @param groupPosition The child's parent group's position.
939 * @param childPosition The child position within the group.
940 * @return The packed position representation of the child (and parent group).
953 * @param groupPosition The child's parent group's position.
982 * Gets the ID of the group or child at the given <code>position</code>.
986 * @param position The position of the child or group whose ID should be
990 if (position.type == ExpandableListPosition.CHILD) {
998 * Sets the indicator to be drawn next to a child.
1001 * child is the last child for a group, the state
1009 * Sets the drawing bounds for the child indicator. For either, you can
1038 * is affected by this; the child indicator is affected by this if the
1039 * child indicator bounds are set to inherit).
1082 * The ID of the item (group or child) for which the context menu is