Home
last modified time | relevance | path

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

123

/aosp12/frameworks/base/core/tests/coretests/src/android/app/
H A DNotificationTest.java581 assertEquals(rawColor, cDay.getBackgroundColor()); in validateColorizedPaletteForColor()
582 assertEquals(rawColor, cNight.getBackgroundColor()); in validateColorizedPaletteForColor()
590 assertEquals(cDay.getBackgroundColor(), cNight.getBackgroundColor()); in validateColorizedPaletteForColor()
605 assertThat(c.getBackgroundColor()).isNotEqualTo(Notification.COLOR_INVALID); in assertValid()
619 assertContrastIsAtLeast(c.getPrimaryTextColor(), c.getBackgroundColor(), 4.5); in assertValid()
620 assertContrastIsAtLeast(c.getSecondaryTextColor(), c.getBackgroundColor(), 4.5); in assertValid()
621 assertContrastIsAtLeast(c.getPrimaryAccentColor(), c.getBackgroundColor(), 4.5); in assertValid()
622 assertContrastIsAtLeast(c.getErrorColor(), c.getBackgroundColor(), 4.5); in assertValid()
623 assertContrastIsAtLeast(c.getContrastColor(), c.getBackgroundColor(), 4.5); in assertValid()
626 assertContrastIsAtLeast(c.getSecondaryAccentColor(), c.getBackgroundColor(), 1); in assertValid()
[all …]
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DTaskDescriptionCompat.java36 public int getBackgroundColor() { in getBackgroundColor() method in TaskDescriptionCompat
38 ? mTaskDescription.getBackgroundColor() in getBackgroundColor()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/
H A DUnfoldBackgroundController.java46 mBackgroundColor = getBackgroundColor(context); in UnfoldBackgroundController()
81 private float[] getBackgroundColor(Context context) { in getBackgroundColor() method in UnfoldBackgroundController
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
H A DNotificationViewWrapper.java114 int backgroundColor = getBackgroundColor(mView); in onReinflated()
138 int background = getBackgroundColor(view); in needsInversion()
174 int backgroundColor = getBackgroundColor(viewGroup); in childrenNeedInversion()
196 protected int getBackgroundColor(View view) { in getBackgroundColor() method in NotificationViewWrapper
/aosp12/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
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
H A DAvatarRequest.java119 getBackgroundColor()); in renderDefaultAvatar()
161 getBackgroundColor()); in renderLetterTile()
181 private int getBackgroundColor() { in getBackgroundColor() method in AvatarRequest
/aosp12/packages/apps/Settings/src/com/android/settings/biometrics/
H A DBiometricEnrollBase.java172 buttonContainer.setBackgroundColor(getBackgroundColor()); in onPostCreate()
179 getWindow().setStatusBarColor(getBackgroundColor()); in onAttachedToWindow()
288 private int getBackgroundColor() { in getBackgroundColor() method in BiometricEnrollBase
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
H A DStartingSurface.java36 default int getBackgroundColor(TaskInfo taskInfo) { in getBackgroundColor() method
H A DStartingWindowController.java227 public int getBackgroundColor(TaskInfo taskInfo) { in getBackgroundColor() method in StartingWindowController.StartingSurfaceImpl
/aosp12/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityManagerTest.java250 assertEquals(td1.getBackgroundColor(), td2.getBackgroundColor()); in assertTaskDescriptionEqual()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DIconView.java116 mPaint.setColor(getBackgroundColor()); in drawOutlinedText()
146 public int getBackgroundColor() { in getBackgroundColor() method in IconView
/aosp12/frameworks/base/core/java/android/text/style/
H A DBackgroundColorSpan.java92 public int getBackgroundColor() { in getBackgroundColor() method in BackgroundColorSpan
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DActivityState.java83 mContentPane.setBackgroundColor(getBackgroundColor()); in setContentPane()
121 protected float[] getBackgroundColor() { in getBackgroundColor() method in ActivityState
/aosp12/frameworks/ex/framesequence/jni/
H A DFrameSequence_gif.h59 Color8888 getBackgroundColor() const { return mBgColor; } in getBackgroundColor() function
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
H A DColorPaletteHelper.java50 result.put(COLOR_TYPE_BACKGROUND_SURFACE, sharedPreferences.getBackgroundColor()); in createColorPaletteMap()
H A DManagedProvisioningSharedPreferences.java171 public int getBackgroundColor() { in getBackgroundColor() method in ManagedProvisioningSharedPreferences
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDualToneHandler.kt85 fun getBackgroundColor(intensity: Float) = regex
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/
H A DTaskView.java274 int backgroundColor = taskInfo.taskDescription.getBackgroundColor(); in onTaskAppeared()
309 setResizeBackgroundColor(taskInfo.taskDescription.getBackgroundColor()); in onTaskInfoChanged()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DLetterboxUiController.java297 if (taskDescription != null && taskDescription.getBackgroundColor() != 0) { in getLetterboxBackgroundColor()
298 return Color.valueOf(taskDescription.getBackgroundColor()); in getLetterboxBackgroundColor()
/aosp12/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
H A DActivityLaunchAnimator.kt241 fun getBackgroundColor(task: TaskInfo): Int regex
377 val windowBackgroundColor = callback.getBackgroundColor(window.taskInfo)
/aosp12/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java255 ss.mBackgroundColor = mManager.getBackgroundColor(); in onSaveInstanceState()
861 public int getBackgroundColor() { in getBackgroundColor() method in EditStyledText
862 return mManager.getBackgroundColor(); in getBackgroundColor()
1140 marquee.resetColor(mEST.getBackgroundColor()); in onRefreshStyles()
1226 int backgroundColor = mEST.getBackgroundColor(); in setTextComposingMask()
1236 || mComposingTextMask.getBackgroundColor() != maskColor) { in setTextComposingMask()
1287 public int getBackgroundColor() { in getBackgroundColor() method in EditStyledText.EditorManager
1725 setLineStyledTextSpan(new MarqueeSpan(marquee, mEST.getBackgroundColor())); in addMarquee()
1895 int bgColor = mEST.getBackgroundColor(); in getPreviewHtml()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/anim/
H A DStateTransitionAnimation.java149 if (clear) canvas.clearBuffer(view.getBackgroundColor()); in applyOldTexture()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DMediaCarouselController.kt125 private var bgColor = getBackgroundColor()
514 bgColor = getBackgroundColor()
532 private fun getBackgroundColor(): Int { regex
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
H A DSplitDecorManager.java187 final int taskBgColor = taskInfo.taskDescription.getBackgroundColor(); in getResizingBackgroundColor()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DNotificationContentView.java666 int endColor = getBackgroundColor(mVisibleType); in updateBackgroundTransformation()
667 int startColor = getBackgroundColor(mTransformationStartVisibleType); in updateBackgroundTransformation()
851 int customBackgroundColor = getBackgroundColor(mVisibleType); in updateBackgroundColor()
882 return getBackgroundColor(visibleType); in getBackgroundColorForExpansionState()
885 public int getBackgroundColor(int visibleType) { in getBackgroundColor() method in NotificationContentView

123