Home
last modified time | relevance | path

Searched refs:backgroundView (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DFloatingWidgetBackgroundView.java70 void init(LauncherAppWidgetHostView hostView, @NonNull View backgroundView, in init() argument
73 mSourceView = backgroundView; in init()
74 mInitialOutlineRadius = getOutlineRadius(hostView, backgroundView); in init()
76 if (isSupportedDrawable(backgroundView.getForeground())) { in init()
77 if (backgroundView.getTag(R.id.saved_floating_widget_foreground) == null) { in init()
78 mOriginalForeground = backgroundView.getForeground(); in init()
79 backgroundView.setTag(R.id.saved_floating_widget_foreground, mOriginalForeground); in init()
81 mOriginalForeground = (Drawable) backgroundView.getTag( in init()
92 if (isSupportedDrawable(backgroundView.getBackground())) { in init()
93 if (backgroundView.getTag(R.id.saved_floating_widget_background) == null) { in init()
[all …]
DDesktopTaskView.kt61 private lateinit var backgroundView: View in <lambda>() variable
67 backgroundView = in <lambda>()
232 container.dragLayer.getDescendantRectRelativeToSelf(backgroundView, bounds) in <lambda>()
234 bounds.set(backgroundView) in <lambda>()
264 backgroundView.visibility = if (fullscreenProgress > 0) INVISIBLE else VISIBLE in <lambda>()
/packages/apps/Settings/src/com/android/settings/accessibility/
DTextReadingPreviewPreference.java90 LinearLayout backgroundView = previewLayout.findViewById(R.id.preview_background); in onBindViewHolder() local
91 adjustPaddings(previewLayout, backgroundView); in onBindViewHolder()
116 void adjustPaddings(FrameLayout previewLayout, LinearLayout backgroundView) { in adjustPaddings() argument
123 backgroundView.setPadding( in adjustPaddings()
124 Math.max(backgroundView.getPaddingStart(), mBackgroundMinHorizontalPadding), in adjustPaddings()
125 backgroundView.getPaddingTop(), in adjustPaddings()
126 Math.max(backgroundView.getPaddingEnd(), mBackgroundMinHorizontalPadding), in adjustPaddings()
127 backgroundView.getPaddingBottom() in adjustPaddings()
DAccessibilityShortcutsTutorial.java628 final View backgroundView = mIllustrationView.findViewById(R.id.image_background); in setupIllustrationChildViewsGravity() local
629 initViewGravity(backgroundView); in setupIllustrationChildViewsGravity()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DTextReadingPreviewPreferenceTest.java155 final LinearLayout backgroundView = previewLayout.findViewById(R.id.preview_background); in adjustPaddings_setMinPaddingsLessThanXMLValue_paddingsNotIncreased() local
158 final int currentBackgroundPaddingStart = backgroundView.getPaddingStart(); in adjustPaddings_setMinPaddingsLessThanXMLValue_paddingsNotIncreased()
163 mTextReadingPreviewPreference.adjustPaddings(previewLayout, backgroundView); in adjustPaddings_setMinPaddingsLessThanXMLValue_paddingsNotIncreased()
166 assertThat(backgroundView.getPaddingStart()).isEqualTo(currentBackgroundPaddingStart); in adjustPaddings_setMinPaddingsLessThanXMLValue_paddingsNotIncreased()
174 final LinearLayout backgroundView = previewLayout.findViewById(R.id.preview_background); in adjustPaddings_setMinPaddingsLargerThanXMLValue_paddingsIncreased() local
177 final int currentBackgroundPaddingStart = backgroundView.getPaddingStart(); in adjustPaddings_setMinPaddingsLargerThanXMLValue_paddingsIncreased()
182 mTextReadingPreviewPreference.adjustPaddings(previewLayout, backgroundView); in adjustPaddings_setMinPaddingsLargerThanXMLValue_paddingsIncreased()
185 assertThat(backgroundView.getPaddingStart()).isEqualTo(currentBackgroundPaddingStart + 10); in adjustPaddings_setMinPaddingsLargerThanXMLValue_paddingsIncreased()
/packages/apps/TV/src/com/android/tv/ui/
DFullscreenDialogView.java129 View backgroundView = findViewById(R.id.background); in startEnterAnimation() local
131 backgroundView.setAlpha(0); in startEnterAnimation()
132 backgroundView in startEnterAnimation()
145 View backgroundView = findViewById(R.id.background); in startExitAnimation() local
147 backgroundView in startExitAnimation()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackSideFragment.java64 View backgroundView = super.onCreateBackgroundView(inflater, container, savedInstanceState); in onCreateBackgroundView() local
65 backgroundView.setBackgroundColor( in onCreateBackgroundView()
67 return backgroundView; in onCreateBackgroundView()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/option/ui/binder/
DOptionItemBinder.kt79 val backgroundView: View = view.requireViewById(R.id.background) in <lambda>() constant
105 backgroundView.alpha = in <lambda>()
167 contentView = backgroundView, in <lambda>()