Lines Matching defs:foreground

5160         // want as long as it's a 1dp foreground-colored rectangle.
12332 * ImageView with only the foreground image. The default implementation returns true; subclasses
17195 // Step 6, draw decorations (foreground, scrollbars)
17344 // Step 6, draw decorations (foreground, scrollbars)
18472 * Returns the drawable used as the foreground of this View. The
18473 * foreground drawable, if non-null, is always drawn on top of the view's content.
18475 * @return a Drawable or null if no foreground was set
18486 * @param foreground the Drawable to be drawn on top of the children
18490 public void setForeground(Drawable foreground) {
18492 if (foreground == null) {
18499 if (foreground == mForegroundInfo.mDrawable) {
18512 mForegroundInfo.mDrawable = foreground;
18514 if (foreground != null) {
18518 foreground.setLayoutDirection(getLayoutDirection());
18519 if (foreground.isStateful()) {
18520 foreground.setState(getDrawableState());
18524 foreground.setVisible(getWindowVisibility() == VISIBLE && isShown(), false);
18527 foreground.setCallback(this);
18539 * @return true if the foreground should draw inside the padding region or false
18548 * Describes how the foreground is positioned.
18550 * @return foreground gravity.
18562 * Describes how the foreground is positioned. Defaults to START and TOP.
18590 * Applies a tint to the foreground drawable. Does not modify the current tint
18617 * Return the tint applied to the foreground drawable, if specified.
18619 * @return the tint applied to the foreground drawable
18654 * Return the blending mode used to apply the tint to the foreground
18657 * @return the blending mode used to apply the tint to the foreground
18693 * Draw any foreground content for this view.
18695 * <p>Foreground content may consist of scroll bars, a {@link #setForeground foreground}
18696 * drawable or other view-specific decorations. The foreground is drawn on top of the
18705 final Drawable foreground = mForegroundInfo != null ? mForegroundInfo.mDrawable : null;
18706 if (foreground != null) {
18720 Gravity.apply(mForegroundInfo.mGravity, foreground.getIntrinsicWidth(),
18721 foreground.getIntrinsicHeight(), selfBounds, overlayBounds, ld);
18722 foreground.setBounds(overlayBounds);
18725 foreground.draw(canvas);
20297 // Similarly, we remove the foreground drawable's non-transparent parts.