Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DDrawableBgMinSize.java73 private void changeBackgrounds(Drawable newBg) { in changeBackgrounds() argument
74 mTextView.setBackgroundDrawable(newBg); in changeBackgrounds()
75 mLinearLayout.setBackgroundDrawable(newBg); in changeBackgrounds()
76 mRelativeLayout.setBackgroundDrawable(newBg); in changeBackgrounds()
77 mFrameLayout.setBackgroundDrawable(newBg); in changeBackgrounds()
78 mAbsoluteLayout.setBackgroundDrawable(newBg); in changeBackgrounds()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatProgressBarHelper.java90 LayerDrawable newBg = new LayerDrawable(outDrawables); in tileify() local
93 newBg.setId(i, background.getId(i)); in tileify()
96 return newBg; in tileify()
126 AnimationDrawable newBg = new AnimationDrawable(); in tileifyIndeterminate() local
127 newBg.setOneShot(background.isOneShot()); in tileifyIndeterminate()
132 newBg.addFrame(frame, background.getDuration(i)); in tileifyIndeterminate()
134 newBg.setLevel(10000); in tileifyIndeterminate()
135 drawable = newBg; in tileifyIndeterminate()
/frameworks/base/core/java/android/widget/
DProgressBar.java541 AnimationDrawable newBg = new AnimationDrawable(); in tileifyIndeterminate() local
542 newBg.setOneShot(background.isOneShot()); in tileifyIndeterminate()
547 newBg.addFrame(frame, background.getDuration(i)); in tileifyIndeterminate()
549 newBg.setLevel(10000); in tileifyIndeterminate()
550 drawable = newBg; in tileifyIndeterminate()
/frameworks/support/design/src/android/support/design/widget/
DTextInputLayout.java774 final Drawable newBg = bg.getConstantState().newDrawable(); in ensureBackgroundDrawableStateWorkaround() local
781 (DrawableContainer) bg, newBg.getConstantState()); in ensureBackgroundDrawableStateWorkaround()
789 mEditText.setBackgroundDrawable(newBg); in ensureBackgroundDrawableStateWorkaround()