Home
last modified time | relevance | path

Searched refs:newPixel (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java909 public static int addPixel(int pixel, int newPixel, float weight) { in addPixel() argument
912 int r = ((pixel & 0x00ff0000) + (int) ((newPixel & 0x00ff0000) * weight)) & 0x00ff0000; in addPixel()
913 int g = ((pixel & 0x0000ff00) + (int) ((newPixel & 0x0000ff00) * weight)) & 0x0000ff00; in addPixel()
914 int b = ((pixel & 0x000000ff) + (int) ((newPixel & 0x000000ff) * weight)) & 0x000000ff; in addPixel()