/system/media/mca/filterpacks/imageproc/native/ |
brightness.c | 25 float brightness; member in struct:__anon26119 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 | 74 assertTrue(brightness(bitmap, top) > brightness(bitmap, bottom)); 75 assertTrue(brightness(bitmap, left) > brightness(bitmap, right)); 79 assertEquals(0, brightness(bitmap, top)); 81 assertEquals(0, brightness(bitmap, bottom)); 83 assertEquals(0, brightness(bitmap, left)); 85 assertEquals(0, brightness(bitmap, right)); 89 * Calculate the cumulative brightness of all pixels in the given rectangle. 92 private long brightness(Bitmap b, Rect rect) method in class:EmbossMaskFilterTest [all...] |
/device/moto/stingray/liblights/ |
lights.c | 104 /* use max of the RGB components for brightness */ 110 int brightness = red; local 111 if (green > brightness) 112 brightness = green; 113 if (blue > brightness) 114 brightness = blue; 116 return brightness; 124 int brightness = rgb_to_brightness(state); local 127 err = write_int("/sys/class/leds/lcd-backlight/brightness", brightness); 136 unsigned int brightness = rgb_to_brightness(state); local [all...] |
/system/media/mca/filterpacks/imageproc/java/ |
BrightnessFilter.java | 38 "uniform float brightness;\n" + 42 " gl_FragColor = brightness * color;\n" + 46 super(name, "brightness"); 51 return new NativeProgram("filterpack_imageproc", "brightness");
|
/external/qemu/android/ |
hw-control.h | 17 /* a callback function called when the system wants to change the brightness 21 * brightness is an integer (acceptable range are 0..255), however the 27 int brightness );
|
/external/chromium/chrome/browser/chromeos/ |
setting_level_bubble.h | 22 // volume or brightness. 37 // 1. Brightness is at 50%. 38 // 2. Power manager dims brightness to 25% automatically. 39 // 3. User hits the "increase brightness" button, setting brightness to 30%.
|
brightness_bubble.h | 16 // Singleton class controlling brightness bubble.
|
brightness_observer.h | 15 // current brightness level whenever the user changes it.
|
/external/qemu/android/skin/ |
window.h | 57 /* change the brightness of the emulator LCD screen. 'brightness' will be clamped to 0..255 */ 58 extern void skin_window_set_lcd_brightness( SkinWindow* window, int brightness );
|
/packages/apps/Settings/res/xml/ |
display_settings.xml | 22 android:key="brightness" 23 android:title="@string/brightness" 24 android:dialogTitle="@string/brightness" />
|
/frameworks/base/core/java/android/os/ |
Power.java | 49 * Brightness value for fully off 54 * Brightness value for dim backlight 59 * Brightness value for fully on 64 * Brightness value to use when battery is low
|
IPowerManager.aidl | 45 // sets the brightness of the backlights (screen, keyboard, button) 0-255 46 void setBacklightBrightness(int brightness);
|
LocalPowerManager.java | 46 void setScreenBrightnessOverride(int brightness); 47 void setButtonBrightnessOverride(int brightness);
|
/external/qemu/android/protocol/ |
ui-commands-api.h | 35 int brightness); 37 /* Registers a UI callback to be called when brightness is changed by the core. */
|
ui-commands.h | 26 /* Changes display brightness. */ 40 int brightness; member in struct:UICmdChangeDispBrightness
|
/hardware/libhardware/include/hardware/ |
lights.h | 75 * Light brightness is managed by a user setting. 80 * Light brightness is managed by a light sensor. 97 * - If you can only do a brightness ramp, then use this formula: 98 * unsigned char brightness = ((77*((color>>16)&0x00ff)) 115 * Policy used by the framework to manage the light's brightness.
|
/frameworks/base/services/java/com/android/server/ |
LightsService.java | 49 * Light brightness is managed by a user setting. 54 * Light brightness is managed by a light sensor. 66 public void setBrightness(int brightness) { 67 setBrightness(brightness, BRIGHTNESS_MODE_USER); 70 public void setBrightness(int brightness, int brightnessMode) { 72 int color = brightness & 0x000000ff; 142 private static final String FLASHLIGHT_FILE = "/sys/class/leds/spotlight/brightness";
|
/packages/apps/Settings/src/com/android/settings/widget/ |
SettingsAppWidgetProvider.java | 103 /** Minimum brightness at which the indicator is shown at half-full and ON */ 105 /** Minimum brightness at which the indicator is shown at full */ 685 final int brightness = getBrightness(context); local 687 if (brightness > FULL_BRIGHTNESS_THRESHOLD) { 690 } else if (brightness > HALF_BRIGHTNESS_THRESHOLD) { 698 if (brightness > HALF_BRIGHTNESS_THRESHOLD) { 770 * Gets brightness level. 773 * @return brightness level between 0 and 255. 780 int brightness = Settings.System.getInt(context.getContentResolver(), local 782 return brightness; 821 int brightness = Settings.System.getInt(cr, local [all...] |
/external/kernel-headers/original/linux/ |
leds-an30259a.h | 61 /* time at max brightness in ms */ 63 /* time to reach mid_brightness_down from max brightness in ms */ 69 /* mid point brightness in 1/128 increments of color */
|
/frameworks/base/data/keyboards/ |
Vendor_05ac_Product_0239.kl | 21 # - Special function keys for brightness control, etc. are not 115 # key 224 reduce brightness 116 # key 225 increase brightness
|
/device/moto/wingray/overlay/frameworks/base/packages/SettingsProvider/res/values/ |
defaults.xml | 22 <!-- Set the automatic brightness mode on by default -->
|
/external/chromium/chrome/browser/chromeos/cros/ |
cros_library.cc | 59 DEFINE_GET_LIBRARY_METHOD(Brightness, brightness); 116 DEFINE_SET_LIBRARY_METHOD(Brightness, brightness);
|
/system/media/mca/filterpacks/imageproc/ |
Android.mk | 27 LOCAL_SRC_FILES += native/brightness.c \
|
/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...] |
/packages/wallpapers/Basic/res/xml/ |
polar_clock_palettes.xml | 8 saturation="0.8" brightness="0.9" /> 13 saturation="1.0" brightness="0.25" />
|