Searched refs:mTmpHSL (Results 1 – 2 of 2) sorted by relevance
64 private float[] mTmpHSL = new float[3]; field in Tonal177 ColorUtils.colorToHSL(mainColor, mTmpHSL); in runTonalExtraction()178 final float mainLuminosity = mTmpHSL[2]; in runTonalExtraction()179 ColorUtils.colorToHSL(MAIN_COLOR_LIGHT, mTmpHSL); in runTonalExtraction()180 final float lightLuminosity = mTmpHSL[2]; in runTonalExtraction()184 ColorUtils.colorToHSL(MAIN_COLOR_DARK, mTmpHSL); in runTonalExtraction()185 final float darkLuminosity = mTmpHSL[2]; in runTonalExtraction()278 mTmpHSL[0] = fract(h[fitIndex]) * 360.0f; in getColorInt()279 mTmpHSL[1] = s[fitIndex]; in getColorInt()280 mTmpHSL[2] = l[fitIndex]; in getColorInt()[all …]
103 ColorUtils.colorToHSL(color, mTmpHSL); in setColorAndDim()105 mTmpHSL[2] = Math.min(1f, in setColorAndDim()106 mTmpHSL[2] + HIGHLIGHT_LIGHTNESS_INCREMENT * (1.0f - dimAlpha)); in setColorAndDim()107 mHighlightPaint.setColor(ColorUtils.HSLToColor(mTmpHSL)); in setColorAndDim()184 private float[] mTmpHSL = new float[3]; field in TaskViewHeader432 ColorUtils.colorToHSL(color, mTmpHSL); in updateBackgroundColor()433 mTmpHSL[2] = Math.min(1f, mTmpHSL[2] + OVERLAY_LIGHTNESS_INCREMENT * (1.0f - dimAlpha)); in updateBackgroundColor()434 mOverlayBackground.setColorAndDim(ColorUtils.HSLToColor(mTmpHSL), dimAlpha); in updateBackgroundColor()