Home
last modified time | relevance | path

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

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DNonOverlappingLinearLayoutWithForeground.java32 private Drawable mForeground; field in NonOverlappingLinearLayoutWithForeground
70 if (mForeground != d) { in setForegroundCompat()
71 mForeground = d; in setForegroundCompat()
74 mForeground.setCallback(this); in setForegroundCompat()
75 if (mForeground.isStateful()) { in setForegroundCompat()
76 mForeground.setState(getDrawableState()); in setForegroundCompat()
86 return mForeground; in getForegroundCompat()
93 if (mForeground != null) { in draw()
94 final Drawable foreground = mForeground; in draw()
115 return super.verifyDrawable(who) || (who == mForeground); in verifyDrawable()
[all …]
DRowContainerView.java34 private Drawable mForeground; field in RowContainerView
77 mForeground = d; in setForeground()
78 setWillNotDraw(mForeground == null); in setForeground()
83 if (mForeground instanceof ColorDrawable) { in setForegroundColor()
84 ((ColorDrawable) mForeground.mutate()).setColor(color); in setForegroundColor()
93 return mForeground; in getForeground()
105 if (mForeground != null) { in draw()
108 mForeground.setBounds(0, 0, getWidth(), getHeight()); in draw()
110 mForeground.draw(canvas); in draw()
/frameworks/support/design/src/android/support/design/internal/
DForegroundLinearLayout.java40 private Drawable mForeground; field in ForegroundLinearLayout
110 if (mForegroundGravity == Gravity.FILL && mForeground != null) { in setForegroundGravity()
112 mForeground.getPadding(padding); in setForegroundGravity()
121 return super.verifyDrawable(who) || (who == mForeground); in verifyDrawable()
128 if (mForeground != null) { in jumpDrawablesToCurrentState()
129 mForeground.jumpToCurrentState(); in jumpDrawablesToCurrentState()
136 if (mForeground != null && mForeground.isStateful()) { in drawableStateChanged()
137 mForeground.setState(getDrawableState()); in drawableStateChanged()
151 if (mForeground != drawable) { in setForeground()
152 if (mForeground != null) { in setForeground()
[all …]