Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/xserver/dix/
H A Dptrveloc.c1087 DeviceVelocityPtr velocitydata = GetDevicePredictableAccelData(dev); in acceleratePointerPredictable() local
1090 if (valuator_mask_num_valuators(val) == 0 || !velocitydata) in acceleratePointerPredictable()
1093 if (velocitydata->statistics.profile_number == AccelProfileNone && in acceleratePointerPredictable()
1094 velocitydata->const_acceleration == 1.0) { in acceleratePointerPredictable()
1108 if (ProcessVelocityData2D(velocitydata, dx, dy, evtime)) { in acceleratePointerPredictable()
1116 mult = ComputeAcceleration(dev, velocitydata, in acceleratePointerPredictable()
1122 if (mult != 1.0 || velocitydata->const_acceleration != 1.0) { in acceleratePointerPredictable()
1124 ApplySoftening(velocitydata, &dx, &dy); in acceleratePointerPredictable()
1125 ApplyConstantDeceleration(velocitydata, &dx, &dy); in acceleratePointerPredictable()
1136 velocitydata->last_dx = dx; in acceleratePointerPredictable()
[all …]