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.java613 AnimationDrawable newBg = new AnimationDrawable(); in tileifyIndeterminate() local
614 newBg.setOneShot(background.isOneShot()); in tileifyIndeterminate()
619 newBg.addFrame(frame, background.getDuration(i)); in tileifyIndeterminate()
621 newBg.setLevel(10000); in tileifyIndeterminate()
622 drawable = newBg; in tileifyIndeterminate()