Lines Matching defs:cluster

3046      * Flag indicating that the view is a root of a keyboard navigation cluster.
4185 * User-specified next keyboard navigation cluster in the {@link #FOCUS_FORWARD} direction.
8948 * Gets the id of the root of the next keyboard navigation cluster.
8949 * @return The next keyboard navigation cluster ID, or {@link #NO_ID} if the framework should
8959 * Sets the id of the view to use as the root of the next keyboard navigation cluster.
8960 * @param nextClusterForwardId The next cluster ID, or {@link #NO_ID} if the framework should
10134 * Returns whether this View is a root of a keyboard navigation cluster.
10136 * @return True if this view is a root of a cluster, or false otherwise.
10145 * Searches up the view hierarchy to find the top-most cluster. All deeper/nested clusters
10148 * @return the keyboard navigation cluster that this view is in (can be this view)
10153 View cluster = ((View) mParent).findKeyboardNavigationCluster();
10154 if (cluster != null) {
10155 return cluster;
10164 * Set whether this view is a root of a keyboard navigation cluster.
10166 * @param isCluster If true, this view is a root of a cluster.
10179 * Sets this View as the one which receives focus the next time cluster navigation jumps
10180 * to the cluster containing this View. This does NOT change focus even if the cluster
10189 private void setFocusedInCluster(View cluster) {
10193 if (cluster == this) {
10200 if (parent == cluster) {
10211 View cluster = findKeyboardNavigationCluster();
10212 if (oldCluster != cluster) {
10213 // Going from one cluster to another, so save last-focused.
10214 // This covers cluster jumps because they are always FOCUS_DOWN
10221 // the previous cluster "complete" and clear its last-focused memory.
10240 * window or serves as a target of cluster navigation.
10257 * window or serves as a target of cluster navigation.
10296 * Find the nearest keyboard navigation cluster in the specified direction.
10297 * This does not actually give focus to that cluster.
10299 * @param currentCluster The starting point of the search. Null means the current cluster is not
10303 * @return The nearest keyboard navigation cluster in the specified direction, or null if none
10405 * If a user manually specified the next keyboard-navigation cluster for a particular direction,
10410 * @return the user-specified next cluster, or {@code null} if there is none
10496 * Adds any keyboard navigation cluster roots that are descendants of this view (possibly
10497 * including this view if it is a cluster root itself) to views.
10499 * @param views Keyboard navigation cluster roots found so far
10716 * cluster before a focus-jump out of it.
10730 * This will request focus for whichever View not in a cluster was last focused before a
10731 * focus-jump to a cluster. If no non-cluster View has previously had focus, this will focus