/external/qemu/android/protocol/ |
ui-commands.h | 26 /* Changes display brightness. */ 40 int brightness; member in struct:UICmdChangeDispBrightness
|
/device/generic/goldfish/lights/ |
lights_qemu.c | 54 /* Get brightness(0~255) from state. */ 63 /* set backlight brightness by LIGHTS_SERVICE_NAME service. */ 83 int brightness = rgb_to_brightness( state ); local 86 snprintf( buffer, sizeof(buffer), "power:light:brightness:lcd_backlight:%d", brightness );
|
/frameworks/base/media/mca/filterpacks/native/imageproc/ |
brightness.c | 25 float brightness; member in struct:__anon19824 42 if (strcmp(key, "brightness") == 0) 43 ((BrightnessParameters*)user_data)->brightness = atof(value); 56 LOGE("Brightness: Incorrect input count! Expected 1 but got %d!", input_count); 62 LOGE("Brightness: Input-output sizes do not match up. %d vs. %d!", input_sizes[0], output_size); 71 LOGE("Brightness: No input or output pointer found!"); 77 const float brightness = params->brightness; local 79 // Run the brightness adjustment 80 const int factor = (int)(brightness * 255.0f) [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
EmbossMaskFilterTest.java | 64 assertTrue(brightness(bitmap, top) > brightness(bitmap, bottom)); 65 assertTrue(brightness(bitmap, left) > brightness(bitmap, right)); 69 assertEquals(0, brightness(bitmap, top)); 71 assertEquals(0, brightness(bitmap, bottom)); 73 assertEquals(0, brightness(bitmap, left)); 75 assertEquals(0, brightness(bitmap, right)); 79 * Calculate the cumulative brightness of all pixels in the given rectangle. 82 private long brightness(Bitmap b, Rect rect) method in class:EmbossMaskFilterTest [all...] |
/device/samsung/tuna/liblight/ |
lights.c | 32 char const *const LCD_FILE = "/sys/class/backlight/s6e8aa0/brightness"; 42 // brightness at mid-slope, on 0 - 127 scale 87 int brightness = rgb_to_brightness(state); local 90 err = write_int(LCD_FILE, brightness);
|
/frameworks/base/graphics/java/android/graphics/ |
Color.java | 181 * Returns the brightness component of a color int. 187 public static float brightness(int color) { method in class:Color 251 * @param b Brightness component
|
/hardware/libhardware/tests/camera2/ |
CameraBurstTests.cpp | 204 // Get each frame (metadata) and then the buffer. Calculate brightness. 220 long long brightness = TotalBrightness(imgBuffer, &underexposed, local 222 float avgBrightness = brightness * 1.0f / 224 ALOGV("Total brightness for frame %d was %lld (underexposed %d, " 225 "overexposed %d), avg %f", i, brightness, underexposed, 227 dout << "Average brightness (frame " << i << ") was " << avgBrightness 255 << "average brightness should double at least "
|
/hardware/msm7k/liblights/ |
lights.c | 49 = "/sys/class/leds/jogball-backlight/brightness"; 52 = "/sys/class/leds/red/brightness"; 55 = "/sys/class/leds/green/brightness"; 58 = "/sys/class/leds/blue/brightness"; 61 = "/sys/class/leds/amber/brightness"; 64 = "/sys/class/leds/lcd-backlight/brightness"; 79 = "/sys/class/leds/keyboard-backlight/brightness"; 82 = "/sys/class/leds/button-backlight/brightness"; 162 int brightness = rgb_to_brightness(state); local 164 g_backlight = brightness; [all...] |
/hardware/qcom/display/liblight/ |
lights.c | 45 = "/sys/class/leds/red/brightness"; 48 = "/sys/class/leds/green/brightness"; 51 = "/sys/class/leds/blue/brightness"; 54 = "/sys/class/leds/white/brightness"; 57 = "/sys/class/leds/lcd-backlight/brightness"; 134 int brightness = rgb_to_brightness(state); local 136 err = write_int(LCD_FILE, brightness); 212 int brightness = ((77 * ((colorRGB >> 16) & 0xFF)) + local 215 write_int(WHITE_LED_FILE, (int) brightness);
|
/device/samsung/manta/liblights/ |
lights.c | 46 char const *const LCD_FILE = "/sys/class/backlight/pwm-backlight.0/brightness"; 50 const char *const LED_BRIGHTNESS_FILE = "brightness"; 97 /* use max of the RGB components for brightness */ 103 int brightness = red; local 104 if (green > brightness) 105 brightness = green; 106 if (blue > brightness) 107 brightness = blue; 109 return brightness; 116 int brightness = rgb_to_brightness(state) local [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
TextureGenerator.java | 276 * This method applies brightness and contrast for RGB textures. 281 texres.red = (texres.red - 0.5f) * bacd.contrast + bacd.brightness; 285 texres.green =(texres.green - 0.5f) * bacd.contrast + bacd.brightness; 289 texres.blue = (texres.blue - 0.5f) * bacd.contrast + bacd.brightness; 296 * This method applies brightness and contrast for Luminance textures. 299 * @param brightness 301 protected void applyBrightnessAndContrast(TexturePixel texres, float contrast, float brightness) { 302 texres.intensity = (texres.intensity - 0.5f) * contrast + brightness; 394 * This class contains brightness and contrast data. 399 public final float brightness; field in class:TextureGenerator.BrightnessAndContrastData [all...] |
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
OMX3A.cpp | 185 (( mParameters3A.Brightness != varint )) ) 187 mParameters3A.Brightness = (unsigned) varint; 188 CAMHAL_LOGDB("Brightness %d", mParameters3A.Brightness); 410 Gen3A.Brightness = atoi(OMXCameraAdapter::DEFAULT_BRIGHTNESS); 965 OMX_CONFIG_BRIGHTNESSTYPE brightness; local 975 OMX_INIT_STRUCT_PTR (&brightness, OMX_CONFIG_BRIGHTNESSTYPE); 976 brightness.nPortIndex = mCameraAdapterParameters.mPrevPortIndex; 977 brightness.nBrightness = Gen3A.Brightness; [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_main_menu.c | 90 {BRIGHTNESS_GOTO_SUBMENU, "Brightness changes."}, 112 {INC_BRIGHTNESS, "Increase Brightness by one step."}, 113 {DEC_BRIGHTNESS, "Decrease Brightness by one step."}, 157 { BRIGHTNESS_CTRL, "Get brightness value"}, 215 int brightness = CAMERA_DEF_BRIGHTNESS; variable 770 printf(" Camera is in change brightness mode \n"); 781 printf("\nPlease enter your choice for Brightness Change: "); 983 brightness -= CAMERA_BRIGHTNESS_STEP [all...] |
/hardware/samsung_slsi/exynos5/libcamera/ |
ExynosExif.h | 209 srational_t brightness; member in struct:__anon21205
|
/hardware/samsung_slsi/exynos5/libcamera2/ |
ExynosExif.h | 209 srational_t brightness; member in struct:__anon21213
|
/packages/apps/Settings/src/com/android/settings/widget/ |
SettingsAppWidgetProvider.java | 98 /** Minimum brightness at which the indicator is shown at half-full and ON */ 100 /** Minimum brightness at which the indicator is shown at full */ 716 final int brightness = getBrightness(context); local 723 if (brightness > full) { 729 } else if (brightness > half) { 743 if (brightness > half) { 821 int brightness = Settings.System.getInt(context.getContentResolver(), local 859 int brightness = Settings.System.getInt(cr, local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ImageUtils.java | 74 long brightness = (299L*r + 587*g + 114*b) / 1000; local 75 if (brightness < 128) { 85 * Returns the perceived brightness of the given RGB integer on a scale from 0 to 255 88 * @return the perceived brightness, with 0 maximally dark and 255 maximally bright [all...] |
/bionic/libc/kernel/common/linux/ |
videodev.h | 101 __u16 brightness; member in struct:video_picture
|
/development/ndk/platforms/android-3/include/linux/ |
videodev.h | 67 __u16 brightness; member in struct:video_picture
|
/external/kernel-headers/original/linux/ |
videodev.h | 87 __u16 brightness; member in struct:video_picture
|
/external/qemu/android/skin/ |
window.c | 95 int brightness; member in struct:ADisplay 146 disp->brightness = LCD_BRIGHTNESS_DEFAULT; 294 lcd_brightness_argb32( unsigned char* pixels, SkinRect* r, int pitch, int brightness ) 301 unsigned alpha = brightness; 588 if (disp->brightness == LCD_BRIGHTNESS_OFF) 602 lcd_brightness_argb32( surface->pixels, &r, surface->pitch, disp->brightness ); [all...] |
/hardware/samsung_slsi/exynos5/include/ |
ExynosCamera.h | 152 int brightness; member in struct:android::ExynosCameraInfo 845 //! Sets brightness 846 bool setBrightness(int brightness); 847 //! Gets brightness
|
/hardware/ti/omap4xxx/test/CameraHal/ |
camera_test_menu.cpp | 74 int brightness = 0; variable 1147 brightness = 50; 1152 brightness = 100; 1181 params.set(KEY_BRIGHTNESS, brightness); [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
videodev.h | 70 __u16 brightness; member in struct:video_picture
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
videodev.h | 70 __u16 brightness; member in struct:video_picture
|