Home
last modified time | relevance | path

Searched refs:intensity (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDualToneHandler.kt75 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)
DDarkReceiverImpl.kt39 val intensity = if (DarkIconDispatcher.isInArea(area, this)) darkIntensity else 0f in onDarkChanged() constant
40 setBackgroundColor(dualToneHandler.getSingleColor(intensity)) in onDarkChanged()
DBatteryMeterView.java451 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/
DIVibra.cpp95 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/
Dvr.rscript123 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 …]
Dbricked.rscript57 int intensity = 0xFFFF & rsGetElementAt_short(volume, px, py, pz);
58 uchar op = rsGetElementAt_uchar(opacity, intensity);
/frameworks/native/libs/gui/tests/
DFillBuffer.cpp38 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()
DCpuConsumer_test.cpp241 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/
DVibrationScaler.java129 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()
DVibrationSettings.java435 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/
Dgl_yuvtex.cpp108 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/
Dgl2_yuvtex.cpp213 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/
DDarkIconDispatcher.java91 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/
DNotificationIconDozeHelper.java83 private void updateImageColorFilter(ImageView target, float intensity) { in updateImageColorFilter() argument
84 int color = NotificationUtils.interpolateColors(mColor, mImageDarkColor, intensity); in updateImageColorFilter()
DNotificationDozeHelper.java108 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/
DNavigationHandle.java97 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/
DButtonInterface.java30 void setDarkIntensity(float intensity); in setDarkIntensity() argument
DKeyButtonDrawable.java120 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/
DKeyguardStatusBarView.java497 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()
DLightBarTransitionsController.java93 float intensity = mTintAnimator != null && mTintAnimator.isRunning() in saveState() local
95 outState.putFloat(EXTRA_DARK_INTENSITY, intensity); in saveState()
/frameworks/base/core/java/android/os/
DVibrationEffect.java487 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/
DStatusBarMobileView.java226 float intensity = isInArea(area, this) ? darkIntensity : 0; in onDarkChanged() local
228 ColorStateList.valueOf(mDualToneHandler.getSingleColor(intensity))); in onDarkChanged()
/frameworks/av/media/libeffects/hapticgenerator/
DEffectHapticGenerator.cpp283 for (const auto&[id, intensity] : context->param.id2Intensity) { in HapticGenerator_SetParameter()
285 context->param.maxHapticIntensity, intensity); in HapticGenerator_SetParameter()
/frameworks/av/services/audioflinger/
DEffects.h261 status_t setHapticIntensity(int id, int intensity);
509 void setHapticIntensity_l(int id, int intensity);
/frameworks/base/core/proto/android/providers/settings/
Dsystem.proto92 optional SettingProto intensity = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; field

12