Home
last modified time | relevance | path

Searched refs:scale (Results 1 – 25 of 42) sorted by relevance

12

/device/google/cuttlefish/common/libs/time/
Dmonotonic_time_test.cpp41 int64_t scale = 1000; in TEST_F() local
42 TimeDifference td1(10, 1000, scale); in TEST_F()
43 TimeDifference td2(100, 10000, scale); in TEST_F()
44 EXPECT_EQ((td1+td2).count(), ((110L)*1000000000L + 11000L)/scale); in TEST_F()
48 int64_t scale = 1; in TEST_F() local
49 TimeDifference td1(-10, 1000, scale); in TEST_F()
50 TimeDifference td2(100, 10000, scale); in TEST_F()
51 EXPECT_EQ((td1+td2).count(), ((90L)*1000000000L + 11000L)/scale); in TEST_F()
69 int64_t scale = 1; in TEST_F() local
70 TimeDifference td1(10, 1000, scale); in TEST_F()
[all …]
Dmonotonic_time.h28 TimeDifference(time_t seconds, long nanoseconds, int64_t scale) : in TimeDifference() argument
29 scale_(scale), truncated_(false) { in TimeDifference()
38 TimeDifference(const TimeDifference& in, int64_t scale) : in TimeDifference() argument
39 scale_(scale), truncated_(false) { in TimeDifference()
50 TimeDifference(const struct timespec& in, int64_t scale) : in TimeDifference() argument
51 ts_(in), scale_(scale), truncated_(false) { } in TimeDifference()
/device/google/wahoo/vibrator/
DVibrator.cpp70 std::ofstream&& scale, std::ofstream&& ctrlloop, std::ofstream&& lptrigger) : in Vibrator() argument
77 mScale(std::move(scale)), in Vibrator()
163 uint8_t scale; in convertEffectStrength() local
167 scale = 2; // 50% in convertEffectStrength()
171 scale = 0; // 100% in convertEffectStrength()
175 return scale; in convertEffectStrength()
Dservice.cpp170 std::ofstream scale{SCALE_PATH}; in registerVibratorService() local
171 if (!scale) { in registerVibratorService()
194 std::move(sequencer), std::move(scale), std::move(ctrlloop), std::move(lptrigger)); in registerVibratorService()
DVibrator.h35 std::ofstream&& scale, std::ofstream&& ctrlloop, std::ofstream&& lptrigger);
/device/google/bonito/vibrator/
DVibrator.cpp153 uint8_t scale; in convertEffectStrength() local
157 scale = 2; // 50% in convertEffectStrength()
161 scale = 0; // 100% in convertEffectStrength()
165 return scale; in convertEffectStrength()
221 mHwApi.scale << convertEffectStrength(strength) << std::endl; in performEffect()
Dservice.cpp193 hwapi.scale.open(SCALE_PATH); in registerVibratorService()
194 if (!hwapi.scale) { in registerVibratorService()
DVibrator.h42 std::ofstream scale; member
/device/google/crosshatch/vibrator/
Dimpl.cpp132 std::ofstream scale{DIGI_SCALE_PATH}; in makeVibratorService() local
133 if (!scale) { in makeVibratorService()
147 std::move(queue), std::move(scale)); in makeVibratorService()
DVibrator.cpp104 std::ofstream&& queue, std::ofstream&& scale) : in Vibrator() argument
109 mScale(std::move(scale)) in Vibrator()
145 int32_t scale = amplitudeToScale(amplitude, UINT8_MAX); in setAmplitude() local
147 mScale << scale << std::endl; in setAmplitude()
DVibrator.h33 std::ofstream&& queue, std::ofstream&& scale);
/device/google/muskie/
Dsynaptics_dsxv26.idc25 touch.size.scale = 42.086933
30 touch.pressure.scale = 0.0125
/device/google/taimen/
Dtouchscreen.idc25 touch.size.scale = 1.045690
30 touch.pressure.scale = 0.0125
/device/google/coral/vibrator/
DVibrator.cpp165 int32_t scale = amplitudeToScale(amplitude, maximum); in setEffectAmplitude() local
167 if (!mHwApi->setEffectScale(scale)) { in setEffectAmplitude()
177 int32_t scale = amplitudeToScale(amplitude, VOLTAGE_SCALE_MAX); in setGlobalAmplitude() local
179 if (!mHwApi->setGlobalScale(scale)) { in setGlobalAmplitude()
/device/google/contexthub/firmware/lib/builtins/
Dfp_extend_impl.inc93 const int scale = src_rep_t_clz(aAbs) - src_rep_t_clz(srcMinNormal);
94 absResult = (dst_rep_t)aAbs << (dstSigBits - srcSigBits + scale);
96 const int resultExponent = dstExpBias - srcExpBias - scale + 1;
/device/google/coral-kernel/sm8150/kernel-headers/linux/
Dmsm_mdp_ext.h85 void * scale; member
103 uint64_t scale; member
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/
Dmsm_mdp_ext.h317 void *scale; member
395 uint64_t scale; member
/device/google/bonito/sdm710/kernel-headers/linux/
Dmsm_mdp_ext.h84 void * scale; member
102 uint64_t scale; member
/device/google/bonito/sdm710/original-kernel-headers/linux/
Dmsm_mdp_ext.h314 void *scale; member
392 uint64_t scale; member
/device/google/crosshatch/sdm845/original-kernel-headers/linux/
Dmsm_mdp_ext.h314 void *scale; member
392 uint64_t scale; member
/device/google/crosshatch/sdm845/kernel-headers/linux/
Dmsm_mdp_ext.h84 void * scale; member
102 uint64_t scale; member
/device/google/contexthub/firmware/os/inc/
DhalIntf.h83 float scale[3]; member
/device/google/cuttlefish/host/libs/wayland/
Dwayland_compositor.cpp151 int32_t scale) { in surface_set_buffer_scale() argument
154 << " scale=" << scale; in surface_set_buffer_scale()
/device/google/contexthub/firmware/os/algos/calibration/sphere_fit/
Dsphere_fit_calibration.c184 const float scale = 1.f / norm; in sphereFitResidAndJacobianFunc() local
200 vecScalarMulInPlace(&jacobian[i * SF_STATE_DIM], scale, SF_STATE_DIM); in sphereFitResidAndJacobianFunc()
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c396 #define DEC_INFO_BIAS(name, type, axis, inter, samples, rates, raw, scale, bias) \ argument
404 .rawScale = scale, \
407 #define DEC_INFO(name, type, axis, inter, samples, rates, raw, scale) \ argument
415 .rawScale = scale,

12