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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/car/
H A DCarStatusBarHeader.java44 float intensity = colorForeground == Color.WHITE ? 0f : 1f;
47 applyDarkness(R.id.battery, tintArea, intensity, colorForeground);
48 applyDarkness(R.id.clock, tintArea, intensity, colorForeground);
53 private void applyDarkness(@IdRes int id, Rect tintArea, float intensity, int color) { argument
56 ((DarkIconDispatcher.DarkReceiver) v).onDarkChanged(tintArea, intensity, color);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DTintedKeyButtonDrawable.java52 public void setDarkIntensity(float intensity) { argument
53 // Duplicate intensity scaling from KeyButtonDrawable
54 mDarkIntensity = intensity;
58 blendAlpha(mDarkColor, intensity),
59 blendAlpha(mLightColor, (1f - intensity)));
H A DKeyButtonDrawable.java69 public void setDarkIntensity(float intensity) { argument
73 getDrawable(0).setAlpha((int) ((1 - intensity) * 255f));
74 getDrawable(1).setAlpha((int) (intensity * 255f));
H A DDarkIconDispatcher.java57 * @return the dark intensity to apply to {@param view} depending on the desired dark
58 * {@param intensity} and the screen {@param tintArea} in which to apply that intensity
60 static float getDarkIntensity(Rect tintArea, View view, float intensity) { argument
62 return intensity;
/frameworks/wilhelm/src/itf/
H A DIVibra.cpp95 static SLresult IVibra_SetIntensity(SLVibraItf self, SLpermille intensity) argument
102 } else if (!(0 <= intensity && intensity <= 1000)) {
107 thiz->mIntensity = intensity;
129 SLpermille intensity = thiz->mIntensity; local
131 *pIntensity = intensity;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNeutralGoodDrawable.java71 public void setDarkIntensity(float intensity) { argument
73 getDrawable(0).setAlpha((int) ((1 - intensity) * 255f));
74 getDrawable(1).setAlpha((int) (intensity * 255f));
H A DStatusBarMobileView.java225 float intensity = color == Color.WHITE ? 0 : 1;
226 mMobileDrawable.setDarkIntensity(intensity);
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/phone/
H A DNavBarButtonProvider.java52 void setDarkIntensity(float intensity); argument
H A DNavGesture.java42 public void onDarkIntensityChange(float intensity); argument
/frameworks/native/libs/gui/tests/
H A DFillBuffer.cpp38 unsigned char intensity = (parityX ^ parityY) ? 63 : 191; local
39 buf[yuvTexOffsetY + (y * yuvTexStrideY) + x] = intensity;
41 buf[yuvTexOffsetU + (y * yuvTexStrideU) + x] = intensity;
47 intensity;
H A DCpuConsumer_test.cpp241 T intensity = (parityX ^ parityY) ? 63 : 191; local
242 buf[yuvTexOffsetY + (y * yuvTexStrideY) + x] = intensity;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DNotificationIconDozeHelper.java81 private void updateImageColorFilter(ImageView target, float intensity) { argument
82 int color = NotificationUtils.interpolateColors(mColor, mImageDarkColor, intensity);
H A DNotificationDozeHelper.java106 public void updateGrayscaleMatrix(float intensity) { argument
107 mGrayscaleColorMatrix.setSaturation(1 - intensity);
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
H A Dvr.rs123 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
[all...]
H A Dbricked.rs57 int intensity = 0xFFFF & rsGetElementAt_short(volume, px, py, pz);
58 uchar op = rsGetElementAt_uchar(opacity, intensity);
/frameworks/native/opengl/tests/gl_yuvtex/
H A Dgl_yuvtex.cpp108 unsigned char intensity = (parityX ^ parityY) ? 63 : 191; local
109 buf[yuvTexOffsetY + (y * yuvTexStrideY) + x] = intensity;
111 buf[yuvTexOffsetU + (y * yuvTexStrideU) + x] = intensity;
113 buf[yuvTexOffsetV + (y * yuvTexStrideV) + x] = intensity;
118 buf[yuvTexOffsetV + ((y*2+1) * yuvTexStrideV) + x*2 + 1] = intensity;
/frameworks/base/services/core/java/com/android/server/
H A DVibratorService.java80 // intensity for that type of vibration (i.e. current - default).
103 // A mapping from the intensity adjustment to the scaling to apply, where the intensity
104 // adjustment is defined as the delta between the default intensity level and the user selected
105 // intensity level. It's important that we apply the scaling on the delta between the two so
106 // that the default intensity level applies no scaling to application provided effects.
166 // the effect was scaled based on the users vibration intensity settings.
626 final int intensity = getCurrentIntensityLocked(vib);
627 if (intensity == Vibrator.VIBRATION_INTENSITY_OFF) {
647 applyVibrationIntensityScalingLocked(vib, intensity);
716 applyVibrationIntensityScalingLocked(Vibration vib, int intensity) argument
1025 intensityToEffectStrength(int intensity) argument
[all...]
/frameworks/native/opengl/tests/gl2_yuvtex/
H A Dgl2_yuvtex.cpp213 unsigned char intensity = (parityX ^ parityY) ? 63 : 191; local
214 buf[yuvTexOffsetY + (y * yuvTexStrideY) + x] = intensity;
216 buf[yuvTexOffsetU + (y * yuvTexStrideU) + x] = intensity;
218 buf[yuvTexOffsetV + (y * yuvTexStrideV) + x] = intensity;
223 buf[yuvTexOffsetV + ((y*2+1) * yuvTexStrideV) + x*2 + 1] = intensity;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQuickStatusBarHeader.java171 float intensity = getColorIntensity(colorForeground);
172 int fillColor = fillColorForIntensity(intensity, getContext());
240 private void applyDarkness(int id, Rect tintArea, float intensity, int color) { argument
243 ((DarkReceiver) v).onDarkChanged(tintArea, intensity, color);
247 private int fillColorForIntensity(float intensity, Context context) { argument
248 if (intensity == 0) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DLightBarTransitionsController.java79 float intensity = mTintAnimator != null && mTintAnimator.isRunning()
81 outState.putFloat(EXTRA_DARK_INTENSITY, intensity);
200 * Interface to apply a specific dark intensity.
H A DKeyguardStatusBarView.java441 float intensity = textColor == Color.WHITE ? 0 : 1;
447 applyDarkness(R.id.battery, tintArea, intensity, iconColor);
448 applyDarkness(R.id.clock, tintArea, intensity, iconColor);
454 private void applyDarkness(int id, Rect tintArea, float intensity, int color) { argument
457 ((DarkReceiver) v).onDarkChanged(tintArea, intensity, color);
H A DNavigationBarGestureHelper.java143 public void onDarkIntensityChange(float intensity) { argument
144 mQuickStepController.onDarkIntensityChange(intensity);
H A DQuickStepController.java353 public void onDarkIntensityChange(float intensity) { argument
354 mDarkIntensity = intensity;
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DBatteryMeterView.java312 float intensity = DarkIconDispatcher.isInArea(area, this) ? darkIntensity : 0;
314 intensity, mLightModeFillColor, mDarkModeFillColor);
316 intensity, mLightModeBackgroundColor,mDarkModeBackgroundColor);
/frameworks/base/core/proto/android/providers/settings/
H A Dsystem.proto91 optional SettingProto intensity = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];

Completed in 465 milliseconds

12