Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DDrawableBgMinSize.java72 private void changeBackgrounds(Drawable newBg) { in changeBackgrounds() argument
73 mTextView.setBackgroundDrawable(newBg); in changeBackgrounds()
74 mLinearLayout.setBackgroundDrawable(newBg); in changeBackgrounds()
75 mRelativeLayout.setBackgroundDrawable(newBg); in changeBackgrounds()
76 mFrameLayout.setBackgroundDrawable(newBg); in changeBackgrounds()
77 mAbsoluteLayout.setBackgroundDrawable(newBg); in changeBackgrounds()
/frameworks/base/core/java/android/widget/
DProgressBar.java609 AnimationDrawable newBg = new AnimationDrawable(); in tileifyIndeterminate() local
610 newBg.setOneShot(background.isOneShot()); in tileifyIndeterminate()
615 newBg.addFrame(frame, background.getDuration(i)); in tileifyIndeterminate()
617 newBg.setLevel(10000); in tileifyIndeterminate()
618 drawable = newBg; in tileifyIndeterminate()