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.cpp43 outEvent->data[0] = event.acceleration.x - outEvent->data[0];
44 outEvent->data[1] = event.acceleration.y - outEvent->data[1];
45 outEvent->data[2] = event.acceleration.z - outEvent->data[2];
/frameworks/native/include/android/
H A Dsensor.h144 ASensorVector acceleration; member in union:ASensorEvent::__anon1365::__anon1366
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java457 // If the application owns the surface, don't enable hardware acceleration
681 // Don't enable hardware acceleration when the application is in compatibility mode
684 // Try to enable hardware acceleration if requested
709 // Don't enable hardware acceleration when we're not on the main thread
713 + "acceleration outside of the main thread, aborting");
729 // The window had wanted to use hardware acceleration, but this
4082 + mX.step + " dir=" + mX.dir + " acc=" + mX.acceleration
4085 + mY.step + " dir=" + mY.dir + " acc=" + mY.acceleration
4104 accel = mX.acceleration;
4112 accel = mY.acceleration;
4193 float acceleration = 1; field in class:ViewRootImpl.TrackballAxis
[all...]
/frameworks/base/services/input/
H A DInputReader.cpp722 "scale=%0.3f, lowThreshold=%0.3f, highThreshold=%0.3f, acceleration=%0.3f\n",
726 mConfig.pointerVelocityControlParameters.acceleration);
729 "scale=%0.3f, lowThreshold=%0.3f, highThreshold=%0.3f, acceleration=%0.3f\n",
733 mConfig.wheelVelocityControlParameters.acceleration);
3267 // given area relative to the diagonal size of the display when no acceleration

Completed in 430 milliseconds