/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | DualToneHandler.kt | 89 fun getSingleColor(intensity: Float) = 90 getColorForDarkIntensity(intensity, lightColor.single, darkColor.single) 99 fun getBackgroundColor(intensity: Float) = 100 getColorForDarkIntensity(intensity, lightColor.background, darkColor.background) 109 fun getFillColor(intensity: Float) = 110 getColorForDarkIntensity(intensity, lightColor.fill, darkColor.fill)
|
D | DarkReceiverImpl.kt | 39 val intensity = if (DarkIconDispatcher.isInAreas(areas, this)) darkIntensity else 0f in onDarkChanged() constant 40 setBackgroundColor(dualToneHandler.getSingleColor(intensity)) in onDarkChanged()
|
/frameworks/wilhelm/src/itf/ |
D | IVibra.cpp | 95 static SLresult IVibra_SetIntensity(SLVibraItf self, SLpermille intensity) in IVibra_SetIntensity() argument 102 } else if (!(0 <= intensity && intensity <= 1000)) { in IVibra_SetIntensity() 107 thiz->mIntensity = intensity; in IVibra_SetIntensity() 129 SLpermille intensity = thiz->mIntensity; in IVibra_GetIntensity() local 131 *pIntensity = intensity; in IVibra_GetIntensity()
|
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/rain/ |
D | RainEffect.kt | 58 setIntensity(rainConfig.intensity) in <lambda>() 86 override fun setIntensity(intensity: Float) { in <lambda>() 87 rainConfig.rainShowerShader.setFloatUniform("intensity", intensity) in <lambda>() 88 rainConfig.glassRainShader.setFloatUniform("intensity", intensity * 0.6f) in <lambda>() 91 rainConfig.colorGradingIntensity * intensity in <lambda>() 93 val thickness = 1f + intensity * 10f in <lambda>()
|
D | RainEffectConfig.kt | 42 @FloatRange(from = 0.0, to = 1.0) val intensity: Float, constant in com.google.android.wallpaper.weathereffects.graphics.rain.RainEffectConfig 59 intensity: Float = DEFAULT_INTENSITY, 68 intensity,
|
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/snow/ |
D | SnowEffect.kt | 55 setIntensity(snowConfig.intensity) in <lambda>() 83 override fun setIntensity(intensity: Float) { in <lambda>() 88 snowSpeed = MathUtils.map(intensity, 0f, 1f, 2.5f, 1.7f) in <lambda>() 90 snowConfig.shader.setFloatUniform("intensity", intensity) in <lambda>() 93 snowConfig.colorGradingIntensity * intensity in <lambda>() 97 snowConfig.maxAccumulatedSnowThickness * intensity in <lambda>()
|
D | SnowEffectConfig.kt | 45 @FloatRange(from = 0.0, to = 1.0) val intensity: Float, constant in com.google.android.wallpaper.weathereffects.graphics.snow.SnowEffectConfig 64 intensity: Float = DEFAULT_INTENSITY, 75 intensity,
|
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/fog/ |
D | FogEffectConfig.kt | 50 @FloatRange(from = 0.0, to = 1.0) val intensity: Float, constant in com.google.android.wallpaper.weathereffects.graphics.fog.FogEffectConfig 69 intensity: Float = DEFAULT_INTENSITY, 81 intensity,
|
D | FogEffect.kt | 44 setIntensity(fogConfig.intensity) 87 override fun setIntensity(intensity: Float) { in setIntensity() 88 fogConfig.shader.setFloatUniform("intensity", intensity) in setIntensity() 91 fogConfig.colorGradingIntensity * intensity in setIntensity()
|
/frameworks/libs/systemui/weathereffects/graphics/assets/shaders/ |
D | fog_effect.agsl | 31 uniform half intensity; 57 fgd.rgb = mix(fgd.rgb, fogColor, 0.32 * intensity * fgd.a); 61 bgd.rgb = mix(bgd.rgb, fogColor, 0.15 * intensity * bgd.a); 112 color.rgb = normalBlendWithWhiteSrc(color.rgb, bgdFogLayer1 * intensity); 121 color.rgb = normalBlendWithWhiteSrc(color.rgb, bgdFogLayer2 * intensity); 132 color.rgb = normalBlendWithWhiteSrc(color.rgb, fgdFogLayer1 * intensity); 138 color.rgb = normalBlendWithWhiteSrc(color.rgb, fgdFogLayer2 * intensity);
|
D | rain_glass_layer.agsl | 21 uniform half intensity; 40 intensity); 53 intensity); 65 vec3 staticRain = generateStaticGlassRain(uv, screenAspectRatio, time, intensity);
|
D | rain_shower_layer.agsl | 27 uniform half intensity; 77 float splash = drawSplash(cellUv, cellTime) * smoothstep(0., 0.45, intensity); 102 intensity); 112 intensity); 129 intensity);
|
D | snow.agsl | 27 uniform half intensity; 92 * Disable snow flakes with some probabilty. This is done by 1) assigning a random intensity 93 * value to the cell 2) then compare it with the given intensity. 96 if (cellIntensity < 1. - intensity) { 105 max(cellIntensity - (0.02 + 0.18 * intensity), 0.0), 106 1 - intensity);
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | vr.rscript | 123 int intensity = (((short) pix) & 0xFFFF); 124 // intensity = clamp(intensity,0,400); 125 uchar4 color = rsGetElementAt_uchar4(color_map, intensity * 2); 126 // int op = rsGetElementAt_uchar(opacity, intensity); 155 int intensity = (((short) v) & 0xFFFF); 156 uchar op = rsGetElementAt_uchar(opacity, intensity); 164 uchar4 color = rsGetElementAt_uchar4(color_map, intensity * 2); 165 uchar4 mat = rsGetElementAt_uchar4(color_map, intensity * 2 + 1); 199 int intensity = (((short) v) & 0xFFFF); 200 uchar op = rsGetElementAt_uchar(opacity, intensity); [all …]
|
/frameworks/native/libs/gui/tests/ |
D | FillBuffer.cpp | 38 unsigned char intensity = (parityX ^ parityY) ? 63 : 191; in fillYV12Buffer() local 39 buf[yuvTexOffsetY + (y * yuvTexStrideY) + x] = intensity; in fillYV12Buffer() 41 buf[yuvTexOffsetU + (y * yuvTexStrideU) + x] = intensity; in fillYV12Buffer() 47 intensity; in fillYV12Buffer()
|
/frameworks/native/opengl/tests/gl_yuvtex/ |
D | gl_yuvtex.cpp | 108 unsigned char intensity = (parityX ^ parityY) ? 63 : 191; in setupYuvTexSurface() local 109 buf[yuvTexOffsetY + (y * yuvTexStrideY) + x] = intensity; in setupYuvTexSurface() 111 buf[yuvTexOffsetU + (y * yuvTexStrideU) + x] = intensity; in setupYuvTexSurface() 113 buf[yuvTexOffsetV + (y * yuvTexStrideV) + x] = intensity; in setupYuvTexSurface() 118 buf[yuvTexOffsetV + ((y*2+1) * yuvTexStrideV) + x*2 + 1] = intensity; in setupYuvTexSurface()
|
/frameworks/native/opengl/tests/gl2_yuvtex/ |
D | gl2_yuvtex.cpp | 213 unsigned char intensity = (parityX ^ parityY) ? 63 : 191; in setupYuvTexSurface() local 214 buf[yuvTexOffsetY + (y * yuvTexStrideY) + x] = intensity; in setupYuvTexSurface() 216 buf[yuvTexOffsetU + (y * yuvTexStrideU) + x] = intensity; in setupYuvTexSurface() 218 buf[yuvTexOffsetV + (y * yuvTexStrideV) + x] = intensity; in setupYuvTexSurface() 223 buf[yuvTexOffsetV + ((y*2+1) * yuvTexStrideV) + x*2 + 1] = intensity; in setupYuvTexSurface()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationDozeHelper.java | 96 private void updateGrayscaleMatrix(float intensity) { in updateGrayscaleMatrix() argument 97 mGrayscaleColorMatrix.setSaturation(1 - intensity); in updateGrayscaleMatrix()
|
/frameworks/libs/systemui/toruslib/torus-utils/src/main/java/com/google/android/torus/utils/interaction/ |
D | Gyro2dController.kt | 256 axisX *= RAD_TO_DEG * dT * config.intensity in updateGyroRotation() 257 axisY *= RAD_TO_DEG * dT * config.intensity in updateGyroRotation() 314 val intensity: Float = 0.05f, constant in GyroConfig
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardStatusBarView.java | 463 float intensity = textColor == Color.WHITE ? 0 : 1; in updateIconsAndTextColors() 477 mDarkChange.setValue(new DarkChange(mEmptyTintRect, intensity, iconColor)); in updateIconsAndTextColors() 478 applyDarkness(R.id.battery, mEmptyTintRect, intensity, iconColor); in updateIconsAndTextColors() 479 applyDarkness(R.id.clock, mEmptyTintRect, intensity, iconColor); in updateIconsAndTextColors() 482 private void applyDarkness(int id, ArrayList<Rect> tintAreas, float intensity, int color) { 485 ((DarkReceiver) v).onDarkChanged(tintAreas, intensity, color);
|
/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
D | ButtonInterface.java | 26 void setDarkIntensity(float intensity); in setDarkIntensity() argument
|
D | NavigationHandle.java | 51 public void setDarkIntensity(float intensity) { in setDarkIntensity() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
D | ButtonInterface.java | 30 void setDarkIntensity(float intensity); in setDarkIntensity() argument
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibrationScaler.java | 270 private static int intensityToEffectStrength(int intensity) { in intensityToEffectStrength() argument 271 switch (intensity) { in intensityToEffectStrength() 279 Slog.w(TAG, "Got unexpected vibration intensity: " + intensity); in intensityToEffectStrength()
|
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/ |
D | WeatherEffect.kt | 61 fun setIntensity(@FloatRange(from = 0.0, to = 1.0) intensity: Float)
|