Searched refs:min_ (Results 1 – 4 of 4) sorted by relevance
/hardware/libhardware/modules/camera/3_4/metadata/ |
D | slider_control_options.h | 38 : min_(min), max_(max), defaults_(defaults){}; in SliderControlOptions() 40 : min_(min), in SliderControlOptions() 45 return {min_, max_}; in MetadataRepresentation() 48 return option >= min_ && option <= max_; in IsSupported() 52 if (min_ > max_) { in DefaultValueForTemplate() 59 if (*default_value < min_) { in DefaultValueForTemplate() 60 *default_value = min_; in DefaultValueForTemplate() 68 *default_value = min_; in DefaultValueForTemplate() 73 T min_;
|
D | slider_control_options_test.cpp | 38 dut_.reset(new SliderControlOptions<int>(min_, max_, mock_defaults_)); in SetUp() 43 const int min_ = 1; member in v4l2_camera_hal::SliderControlOptionsTest 50 std::vector<int> expected{min_, max_}; in TEST_F() 55 for (int i = min_; i <= max_; ++i) { in TEST_F() 59 EXPECT_FALSE(dut_->IsSupported(min_ - 1)); in TEST_F() 77 int default_val = min_ - 1; in TEST_F() 79 int expected = min_; in TEST_F() 108 int actual = min_ - 1; in TEST_F()
|
D | ranged_converter.h | 44 const TV4L2 min_; variable 60 min_(min), in RangedConverter() 79 raw_conversion -= (raw_conversion - min_) % step_; in MetadataToV4L2() 82 if (raw_conversion < min_) { in MetadataToV4L2() 83 raw_conversion = min_; in MetadataToV4L2()
|
D | ranged_converter_test.cpp | 36 new RangedConverter<int, int32_t>(converter_, min_, max_, step_)); in SetUp() 52 const int32_t min_ = -11; member in v4l2_camera_hal::RangedConverterTest 69 ExpectConvert(min_ - 1, min_); in TEST_F()
|