Home
last modified time | relevance | path

Searched refs:mForeground (Results 1 – 2 of 2) sorted by relevance

/leanback/leanback/src/main/java/androidx/leanback/widget/
DNonOverlappingLinearLayoutWithForeground.java34 private Drawable mForeground; field in NonOverlappingLinearLayoutWithForeground
72 if (mForeground != d) { in setForegroundCompat()
73 mForeground = d; in setForegroundCompat()
76 mForeground.setCallback(this); in setForegroundCompat()
77 if (mForeground.isStateful()) { in setForegroundCompat()
78 mForeground.setState(getDrawableState()); in setForegroundCompat()
88 return mForeground; in getForegroundCompat()
95 if (mForeground != null) { in draw()
96 final Drawable foreground = mForeground; in draw()
117 return super.verifyDrawable(who) || (who == mForeground); in verifyDrawable()
[all …]
DRowContainerView.java37 private Drawable mForeground; field in RowContainerView
80 mForeground = d; in setForeground()
81 setWillNotDraw(mForeground == null); in setForeground()
86 if (mForeground instanceof ColorDrawable) { in setForegroundColor()
87 ((ColorDrawable) mForeground.mutate()).setColor(color); in setForegroundColor()
96 return mForeground; in getForeground()
108 if (mForeground != null) { in draw()
111 mForeground.setBounds(0, 0, getWidth(), getHeight()); in draw()
113 mForeground.draw(canvas); in draw()