Searched refs:targetColor (Results 1 – 8 of 8) sorted by relevance
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | CustomizationVerifier.java | 53 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/ |
D | ColorMatcher.java | 24 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()
|
D | SwiperThemeMatcher.java | 37 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/ |
D | ThemeUiTestBase.java | 96 final int targetColor = ta.getColor(attr, ~expected); in assertTheme() local 98 assertThat(targetColor).isEqualTo(expected); in assertTheme()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | ButtonDropTarget.java | 197 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/ |
D | ProvisioningActivityTest.java | 258 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/ |
D | GifTranscoder.cpp | 460 ColorARGB targetColor) { in findBestColor() argument 462 char alpha = ALPHA(targetColor); in findBestColor() 475 int distance = computeDistance(targetColor, indexedColor); in findBestColor()
|
D | GifTranscoder.h | 89 ColorARGB targetColor);
|