Searched refs:intensity (Results 1 – 7 of 7) sorted by relevance
/device/google/tangorpro/lights/ |
D | led_lut_calibrator.cpp | 40 int LedLutCalibrator::GetByColorIntensity(const std::string &color, int intensity) const { in GetByColorIntensity() 41 std::string key = MakeLutKey(color, intensity); in GetByColorIntensity() 122 uint16_t intensity = atoi(colon_separated[1].c_str()); in ParseBlock() local 124 std::cout << color_name << intensity << pwm << std::endl; in ParseBlock() 125 std::string key = MakeLutKey(color_name, intensity); in ParseBlock() 132 std::string LedLutCalibrator::MakeLutKey(const std::string &color, int intensity) const { in MakeLutKey() 133 std::string intensity_str = std::to_string(intensity); in MakeLutKey()
|
D | led_lut_calibrator.h | 32 int GetByColorIntensity(const std::string &color, int intensity) const; 37 std::string MakeLutKey(const std::string &color, int intensity) const;
|
/device/google/felix/vibrator/cs40l26/ |
D | Vibrator.cpp | 1491 float intensity; in getSimpleDetails() local 1495 intensity = 0.5f; in getSimpleDetails() 1498 intensity = 0.7f; in getSimpleDetails() 1501 intensity = 1.0f; in getSimpleDetails() 1510 intensity *= 0.5f; in getSimpleDetails() 1514 intensity *= 0.5f; in getSimpleDetails() 1518 intensity *= 0.7f; in getSimpleDetails() 1522 intensity *= 1.0f; in getSimpleDetails() 1524 if (intensity > mPrimitiveMaxScale[WAVEFORM_CLICK_INDEX - 1]) { in getSimpleDetails() 1525 intensity = mPrimitiveMaxScale[WAVEFORM_CLICK_INDEX - 1]; in getSimpleDetails() [all …]
|
D | Vibrator.h | 203 uint32_t intensityToVolLevel(float intensity, uint32_t effectIndex);
|
/device/google/felix/vibrator/cs40l26/tests/ |
D | test-vibrator.cpp | 67 static EffectLevel Level(float intensity, float levelLow, float levelHigh); 68 static EffectScale Scale(float intensity, float levelLow, float levelHigh); 192 static EffectLevel Level(float intensity, float levelLow, float levelHigh) { in Level() argument 193 return std::lround(intensity * (levelHigh - levelLow)) + levelLow; in Level() 196 static EffectScale Scale(float intensity, float levelLow, float levelHigh) { in Scale() argument 197 return levelToScale(Level(intensity, levelLow, levelHigh)); in Scale()
|
/device/google/cuttlefish_vmm/qemu/x86_64-linux-gnu/usr/share/qemu/ |
D | trace-events-all | 2682 … char *color, const char *desc, uint8_t intensity_percent) "LED desc:'%s' color:%s intensity: %u%%" 2683 …d_intensity_percent, uint8_t new_intensity_percent) "LED desc:'%s' color:%s intensity %u%% -> %u%%"
|
/device/google/cuttlefish_vmm/qemu/aarch64-linux-gnu/usr/share/qemu/ |
D | trace-events-all | 2682 … char *color, const char *desc, uint8_t intensity_percent) "LED desc:'%s' color:%s intensity: %u%%" 2683 …d_intensity_percent, uint8_t new_intensity_percent) "LED desc:'%s' color:%s intensity %u%% -> %u%%"
|