Home
last modified time | relevance | path

Searched refs:getBackground (Results 1 – 25 of 63) sorted by relevance

123

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DConversationPriorityPreferenceTest.java85 assertThat(holder.itemView.findViewById(R.id.priority_group).getBackground()) in onBindViewHolder_nonConfigurable()
87 assertThat(holder.itemView.findViewById(R.id.alert).getBackground()).isEqualTo(unselected); in onBindViewHolder_nonConfigurable()
88 assertThat(holder.itemView.findViewById(R.id.silence).getBackground()) in onBindViewHolder_nonConfigurable()
97 assertThat(holder.itemView.findViewById(R.id.alert).getBackground()).isEqualTo(selected); in onBindViewHolder_nonConfigurable()
98 assertThat(holder.itemView.findViewById(R.id.silence).getBackground()) in onBindViewHolder_nonConfigurable()
100 assertThat(holder.itemView.findViewById(R.id.priority_group).getBackground()) in onBindViewHolder_nonConfigurable()
109 assertThat(holder.itemView.findViewById(R.id.priority_group).getBackground()) in onBindViewHolder_nonConfigurable()
111 assertThat(holder.itemView.findViewById(R.id.alert).getBackground()).isEqualTo(unselected); in onBindViewHolder_nonConfigurable()
112 assertThat(holder.itemView.findViewById(R.id.silence).getBackground()).isEqualTo(selected); in onBindViewHolder_nonConfigurable()
133 assertThat(holder.itemView.findViewById(R.id.priority_group).getBackground()) in onBindViewHolder_selectButtonAndText()
[all …]
DImportancePreferenceTest.java82 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/DeskClock/src/com/android/deskclock/
DAnimatorUtils.java55 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/
DColorChooser.java71 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/
DShortcutDragPreviewProvider.java58 Drawable d = mView.getBackground(); in createDragBitmapLegacy()
74 Drawable d = mView.getBackground(); in drawDragViewOnBackground()
86 int iconSize = getDrawableBounds(mView.getBackground()).width(); in getScaleAndPosition()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DFallbackRecentsTest.java148 mLauncher.getBackground().switchToOverview(); in goToOverviewFromHome()
157 mLauncher.getBackground().switchToOverview(); in goToOverviewFromApp()
183 return mLauncher.getBackground().switchToOverview(); in pressHomeAndGoToOverview()
196 BaseOverview overview = mLauncher.getBackground().switchToOverview(); in testOverview()
DViewInflationDuringSwipeUp.java124 mLauncher.getBackground().switchToOverview().dismissAllTasks(); in testSwipeUpFromApp()
130 mLauncher.getBackground().switchToOverview(); in testSwipeUpFromApp()
203 mLauncher.getBackground().switchToOverview().dismissAllTasks(); in executeSwipeUpTestWithWidget()
209 Background background = mLauncher.getBackground(); in executeSwipeUpTestWithWidget()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DSwitchBarTest.java66 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()
DHighlightablePreferenceGroupAdapterTest.java173 assertThat(mViewHolder.itemView.getBackground()).isInstanceOf(ColorDrawable.class); in updateBackground_highlight_shouldAnimateBackgroundAndSetHighlightedTag()
205 assertThat(mViewHolder.itemView.getBackground()).isNotInstanceOf(ColorDrawable.class); in updateBackground_reuseHightlightedRowForNormalRow_shouldResetBackgroundAndTag()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DPlayPauseStopImageView.java109 if (getBackground() != null) { in onCreateDrawableState()
110 getBackground().setState(drawableState); in onCreateDrawableState()
/packages/apps/Car/tests/RotaryPlayground/src/com/android/car/rotaryplayground/
DRotarySysUiDirectManipulationWidgets.java83 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/Dialer/java/com/android/dialer/dialpadview/
DPseudoEmergencyAnimator.java64 viewProvider.getFab().getBackground().setColorFilter(colorFilter); in start()
92 viewProvider.getFab().getBackground().clearColorFilter(); in start()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyPreviewView.java80 final Drawable background = getBackground(); in setTextAndScaleX()
132 final Drawable background = getBackground(); in setPreviewBackground()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DEditorDrawTabletUI.java181 GradientDrawable sd = ((GradientDrawable) mColorButton[i].getBackground()); in EditorDrawTabletUI()
240 GradientDrawable sd = ((GradientDrawable) b.getBackground()); in EditorDrawTabletUI()
273 GradientDrawable sd = ((GradientDrawable) button.getBackground()); in resetBorders()
DEditorColorBorderTabletUI.java175 GradientDrawable sd = ((GradientDrawable) mColorButton[i].getBackground()); in setupColor()
229 GradientDrawable sd = ((GradientDrawable) b.getBackground()); in setupColor()
250 GradientDrawable sd = ((GradientDrawable) button.getBackground()); in resetBorders()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactsUnavailableFragment.java78 mAddAccountButton.getBackground().setColorFilter(ContextCompat.getColor(getContext(), R in onCreateView()
82 mImportContactsButton.getBackground().setColorFilter(ContextCompat.getColor(getContext(), in onCreateView()
/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/
DTemperatureBarOverlay.java301 ((GradientDrawable) mTemperatureBar.getBackground()).setColor(endColor); in changeTemperatureColor()
376 = (GradientDrawable) mTemperatureBar.getBackground(); in setIsOn()
441 ((GradientDrawable) mTemperatureBar.getBackground()).setColor(color);
DFanSpeedBar.java182 GradientDrawable background = (GradientDrawable) mMaxButton.getBackground(); in setMaxButtonEnabled()
194 GradientDrawable background = (GradientDrawable) mOffButton.getBackground(); in setOffButtonEnabled()
/packages/apps/Messaging/src/com/android/messaging/ui/animation/
DViewGroupItemVerticalExplodeAnimation.java117 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/
DSeekBarPreference.java122 if (v.getBackground() != null) { in onBindViewHolder()
125 v.getBackground().setHotspot(centerX, centerY); in onBindViewHolder()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DClockDrawableWrapper.java78 super(base.getBackground(), base.getForeground()); in ClockDrawableWrapper()
146 getBackground().getConstantState().newDrawable(), null); in getExtendedInfo()
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DThemePreviewPage.java230 if (qsb.getBackground() instanceof GradientDrawable) { in bindPreviewContent()
231 GradientDrawable bg = (GradientDrawable) qsb.getBackground(); in bindPreviewContent()
/packages/apps/Settings/src/com/android/settings/widget/
DSeekBarPreference.java133 if (v.getBackground() != null) { in onBindViewHolder()
136 v.getBackground().setHotspot(centerX, centerY); in onBindViewHolder()
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/template/
DCarNotificationActionsViewTest.java312 assertThat(firstButton.getBackground()).isNotNull(); in onBind_actionExists_notCarCompatibleMessage_isCall_firstButtonHasBackground()
325 assertThat(secondButton.getBackground()).isNotNull(); in onBind_actionExists_notCarCompatibleMessage_isCall_secondButtonHasBackground()
/packages/apps/Camera2/src/com/android/camera/ui/
DBottomBar.java123 .getBackground(); in setPaintColor()
134 LayerDrawable layerDrawable = (LayerDrawable) mCancelButton.getBackground(); in setCancelBackgroundColor()

123