Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DBackgroundFallback.java32 private Drawable mBackgroundFallback; field in BackgroundFallback
35 mBackgroundFallback = d; in setDrawable()
39 return mBackgroundFallback != null; in hasFallback()
93 mBackgroundFallback.setBounds(0, 0, width, top); in draw()
94 mBackgroundFallback.draw(c); in draw()
97 mBackgroundFallback.setBounds(0, top, left, height); in draw()
98 mBackgroundFallback.draw(c); in draw()
101 mBackgroundFallback.setBounds(right, top, width, height); in draw()
102 mBackgroundFallback.draw(c); in draw()
105 mBackgroundFallback.setBounds(left, bottom, right, height); in draw()
[all …]
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java210 private final BackgroundFallback mBackgroundFallback = new BackgroundFallback(); field in DecorView
290 mBackgroundFallback.setDrawable(resId != 0 ? getContext().getDrawable(resId) : null); in setBackgroundFallback()
291 setWillNotDraw(getBackground() == null && !mBackgroundFallback.hasFallback()); in setBackgroundFallback()
320 mBackgroundFallback.draw(isResizing() ? this : mContentRoot, mContentRoot, c, in onDraw()