HomeSort by relevance Sort by last modified time
    Searched refs:brightness (Results 1 - 25 of 186) sorted by null

1 2 3 4 5 6 7 8

  /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/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
ui-commands-proxy.c 135 /* a callback function called when the system wants to change the brightness
139 * brightness is an integer (acceptable range are 0..255), however the
146 int brightness)
153 cmd->brightness = brightness;
  /external/skia/gm/
colorfilterimagefilter.cpp 79 for (float brightness = -1.0f; brightness <= 1.0f; brightness += 0.2f) {
80 SkAutoTUnref<SkImageFilter> dim(make_brightness(-brightness));
81 SkAutoTUnref<SkImageFilter> bright(make_brightness(brightness, dim));
89 SkAutoTUnref<SkImageFilter> brightness(make_brightness(0.9f));
90 SkAutoTUnref<SkImageFilter> grayscale(make_grayscale(brightness));
97 SkAutoTUnref<SkImageFilter> brightness(make_brightness(0.9f, grayscale));
98 paint.setImageFilter(brightness);
104 SkAutoTUnref<SkImageFilter> brightness(make_brightness(1.0f, blue))
    [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...]
  /frameworks/base/media/mca/filterpacks/native/imageproc/
brightness.c 25 float brightness; member in struct:__anon32018
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...]
  /external/chromium_org/chrome/browser/extensions/api/system_private/
system_private_api.h 42 void DispatchBrightnessChangedEvent(int brightness, bool user_initiated);
system_private_api.cc 32 const char kBrightnessKey[] = "brightness";
142 void DispatchBrightnessChangedEvent(int brightness, bool user_initiated) {
144 dict->SetInteger(kBrightnessKey, brightness);
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
vl_csc.h 37 float brightness; member in struct:vl_procamp
  /external/mesa3d/src/gallium/auxiliary/vl/
vl_csc.h 37 float brightness; member in struct:vl_procamp
  /device/asus/grouper/liblights/
lights.c 68 int brightness = rgb_to_brightness(state); local
73 int old_brightness = brightness;
79 if( brightness>=t_range_min && brightness<=t_range_max){
91 brightness = new_brightness;
95 err = write_int("/sys/class/backlight/pwm-backlight/brightness",
96 brightness);
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
AvgBrightnessFilter.java 54 float brightness; local
57 brightness = brightnessOperator(inputImage.getWidth(),inputImage.getHeight(), inputBuffer);
61 if (mLogVerbose) Log.v(TAG, "contrastRatio: " + brightness);
65 brightnessOutFrame.setValue(brightness);
ImageGoodnessFilter.java 83 .addInputPort("brightness", Signature.PORT_REQUIRED, floatT)
118 getConnectedInputPort("brightness").pullFrame().asFrameValue();
119 float brightness = ((Float)brightnessFrameValue.getValue()).floatValue(); local
140 contrastRating, colorfulness, brightness);
224 float brightness) {
235 colorfulness, brightness, score);
239 colorfulness, brightness, score);
242 colorfulness, brightness, score);
249 float contrastRating, float colorfulness, float brightness, float score) {
257 score += brightnessScore(brightness);
    [all...]
CSVWriterFilter.java 60 .addInputPort("brightness", Signature.PORT_REQUIRED, floatT)
94 getConnectedInputPort("brightness").pullFrame().asFrameValue();
95 float brightness = ((Float)brightnessValue.getValue()).floatValue(); local
118 "ContrastRating,Brightness,Motion");
134 underExposure + "," + colorfulness + "," + contrast + "," + brightness +
137 underExposure + "," + colorfulness + "," + contrast + "," + brightness +
  /external/skia/bench/
ColorFilterBench.cpp 79 for (float brightness = -1.0f; brightness <= 1.0f; brightness += 0.4f) {
80 SkAutoTUnref<SkImageFilter> dim(make_brightness(-brightness));
81 SkAutoTUnref<SkImageFilter> bright(make_brightness(brightness, dim));
107 SkAutoTUnref<SkImageFilter> brightness(make_brightness(0.9f));
108 SkAutoTUnref<SkImageFilter> grayscale(make_grayscale(brightness));
135 SkAutoTUnref<SkImageFilter> brightness(make_brightness(0.9f, grayscale));
136 paint.setImageFilter(brightness);
162 SkAutoTUnref<SkImageFilter> brightness(make_brightness(1.0f, blue))
    [all...]
  /external/chromium_org/ui/compositor/
layer_animation_delegate.h 24 virtual void SetBrightnessFromAnimation(float brightness) = 0;
  /external/chromium_org/ui/compositor/test/
test_layer_animation_delegate.cc 47 void TestLayerAnimationDelegate::SetBrightnessFromAnimation(float brightness) {
48 brightness_ = brightness;
test_layer_animation_delegate.h 27 virtual void SetBrightnessFromAnimation(float brightness) OVERRIDE;
  /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/Gallery2/src/com/android/gallery3d/filtershow/filters/
FilterGradRepresentation.java 71 private int brightness = -40; field in class:FilterGradRepresentation.Band
92 brightness = copy.brightness;
117 p.brightness = -50;
163 || b1.brightness != b2.brightness
325 ret[i++] = point.brightness;
351 return mCurrentBand.brightness;
388 mCurrentBand.brightness = value;
450 writer.value(point.brightness);
    [all...]
  /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...]
  /frameworks/base/core/java/android/os/
IPowerManager.aidl 48 // temporarily overrides the screen brightness settings to allow the user to
50 void setTemporaryScreenBrightnessSettingOverride(int brightness);
  /frameworks/base/services/java/com/android/server/power/
DisplayPowerState.java 84 // animation is not playing. We don't know the screen's brightness though,
86 // Although we set the brightness to full on here, the display power controller
87 // will reset the brightness to a new level immediately before the changes
147 * Sets the display brightness.
149 * @param brightness The brightness, ranges from 0 (minimum / off) to 255 (brightest).
151 public void setScreenBrightness(int brightness) {
152 if (mScreenBrightness != brightness) {
154 Slog.d(TAG, "setScreenBrightness: brightness=" + brightness);
    [all...]
  /external/chromium/chrome/browser/chromeos/cros/
cros_library.cc 59 DEFINE_GET_LIBRARY_METHOD(Brightness, brightness);
116 DEFINE_SET_LIBRARY_METHOD(Brightness, brightness);

Completed in 536 milliseconds

1 2 3 4 5 6 7 8