Searched refs:newBg (Results 1 – 4 of 4) sorted by relevance
73 private void changeBackgrounds(Drawable newBg) { in changeBackgrounds() argument74 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()
90 LayerDrawable newBg = new LayerDrawable(outDrawables); in tileify() local93 newBg.setId(i, background.getId(i)); in tileify()96 return newBg; in tileify()126 AnimationDrawable newBg = new AnimationDrawable(); in tileifyIndeterminate() local127 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()
541 AnimationDrawable newBg = new AnimationDrawable(); in tileifyIndeterminate() local542 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()
774 final Drawable newBg = bg.getConstantState().newDrawable(); in ensureBackgroundDrawableStateWorkaround() local781 (DrawableContainer) bg, newBg.getConstantState()); in ensureBackgroundDrawableStateWorkaround()789 mEditText.setBackgroundDrawable(newBg); in ensureBackgroundDrawableStateWorkaround()