/aosp12/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | NotificationTest.java | 581 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 D | TaskDescriptionCompat.java | 36 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 D | UnfoldBackgroundController.java | 46 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 D | NotificationViewWrapper.java | 114 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 D | RvBoxAdapter.java | 82 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 D | AvatarRequest.java | 119 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 D | BiometricEnrollBase.java | 172 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 D | StartingSurface.java | 36 default int getBackgroundColor(TaskInfo taskInfo) { in getBackgroundColor() method
|
H A D | StartingWindowController.java | 227 public int getBackgroundColor(TaskInfo taskInfo) { in getBackgroundColor() method in StartingWindowController.StartingSurfaceImpl
|
/aosp12/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | ActivityManagerTest.java | 250 assertEquals(td1.getBackgroundColor(), td2.getBackgroundColor()); in assertTaskDescriptionEqual()
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
H A D | IconView.java | 116 mPaint.setColor(getBackgroundColor()); in drawOutlinedText() 146 public int getBackgroundColor() { in getBackgroundColor() method in IconView
|
/aosp12/frameworks/base/core/java/android/text/style/ |
H A D | BackgroundColorSpan.java | 92 public int getBackgroundColor() { in getBackgroundColor() method in BackgroundColorSpan
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | ActivityState.java | 83 mContentPane.setBackgroundColor(getBackgroundColor()); in setContentPane() 121 protected float[] getBackgroundColor() { in getBackgroundColor() method in ActivityState
|
/aosp12/frameworks/ex/framesequence/jni/ |
H A D | FrameSequence_gif.h | 59 Color8888 getBackgroundColor() const { return mBgColor; } in getBackgroundColor() function
|
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
H A D | ColorPaletteHelper.java | 50 result.put(COLOR_TYPE_BACKGROUND_SURFACE, sharedPreferences.getBackgroundColor()); in createColorPaletteMap()
|
H A D | ManagedProvisioningSharedPreferences.java | 171 public int getBackgroundColor() { in getBackgroundColor() method in ManagedProvisioningSharedPreferences
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | DualToneHandler.kt | 85 fun getBackgroundColor(intensity: Float) = regex
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/ |
H A D | TaskView.java | 274 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 D | LetterboxUiController.java | 297 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 D | ActivityLaunchAnimator.kt | 241 fun getBackgroundColor(task: TaskInfo): Int regex 377 val windowBackgroundColor = callback.getBackgroundColor(window.taskInfo)
|
/aosp12/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
H A D | EditStyledText.java | 255 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 D | StateTransitionAnimation.java | 149 if (clear) canvas.clearBuffer(view.getBackgroundColor()); in applyOldTexture()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
H A D | MediaCarouselController.kt | 125 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 D | SplitDecorManager.java | 187 final int taskBgColor = taskInfo.taskDescription.getBackgroundColor(); in getResizingBackgroundColor()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
H A D | NotificationContentView.java | 666 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
|