/external/chromium_org/ash/high_contrast/ |
high_contrast_controller.h | 24 // Set high contrast mode and update all available displays. 27 // Update high contrast mode on the just added display. 31 // Update high contrast mode on the passed display. 34 // Indicates if the high contrast mode is enabled or disabled.
|
/frameworks/base/media/mca/filterpacks/native/imageproc/ |
contrast.c | 25 float contrast; member in struct:__anon30191 37 if (strcmp(key, "contrast") == 0) 38 ((ContrastParameters*)user_data)->contrast = atof(value); 51 LOGE("Contrast: Incorrect input count! Expected 1 but got %d!", input_count); 57 LOGE("Contrast: Input-output sizes do not match up. %d vs. %d!", input_sizes[0], output_size); 65 LOGE("Contrast: No input or output pointer found!"); 71 const float contrast = params->contrast; local 73 // Run the contrast adjustment 78 px *= contrast; [all...] |
/external/chromium_org/chrome/browser/ui/views/accessibility/ |
invert_bubble_view.h | 16 // Show a bubble telling the user that they're using Windows high-contrast mode 17 // with a light-on-dark scheme, so they may be interested in a high-contrast
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ColorMatrixSample.java | 55 private static void setContrast(ColorMatrix cm, float contrast) { 56 float scale = contrast + 1.f; 65 private static void setContrastTranslateOnly(ColorMatrix cm, float contrast) { 66 float scale = contrast + 1.f; 75 private static void setContrastScaleOnly(ColorMatrix cm, float contrast) { 76 float scale = contrast + 1.f; 102 //convert our animated angle [-180...180] to a contrast value of [-1..1] 103 float contrast = mAngle / 180.f; local 105 setContrast(cm, contrast); 109 setContrastScaleOnly(cm, contrast); [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkDeviceProfile.cpp | 26 SkDeviceProfile::SkDeviceProfile(float gammaExp, float contrast, 29 fContrastScale = pin(contrast, 0, 1); 41 float contrast, 44 return SkNEW_ARGS(SkDeviceProfile, (gammaExp, contrast, config, level));
|
SkMaskGamma.cpp | 71 static float apply_contrast(float srca, float contrast) { 72 return srca + ((1.0f - srca) * contrast * srca); 75 void SkTMaskGamma_build_correcting_lut(uint8_t table[256], U8CPU srcI, SkScalar contrast, 87 //Contrast value tapers off to 0 as the src luminance becomes white 88 const float adjustedContrast = SkScalarToFloat(contrast) * linDst;
|
SkDeviceProfile.h | 37 * contrastScale will be pinned between 0.0 and 1.0. For no contrast 73 * contrast correction). 82 * that applies the gamma/contrast settings to linear coverage values.
|
/external/skia/src/core/ |
SkDeviceProfile.cpp | 26 SkDeviceProfile::SkDeviceProfile(float gammaExp, float contrast, 29 fContrastScale = pin(contrast, 0, 1); 41 float contrast, 44 return SkNEW_ARGS(SkDeviceProfile, (gammaExp, contrast, config, level));
|
SkMaskGamma.cpp | 71 static float apply_contrast(float srca, float contrast) { 72 return srca + ((1.0f - srca) * contrast * srca); 75 void SkTMaskGamma_build_correcting_lut(uint8_t table[256], U8CPU srcI, SkScalar contrast, 87 //Contrast value tapers off to 0 as the src luminance becomes white 88 const float adjustedContrast = SkScalarToFloat(contrast) * linDst;
|
SkDeviceProfile.h | 37 * contrastScale will be pinned between 0.0 and 1.0. For no contrast 73 * contrast correction). 82 * that applies the gamma/contrast settings to linear coverage values.
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterContrast.java | 24 private static final String SERIALIZATION_NAME = "CONTRAST"; 27 mName = "Contrast"; 33 representation.setName("Contrast"); 37 representation.setTextId(R.string.contrast);
|
/external/chromium_org/chrome/browser/resources/chromeos/login/ |
accessibility_menu.html | 16 <input id="high-contrast" type="checkbox"> 17 <label for="high-contrast" class="checkboxlabel"
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
ContrastFilter.java | 40 "uniform float contrast;\n" + 45 " color *= contrast;\n" + 51 super(name, "contrast"); 56 return new NativeProgram("filterpack_imageproc", "contrast");
|
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Misc/ |
SoftParticle.frag | 2 uniform float m_Softness; // Power used in the contrast function
13 float Contrast(float d){
48 c.a = c.a * stdDiff(zdiff);// Contrast(zdiff);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
ImageGoodnessFilter.java | 213 float colorfulness, float contrast, float score) { 215 + 0.3102f * contrast + 0.0314f * vectorAccel + -0.0094f * score + 0.0227f * 336 private float contrastScore(float contrast) { 338 contrastMean = contrast; 342 contrastMean = contrastMean * (1 - DECAY) + contrast * DECAY; 343 contrastVar = contrastVar * (1 - DECAY) + (contrast - contrastMean) * 344 (contrast - contrastMean) * DECAY; 347 } else if (contrast < contrastMean && contrastVar > MEDIUM_VARIANCE) { 349 } else if (contrast < contrastMean) { 351 } else if (contrast > contrastMean && contrastVar > 100) [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_message_handler.h | 16 // ExtensionHost/BackgroundContents. Contrast this with ExtensionTabHelper,
|
/external/qemu/distrib/sdl-1.2.15/docs/man3/ |
SDL_SetGamma.3 | 11 Sets the "gamma function" for the display of each color component\&. Gamma controls the brightness/contrast of colors displayed on the screen\&. A gamma value of 1\&.0 is identity (i\&.e\&., no adjustment is made)\&.
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
contrast.h | 16 // Native function to extract contrast from image (handed down as ByteBuffer).
|
contrast.cpp | 17 // Native function to extract contrast ratio from image (handed down as ByteBuffer). 19 #include "contrast.h"
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
Contrast.java | 23 public class Contrast extends TestBase {
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
Contrast.java | 22 public class Contrast extends TestBase {
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
Contrast.java | 23 public class Contrast extends TestBase {
|
/development/samples/HelloEffects/res/values/ |
strings.xml | 22 <string name="contrast">Contrast</string>
|
/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. 298 * @param contrast 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. 398 public final float contrast; field in class:TextureGenerator.BrightnessAndContrastData [all...] |
/external/chromium_org/ash/ |
accessibility_delegate.h | 36 // Invoked to toggle high contrast mode for accessibility. 39 // Returns true if high contrast mode is enabled.
|