Home
last modified time | relevance | path

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

/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)
DBatteryMeterView.java439 float intensity = DarkIconDispatcher.isInArea(area, this) ? darkIntensity : 0; in onDarkChanged() local
440 mNonAdaptedSingleToneColor = mDualToneHandler.getSingleColor(intensity); in onDarkChanged()
441 mNonAdaptedForegroundColor = mDualToneHandler.getFillColor(intensity); in onDarkChanged()
442 mNonAdaptedBackgroundColor = mDualToneHandler.getBackgroundColor(intensity); in onDarkChanged()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/qs/car/
DCarStatusBarHeader.java49 float intensity = colorForeground == Color.WHITE ? 0f : 1f; in onFinishInflate() local
52 applyDarkness(R.id.battery, tintArea, intensity, colorForeground); in onFinishInflate()
53 applyDarkness(R.id.clock, tintArea, intensity, colorForeground); in onFinishInflate()
58 private void applyDarkness(@IdRes int id, Rect tintArea, float intensity, int color) { in applyDarkness() argument
61 ((DarkIconDispatcher.DarkReceiver) v).onDarkChanged(tintArea, intensity, color); in applyDarkness()
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationHandle.java87 public void setDarkIntensity(float intensity) { in setDarkIntensity() argument
88 if (mDarkIntensity != intensity) { in setDarkIntensity()
89 mPaint.setColor((int) ArgbEvaluator.getInstance().evaluate(intensity, mLightColor, in setDarkIntensity()
91 mDarkIntensity = intensity; in setDarkIntensity()
DButtonInterface.java30 void setDarkIntensity(float intensity); in setDarkIntensity() argument
DKeyguardStatusBarView.java472 float intensity = textColor == Color.WHITE ? 0 : 1; in updateIconsAndTextColors() local
478 applyDarkness(R.id.battery, mEmptyRect, intensity, iconColor); in updateIconsAndTextColors()
479 applyDarkness(R.id.clock, mEmptyRect, intensity, iconColor); in updateIconsAndTextColors()
482 private void applyDarkness(int id, Rect tintArea, float intensity, int color) { in applyDarkness() argument
485 ((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/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/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Dvr.rs123 int intensity = (((short) pix) & 0xFFFF);
125 uchar4 color = rsGetElementAt_uchar4(color_map, intensity * 2);
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);
259 uchar4 color = rsGetElementAt_uchar4(color_map, intensity * 2);
260 uchar4 mat = rsGetElementAt_uchar4(color_map, intensity * 2 + 1);
Dbricked.rs57 int intensity = 0xFFFF & rsGetElementAt_short(volume, px, py, pz);
58 uchar op = rsGetElementAt_uchar(opacity, intensity);
/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/qs/
DQuickStatusBarHeader.java184 float intensity = getColorIntensity(colorForeground); in onFinishInflate() local
185 int fillColor = mDualToneHandler.getSingleColor(intensity); in onFinishInflate()
263 private void applyDarkness(int id, Rect tintArea, float intensity, int color) { in applyDarkness() argument
266 ((DarkReceiver) v).onDarkChanged(tintArea, intensity, color); in applyDarkness()
497 float intensity = getColorIntensity(colorForeground); in setupHost() local
498 int fillColor = mDualToneHandler.getSingleColor(intensity); in setupHost()
499 mBatteryRemainingIcon.onDarkChanged(tintArea, intensity, fillColor); in setupHost()
/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.java107 public void updateGrayscaleMatrix(float intensity) { in updateGrayscaleMatrix() argument
108 mGrayscaleColorMatrix.setSaturation(1 - intensity); in updateGrayscaleMatrix()
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java727 final int intensity = getCurrentIntensityLocked(vib); in startVibrationLocked() local
728 if (intensity == Vibrator.VIBRATION_INTENSITY_OFF) { in startVibrationLocked()
748 applyVibrationIntensityScalingLocked(vib, intensity); in startVibrationLocked()
821 private void applyVibrationIntensityScalingLocked(Vibration vib, int intensity) { in applyVibrationIntensityScalingLocked() argument
826 prebaked.setEffectStrength(intensityToEffectStrength(intensity)); in applyVibrationIntensityScalingLocked()
845 final ScaleLevel scale = mScaleLevels.get(intensity - defaultIntensity); in applyVibrationIntensityScalingLocked()
850 + " (current=" + intensity + ", default= " + defaultIntensity + ")"); in applyVibrationIntensityScalingLocked()
1123 final int intensity = getCurrentIntensityLocked(fallbackVib); in doVibratorPrebakedEffectLocked() local
1125 applyVibrationIntensityScalingLocked(fallbackVib, intensity); in doVibratorPrebakedEffectLocked()
1142 private static int intensityToEffectStrength(int intensity) { in intensityToEffectStrength() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonDrawable.java104 public void setDarkIntensity(float intensity) { in setDarkIntensity() argument
105 mState.mDarkIntensity = intensity; in setDarkIntensity()
107 .evaluate(intensity, mState.mLightColor, mState.mDarkColor); in setDarkIntensity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarMobileView.java237 float intensity = color == Color.WHITE ? 0 : 1; in setStaticDrawableColor() local
241 ColorStateList.valueOf(mDualToneHandler.getSingleColor(intensity))); in setStaticDrawableColor()
/frameworks/base/core/proto/android/providers/settings/
Dsystem.proto91 optional SettingProto intensity = 2 [ (android.privacy).dest = DEST_AUTOMATIC ]; field
/frameworks/wilhelm/include/SLES/
DOpenSLES.h698 SLpermille intensity
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h2582 XApermille intensity
/frameworks/av/services/audioflinger/
DThreads.cpp2419 const int intensity = AudioFlinger::onExternalVibrationStart( in addTrack_l() local
2422 track->setHapticIntensity(static_cast<AudioMixer::haptic_intensity_t>(intensity)); in addTrack_l()