/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | ImportancePreferenceTest.java | 84 assertThat(holder.itemView.findViewById(R.id.alert).getBackground()).isEqualTo(selected); in onBindViewHolder_nonConfigurable() 85 assertThat(holder.itemView.findViewById(R.id.silence).getBackground()) in onBindViewHolder_nonConfigurable() 94 assertThat(holder.itemView.findViewById(R.id.alert).getBackground()).isEqualTo(unselected); in onBindViewHolder_nonConfigurable() 95 assertThat(holder.itemView.findViewById(R.id.silence).getBackground()).isEqualTo(selected); in onBindViewHolder_nonConfigurable() 114 assertThat(holder.itemView.findViewById(R.id.alert).getBackground()).isEqualTo(selected); in onBindViewHolder_selectButtonAndText() 115 assertThat(holder.itemView.findViewById(R.id.silence).getBackground()) in onBindViewHolder_selectButtonAndText() 140 assertThat(holder.itemView.findViewById(R.id.alert).getBackground()).isEqualTo(unselected); in onClick_changesUICallsListener() 141 assertThat(holder.itemView.findViewById(R.id.silence).getBackground()).isEqualTo(selected); in onClick_changesUICallsListener()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AnimatorUtils.java | 55 Drawable background = view.getBackground(); 78 Drawable background = view.getBackground(); in setBackgroundAlpha() 245 target.getBackground().getPadding(targetInsets); in getBoundsAnimator() 247 from.getBackground().getPadding(fromInsets); in getBoundsAnimator() 249 to.getBackground().getPadding(toInsets); in getBoundsAnimator()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/ |
D | ColorChooser.java | 71 GradientDrawable sd = ((GradientDrawable) button.getBackground()); in setUp() 102 GradientDrawable sd = ((GradientDrawable) mButton[i].getBackground()); in setColorSet() 116 GradientDrawable sd = ((GradientDrawable) button.getBackground()); in resetBorders() 152 GradientDrawable sd = ((GradientDrawable) button.getBackground()); in changeSelectedColor()
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/ |
D | PlayPauseStopImageView.java | 109 if (getBackground() != null) { in onCreateDrawableState() 110 getBackground().setState(drawableState); in onCreateDrawableState()
|
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
D | ShortcutDragPreviewProvider.java | 43 Drawable d = mView.getBackground(); in createDragBitmap() 63 int iconSize = getDrawableBounds(mView.getBackground()).width(); in getScaleAndPosition()
|
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
D | PseudoEmergencyAnimator.java | 64 viewProvider.getFab().getBackground().setColorFilter(colorFilter); in start() 92 viewProvider.getFab().getBackground().clearColorFilter(); in start()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | SwitchBarTest.java | 66 assertThat(mBar.getBackground()).isInstanceOf(ColorDrawable.class); in cycleChecked_defaultLabel_shouldUpdateTextAndBackground() 81 assertThat(mBar.getBackground()).isInstanceOf(ColorDrawable.class); in cycleChecked_customLabel_shouldUpdateTextAndBackground()
|
D | HighlightablePreferenceGroupAdapterTest.java | 173 assertThat(mViewHolder.itemView.getBackground()).isInstanceOf(ColorDrawable.class); in updateBackground_highlight_shouldAnimateBackgroundAndSetHighlightedTag() 205 assertThat(mViewHolder.itemView.getBackground()).isNotInstanceOf(ColorDrawable.class); in updateBackground_reuseHightlightedRowForNormalRow_shouldResetBackgroundAndTag()
|
D | FloatingAppBarScrollingViewBehaviorTest.java | 60 assertThat(((ColorDrawable) appBarLayout.getBackground()).getColor()).isEqualTo( in setAppBarLayoutTransparent_backgroundDefaultAsWhite_shouldBeTransparent()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyPreviewView.java | 80 final Drawable background = getBackground(); in setTextAndScaleX() 132 final Drawable background = getBackground(); in setPreviewBackground()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
D | EditorColorBorderTabletUI.java | 175 GradientDrawable sd = ((GradientDrawable) mColorButton[i].getBackground()); in setupColor() 229 GradientDrawable sd = ((GradientDrawable) b.getBackground()); in setupColor() 250 GradientDrawable sd = ((GradientDrawable) button.getBackground()); in resetBorders()
|
D | EditorDrawTabletUI.java | 181 GradientDrawable sd = ((GradientDrawable) mColorButton[i].getBackground()); in EditorDrawTabletUI() 240 GradientDrawable sd = ((GradientDrawable) b.getBackground()); in EditorDrawTabletUI() 273 GradientDrawable sd = ((GradientDrawable) button.getBackground()); in resetBorders()
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | FallbackRecentsTest.java | 121 mLauncher.getBackground().switchToOverview(); in goToOverviewFromHome() 129 mLauncher.getBackground().switchToOverview(); in goToOverviewFromApp()
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/ |
D | TemperatureBarOverlay.java | 301 ((GradientDrawable) mTemperatureBar.getBackground()).setColor(endColor); in changeTemperatureColor() 376 = (GradientDrawable) mTemperatureBar.getBackground(); in setIsOn() 441 ((GradientDrawable) mTemperatureBar.getBackground()).setColor(color);
|
D | FanSpeedBar.java | 182 GradientDrawable background = (GradientDrawable) mMaxButton.getBackground(); in setMaxButtonEnabled() 194 GradientDrawable background = (GradientDrawable) mOffButton.getBackground(); in setOffButtonEnabled()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactsUnavailableFragment.java | 78 mAddAccountButton.getBackground().setColorFilter(ContextCompat.getColor(getContext(), R in onCreateView() 82 mImportContactsButton.getBackground().setColorFilter(ContextCompat.getColor(getContext(), in onCreateView()
|
/packages/apps/Messaging/src/com/android/messaging/ui/animation/ |
D | ViewGroupItemVerticalExplodeAnimation.java | 117 final Drawable oldBackground = mViewToAnimate.getBackground(); in startAnimation() 202 final Drawable viewBackground = view.getBackground(); in snapshotView()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | SeekBarPreference.java | 122 if (v.getBackground() != null) { in onBindViewHolder() 125 v.getBackground().setHotspot(centerX, centerY); in onBindViewHolder()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/ |
D | ThemePreviewPage.java | 230 if (qsb.getBackground() instanceof GradientDrawable) { in bindPreviewContent() 231 GradientDrawable bg = (GradientDrawable) qsb.getBackground(); in bindPreviewContent()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | SeekBarPreference.java | 133 if (v.getBackground() != null) { in onBindViewHolder() 136 v.getBackground().setHotspot(centerX, centerY); in onBindViewHolder()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | BottomBar.java | 123 .getBackground(); in setPaintColor() 134 LayerDrawable layerDrawable = (LayerDrawable) mCancelButton.getBackground(); in setCancelBackgroundColor()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | Views.java | 55 Mockito.when(testView.getBackground()).thenReturn(background); in setBackground()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ui/ |
D | SearchBarScrollingViewBehaviorTest.java | 65 assertEquals(Color.TRANSPARENT, ((ColorDrawable) appBarLayout.getBackground()).getColor()); in setAppBarLayoutTransparent_defaultWhiteBackground_shouldBeTransparent()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | FloatingIconView.java | 409 drawable = ((DeepShortcutView) originalView).getIconView().getBackground(); in getIconResult() 411 drawable = originalView.getBackground(); in getIconResult() 468 Drawable background = adaptiveIcon.getBackground(); in setIcon()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | FadeBackground.java | 56 Drawable background = endValues.view.getBackground(); in createAnimator()
|