Searched refs:primaryColors (Results 1 – 4 of 4) sorted by relevance
28 private final TypedArray primaryColors; field in InCallUIMaterialColorMapUtils37 primaryColors = resources.obtainTypedArray(R.array.background_colors); in InCallUIMaterialColorMapUtils()62 for (int i = 0; i < primaryColors.length(); i++) { in calculatePrimaryAndSecondaryColor()63 if (primaryColors.getColor(i, 0) == color) { in calculatePrimaryAndSecondaryColor()64 return new MaterialPalette(primaryColors.getColor(i, 0), secondaryColors.getColor(i, 0)); in calculatePrimaryAndSecondaryColor()
422 needsExtraction = wallpaper.primaryColors == null; in notifyWallpaperColorsChangedOnDisplay()500 mFallbackWallpaper.primaryColors = colors; in extractColors()536 wallpaper.primaryColors = colors; in extractColors()949 WallpaperColors primaryColors; field in WallpaperManagerService.WallpaperData1445 mWallpaper.primaryColors = primaryColors; in onWallpaperColorsChanged()2083 wallpaper.primaryColors = null; in clearWallpaperLocked()2617 return wallpaperData.primaryColors; in getWallpaperColors()2710 lockWP.primaryColors = sysWP.primaryColors; in migrateSystemToLockWallpaperLocked()2751 wallpaper.primaryColors = null; in updateWallpaperBitmapLocked()2817 wallpaper.primaryColors = null; in setWallpaperComponent()[all …]
396 assertEquals(systemWallpaperData.primaryColors, shouldMatchSystem.primaryColors); in testXmlSerializationRoundtrip()403 wallpaper.primaryColors = new WallpaperColors(Color.valueOf(Color.RED), in testWallpaperManagerCallbackInRightOrder()
843 WallpaperColors primaryColors = mIWallpaperEngine.mWallpaperManager in notifyLocalColorsChanged() local845 setPrimaryWallpaperColors(primaryColors); in notifyLocalColorsChanged()