/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/ |
D | ImportancePreferenceTest.java | 82 assertThat(holder.itemView.findViewById(R.id.alert).getBackground()).isEqualTo(selected); in onBindViewHolder_nonConfigurable() 83 assertThat(holder.itemView.findViewById(R.id.silence).getBackground()) in onBindViewHolder_nonConfigurable() 92 assertThat(holder.itemView.findViewById(R.id.alert).getBackground()).isEqualTo(unselected); in onBindViewHolder_nonConfigurable() 93 assertThat(holder.itemView.findViewById(R.id.silence).getBackground()).isEqualTo(selected); in onBindViewHolder_nonConfigurable() 112 assertThat(holder.itemView.findViewById(R.id.alert).getBackground()).isEqualTo(selected); in onBindViewHolder_selectButtonAndText() 113 assertThat(holder.itemView.findViewById(R.id.silence).getBackground()) in onBindViewHolder_selectButtonAndText() 138 assertThat(holder.itemView.findViewById(R.id.alert).getBackground()).isEqualTo(unselected); in onClick_changesUICallsListener() 139 assertThat(holder.itemView.findViewById(R.id.silence).getBackground()).isEqualTo(selected); in onClick_changesUICallsListener()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | ScrimView.java | 119 if (!(getBackground() instanceof ColorDrawable)) { in isScrimDark() 122 + getBackground()); in isScrimDark() 125 ((ColorDrawable) getBackground()).getColor()) < 0.5f; in isScrimDark()
|
/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/Launcher3/src/com/android/launcher3/shortcuts/ |
D | ShortcutDragPreviewProvider.java | 60 Drawable d = mView.getBackground(); in createDragBitmapLegacy() 76 Drawable d = mView.getBackground(); in drawDragViewOnBackground() 88 int iconSize = getDrawableBounds(mView.getBackground()).width(); in getScaleAndPosition()
|
D | DeepShortcutView.java | 95 if (!(getBackground() instanceof GradientDrawable) || mBubbleText == null) { in tryUpdateTextBackground() 98 GradientDrawable background = (GradientDrawable) getBackground(); in tryUpdateTextBackground()
|
/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() 101 assertThat(mBar.getBackground()).isInstanceOf(ColorDrawable.class); in setCheck_customLabelWithStringType_shouldUpdateTextAndBackground()
|
D | HighlightablePreferenceGroupAdapterTest.java | 185 assertThat(mViewHolder.itemView.getBackground()).isInstanceOf(ColorDrawable.class); in updateBackground_highlight_shouldAnimateBackgroundAndSetHighlightedTag() 217 assertThat(mViewHolder.itemView.getBackground()).isNotInstanceOf(ColorDrawable.class); in updateBackground_reuseHightlightedRowForNormalRow_shouldResetBackgroundAndTag()
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | ViewInflationDuringSwipeUp.java | 122 mLauncher.getBackground().switchToOverview().dismissAllTasks(); in testSwipeUpFromApp() 128 mLauncher.getBackground().switchToOverview(); in testSwipeUpFromApp() 208 mLauncher.getBackground().switchToOverview().dismissAllTasks(); in executeSwipeUpTestWithWidget() 214 Background background = mLauncher.getBackground(); in executeSwipeUpTestWithWidget()
|
D | FallbackRecentsTest.java | 169 mLauncher.getBackground().switchToOverview(); in goToOverviewFromHome() 178 mLauncher.getBackground().switchToOverview(); in goToOverviewFromApp() 210 return mLauncher.getBackground().switchToOverview(); in pressHomeAndGoToOverview() 223 BaseOverview overview = mLauncher.getBackground().switchToOverview(); in testOverview()
|
/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/Car/tests/RotaryPlayground/src/com/android/car/rotaryplayground/ |
D | RotarySysUiDirectManipulationWidgets.java | 83 Log.d(L.TAG, "Background about to be overwritten: " + v.getBackground()); in onClick() 84 v.setTag(R.id.saved_background_tag, v.getBackground()); in onClick()
|
/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | FaceEnrollIntroduction.java | 96 iconGlasses.getBackground().setColorFilter(getIconColorFilter()); in onCreate() 97 iconLooking.getBackground().setColorFilter(getIconColorFilter()); in onCreate() 117 iconRequireEyes.getBackground().setColorFilter(getIconColorFilter()); in onCreate()
|
/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/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/Launcher3/src/com/android/launcher3/ |
D | LauncherAnimUtils.java | 149 if (!(view.getBackground() instanceof ColorDrawable)) { 152 return ((ColorDrawable) view.getBackground()).getColor();
|
/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/src/com/android/launcher3/anim/ |
D | PendingAnimation.java | 89 if (view == null || (view.getBackground() instanceof ColorDrawable in setViewBackgroundColor() 90 && ((ColorDrawable) view.getBackground()).getColor() == color)) { in setViewBackgroundColor()
|
/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/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | FloatingWidgetBackgroundView.java | 80 if (isSupportedDrawable(backgroundView.getBackground())) { in init() 81 mOriginalBackground = backgroundView.getBackground(); in init()
|
/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/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/Settings/src/com/android/settings/widget/ |
D | SeekBarPreference.java | 145 if (v.getBackground() != null) { in onBindViewHolder() 148 v.getBackground().setHotspot(centerX, centerY); in onBindViewHolder()
|
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/template/ |
D | CarNotificationActionsViewTest.java | 342 assertThat(firstButton.getBackground()).isNotNull(); in onBind_actionExists_notCarCompatibleMessage_isCall_firstButtonHasBackground() 354 assertThat(secondButton.getBackground()).isNotNull(); in onBind_actionExists_notCarCompatibleMessage_isCall_secondButtonHasBackground()
|