Home
last modified time | relevance | path

Searched refs:fromInt (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/colormodel/
DCamTest.java40 Cam cam = Cam.fromInt(RED); in camFromIntToInt()
62 Cam cam = Cam.fromInt(RED); in camFromRed()
73 Cam cam = Cam.fromInt(GREEN); in camFromGreen()
84 Cam cam = Cam.fromInt(BLUE); in camFromBlue()
95 Cam cam = Cam.fromInt(BLACK); in camFromBlack()
106 Cam cam = Cam.fromInt(WHITE); in camFromWhite()
118 Cam cam = Cam.fromInt(colorToTest); in getRedFromGamutMap()
126 Cam cam = Cam.fromInt(colorToTest); in getGreenFromGamutMap()
134 Cam cam = Cam.fromInt(colorToTest); in getBlueFromGamutMap()
142 Cam cam = Cam.fromInt(colorToTest); in getWhiteFromGamutMap()
[all …]
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/clocks/
DWeatherData.kt29 WeatherStateIcon.fromInt(extras.getInt(STATE_KEY, INVALID_WEATHER_ICON_STATE)) in fromBundle()
115 fun fromInt(value: Int) = values().firstOrNull { it.id == value } in <lambda>() method
DZenData.kt19 fun fromInt(zenMode: Int) = values().firstOrNull { it.zenMode == zenMode } in <lambda>() method
/frameworks/libs/systemui/monet/src/com/android/systemui/monet/
DColorScheme.java70 mProposedSeedHct = Hct.fromInt(seed); in ColorScheme()
71 Hct seedHct = Hct.fromInt( in ColorScheme()
224 .filter(color -> !filter || Hct.fromInt(color).getChroma() >= MIN_CHROMA) in getSeedColors()
236 .collect(Collectors.toMap(Map.Entry::getKey, entry -> Hct.fromInt(entry.getKey()))); in getSeedColors()
336 Hct hct = Hct.fromInt(color); in stringForColor()
/frameworks/base/core/java/com/android/internal/graphics/palette/
DPointProvider.java27 float[] fromInt(@ColorInt int argb); in fromInt() method
DLABPointProvider.java42 public float[] fromInt(int color) { in fromInt() method in LABPointProvider
DWSMeansQuantizer.java70 float[] point = pointProvider.fromInt(cluster); in WSMeansQuantizer()
97 mPoints[index] = mPointProvider.fromInt(pixel); in quantize()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DFontSize.java42 public static FontSize fromInt(int value) { in fromInt() method in FontSize
DTextAlignment.java44 public static TextAlignment fromInt(int value) { in fromInt() method in TextAlignment
DTextColor.java55 public static TextColor fromInt(int value) { in fromInt() method in TextColor
DValueParser.java247 TextAlignment align = TextAlignment.fromInt(alignValue); in retrieveTextAttribute()
250 FontSize size = FontSize.fromInt(sizeValue); in retrieveTextAttribute()
261 TextColor color = TextColor.fromInt(colorValue); in retrieveTextAttribute()
DComprehensionTlvTag.java80 public static ComprehensionTlvTag fromInt(int value) { in fromInt() method in ComprehensionTlvTag
DResultCode.java206 public static ResultCode fromInt(int value) { in fromInt() method in ResultCode
DTone.java160 public static Tone fromInt(int value) { in fromInt() method in Tone
DAppInterface.java145 public static CommandType fromInt(int value) { in fromInt() method in AppInterface.CommandType
DCommandParamsFactory.java177 .fromInt(cmdDet.typeOfCommand); in make()
644 .fromInt(cmdDet.typeOfCommand); in processSelectItem()
980 tone = Tone.fromInt(toneVal); in processPlayTone()
1168 AppInterface.CommandType.fromInt(cmdDet.typeOfCommand); in processBIPClient()
DCommandParams.java40 return AppInterface.CommandType.fromInt(mCmdDet.typeOfCommand); in getCommandType()
DRilMessageDecoder.java165 mCurrentRilMessage.mResCode = ResultCode.fromInt(msg.arg1); in processMessage()
DCatCmdMessage.java253 return AppInterface.CommandType.fromInt(mCmdDet.typeOfCommand); in getCmdType()
DCatService.java805 CommandType cmdType = AppInterface.CommandType.fromInt(cmdDet.typeOfCommand); in encodeOptionalTags()
1164 AppInterface.CommandType type = AppInterface.CommandType.fromInt(cmdDet.typeOfCommand); in handleCmdResponse()
/frameworks/libs/systemui/monet/tests/com/android/systemui/monet/
DColorSchemeTest.kt168 val dynamicScheme = SchemeTonalSpot(Hct.fromInt(GOOGLE_BLUE), isDark, 0.5) in generateDefaultValues()
178 val dynamicScheme = SchemeTonalSpot(Hct.fromInt(GOOGLE_BLUE), false, 0.5) in generateDefaultValues()
/frameworks/base/core/java/com/android/internal/graphics/cam/
DCam.java143 public static Cam fromInt(int argb) { in fromInt() method in Cam
486 Cam camClipped = Cam.fromInt(clipped); in findCamByJ()
DHctSolver.java719 return Cam.fromInt(solveToInt(hueDegrees, chroma, lstar)); in solveToCam()
/frameworks/base/core/java/com/android/internal/graphics/
DColorUtils.java349 return Cam.fromInt(color); in colorToCAM()
/frameworks/base/core/java/android/app/
DWallpaperColors.java333 colorToCam.put(color, Cam.fromInt(color)); in WallpaperColors()

12