Searched refs:colorChannel (Results 1 – 3 of 3) sorted by relevance
136 private static int checkArgumentColorChannel(int colorChannel) { in checkArgumentColorChannel() argument137 switch (colorChannel) { in checkArgumentColorChannel()146 return colorChannel; in checkArgumentColorChannel()165 public int getPointCount(int colorChannel) { in getPointCount() argument166 checkArgumentColorChannel(colorChannel); in getPointCount()168 return getCurve(colorChannel).length / POINT_SIZE; in getPointCount()189 public PointF getPoint(int colorChannel, int index) { in getPoint() argument190 checkArgumentColorChannel(colorChannel); in getPoint()191 if (index < 0 || index >= getPointCount(colorChannel)) { in getPoint()195 final float[] curve = getCurve(colorChannel); in getPoint()[all …]
113 public float getComponent(final int colorChannel) { in getComponent() argument114 if (colorChannel < 0 || colorChannel >= COUNT) { in getComponent()118 switch (colorChannel) { in getComponent()128 throw new AssertionError("Unhandled case " + colorChannel); in getComponent()
135 public float getGainFactor(final int colorChannel, final int column, final int row) { in getGainFactor() argument136 if (colorChannel < 0 || colorChannel > COUNT) { in getGainFactor()144 return mElements[colorChannel + (row * mColumns + column) * COUNT ]; in getGainFactor()