Home
last modified time | relevance | path

Searched refs:getColors (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/colorextraction/
DSysuiColorExtractor.java121 public GradientColors getColors(int which) { in getColors() method in SysuiColorExtractor
122 return getColors(which, TYPE_DARK); in getColors()
133 public GradientColors getColors(int which, int type) { in getColors() method in SysuiColorExtractor
134 return getColors(which, type, false /* ignoreVisibility */); in getColors()
145 public GradientColors getColors(int which, boolean ignoreWallpaperVisibility) { in getColors() method in SysuiColorExtractor
146 return getColors(which, TYPE_NORMAL, ignoreWallpaperVisibility); in getColors()
157 public GradientColors getColors(int which, int type, boolean ignoreWallpaperVisibility) { in getColors() method in SysuiColorExtractor
164 return super.getColors(which, type); in getColors()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/colorextraction/
DSysuiColorExtractorTests.java63 extractor.getColors(WallpaperManager.FLAG_SYSTEM, type), fallbackColors); in getColors_usesGreyIfWallpaperNotVisible()
65 extractor.getColors(WallpaperManager.FLAG_LOCK, type), fallbackColors); in getColors_usesGreyIfWallpaperNotVisible()
82 extractor.getColors(which, type), colors); in getColors_doesntUseFallbackIfVisible()
/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/
DColorExtractorTest.java88 GradientColors colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, in getColors_usesExtractedColors()
91 colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, ColorExtractor.TYPE_DARK); in getColors_usesExtractedColors()
93 colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, ColorExtractor.TYPE_EXTRA_DARK); in getColors_usesExtractedColors()
/frameworks/base/core/java/com/android/internal/colorextraction/
DColorExtractor.java110 public GradientColors getColors(int which) { in getColors() method in ColorExtractor
111 return getColors(which, TYPE_DARK); in getColors()
122 public GradientColors getColors(int which, int type) { in getColors() method in ColorExtractor
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimController.java155 mLockColors = mColorExtractor.getColors(WallpaperManager.FLAG_LOCK, in ScrimController()
157 mSystemColors = mColorExtractor.getColors(WallpaperManager.FLAG_SYSTEM, in ScrimController()
375 mLightBarController.setScrimColor(mScrimInFront.getColors()); in updateScrims()
760 mLockColors = mColorExtractor.getColors(WallpaperManager.FLAG_LOCK, in onColorsChanged()
766 mSystemColors = mColorExtractor.getColors(WallpaperManager.FLAG_SYSTEM, in onColorsChanged()
DStatusBar.java4737 final boolean lockDarkText = mColorExtractor.getColors(WallpaperManager.FLAG_LOCK, true in updateTheme()
4754 final boolean useDarkText = mColorExtractor.getColors(which, in updateTheme()
/frameworks/base/libs/hwui/
DNinePatchUtils.h81 if (0 == chunk.getColors()[i++]) { in SetLatticeFlags()
DPatch.cpp40 : mColors(patch->getColors()) { in Patch()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSIconViewImplTest.java83 verify(iv).setImageTintList(argThat(stateList -> stateList.getColors()[0] == desiredColor)); in testNoFirstFade()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DScrimViewTest.java80 ColorExtractor.GradientColors colors = mView.getColors(); in testCreation_initialColor()
/frameworks/base/core/jni/android/graphics/
DNinePatch.cpp114 if (0 == chunk->getColors()[index++] && !iterDst.isEmpty()) { in getTransparentRegion()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsImpl.java103 GradientColors colors = Dependency.get(SysuiColorExtractor.class).getColors( in showShutdownUi()
DGlobalActionsDialog.java1274 GradientColors colors = mColorExtractor.getColors(mKeyguardShowing ?
1346 mGradientDrawable.setColors(extractor.getColors(WallpaperManager.FLAG_LOCK));
1350 mGradientDrawable.setColors(extractor.getColors(WallpaperManager.FLAG_SYSTEM));
/frameworks/opt/colorpicker/src/com/android/colorpicker/
DColorPickerDialog.java198 public int[] getColors() { in getColors() method in ColorPickerDialog
/frameworks/support/core-ui/java/android/support/v4/widget/
DCircularProgressDrawable.java377 return mRing.getColors(); in getColorSchemeColors()
759 int[] getColors() { in getColors() method in CircularProgressDrawable.Ring
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsActivity.java349 mUsingDarkText = mColorExtractor.getColors(ColorExtractor.TYPE_DARK, in onCreate()
405 ColorExtractor.GradientColors systemColors = mColorExtractor.getColors( in onStart()
432 ColorExtractor.GradientColors colors = mColorExtractor.getColors( in onColorsChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DScrimView.java205 public ColorExtractor.GradientColors getColors() { in getColors() method in ScrimView
/frameworks/base/core/java/android/content/res/
DColorStateList.java593 public int[] getColors() { in getColors() method in ColorStateList
/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java708 for (int c : mTintList.getColors()) { in toString()
DGradientDrawable.java679 public int[] getColors() { in getColors() method in GradientDrawable
/frameworks/base/tools/aapt/
DImages.cpp817 assert(outPatch->getColors()[i] == inPatch->getColors()[i]); in checkNinePatchSerialization()
/frameworks/base/core/java/com/android/internal/util/
DNotificationColorUtil.java220 int[] colors = colorStateList.getColors(); in processTextAppearanceSpan()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h176 inline uint32_t* getColors() const { in getColors() function
/frameworks/base/libs/androidfw/
DResourceTypes.cpp165 uint32_t* colors = getColors(); in deviceToFile()
185 uint32_t* colors = getColors(); in fileToDevice()
/frameworks/base/core/java/android/app/
DNotification.java4740 int[] colors = textColor.getColors(); in ensureColorSpanContrast()

12