Searched refs:tempColors (Results 1 – 2 of 2) sorted by relevance
437 int[] tempColors = null; in onColorsChange() local442 tempColors = new int[length]; in onColorsChange()451 tempColors = new int[3]; in onColorsChange()452 tempColors[0] = mStartColor; in onColorsChange()454 tempColors[2] = mEndColor; in onColorsChange()462 tempColors = new int[2]; in onColorsChange()463 tempColors[0] = mStartColor; in onColorsChange()464 tempColors[1] = mEndColor; in onColorsChange()467 if (tempColors.length < 2) { in onColorsChange()469 + " " + tempColors); in onColorsChange()[all …]
1357 int[] tempColors = gradientColors;1361 tempColors = st.mTempColors;1363 if (tempColors == null || tempColors.length != length + 1) {1364 tempColors = st.mTempColors = new int[length + 1];1366 System.arraycopy(gradientColors, 0, tempColors, 0, length);1367 tempColors[length] = gradientColors[length - 1];1382 mFillPaint.setShader(new SweepGradient(x0, y0, tempColors, tempPositions));