Searched refs:intensities (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/services/inputflinger/reader/controller/ |
D | PeripheralController.cpp | 141 std::unordered_map<LightColor, int32_t> intensities; in setLightColor() local 142 intensities.emplace(LightColor::RED, getRed(color)); in setLightColor() 143 intensities.emplace(LightColor::GREEN, getGreen(color)); in setLightColor() 144 intensities.emplace(LightColor::BLUE, getBlue(color)); in setLightColor() 146 context.setLightIntensities(rawId, intensities); in setLightColor() 200 std::unordered_map<LightColor, int32_t> intensities = ret.value(); in getLightColor() local 202 int32_t color = toArgb(0 /* brightness */, intensities.at(LightColor::RED) /* red */, in getLightColor() 203 intensities.at(LightColor::GREEN) /* green */, in getLightColor() 204 intensities.at(LightColor::BLUE) /* blue */); in getLightColor()
|
/frameworks/native/services/inputflinger/reader/include/ |
D | InputDevice.h | 304 std::unordered_map<LightColor, int32_t> intensities) { in setLightIntensities() argument 305 return mEventHub->setLightIntensities(mId, lightId, intensities); in setLightIntensities()
|
D | EventHub.h | 298 std::unordered_map<LightColor, int32_t> intensities) = 0; 475 std::unordered_map<LightColor, int32_t> intensities) override final;
|
/frameworks/native/services/inputflinger/reader/ |
D | EventHub.cpp | 1107 std::unordered_map<LightColor, int32_t> intensities; in getLightIntensities() local 1110 intensities.emplace(colors[i - 1], value); in getLightIntensities() 1112 return intensities; in getLightIntensities() 1133 std::unordered_map<LightColor, int32_t> intensities) { in setLightIntensities() argument 1153 auto it = intensities.find(colors[i]); in setLightIntensities() 1154 if (it != intensities.end()) { in setLightIntensities()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 595 const std::unordered_map<LightColor, int32_t> intensities) { in fakeLightIntensities() argument 596 mLightIntensities.emplace(rawId, std::move(intensities)); in fakeLightIntensities() 938 std::unordered_map<LightColor, int32_t> intensities) override { in setLightIntensities() argument 939 mLightIntensities.emplace(lightId, intensities); in setLightIntensities()
|