/cts/tests/acceleration/src/android/acceleration/cts/ |
HardwareAcceleratedActivity.java | 17 package android.acceleration.cts;
|
SoftwareAcceleratedActivity.java | 17 package android.acceleration.cts;
|
WindowFlagHardwareAcceleratedActivity.java | 17 package android.acceleration.cts;
|
BaseAcceleratedActivity.java | 17 package android.acceleration.cts; 19 import com.android.cts.acceleration.stub.R; 36 setContentView(R.layout.acceleration);
|
AcceleratedView.java | 17 package android.acceleration.cts;
|
/external/replicaisland/src/com/replica/replicaisland/ |
Interpolator.java | 20 * Helper class for interpolating velocity over time given a target velocity and acceleration. 22 * Note that acceleration is effectively an absolute value--it always points in the direction of 35 // Rather than simply interpolating acceleration and velocity for each time step 36 // (as in, position += (velocity * time); velocity += (acceleration * time);), 49 // change in position = velocity * time + (0.5 * acceleration * (time^2)) 50 // change in velocity = acceleration * time 52 public void set(float current, float target, float acceleration) { 55 mAcceleration = acceleration; 63 // point the acceleration at the target, or zero it if we are already 67 // calculate scaled acceleration (0.5 * acceleration * (time^2) [all...] |
/frameworks/native/include/input/ |
VelocityControl.h | 27 * 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.0f) [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/device_orientation/ |
DeviceAcceleration.h | 38 static PassRefPtrWillBeRawPtr<DeviceAcceleration> create(PassRefPtrWillBeRawPtr<DeviceMotionData::Acceleration> acceleration) 40 return adoptRefWillBeNoop(new DeviceAcceleration(acceleration)); 49 DeviceAcceleration(PassRefPtrWillBeRawPtr<DeviceMotionData::Acceleration>); 51 RefPtrWillBeMember<DeviceMotionData::Acceleration> m_acceleration;
|
DeviceAcceleration.cpp | 31 DeviceAcceleration::DeviceAcceleration(PassRefPtrWillBeRawPtr<DeviceMotionData::Acceleration> acceleration) 32 : m_acceleration(acceleration)
|
DeviceMotionEvent.idl | 27 readonly attribute DeviceAcceleration acceleration; 34 [Default=Undefined] optional DeviceAcceleration acceleration,
|
DeviceMotionEvent.cpp | 65 DeviceAcceleration* DeviceMotionEvent::acceleration() function in class:WebCore::DeviceMotionEvent 67 if (!m_deviceMotionData->acceleration()) 71 m_acceleration = DeviceAcceleration::create(m_deviceMotionData->acceleration());
|
DeviceMotionData.cpp | 32 PassRefPtrWillBeRawPtr<DeviceMotionData::Acceleration> DeviceMotionData::Acceleration::create( 35 return adoptRefWillBeNoop(new DeviceMotionData::Acceleration(canProvideX, x, canProvideY, y, canProvideZ, z)); 38 DeviceMotionData::Acceleration::Acceleration(bool canProvideX, double x, bool canProvideY, double y, bool canProvideZ, double z) 71 PassRefPtrWillBeRawPtr<Acceleration> acceleration, 72 PassRefPtrWillBeRawPtr<Acceleration> accelerationIncludingGravity, 77 return adoptRefWillBeNoop(new DeviceMotionData(acceleration, accelerationIncludingGravity, rotationRate, canProvideInterval, interval)); 83 DeviceMotionData::Acceleration::create [all...] |
DeviceMotionEvent.h | 54 DeviceAcceleration* acceleration();
|
/external/chromium_org/ui/views/animation/ |
scroll_animator.h | 30 // The ScrollAnimator does not own the delegate. Uses default acceleration. 34 // Use this if you would prefer different acceleration than the default. 35 void set_acceleration(float acceleration) { acceleration_ = acceleration; }
|
/cts/tests/tests/acceleration/src/android/acceleration/cts/ |
SoftwareAccelerationTest.java | 17 package android.acceleration.cts; 20 * Test that uses an Activity with hardware acceleration explicitly disabled 21 * and makes sure that all views are rendered using software acceleration.
|
HardwareAccelerationTest.java | 17 package android.acceleration.cts; 20 * Test that uses an Activity with hardware acceleration enabled. 30 // Hardware acceleration should be available on devices with GL ES 2 or higher...
|
WindowFlagHardwareAccelerationTest.java | 17 package android.acceleration.cts; 20 * Test that uses an Activity with hardware acceleration enabled. 30 // Hardware acceleration should be available on devices with GL ES 2 or higher...
|
BaseAccelerationTest.java | 17 package android.acceleration.cts;
|
/frameworks/native/libs/input/ |
VelocityControl.cpp | 20 // 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/ |
LinearAccelerationSensor.cpp | 43 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]; 64 hwSensor.name = "Linear Acceleration Sensor";
|
/hardware/akm/AK8975_FS/libsensors/ |
AdxlSensor.cpp | 70 mPendingEvent.acceleration.x = ADXL_UNIT_CONVERSION(absinfo.value); 73 mPendingEvent.acceleration.y = ADXL_UNIT_CONVERSION(absinfo.value); 76 mPendingEvent.acceleration.z = ADXL_UNIT_CONVERSION(absinfo.value); 202 mPendingEvent.acceleration.x = ADXL_UNIT_CONVERSION(value); 204 mPendingEvent.acceleration.y = ADXL_UNIT_CONVERSION(value); 206 mPendingEvent.acceleration.z = ADXL_UNIT_CONVERSION(value);
|
KionixSensor.cpp | 66 mPendingEvent.acceleration.x = KIONIX_UNIT_CONVERSION(absinfo.value); 69 mPendingEvent.acceleration.y = KIONIX_UNIT_CONVERSION(absinfo.value); 72 mPendingEvent.acceleration.z = KIONIX_UNIT_CONVERSION(absinfo.value); 180 mPendingEvent.acceleration.x = KIONIX_UNIT_CONVERSION(value); 182 mPendingEvent.acceleration.y = KIONIX_UNIT_CONVERSION(value); 184 mPendingEvent.acceleration.z = KIONIX_UNIT_CONVERSION(value);
|
AkmSensor.cpp | 48 mPendingEvents[Accelerometer].acceleration.status = SENSOR_STATUS_ACCURACY_HIGH; 245 acc[0] = (int16_t)(data->acceleration.x / GRAVITY_EARTH * AKSC_LSG); 246 acc[1] = (int16_t)(data->acceleration.y / GRAVITY_EARTH * AKSC_LSG); 247 acc[2] = (int16_t)(data->acceleration.z / GRAVITY_EARTH * AKSC_LSG); 278 mPendingEvents[Accelerometer].acceleration.x = value * CONVERT_A; 282 mPendingEvents[Accelerometer].acceleration.y = value * CONVERT_A; 286 mPendingEvents[Accelerometer].acceleration.z = value * CONVERT_A;
|
/external/deqp/framework/platform/win32/ |
tcuWGL.hpp | 69 enum Acceleration 83 Acceleration acceleration; member in class:tcu::wgl::PixelFormatInfo 135 , acceleration (ACCELERATION_LAST)
|
/external/qemu/android/ |
hw-sensors.c | 86 } Acceleration; 114 Acceleration acceleration; member in union:__anon32867::__anon32868 152 * acceleration:<x>:<y>:<z> 300 snprintf(buffer, sizeof buffer, "acceleration:%g:%g:%g", 301 sensor->u.acceleration.x, 302 sensor->u.acceleration.y, 303 sensor->u.acceleration.z); 529 qemu_put_float(f, s->u.acceleration.x); 530 qemu_put_float(f, s->u.acceleration.y) [all...] |