Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DCustomizationVerifier.java53 public void assertStatusBarColorCorrect(int targetColor) { in assertStatusBarColorCorrect() argument
55 assertThat(statusBarColor, equalTo(targetColor)); in assertStatusBarColorCorrect()
66 public void assertDefaultLogoCorrect(int targetColor) { in assertDefaultLogoCorrect() argument
68 Drawable expectedLogo = makeDefaultLogo(targetColor); in assertDefaultLogoCorrect()
78 public void assertProgressBarColorCorrect(@LayoutRes int progressBarLayoutId, int targetColor) { in assertProgressBarColorCorrect() argument
81 ColorStateList expected = ColorStateList.valueOf(targetColor); in assertProgressBarColorCorrect()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/anim/
DColorMatcher.java24 public int findClosestColor(int targetColor) { in findClosestColor() argument
25 int r = bucketize(Color.red(targetColor)); in findClosestColor()
26 int g = bucketize(Color.green(targetColor)); in findClosestColor()
27 int b = bucketize(Color.blue(targetColor)); in findClosestColor()
DSwiperThemeMatcher.java37 public int findTheme(int targetColor) { in findTheme() argument
38 int closestColor = mColorMatcher.findClosestColor(targetColor); in findTheme()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ui/
DThemeUiTestBase.java96 final int targetColor = ta.getColor(attr, ~expected); in assertTheme() local
98 assertThat(targetColor).isEqualTo(expected); in assertTheme()
/packages/apps/Launcher3/src/com/android/launcher3/
DButtonDropTarget.java197 private void animateTextColor(int targetColor) { in animateTextColor() argument
213 Themes.setColorChangeOnMatrix(defaultTextColor, targetColor, mDstFilter); in animateTextColor()
224 mCurrentColorAnim.play(ObjectAnimator.ofArgb(this, TEXT_COLOR, targetColor)); in animateTextColor()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityTest.java258 int targetColor = Color.parseColor("#d40000"); // any color (except default) would do in testColors() local
264 .setMainColor(targetColor) in testColors()
268 assertColorsCorrect(intent, targetColor, targetColor); in testColors()
/packages/apps/Messaging/jni/
DGifTranscoder.cpp460 ColorARGB targetColor) { in findBestColor() argument
462 char alpha = ALPHA(targetColor); in findBestColor()
475 int distance = computeDistance(targetColor, indexedColor); in findBestColor()
DGifTranscoder.h89 ColorARGB targetColor);