Home
last modified time | relevance | path

Searched refs:getBackgroundColor (Results 1 – 25 of 58) sorted by relevance

123

/aosp14/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
H A DActivityEmbeddingBaseActivity.java29 findViewById(R.id.root_activity_layout).setBackgroundColor(getBackgroundColor()); in onCreate()
33 abstract int getBackgroundColor(); in getBackgroundColor() method in ActivityEmbeddingBaseActivity
H A DActivityEmbeddingPlaceholderPrimaryActivity.java27 int getBackgroundColor() { in getBackgroundColor() method in ActivityEmbeddingPlaceholderPrimaryActivity
H A DActivityEmbeddingPlaceholderSecondaryActivity.java27 int getBackgroundColor() { in getBackgroundColor() method in ActivityEmbeddingPlaceholderSecondaryActivity
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DLocalAnimationAdapter.java59 public int getBackgroundColor() { in getBackgroundColor() method in LocalAnimationAdapter
60 return mSpec.getBackgroundColor(); in getBackgroundColor()
119 default int getBackgroundColor() { in getBackgroundColor() method
H A DAnimationAdapter.java56 default int getBackgroundColor() { in getBackgroundColor() method
H A DWindowAnimationSpec.java94 public int getBackgroundColor() { in getBackgroundColor() method in WindowAnimationSpec
/aosp14/frameworks/base/core/java/android/text/style/
H A DBackgroundColorSpan.java92 public int getBackgroundColor() { in getBackgroundColor() method in BackgroundColorSpan
106 return "BackgroundColorSpan{color=#" + String.format("%08X", getBackgroundColor()) + '}'; in toString()
H A DSuggestionRangeSpan.java85 public int getBackgroundColor() { in getBackgroundColor() method in SuggestionRangeSpan
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
H A DNotificationViewWrapper.java112 int backgroundColor = getBackgroundColor(mView); in onReinflated()
136 int background = getBackgroundColor(view); in needsInversion()
172 int backgroundColor = getBackgroundColor(viewGroup); in childrenNeedInversion()
194 protected int getBackgroundColor(View view) { in getBackgroundColor() method in NotificationViewWrapper
/aosp14/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/
H A DRvBoxAdapter.java82 holder.mTextView.setBackgroundColor(getBackgroundColor(position)); in onBindViewHolder()
85 private int getBackgroundColor(int position) { in getBackgroundColor() method in RvBoxAdapter
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
H A DStartingSurface.java28 default int getBackgroundColor(TaskInfo taskInfo) { in getBackgroundColor() method
H A DSnapshotWindowCreator.java58 mBGColor = mTaskSnapshotWindow.getBackgroundColor(); in SnapshotWindowRecord()
H A DTaskSnapshotWindow.java166 int backgroundColor = taskDescription.getBackgroundColor(); in TaskSnapshotWindow()
173 int getBackgroundColor() { in getBackgroundColor() method in TaskSnapshotWindow
H A DWindowlessSplashWindowCreator.java101 final int bgColor = taskDescription.getBackgroundColor(); in addSplashScreenStartingWindow()
H A DWindowlessSnapshotWindowCreator.java94 taskDescription.getBackgroundColor(), snapshot.hasImeSurface(), in makeTaskSnapshotWindow()
H A DStartingWindowController.java248 public int getBackgroundColor(TaskInfo taskInfo) { in getBackgroundColor() method in StartingWindowController.StartingSurfaceImpl
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
H A DTransitionAnimationHelper.java216 && info.getAnimationOptions().getBackgroundColor() != 0) { in getTransitionBackgroundColorIfSet()
218 return info.getAnimationOptions().getBackgroundColor(); in getTransitionBackgroundColorIfSet()
223 } else if (change.getBackgroundColor() != 0) { in getTransitionBackgroundColorIfSet()
227 return change.getBackgroundColor(); in getTransitionBackgroundColorIfSet()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/taskview/
H A DTaskView.java120 setResizeBackgroundColor(taskInfo.taskDescription.getBackgroundColor()); in onTaskAppeared()
127 setResizeBackgroundColor(taskInfo.taskDescription.getBackgroundColor()); in onTaskInfoChanged()
/aosp14/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityManagerTest.java255 assertEquals(td1.getBackgroundColor(), td2.getBackgroundColor()); in assertTaskDescriptionEqual()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDualToneHandler.kt85 fun getBackgroundColor(intensity: Float) = regex
/aosp14/frameworks/base/core/tests/coretests/src/android/app/
H A DNotificationTest.java763 assertEquals(rawColor, cDay.getBackgroundColor()); in validateColorizedPaletteForColor()
764 assertEquals(rawColor, cNight.getBackgroundColor()); in validateColorizedPaletteForColor()
772 assertEquals(cDay.getBackgroundColor(), cNight.getBackgroundColor()); in validateColorizedPaletteForColor()
1641 assertThat(c.getBackgroundColor()).isNotEqualTo(Notification.COLOR_INVALID); in assertValid()
1655 assertContrastIsAtLeast(c.getPrimaryTextColor(), c.getBackgroundColor(), 4.5); in assertValid()
1656 assertContrastIsAtLeast(c.getSecondaryTextColor(), c.getBackgroundColor(), 4.5); in assertValid()
1657 assertContrastIsAtLeast(c.getPrimaryAccentColor(), c.getBackgroundColor(), 4.5); in assertValid()
1658 assertContrastIsAtLeast(c.getErrorColor(), c.getBackgroundColor(), 4.5); in assertValid()
1659 assertContrastIsAtLeast(c.getContrastColor(), c.getBackgroundColor(), 4.5); in assertValid()
1662 assertContrastIsAtLeast(c.getSecondaryAccentColor(), c.getBackgroundColor(), 1); in assertValid()
[all …]
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
H A DBubbleBarExpandedView.java349 } else if (taskDescription.getBackgroundColor() != Color.TRANSPARENT) { in updateHandleColor()
350 color = taskDescription.getBackgroundColor(); in updateHandleColor()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
H A DPrivacyDialogV2.kt164 val backgroundColor = getBackgroundColor(element.isActive)
336 backgroundIcon.setTint(getBackgroundColor(active))
355 private fun getBackgroundColor(active: Boolean) = regex
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DFlashNotificationsControllerTest.java152 mLastFlashedViewColor = getBackgroundColor(view); in setUp()
452 private int getBackgroundColor(View view) { in getBackgroundColor() method in FlashNotificationsControllerTest
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
H A DActivityLaunchAnimator.kt344 fun getBackgroundColor(task: TaskInfo): Int regex
684 window.taskInfo?.let { callback.getBackgroundColor(it) } ?: window.backgroundColor

123