/frameworks/base/core/tests/coretests/src/android/colormodel/ |
D | CamTest.java | 40 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/ |
D | WeatherData.kt | 29 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
|
D | ZenData.kt | 19 fun fromInt(zenMode: Int) = values().firstOrNull { it.zenMode == zenMode } in <lambda>() method
|
/frameworks/libs/systemui/monet/src/com/android/systemui/monet/ |
D | ColorScheme.java | 70 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/ |
D | PointProvider.java | 27 float[] fromInt(@ColorInt int argb); in fromInt() method
|
D | LABPointProvider.java | 42 public float[] fromInt(int color) { in fromInt() method in LABPointProvider
|
D | WSMeansQuantizer.java | 70 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/ |
D | FontSize.java | 42 public static FontSize fromInt(int value) { in fromInt() method in FontSize
|
D | TextAlignment.java | 44 public static TextAlignment fromInt(int value) { in fromInt() method in TextAlignment
|
D | TextColor.java | 55 public static TextColor fromInt(int value) { in fromInt() method in TextColor
|
D | ValueParser.java | 247 TextAlignment align = TextAlignment.fromInt(alignValue); in retrieveTextAttribute() 250 FontSize size = FontSize.fromInt(sizeValue); in retrieveTextAttribute() 261 TextColor color = TextColor.fromInt(colorValue); in retrieveTextAttribute()
|
D | ComprehensionTlvTag.java | 80 public static ComprehensionTlvTag fromInt(int value) { in fromInt() method in ComprehensionTlvTag
|
D | ResultCode.java | 206 public static ResultCode fromInt(int value) { in fromInt() method in ResultCode
|
D | Tone.java | 160 public static Tone fromInt(int value) { in fromInt() method in Tone
|
D | AppInterface.java | 145 public static CommandType fromInt(int value) { in fromInt() method in AppInterface.CommandType
|
D | CommandParamsFactory.java | 177 .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()
|
D | CommandParams.java | 40 return AppInterface.CommandType.fromInt(mCmdDet.typeOfCommand); in getCommandType()
|
D | RilMessageDecoder.java | 165 mCurrentRilMessage.mResCode = ResultCode.fromInt(msg.arg1); in processMessage()
|
D | CatCmdMessage.java | 253 return AppInterface.CommandType.fromInt(mCmdDet.typeOfCommand); in getCmdType()
|
D | CatService.java | 805 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/ |
D | ColorSchemeTest.kt | 168 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/ |
D | Cam.java | 143 public static Cam fromInt(int argb) { in fromInt() method in Cam 486 Cam camClipped = Cam.fromInt(clipped); in findCamByJ()
|
D | HctSolver.java | 719 return Cam.fromInt(solveToInt(hueDegrees, chroma, lstar)); in solveToCam()
|
/frameworks/base/core/java/com/android/internal/graphics/ |
D | ColorUtils.java | 349 return Cam.fromInt(color); in colorToCAM()
|
/frameworks/base/core/java/android/app/ |
D | WallpaperColors.java | 333 colorToCam.put(color, Cam.fromInt(color)); in WallpaperColors()
|