Lines Matching defs:highlight

554  * always highlight, or give focus to, a particular view.  This motivates a mode
811 * Attribute to find the autofilled highlight
4035 /** The default focus highlight.
4043 * True if the default focus highlight is needed on the target device.
4230 * Whether this View should use a default focus highlight when it gets focused but doesn't
6940 // Here we check whether we still need the default focus highlight, and switch it on/off.
10384 * Sets whether this View should use a default focus highlight when it gets focused but doesn't
10388 * highlight, {@code false} otherwise.
10399 * Returns whether this View should use a default focus highlight when it gets focused but
10402 * @return True if this View should use a default focus highlight.
19207 // Step 7, draw the default focus highlight
20094 * Create a default focus highlight if it doesn't exist.
20095 * @return a default focus highlight.
20110 * Set the current default focus highlight.
20111 * @param highlight the highlight drawable, or {@code null} if it's no longer needed.
20113 private void setDefaultFocusHighlight(Drawable highlight) {
20114 mDefaultFocusHighlight = highlight;
20116 if (highlight != null) {
20120 highlight.setLayoutDirection(getLayoutDirection());
20121 if (highlight.isStateful()) {
20122 highlight.setState(getDrawableState());
20125 highlight.setVisible(getWindowVisibility() == VISIBLE && isShown(), false);
20128 highlight.setCallback(this);
20137 * Check whether we need to draw a default focus highlight when this view gets focused,
20143 * <li>This view doesn't opt out for a default focus highlight, via
20147 * @return {@code true} if a default focus highlight is needed.
20161 * When this view is focused, switches on/off the default focused highlight.
20164 * highlight can be visible.
20174 // The highlight is no longer needed, so tear it down.
20181 * Draw the default focus highlight onto the canvas.
20182 * @param canvas the canvas where we're drawing the highlight.
20866 * Draw {@link View#isAutofilled()} highlight over view if the view is autofilled.
22516 // Similarly, we remove the default focus highlight's non-transparent parts.