Searched refs:acceleration (Results 1 - 6 of 6) sorted by relevance

/frameworks/native/include/input/
H A DVelocityControl.h27 * Specifies parameters that govern pointer or wheel acceleration.
39 // The scaled speed at which acceleration begins to be applied.
41 // small precise motions that are performed without any acceleration.
47 // The scaled speed at which maximum acceleration is applied.
49 // the range of speeds over which the acceleration factor is interpolated.
50 // The wider the range, the smoother the acceleration.
56 // The acceleration factor.
61 // Default is 1.0 (no acceleration).
62 float acceleration; member in struct:android::VelocityControlParameters
65 scale(1.0f), lowThreshold(0.0f), highThreshold(0.0f), acceleration(1.
68 VelocityControlParameters(float scale, float lowThreshold, float highThreshold, float acceleration) argument
[all...]
/frameworks/native/libs/input/
H A DVelocityControl.cpp20 // Log debug messages about acceleration.
76 // Apply full acceleration above the high speed threshold.
77 scale *= mParameters.acceleration;
79 // Linearly interpolate the acceleration to apply between the low and high
83 * (mParameters.acceleration - 1);
90 mParameters.acceleration,
97 mParameters.acceleration);
/frameworks/native/services/sensorservice/
H A DLinearAccelerationSensor.cpp54 outEvent->data[0] = event.acceleration.x - outEvent->data[0];
55 outEvent->data[1] = event.acceleration.y - outEvent->data[1];
56 outEvent->data[2] = event.acceleration.z - outEvent->data[2];
/frameworks/native/include/android/
H A Dsensor.h69 * All values are in SI units (m/s^2) and measure the acceleration of the
111 * All values are in SI units (m/s^2) and measure the acceleration of the
235 ASensorVector acceleration; member in union:ASensorEvent::__anon1324::__anon1325
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java592 // If the application owns the surface, don't enable hardware acceleration
829 // Don't enable hardware acceleration when the application is in compatibility mode
832 // Try to enable hardware acceleration if requested
4624 + mX.step + " dir=" + mX.dir + " acc=" + mX.acceleration
4627 + mY.step + " dir=" + mY.dir + " acc=" + mY.acceleration
4646 accel = mX.acceleration;
4654 accel = mY.acceleration;
4711 * The maximum amount of acceleration we will apply.
4718 * and thus apply an acceleration.
4724 * much to multiple/divide the current acceleration
4735 float acceleration = 1; field in class:ViewRootImpl.TrackballAxis
[all...]
/frameworks/native/services/inputflinger/
H A DInputReader.cpp807 "scale=%0.3f, lowThreshold=%0.3f, highThreshold=%0.3f, acceleration=%0.3f\n",
811 mConfig.pointerVelocityControlParameters.acceleration);
814 "scale=%0.3f, lowThreshold=%0.3f, highThreshold=%0.3f, acceleration=%0.3f\n",
818 mConfig.wheelVelocityControlParameters.acceleration);
3617 // given area relative to the diagonal size of the display when no acceleration

Completed in 103 milliseconds