Searched refs:colorChannel (Results 1 – 3 of 3) sorted by relevance
137 private static int checkArgumentColorChannel(int colorChannel) { in checkArgumentColorChannel() argument138 switch (colorChannel) { in checkArgumentColorChannel()147 return colorChannel; in checkArgumentColorChannel()166 public int getPointCount(int colorChannel) { in getPointCount() argument167 checkArgumentColorChannel(colorChannel); in getPointCount()169 return getCurve(colorChannel).length / POINT_SIZE; in getPointCount()190 public PointF getPoint(int colorChannel, int index) { in getPoint() argument191 checkArgumentColorChannel(colorChannel); in getPoint()192 if (index < 0 || index >= getPointCount(colorChannel)) { in getPoint()196 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()