Home
last modified time | relevance | path

Searched refs:mTmpHSL (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskViewHeader.java96 ColorUtils.colorToHSL(color, mTmpHSL); in setColorAndDim()
98 mTmpHSL[2] = Math.min(1f, in setColorAndDim()
99 mTmpHSL[2] + HIGHLIGHT_LIGHTNESS_INCREMENT * (1.0f - dimAlpha)); in setColorAndDim()
100 mHighlightPaint.setColor(ColorUtils.HSLToColor(mTmpHSL)); in setColorAndDim()
177 private float[] mTmpHSL = new float[3]; field in TaskViewHeader
433 ColorUtils.colorToHSL(color, mTmpHSL); in updateBackgroundColor()
434 mTmpHSL[2] = Math.min(1f, mTmpHSL[2] + OVERLAY_LIGHTNESS_INCREMENT * (1.0f - dimAlpha)); in updateBackgroundColor()
435 mOverlayBackground.setColorAndDim(ColorUtils.HSLToColor(mTmpHSL), dimAlpha); in updateBackgroundColor()