/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | DualToneHandler.kt | 75 fun getSingleColor(intensity: Float) = 76 getColorForDarkIntensity(intensity, lightColor.single, darkColor.single) 85 fun getBackgroundColor(intensity: Float) = 86 getColorForDarkIntensity(intensity, lightColor.background, darkColor.background) 95 fun getFillColor(intensity: Float) = 96 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/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/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 …]
|
D | bricked.rscript | 57 int intensity = 0xFFFF & rsGetElementAt_short(volume, px, py, pz); 58 uchar op = rsGetElementAt_uchar(opacity, intensity);
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibrationScaler.java | 147 private static int intensityToEffectStrength(int intensity) { in intensityToEffectStrength() argument 148 switch (intensity) { in intensityToEffectStrength() 156 Slog.w(TAG, "Got unexpected vibration intensity: " + intensity); in intensityToEffectStrength()
|
D | VibrationSettings.java | 553 int intensity = mCurrentVibrationIntensities.valueAt(i); in toString() local 555 .append("=(").append(intensityToString(intensity)) in toString() 613 private static String intensityToString(int intensity) { in intensityToString() argument 614 switch (intensity) { in intensityToString() 624 return "UNKNOWN INTENSITY " + intensity; in intensityToString()
|
/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 | NotificationIconDozeHelper.java | 83 private void updateImageColorFilter(ImageView target, float intensity) { in updateImageColorFilter() argument 84 int color = NotificationUtils.interpolateColors(mColor, mImageDarkColor, intensity); in updateImageColorFilter()
|
D | NotificationDozeHelper.java | 108 public void updateGrayscaleMatrix(float intensity) { in updateGrayscaleMatrix() argument 109 mGrayscaleColorMatrix.setSaturation(1 - intensity); in updateGrayscaleMatrix()
|
/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
|
D | KeyButtonDrawable.java | 124 public void setDarkIntensity(float intensity) { in setDarkIntensity() argument 125 mState.mDarkIntensity = intensity; in setDarkIntensity() 127 .evaluate(intensity, mState.mLightColor, mState.mDarkColor); in setDarkIntensity()
|
D | NavigationBarView.java | 377 public void setDarkIntensity(@FloatRange(from = 0.0f, to = 1.0f) float intensity) { in setDarkIntensity() 379 mButtonDispatchers.valueAt(i).setDarkIntensity(intensity); in setDarkIntensity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardStatusBarView.java | 435 float intensity = textColor == Color.WHITE ? 0 : 1; in updateIconsAndTextColors() local 449 mDarkChange.setValue(new DarkChange(mEmptyTintRect, intensity, iconColor)); in updateIconsAndTextColors() 450 applyDarkness(R.id.battery, mEmptyTintRect, intensity, iconColor); in updateIconsAndTextColors() 451 applyDarkness(R.id.clock, mEmptyTintRect, intensity, iconColor); in updateIconsAndTextColors() 454 private void applyDarkness(int id, ArrayList<Rect> tintAreas, float intensity, int color) { in applyDarkness() argument 457 ((DarkReceiver) v).onDarkChanged(tintAreas, intensity, color); in applyDarkness()
|
D | LightBarTransitionsController.java | 146 float intensity = mTintAnimator != null && mTintAnimator.isRunning() in saveState() local 148 outState.putFloat(EXTRA_DARK_INTENSITY, intensity); in saveState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/ |
D | NavigationHandle.java | 97 public void setDarkIntensity(float intensity) { in setDarkIntensity() argument 98 int color = (int) ArgbEvaluator.getInstance().evaluate(intensity, mLightColor, mDarkColor); in setDarkIntensity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
D | ButtonInterface.java | 30 void setDarkIntensity(float intensity); in setDarkIntensity() argument
|
D | KeyButtonDrawable.java | 120 public void setDarkIntensity(float intensity) { in setDarkIntensity() argument 121 mState.mDarkIntensity = intensity; in setDarkIntensity() 123 .evaluate(intensity, mState.mLightColor, mState.mDarkColor); in setDarkIntensity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/ |
D | BatteryMeterView.java | 448 float intensity = DarkIconDispatcher.isInAreas(areas, this) ? darkIntensity : 0; in onDarkChanged() local 449 mNonAdaptedSingleToneColor = mDualToneHandler.getSingleColor(intensity); in onDarkChanged() 450 mNonAdaptedForegroundColor = mDualToneHandler.getFillColor(intensity); in onDarkChanged() 451 mNonAdaptedBackgroundColor = mDualToneHandler.getBackgroundColor(intensity); in onDarkChanged()
|
/frameworks/av/media/libeffects/hapticgenerator/ |
D | EffectHapticGenerator.cpp | 117 for (const auto&[id, intensity] : param.id2Intensity) { in hapticSettingToString() 118 ss << "\t\t\t- id=" << id << ", intensity=" << (int) intensity; in hapticSettingToString() 327 for (const auto&[id, intensity] : context->param.id2Intensity) { in HapticGenerator_SetParameter() 329 context->param.maxHapticIntensity, intensity); in HapticGenerator_SetParameter()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/ |
D | VibrationSettingsTest.java | 811 private void setDefaultIntensity(@Vibrator.VibrationIntensity int intensity) { in setDefaultIntensity() argument 812 when(mVibrationConfigMock.getDefaultVibrationIntensity(anyInt())).thenReturn(intensity); in setDefaultIntensity() 816 @Vibrator.VibrationIntensity int intensity) { in setDefaultIntensity() argument 817 when(mVibrationConfigMock.getDefaultVibrationIntensity(eq(usage))).thenReturn(intensity); in setDefaultIntensity()
|
D | VibrationScalerTest.java | 268 @Vibrator.VibrationIntensity int intensity) { 269 when(mVibrationConfigMock.getDefaultVibrationIntensity(eq(usage))).thenReturn(intensity);
|