Searched refs:tempColors (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/java/android/content/res/
H A DGradientColor.java432 int[] tempColors = null;
437 tempColors = new int[length];
441 tempColors[i] = mItemColors[i];
446 tempColors = new int[3];
447 tempColors[0] = mStartColor;
448 tempColors[1] = mCenterColor;
449 tempColors[2] = mEndColor;
457 tempColors = new int[2];
458 tempColors[0] = mStartColor;
459 tempColors[
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java1137 int[] tempColors = gradientColors;
1141 tempColors = st.mTempColors;
1143 if (tempColors == null || tempColors.length != length + 1) {
1144 tempColors = st.mTempColors = new int[length + 1];
1146 System.arraycopy(gradientColors, 0, tempColors, 0, length);
1147 tempColors[length] = gradientColors[length - 1];
1162 mFillPaint.setShader(new SweepGradient(x0, y0, tempColors, tempPositions));
/frameworks/base/libs/hwui/
H A DBakedOpDispatcher.cpp452 std::unique_ptr<int[]> tempColors; local
455 tempColors.reset(new int[colorsCount]);
456 memset(tempColors.get(), 0xff, colorsCount * sizeof(int));
457 colors = tempColors.get();
H A DOpenGLRenderer.cpp1527 std::unique_ptr<int[]> tempColors; local
1530 tempColors.reset(new int[colorsCount]);
1531 memset(tempColors.get(), 0xff, colorsCount * sizeof(int));
1532 colors = tempColors.get();

Completed in 70 milliseconds