Home
last modified time | relevance | path

Searched refs:backgroundDrawable (Results 1 – 14 of 14) sorted by relevance

/aosp12/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
H A DGhostedViewLaunchAnimatorController.kt79 private var backgroundDrawable: WrappedDrawable? = null
107 backgroundDrawable?.setBackgroundRadius(topCornerRadius, bottomCornerRadius)
163 backgroundDrawable = WrappedDrawable(drawable)
164 backgroundView?.background = backgroundDrawable
246 val backgroundDrawable = backgroundDrawable!! regex
247 backgroundDrawable.wrapped?.let {
260 backgroundDrawable?.wrapped?.alpha = startBackgroundAlpha
/aosp12/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
H A DDvrDetailsFragment.java154 Drawable backgroundDrawable = null; in onLoadLogoAndBackgroundImages() local
161 backgroundDrawable = in onLoadLogoAndBackgroundImages()
163 mBackgroundHelper.setBackground(backgroundDrawable); in onLoadLogoAndBackgroundImages()
165 if (logoDrawable != null && backgroundDrawable != null) { in onLoadLogoAndBackgroundImages()
169 && backgroundDrawable == null in onLoadLogoAndBackgroundImages()
191 if (backgroundDrawable == null) { in onLoadLogoAndBackgroundImages()
/aosp12/packages/apps/TV/src/com/android/tv/ui/
H A DProgramDetailsFragment.java248 Drawable backgroundDrawable = null;
255 backgroundDrawable =
257 mBackgroundHelper.setBackground(backgroundDrawable);
259 if (logoDrawable != null && backgroundDrawable != null) {
263 && backgroundDrawable == null
285 if (backgroundDrawable == null) {
/aosp12/frameworks/base/core/java/android/widget/
H A DToggleButton.java164 private void updateReferenceToIndicatorDrawable(Drawable backgroundDrawable) { in updateReferenceToIndicatorDrawable() argument
165 if (backgroundDrawable instanceof LayerDrawable) { in updateReferenceToIndicatorDrawable()
166 LayerDrawable layerDrawable = (LayerDrawable) backgroundDrawable; in updateReferenceToIndicatorDrawable()
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
H A DPhoneWindowTest.java111 Drawable backgroundDrawable = mPhoneWindow.getDecorView().getBackground(); in testWindowBackground_colorLiteral() local
112 assertThat(backgroundDrawable instanceof ColorDrawable, is(true)); in testWindowBackground_colorLiteral()
114 ColorDrawable colorDrawable = (ColorDrawable) backgroundDrawable; in testWindowBackground_colorLiteral()
/aosp12/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
H A DIllustrationTest.java52 final Drawable backgroundDrawable = new ColorDrawable(Color.RED); in testAspectRatio() local
54 illustration.setBackgroundDrawable(backgroundDrawable); in testAspectRatio()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
H A DAudioRecordView.java228 final GradientDrawable backgroundDrawable = ((GradientDrawable) getResources() in updateRecordButtonAppearance() local
232 backgroundDrawable.setColor(mThemeColor); in updateRecordButtonAppearance()
235 backgroundDrawable.setColor(Color.WHITE); in updateRecordButtonAppearance()
238 mRecordButtonVisual.setBackground(backgroundDrawable); in updateRecordButtonAppearance()
/aosp12/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/
H A DBlockedNumbersFragment.java120 ColorDrawable backgroundDrawable = in onResume() local
122 actionBar.setBackgroundDrawable(backgroundDrawable); in onResume()
/aosp12/packages/apps/ThemePicker/src/com/android/customization/widget/
H A DDynamicAdaptiveIconDrawable.java137 public DynamicAdaptiveIconDrawable(Drawable backgroundDrawable, in DynamicAdaptiveIconDrawable() argument
140 if (backgroundDrawable != null) { in DynamicAdaptiveIconDrawable()
141 addLayer(BACKGROUND_ID, createChildDrawable(backgroundDrawable)); in DynamicAdaptiveIconDrawable()
/aosp12/packages/apps/Dialer/java/com/android/incallui/
H A DInCallActivity.java140 private GradientDrawable backgroundDrawable; field in InCallActivity
920 if (backgroundDrawable == null) { in updateWindowBackgroundColor()
922 backgroundDrawable = new GradientDrawable(Orientation.TOP_BOTTOM, backgroundDrawableColors); in updateWindowBackgroundColor()
938 backgroundDrawable.setColors(backgroundDrawableColors); in updateWindowBackgroundColor()
943 getWindow().setBackgroundDrawable(backgroundDrawable); in updateWindowBackgroundColor()
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
H A DPreviewFragment.java316 Drawable backgroundDrawable = layerDrawable.getDrawable(/* index= */ 0); in setFullScreenActions()
317 backgroundDrawable.setTint(!visible ? ResourceUtils.getColorAttr(getActivity(), in setFullScreenActions()
/aosp12/frameworks/base/graphics/java/android/graphics/drawable/
H A DAdaptiveIconDrawable.java189 public AdaptiveIconDrawable(Drawable backgroundDrawable, in AdaptiveIconDrawable() argument
192 if (backgroundDrawable != null) { in AdaptiveIconDrawable()
193 addLayer(BACKGROUND_ID, createChildDrawable(backgroundDrawable)); in AdaptiveIconDrawable()
/aosp12/frameworks/base/core/java/com/android/internal/policy/
H A DDecorView.java2324 public static Drawable getResizingBackgroundDrawable(@Nullable Drawable backgroundDrawable, in getResizingBackgroundDrawable() argument
2326 if (backgroundDrawable != null) { in getResizingBackgroundDrawable()
2327 return enforceNonTranslucentBackground(backgroundDrawable, windowTranslucent); in getResizingBackgroundDrawable()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...