/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | Contrast.java | 32 public static float lighterY(float y, float contrast) { in lighterY() argument 33 assert (contrast >= 1); in lighterY() 34 float answer = -5 + contrast * (5 + y); in lighterY() 49 public static float darkerY(float y, float contrast) { in darkerY() argument 50 assert (contrast >= 1); in darkerY() 51 float answer = (5 - 5 * contrast + y) / contrast; in darkerY()
|
/frameworks/base/media/mca/filterpacks/native/imageproc/ |
D | contrast.c | 26 float contrast; member 39 ((ContrastParameters*)user_data)->contrast = atof(value); in contrast_setvalue() 72 const float contrast = params->contrast; in contrast_process() local 79 px *= contrast; in contrast_process()
|
/frameworks/layoutlib/validator/resources/ |
D | strings.properties | 29 …s item may be obscured by other on-screen content. Consider manually testing this item\'s contrast. 50 check_title_image_contrast = Image contrast 52 result_message_brief_image_contrast_not_sufficient = Consider increasing the contrast ratio between… 53 result_message_image_contrast_not_sufficient = The image\'s contrast ratio is %1$.2f. This ratio is… 54 result_message_image_contrast_not_sufficient_confirmed = The image\'s contrast ratio is %1$.2f. Thi… 55 result_message_image_customized_contrast_not_sufficient = The image\'s contrast ratio is %1$.2f. Th… 56 result_message_image_customized_contrast_not_sufficient_confirmed = The image\'s contrast ratio is … 84 check_title_text_contrast = Text contrast 91 …ast_not_sufficient = Consider increasing this item\'s text foreground to background contrast ratio. 92 …contrast ratio is %1$.2f. This ratio is based on a text color of <tt>%2$s</tt> and background colo… [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | ImageGoodnessFilter.java | 213 float colorfulness, float contrast, float score) { in classifierComputeScore() argument 215 + 0.3102f * contrast + 0.0314f * vectorAccel + -0.0094f * score + 0.0227f * in classifierComputeScore() 336 private float contrastScore(float contrast) { in contrastScore() argument 338 contrastMean = contrast; in contrastScore() 342 contrastMean = contrastMean * (1 - DECAY) + contrast * DECAY; in contrastScore() 343 contrastVar = contrastVar * (1 - DECAY) + (contrast - contrastMean) * in contrastScore() 344 (contrast - contrastMean) * DECAY; in contrastScore() 347 } else if (contrast < contrastMean && contrastVar > MEDIUM_VARIANCE) { in contrastScore() 349 } else if (contrast < contrastMean) { in contrastScore() 351 } else if (contrast > contrastMean && contrastVar > 100) { in contrastScore() [all …]
|
D | CSVWriterFilter.java | 91 float contrast = ((Float)contrastValue.getValue()).floatValue(); in onProcess() local 134 underExposure + "," + colorfulness + "," + contrast + "," + brightness + in onProcess() 137 underExposure + "," + colorfulness + "," + contrast + "," + brightness + in onProcess()
|
/frameworks/base/tests/Internal/src/com/android/internal/graphics/ |
D | ColorUtilsTest.java | 38 double contrast = ColorUtils.calculateContrast(Color.WHITE, worstCase); in calculateMinimumBackgroundAlpha_satisfiestContrast() local 39 assertTrue("Blended color should satisfy contrast", contrast >= 4.5); in calculateMinimumBackgroundAlpha_satisfiestContrast()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/view/ |
D | ModernStatusBarMobileViewTest.kt | 254 val contrast = 0x12344321 in onDarkChanged_iconHasNewColor() constant 255 view.onDarkChangedWithContrast(arrayListOf(), color, contrast) in onDarkChanged_iconHasNewColor() 276 val contrast = 0x12344321 in setStaticDrawableColor_iconHasNewColor() constant 277 view.setStaticDrawableColor(color, contrast) in setStaticDrawableColor_iconHasNewColor() 303 val contrast = 0x12344321 in colorChange_layersUpdateWithContrast() constant 304 view.setStaticDrawableColor(color, contrast) in colorChange_layersUpdateWithContrast() 309 assertThat(view.getNetTypeView().imageTintList).isEqualTo(contrast.colorState()) in colorChange_layersUpdateWithContrast()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/binder/ |
D | MobileIconBinder.kt | 55 @ColorInt val contrast: Int, in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.ui.binder.Colors 90 contrast = DarkIconDispatcher.DEFAULT_INVERSE_ICON_TINT in <lambda>() 188 ColorStateList.valueOf(iconTint.value.contrast) in <lambda>() 238 val contrast = ColorStateList.valueOf(colors.contrast) in <lambda>() constant 245 networkTypeView.imageTintList = contrast in <lambda>() 279 iconTint.value = Colors(tint = newTint, contrast = contrastTint) in <lambda>()
|
/frameworks/base/core/java/android/app/ |
D | UiModeManager.java | 119 void onContrastChanged(@FloatRange(from = -1.0f, to = 1.0f) float contrast); in onContrastChanged() 445 public void notifyContrastChanged(float contrast) { in notifyContrastChanged() argument 448 if (Math.abs(mContrast - contrast) < 1e-10) return; in notifyContrastChanged() 449 mContrast = contrast; in notifyContrastChanged() 451 () -> listener.onContrastChanged(contrast))); in notifyContrastChanged() 503 public static @ContrastLevel int toContrastLevel(float contrast) { in toContrastLevel() argument 504 if (contrast < CONTRAST_MIN_VALUE || contrast > CONTRAST_MAX_VALUE) { in toContrastLevel() 508 Math.abs(contrastLevel - 2 * contrast))).orElseThrow(); in toContrastLevel()
|
D | IUiModeManagerCallback.aidl | 26 void notifyContrastChanged(float contrast); in notifyContrastChanged() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/view/ |
D | ModernStatusBarView.kt | 59 val contrast = DarkIconDispatcher.getInverseTint(areas, this, contrastTint) in onDarkChangedWithContrast() constant 61 binding.onIconTintChanged(newTint, contrast) in onDarkChangedWithContrast()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/ui/view/ |
D | ModernStatusBarWifiViewTest.kt | 234 val contrast = 0x12344321 in onDarkChanged_iconHasNewColor() constant 235 view.onDarkChangedWithContrast(arrayListOf(), color, contrast) in onDarkChanged_iconHasNewColor() 250 val contrast = 0x12344321 in setStaticDrawableColor_iconHasNewColor() constant 251 view.setStaticDrawableColor(color, contrast) in setStaticDrawableColor_iconHasNewColor()
|
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/ |
D | contrast_f.rscript | 30 float4 RS_KERNEL contrast(float4 in) {
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | contrast.rscript | 28 uchar4 RS_KERNEL contrast(uchar4 in) {
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | contrast.rscript | 28 uchar4 RS_KERNEL contrast(uchar4 in) {
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | contrast.rscript | 28 uchar4 RS_KERNEL contrast(uchar4 in) {
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
D | Android.bp | 29 "contrast.cpp",
|
/frameworks/base/media/mca/filterpacks/ |
D | Android.bp | 46 "native/imageproc/contrast.c",
|
/frameworks/base/libs/hwui/aconfig/ |
D | hwui_flags.aconfig | 31 …description: "Use luminance to determine how to make text more high contrast, instead of RGB heuri…
|
/frameworks/layoutlib/validator/src/com/android/tools/idea/validator/ |
D | AtfBufferedImage.java | 31 import com.google.android.apps.common.testing.accessibility.framework.utils.contrast.Image;
|
/frameworks/native/services/surfaceflinger/ |
D | surfaceflinger_flags_new.aconfig | 71 …ed with the debug.renderengine.graphite system property for testing. In contrast, the graphite_ren…
|
/frameworks/base/ravenwood/ |
D | README.md | 11 In contrast, defining a lightweight unit testing environment mitigates these issues by running dire…
|
/frameworks/base/services/core/java/com/android/server/ |
D | UiModeManagerService.java | 403 float contrast = getContrastLocked(); 406 callback -> callback.notifyContrastChanged(contrast))); 1377 float contrast = Settings.Secure.getFloatForUser(getContext().getContentResolver(), in updateContrastLocked() local 1379 if (Math.abs(mContrasts.get(mCurrentUser, Float.MAX_VALUE) - contrast) >= 1e-10) { in updateContrastLocked() 1380 mContrasts.put(mCurrentUser, contrast); in updateContrastLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/ |
D | ThemeOverlayController.java | 473 mUiModeManager.addContrastChangeListener(mMainExecutor, contrast -> { in start() 474 mContrast = contrast; in start()
|
/frameworks/base/packages/InputDevices/res/raw/ |
D | keyboard_layout_russian_mac.kcm | 18 # on Mac keyboards. In contrast with the standard layout, some of the symbols and
|