/platform_testing/libraries/flicker/utils/src/android/tools/traces/view/ |
D | ViewNode.kt | 39 val alpha: Double, // [default = 1]; constant in android.tools.traces.view.ViewNode 57 if (alpha != other.alpha) return false in equals() 75 result = 31 * result + alpha.hashCode() in hashCode() 96 alpha: Double, in toString() 111 alpha, in toString()
|
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/matchers/ |
D | HumanEyeMatcher.kt | 183 val alpha: Float = Color.alpha(color) / 255f in <lambda>() constant 184 if (alpha == 1f) return color in <lambda>() 185 if (alpha == 0f) return backgroundColor in <lambda>() 187 val outRed = alpha * Color.red(color) + (1 - alpha) * Color.red(backgroundColor) in <lambda>() 188 val outGreen = alpha * Color.green(color) + (1 - alpha) * Color.green(backgroundColor) in <lambda>() 189 val outBlue = alpha * Color.blue(color) + (1 - alpha) * Color.blue(backgroundColor) in <lambda>()
|
/platform_testing/libraries/motion/compose/tests/src/platform/test/motion/compose/ |
D | ComposeFeatureCapturesTest.kt | 91 Modifier.graphicsLayer { alpha = opacity } in alpha_capturesDataPoint() 92 .motionTestValues { opacity exportAs MotionTestValues.alpha } in alpha_capturesDataPoint() 99 assertThat(ComposeFeatureCaptures.alpha.capture(semanticsNode)).hasNativeValue(0.5f) in alpha_capturesDataPoint() 106 Box(Modifier.graphicsLayer { alpha = opacity }.testTag("box")) in alpha_withoutExport_throws() 112 ComposeFeatureCaptures.alpha.capture(semanticsNode) in alpha_withoutExport_throws()
|
D | ComposeToolkitTest.kt | 139 Modifier.graphicsLayer { alpha = opacity } in <lambda>() 144 .motionTestValues { opacity exportAs MotionTestValues.alpha } in <lambda>() 148 feature(hasTestTag("BoxOfInterest"), ComposeFeatureCaptures.alpha) in <lambda>() 168 Modifier.graphicsLayer { alpha = opacity } in <lambda>() 173 .motionTestValues { opacity exportAs MotionTestValues.alpha } in <lambda>() 177 Modifier.graphicsLayer { alpha = 1 - opacity } in <lambda>() 183 (1f - opacity) exportAs MotionTestValues.alpha in <lambda>() 188 feature(hasTestTag("bar"), ComposeFeatureCaptures.alpha, name = "bar_alpha") in <lambda>() 189 feature(hasTestTag("foo"), ComposeFeatureCaptures.alpha, name = "foo_alpha") in <lambda>()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/ |
D | WindowLayoutParams.kt | 40 val alpha: Float = 0f, constant in android.tools.traces.wm.WindowLayoutParams 77 if (alpha != other.alpha) return false in equals() 113 result = 31 * result + alpha.hashCode() in hashCode() 140 "windowAnimations=$windowAnimations, alpha=$alpha, " + in toString() 172 alpha: Float, in from() 204 alpha, in from()
|
D | WindowState.kt | 50 override val isVisible: Boolean = windowContainer.isVisible && attributes.alpha > 0 in <lambda>()
|
/platform_testing/libraries/motion/src/platform/test/motion/view/ |
D | DrawableFeatureCaptures.kt | 29 val alpha = FeatureCapture<Drawable, Int>("alpha") { it.alpha.asDataPoint() } in <lambda>() constant
|
D | ViewFeatureCaptures.kt | 34 val alpha = FeatureCapture<View, Float>("alpha") { view -> view.alpha.asDataPoint() } in view() constant
|
/platform_testing/libraries/motion/compose/values/src/platform/test/motion/compose/values/ |
D | MotionTestValues.kt | 33 val alpha = MotionTestValueKey<Float>("alpha") constant
|
/platform_testing/libraries/flag-helpers/junit/src_base/android/platform/test/flag/junit/ |
D | FlagsParameterization.java | 61 public boolean isDependencyMet(String alpha, String beta) { in isDependencyMet() argument 62 boolean alphaEnabled = requireNonNull(mOverrides.get(alpha), alpha + " is not defined"); in isDependencyMet()
|
/platform_testing/libraries/motion/compose/src/platform/test/motion/compose/ |
D | ComposeFeatureCaptures.kt | 57 val alpha = constant 59 it.config[MotionTestValues.alpha.semanticsPropertyKey].asDataPoint() in <lambda>()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/ |
D | ConditionsFactory.kt | 91 it.layerState.getLayerWithBuffer(component)?.color?.alpha() == 1.0f in <lambda>() 113 it.layerState.getLayerWithBuffer(ComponentNameMatcher.NAV_BAR)?.color?.alpha() == 1.0f in <lambda>() 135 it.layerState.getLayerWithBuffer(ComponentNameMatcher.TASK_BAR)?.color?.alpha() == 1.0f in <lambda>() 157 it.layerState.getLayerWithBuffer(ComponentNameMatcher.STATUS_BAR)?.color?.alpha() == in <lambda>() 253 it.layerState.getLayerWithBuffer(componentMatcher)?.color?.alpha() == 1.0f in <lambda>() 260 .any { layer -> layer.color.alpha() == 1.0f } in <lambda>() 266 layer?.color?.alpha() == 1.0f in <lambda>()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/view/ |
D | ViewFrameBuilder.kt | 51 alpha = node.alpha.toDouble(), in parseViewNode()
|
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/ |
D | ThemeHelper.java | 183 return color1.alpha() == color2.alpha() in isSimilarColor()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/ |
D | ILayerProperties.kt | 135 return color.alpha() == 0f
|
D | LayerProperties.kt | 49 override val isOpaque: Boolean = if (color.alpha() != 1.0f) false else _isOpaque
|
D | Layer.kt | 138 if (color.alpha() == 0.0f) reasons.add("Alpha is 0")
|
/platform_testing/libraries/screenshot/proto/src/main/proto/ |
D | screenshot_result.proto | 35 // Only compare pixels that have a nonzero alpha value in the reference image. 79 // alpha in the reference image. Otherwise zero.
|
/platform_testing/libraries/flicker/utils/src/android/tools/datatypes/ |
D | Utils.kt | 32 this.red() == -1f && this.green() == -1f && this.blue() == -1f && this.alpha() == 0f in emptyColor()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/wm/ |
D | WindowManagerStateBuilder.kt | 423 alpha = proto?.alpha ?: 0f, in <lambda>()
|