Home
last modified time | relevance | path

Searched refs:BrightnessLevel (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/include/input/
DInputDevice.h187 struct BrightnessLevel : ftl::DefaultConstructible<BrightnessLevel, std::uint8_t>, struct
188 ftl::Equatable<BrightnessLevel>,
189 ftl::Orderable<BrightnessLevel>,
190 ftl::Addable<BrightnessLevel> {
198 std::set<BrightnessLevel> preferredBrightnessLevels) in InputDeviceLightInfo()
216 std::set<BrightnessLevel> preferredBrightnessLevels;
/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.cpp289 std::set<BrightnessLevel> PeripheralController::getPreferredBrightnessLevels( in getPreferredBrightnessLevels()
291 std::set<BrightnessLevel> levels; in getPreferredBrightnessLevels()
313 levels.insert(BrightnessLevel(value)); in getPreferredBrightnessLevels()
DPeripheralController.h157 std::set<BrightnessLevel> getPreferredBrightnessLevels(const Light* light) const;
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp11287 std::set<BrightnessLevel>::iterator it = lights[0].preferredBrightnessLevels.begin(); in TEST_F()
11288 ASSERT_EQ(BrightnessLevel(0), *it); in TEST_F()
11290 ASSERT_EQ(BrightnessLevel(100), *it); in TEST_F()
11292 ASSERT_EQ(BrightnessLevel(200), *it); in TEST_F()