/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.isInArea(area, this)) darkIntensity else 0f in onDarkChanged() constant 40 setBackgroundColor(dualToneHandler.getSingleColor(intensity)) in onDarkChanged()
|
D | BatteryMeterView.java | 451 float intensity = DarkIconDispatcher.isInArea(area, this) ? darkIntensity : 0; in onDarkChanged() local 452 mNonAdaptedSingleToneColor = mDualToneHandler.getSingleColor(intensity); in onDarkChanged() 453 mNonAdaptedForegroundColor = mDualToneHandler.getFillColor(intensity); in onDarkChanged() 454 mNonAdaptedBackgroundColor = mDualToneHandler.getBackgroundColor(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/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/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()
|
D | CpuConsumer_test.cpp | 241 T intensity = (parityX ^ parityY) ? 63 : 191; in fillGreyscaleBuffer() local 242 buf[yuvTexOffsetY + (y * yuvTexStrideY) + x] = intensity; in fillGreyscaleBuffer()
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibrationScaler.java | 129 private static int intensityToEffectStrength(int intensity) { in intensityToEffectStrength() argument 130 switch (intensity) { in intensityToEffectStrength() 138 Slog.w(TAG, "Got unexpected vibration intensity: " + intensity); in intensityToEffectStrength()
|
D | VibrationSettings.java | 435 private static String intensityToString(int intensity) { in intensityToString() argument 436 switch (intensity) { in intensityToString() 446 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/plugin/src/com/android/systemui/plugins/ |
D | DarkIconDispatcher.java | 91 static float getDarkIntensity(Rect tintArea, View view, float intensity) { in getDarkIntensity() argument 93 return intensity; in getDarkIntensity()
|
/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/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/statusbar/phone/ |
D | KeyguardStatusBarView.java | 497 float intensity = textColor == Color.WHITE ? 0 : 1; in updateIconsAndTextColors() local 503 applyDarkness(R.id.battery, mEmptyRect, intensity, iconColor); in updateIconsAndTextColors() 504 applyDarkness(R.id.clock, mEmptyRect, intensity, iconColor); in updateIconsAndTextColors() 507 private void applyDarkness(int id, Rect tintArea, float intensity, int color) { in applyDarkness() argument 510 ((DarkReceiver) v).onDarkChanged(tintArea, intensity, color); in applyDarkness()
|
D | LightBarTransitionsController.java | 93 float intensity = mTintAnimator != null && mTintAnimator.isRunning() in saveState() local 95 outState.putFloat(EXTRA_DARK_INTENSITY, intensity); in saveState()
|
/frameworks/base/core/java/android/os/ |
D | VibrationEffect.java | 487 public static float scale(float intensity, float scaleFactor) { in scale() argument 495 return intensity * scale; in scale() 500 float x = intensity * scale * extraScale; in scale()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusBarMobileView.java | 226 float intensity = isInArea(area, this) ? darkIntensity : 0; in onDarkChanged() local 228 ColorStateList.valueOf(mDualToneHandler.getSingleColor(intensity))); in onDarkChanged()
|
/frameworks/av/media/libeffects/hapticgenerator/ |
D | EffectHapticGenerator.cpp | 283 for (const auto&[id, intensity] : context->param.id2Intensity) { in HapticGenerator_SetParameter() 285 context->param.maxHapticIntensity, intensity); in HapticGenerator_SetParameter()
|
/frameworks/av/services/audioflinger/ |
D | Effects.h | 261 status_t setHapticIntensity(int id, int intensity); 509 void setHapticIntensity_l(int id, int intensity);
|
/frameworks/base/core/proto/android/providers/settings/ |
D | system.proto | 92 optional SettingProto intensity = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; field
|