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

/frameworks/base/include/androidfw/
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/base/libs/androidfw/
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/base/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.h119 ASensorVector acceleration; member in union:ASensorEvent::__anon1379
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java506 // If the application owns the surface, don't enable hardware acceleration
694 // Don't enable hardware acceleration when the application is in compatibility mode
697 // Try to enable hardware acceleration if requested
722 // Don't enable hardware acceleration when we're not on the main thread
726 + "acceleration outside of the main thread, aborting");
745 // The window had wanted to use hardware acceleration, but this
3247 + x.step + " dir=" + x.dir + " acc=" + x.acceleration
3250 + y.step + " dir=" + y.dir + " acc=" + y.acceleration
3269 accel = x.acceleration;
3277 accel = y.acceleration;
4849 float acceleration = 1; field in class:ViewRootImpl.TrackballAxis
[all...]
/frameworks/base/services/input/
H A DInputReader.cpp737 "scale=%0.3f, lowThreshold=%0.3f, highThreshold=%0.3f, acceleration=%0.3f\n",
741 mConfig.pointerVelocityControlParameters.acceleration);
744 "scale=%0.3f, lowThreshold=%0.3f, highThreshold=%0.3f, acceleration=%0.3f\n",
748 mConfig.wheelVelocityControlParameters.acceleration);
3169 // given area relative to the diagonal size of the display when no acceleration

Completed in 447 milliseconds