Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DFullScreenAnimation.java311 int targetColor; in animateColor() local
313 targetColor = ResourceUtils.getColorAttr( in animateColor()
317 targetColor = mView.getContext().getColor(android.R.color.black); in animateColor()
319 targetColor = mView.getContext().getColor(android.R.color.white); in animateColor()
322 if (targetColor == mCurrentTextColor) { in animateColor()
329 ValueAnimator colorAnimator = ValueAnimator.ofArgb(mCurrentTextColor, targetColor); in animateColor()
341 mCurrentTextColor = targetColor; in animateColor()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DLottieAnimationWrapper.java65 int targetColor = mLottieAnimationView.getContext().getColor(targetColorRes); in setLayerColor() local
70 return new PorterDuffColorFilter(targetColor, PorterDuff.Mode.SRC_ATOP); in setLayerColor()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DCustomizationVerifier.java44 public void assertDefaultLogoCorrect(int targetColor) { in assertDefaultLogoCorrect() argument
46 Drawable expectedLogo = makeDefaultLogo(targetColor); in assertDefaultLogoCorrect()
/packages/apps/DocumentsUI/tests/functional/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/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);
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityRoboTest.java402 private void assertDefaultLogoColorCorrect(Activity activity, int targetColor) { in assertDefaultLogoColorCorrect() argument
407 assertThat(colorFilter.getColor()).isEqualTo(targetColor); in assertDefaultLogoColorCorrect()