Searched refs:tempColors (Results 1 – 2 of 2) sorted by relevance
437 int[] tempColors = null; in onColorsChange() local442 tempColors = new int[length]; in onColorsChange()446 tempColors[i] = mItemColors[i]; in onColorsChange()451 tempColors = new int[3]; in onColorsChange()452 tempColors[0] = mStartColor; in onColorsChange()453 tempColors[1] = mCenterColor; 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()[all …]
1343 int[] tempColors = gradientColors;1347 tempColors = st.mTempColors;1349 if (tempColors == null || tempColors.length != length + 1) {1350 tempColors = st.mTempColors = new int[length + 1];1352 System.arraycopy(gradientColors, 0, tempColors, 0, length);1353 tempColors[length] = gradientColors[length - 1];1368 mFillPaint.setShader(new SweepGradient(x0, y0, tempColors, tempPositions));